diff --git a/.gitignore b/.gitignore index 0226211e..620ee544 100644 --- a/.gitignore +++ b/.gitignore @@ -10,9 +10,9 @@ media/ media logs/ Thumbs.db -/proj/local.py +proj/local.py .DS_Store -locale +locale/ collected_static # gulp diff --git a/README.md b/README.md index 9d4596c1..7e0fa3c7 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,33 @@ Expomap project -#mysql -sudo apt-get install mysql-server mysql-client libmysqlclient-dev mysql-workbench -#memcached -sudo apt-get install libmemcached-dev +### proj/local.py PRODUCTION EXAMPLE +```python +# -*- coding: utf-8 -*- +from settings import * -# south -pip install south -U +DEBUG = False -### proj/local.py EXAMPLE +INSTALLED_APPS += ( + 'raven.contrib.django.raven_compat', +) +RAVEN_CONFIG = { + 'dsn': 'http://474617c96350412d80735900c6717b9a:330285c9034947a181cbae8b52bb15d8@88.198.17.35:9000/3', + 'release': raven.fetch_git_sha(os.path.dirname(os.pardir)), +} +``` + + +### proj/local.py DEV EXAMPLE ```python # -*- coding: utf-8 -*- from settings import * DEBUG = True +# emencia.django.newsletter +LOCAL_DEV = True +# sorl.thumbnail +THUMBNAIL_DEBUG = True DEFAULT_HTTP_SCHEME = 'http' @@ -26,6 +39,16 @@ DATABASES = { 'PASSWORD': '1', 'HOST': '', 'PORT': '', + 'TEST_CHARSET': 'utf8', + }, + 'test': { + 'ENGINE': 'django.db.backends.mysql', + 'NAME': 'test_expomap', + 'USER': 'root', + 'PASSWORD': '1', + 'HOST': '', + 'PORT': '', + 'TEST_CHARSET': 'utf8', } } @@ -64,20 +87,9 @@ DEBUG_TOOLBAR_PANELS = [ 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel', ] -``` -# -```sh -python manage.py syncdb --settins=proj.local -python manage.py migrate settings 0001 --fake --settins=proj.local -python manage.py migrate settings --settins=proj.local -``` -# -```sh -python manage.py migrate accounts 0001 --fake -python manage.py migrate accounts -python manage.py migrate company 0001 --fake -python manage.py migrate company +# копия бд для тестов должна начинаться с приставки test_ +TEST_RUNNER = 'proj.test.CustomTestRunner' ``` @@ -97,10 +109,6 @@ bin/solr start -p 8983 Если возникает ошибка Solr: [Reason: Error 404 Not Found] - http://stackoverflow.com/a/30633740 -# -```sh -python manage.py migrate expobanner 0001 --fake -python manage.py migrate expobanner -``` - Каталог support хранит конфиги для продакшн сервера + +Для запуска юнит тестов необходимо создать копию базы данных с таким же названием как в конфиге DATABASES, но с префиксом test_ diff --git a/accounts/migrations/0002_auto__add_field_user_blocked.py b/accounts/migrations/0002_auto__add_field_user_blocked.py deleted file mode 100644 index 4d148a8e..00000000 --- a/accounts/migrations/0002_auto__add_field_user_blocked.py +++ /dev/null @@ -1,659 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'User.blocked' - db.add_column(u'accounts_user', 'blocked', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'User.blocked' - db.delete_column(u'accounts_user', 'blocked') - - - models = { - u'accounts.calendar': { - 'Meta': {'object_name': 'Calendar'}, - 'conferences': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['conference.Conference']", 'null': 'True', 'symmetrical': 'False'}), - 'expositions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'symmetrical': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seminars': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['seminar.Seminar']", 'null': 'True', 'symmetrical': 'False'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['accounts.User']", 'unique': 'True'}), - 'webinars': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['webinar.Webinar']", 'null': 'True', 'symmetrical': 'False'}) - }, - u'accounts.eventfilter': { - 'Meta': {'object_name': 'EventFilter'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['country.Area']", 'null': 'True', 'symmetrical': 'False'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['city.City']", 'null': 'True', 'symmetrical': 'False'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['country.Country']", 'null': 'True', 'symmetrical': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Tag']", 'null': 'True', 'symmetrical': 'False'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'symmetrical': 'False'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['accounts.User']", 'unique': 'True'}) - }, - u'accounts.profile': { - 'Meta': {'object_name': 'Profile'}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'about_company': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'avatar': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'show_phone': ('django.db.models.fields.NullBooleanField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), - 'skype': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['accounts.User']", 'unique': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 4, 20, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 4, 20, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'seminar.seminar': { - 'Meta': {'unique_together': '()', 'object_name': 'Seminar', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'on_delete': 'models.PROTECT'}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR')"}), - 'data_begin': ('django.db.models.fields.DateTimeField', [], {}), - 'data_end': ('django.db.models.fields.DateTimeField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'seminar_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'webinar.webinar': { - 'Meta': {'unique_together': '()', 'object_name': 'Webinar', 'index_together': '()'}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR')"}), - 'data_begin': ('django.db.models.fields.DateTimeField', [], {'blank': 'True'}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'webinar_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - } - } - - complete_apps = ['accounts'] \ No newline at end of file diff --git a/accounts/migrations/0003_auto__add_userlog.py b/accounts/migrations/0003_auto__add_userlog.py deleted file mode 100644 index b767b9c9..00000000 --- a/accounts/migrations/0003_auto__add_userlog.py +++ /dev/null @@ -1,715 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding model 'UserLog' - db.create_table(u'accounts_userlog', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['accounts.User'])), - ('referer1', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - ('referer2', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - ('utm_source1', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - ('utm_medium1', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - ('utm_campaign1', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - ('utm_source2', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - ('utm_medium2', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - ('utm_campaign2', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - )) - db.send_create_signal(u'accounts', ['UserLog']) - - - def backwards(self, orm): - # Deleting model 'UserLog' - db.delete_table(u'accounts_userlog') - - - models = { - u'accounts.calendar': { - 'Meta': {'object_name': 'Calendar'}, - 'conferences': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['conference.Conference']", 'null': 'True', 'symmetrical': 'False'}), - 'expositions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'symmetrical': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seminars': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['seminar.Seminar']", 'null': 'True', 'symmetrical': 'False'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['accounts.User']", 'unique': 'True'}), - 'webinars': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['webinar.Webinar']", 'null': 'True', 'symmetrical': 'False'}) - }, - u'accounts.eventfilter': { - 'Meta': {'object_name': 'EventFilter'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['country.Area']", 'null': 'True', 'symmetrical': 'False'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['city.City']", 'null': 'True', 'symmetrical': 'False'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['country.Country']", 'null': 'True', 'symmetrical': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Tag']", 'null': 'True', 'symmetrical': 'False'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'symmetrical': 'False'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['accounts.User']", 'unique': 'True'}) - }, - u'accounts.profile': { - 'Meta': {'object_name': 'Profile'}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'about_company': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'avatar': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'show_phone': ('django.db.models.fields.NullBooleanField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), - 'skype': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['accounts.User']", 'unique': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - u'accounts.userlog': { - 'Meta': {'object_name': 'UserLog'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'referer1': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'referer2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'utm_campaign1': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'utm_campaign2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'utm_medium1': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'utm_medium2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'utm_source1': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'utm_source2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 24, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 24, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'seminar.seminar': { - 'Meta': {'unique_together': '()', 'object_name': 'Seminar', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'on_delete': 'models.PROTECT'}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR')"}), - 'data_begin': ('django.db.models.fields.DateTimeField', [], {}), - 'data_end': ('django.db.models.fields.DateTimeField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'seminar_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'webinar.webinar': { - 'Meta': {'unique_together': '()', 'object_name': 'Webinar', 'index_together': '()'}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR')"}), - 'data_begin': ('django.db.models.fields.DateTimeField', [], {'blank': 'True'}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'webinar_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - } - } - - complete_apps = ['accounts'] \ No newline at end of file diff --git a/accounts/migrations/0004_auto__add_field_userlog_search1__add_field_userlog_search2__add_field_.py b/accounts/migrations/0004_auto__add_field_userlog_search1__add_field_userlog_search2__add_field_.py deleted file mode 100644 index 49329dfc..00000000 --- a/accounts/migrations/0004_auto__add_field_userlog_search1__add_field_userlog_search2__add_field_.py +++ /dev/null @@ -1,724 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'UserLog.search1' - db.add_column(u'accounts_userlog', 'search1', - self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True), - keep_default=False) - - # Adding field 'UserLog.search2' - db.add_column(u'accounts_userlog', 'search2', - self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True), - keep_default=False) - - # Adding field 'UserLog.search3' - db.add_column(u'accounts_userlog', 'search3', - self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'UserLog.search1' - db.delete_column(u'accounts_userlog', 'search1') - - # Deleting field 'UserLog.search2' - db.delete_column(u'accounts_userlog', 'search2') - - # Deleting field 'UserLog.search3' - db.delete_column(u'accounts_userlog', 'search3') - - - models = { - u'accounts.calendar': { - 'Meta': {'object_name': 'Calendar'}, - 'conferences': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['conference.Conference']", 'null': 'True', 'symmetrical': 'False'}), - 'expositions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'symmetrical': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seminars': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['seminar.Seminar']", 'null': 'True', 'symmetrical': 'False'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['accounts.User']", 'unique': 'True'}), - 'webinars': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['webinar.Webinar']", 'null': 'True', 'symmetrical': 'False'}) - }, - u'accounts.eventfilter': { - 'Meta': {'object_name': 'EventFilter'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['country.Area']", 'null': 'True', 'symmetrical': 'False'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['city.City']", 'null': 'True', 'symmetrical': 'False'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['country.Country']", 'null': 'True', 'symmetrical': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Tag']", 'null': 'True', 'symmetrical': 'False'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'symmetrical': 'False'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['accounts.User']", 'unique': 'True'}) - }, - u'accounts.profile': { - 'Meta': {'object_name': 'Profile'}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'about_company': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'avatar': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'show_phone': ('django.db.models.fields.NullBooleanField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), - 'skype': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['accounts.User']", 'unique': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - u'accounts.userlog': { - 'Meta': {'object_name': 'UserLog'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'referer1': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'referer2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'search1': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'search2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'search3': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'utm_campaign1': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'utm_campaign2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'utm_medium1': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'utm_medium2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'utm_source1': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'utm_source2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 24, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 24, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'seminar.seminar': { - 'Meta': {'unique_together': '()', 'object_name': 'Seminar', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'on_delete': 'models.PROTECT'}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR')"}), - 'data_begin': ('django.db.models.fields.DateTimeField', [], {}), - 'data_end': ('django.db.models.fields.DateTimeField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'seminar_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'webinar.webinar': { - 'Meta': {'unique_together': '()', 'object_name': 'Webinar', 'index_together': '()'}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR')"}), - 'data_begin': ('django.db.models.fields.DateTimeField', [], {'blank': 'True'}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'webinar_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - } - } - - complete_apps = ['accounts'] \ No newline at end of file diff --git a/accounts/migrations/0005_auto__chg_field_userlog_referer1__chg_field_userlog_utm_medium1__chg_f.py b/accounts/migrations/0005_auto__chg_field_userlog_referer1__chg_field_userlog_utm_medium1__chg_f.py deleted file mode 100644 index d5702770..00000000 --- a/accounts/migrations/0005_auto__chg_field_userlog_referer1__chg_field_userlog_utm_medium1__chg_f.py +++ /dev/null @@ -1,766 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Changing field 'UserLog.referer1' - db.alter_column(u'accounts_userlog', 'referer1', self.gf('django.db.models.fields.TextField')(null=True)) - - # Changing field 'UserLog.utm_medium1' - db.alter_column(u'accounts_userlog', 'utm_medium1', self.gf('django.db.models.fields.TextField')(null=True)) - - # Changing field 'UserLog.referer2' - db.alter_column(u'accounts_userlog', 'referer2', self.gf('django.db.models.fields.TextField')(null=True)) - - # Changing field 'UserLog.utm_campaign2' - db.alter_column(u'accounts_userlog', 'utm_campaign2', self.gf('django.db.models.fields.TextField')(null=True)) - - # Changing field 'UserLog.utm_medium2' - db.alter_column(u'accounts_userlog', 'utm_medium2', self.gf('django.db.models.fields.TextField')(null=True)) - - # Changing field 'UserLog.utm_source1' - db.alter_column(u'accounts_userlog', 'utm_source1', self.gf('django.db.models.fields.TextField')(null=True)) - - # Changing field 'UserLog.search3' - db.alter_column(u'accounts_userlog', 'search3', self.gf('django.db.models.fields.TextField')(null=True)) - - # Changing field 'UserLog.search2' - db.alter_column(u'accounts_userlog', 'search2', self.gf('django.db.models.fields.TextField')(null=True)) - - # Changing field 'UserLog.search1' - db.alter_column(u'accounts_userlog', 'search1', self.gf('django.db.models.fields.TextField')(null=True)) - - # Changing field 'UserLog.utm_campaign1' - db.alter_column(u'accounts_userlog', 'utm_campaign1', self.gf('django.db.models.fields.TextField')(null=True)) - - # Changing field 'UserLog.utm_source2' - db.alter_column(u'accounts_userlog', 'utm_source2', self.gf('django.db.models.fields.TextField')(null=True)) - - def backwards(self, orm): - - # Changing field 'UserLog.referer1' - db.alter_column(u'accounts_userlog', 'referer1', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)) - - # Changing field 'UserLog.utm_medium1' - db.alter_column(u'accounts_userlog', 'utm_medium1', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)) - - # Changing field 'UserLog.referer2' - db.alter_column(u'accounts_userlog', 'referer2', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)) - - # Changing field 'UserLog.utm_campaign2' - db.alter_column(u'accounts_userlog', 'utm_campaign2', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)) - - # Changing field 'UserLog.utm_medium2' - db.alter_column(u'accounts_userlog', 'utm_medium2', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)) - - # Changing field 'UserLog.utm_source1' - db.alter_column(u'accounts_userlog', 'utm_source1', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)) - - # Changing field 'UserLog.search3' - db.alter_column(u'accounts_userlog', 'search3', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)) - - # Changing field 'UserLog.search2' - db.alter_column(u'accounts_userlog', 'search2', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)) - - # Changing field 'UserLog.search1' - db.alter_column(u'accounts_userlog', 'search1', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)) - - # Changing field 'UserLog.utm_campaign1' - db.alter_column(u'accounts_userlog', 'utm_campaign1', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)) - - # Changing field 'UserLog.utm_source2' - db.alter_column(u'accounts_userlog', 'utm_source2', self.gf('django.db.models.fields.CharField')(max_length=255, null=True)) - - models = { - u'accounts.calendar': { - 'Meta': {'object_name': 'Calendar'}, - 'conferences': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['conference.Conference']", 'null': 'True', 'symmetrical': 'False'}), - 'expositions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'symmetrical': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seminars': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['seminar.Seminar']", 'null': 'True', 'symmetrical': 'False'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['accounts.User']", 'unique': 'True'}), - 'webinars': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['webinar.Webinar']", 'null': 'True', 'symmetrical': 'False'}) - }, - u'accounts.eventfilter': { - 'Meta': {'object_name': 'EventFilter'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['country.Area']", 'null': 'True', 'symmetrical': 'False'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['city.City']", 'null': 'True', 'symmetrical': 'False'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['country.Country']", 'null': 'True', 'symmetrical': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Tag']", 'null': 'True', 'symmetrical': 'False'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'symmetrical': 'False'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['accounts.User']", 'unique': 'True'}) - }, - u'accounts.profile': { - 'Meta': {'object_name': 'Profile'}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'about_company': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'avatar': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'show_phone': ('django.db.models.fields.NullBooleanField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), - 'skype': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['accounts.User']", 'unique': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - u'accounts.userlog': { - 'Meta': {'object_name': 'UserLog'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 24, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 24, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'seminar.seminar': { - 'Meta': {'unique_together': '()', 'object_name': 'Seminar', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'on_delete': 'models.PROTECT'}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR')"}), - 'data_begin': ('django.db.models.fields.DateTimeField', [], {}), - 'data_end': ('django.db.models.fields.DateTimeField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'seminar_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'webinar.webinar': { - 'Meta': {'unique_together': '()', 'object_name': 'Webinar', 'index_together': '()'}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR')"}), - 'data_begin': ('django.db.models.fields.DateTimeField', [], {'blank': 'True'}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'webinar_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - } - } - - complete_apps = ['accounts'] \ No newline at end of file diff --git a/accounts/migrations/0006_auto__add_field_user_readonly.py b/accounts/migrations/0006_auto__add_field_user_readonly.py deleted file mode 100644 index e37729c2..00000000 --- a/accounts/migrations/0006_auto__add_field_user_readonly.py +++ /dev/null @@ -1,739 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'User.readonly' - db.add_column(u'accounts_user', 'readonly', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'User.readonly' - db.delete_column(u'accounts_user', 'readonly') - - - models = { - u'accounts.calendar': { - 'Meta': {'object_name': 'Calendar'}, - 'conferences': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['conference.Conference']", 'null': 'True', 'symmetrical': 'False'}), - 'expositions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'symmetrical': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'seminars': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['seminar.Seminar']", 'null': 'True', 'symmetrical': 'False'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['accounts.User']", 'unique': 'True'}), - 'webinars': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['webinar.Webinar']", 'null': 'True', 'symmetrical': 'False'}) - }, - u'accounts.eventfilter': { - 'Meta': {'object_name': 'EventFilter'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['country.Area']", 'null': 'True', 'symmetrical': 'False'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['city.City']", 'null': 'True', 'symmetrical': 'False'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['country.Country']", 'null': 'True', 'symmetrical': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Tag']", 'null': 'True', 'symmetrical': 'False'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'symmetrical': 'False'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['accounts.User']", 'unique': 'True'}) - }, - u'accounts.profile': { - 'Meta': {'object_name': 'Profile'}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'about_company': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'avatar': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'show_phone': ('django.db.models.fields.NullBooleanField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), - 'skype': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['accounts.User']", 'unique': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}) - }, - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - u'accounts.userlog': { - 'Meta': {'object_name': 'UserLog'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'comments.comment': { - 'Meta': {'object_name': 'Comment'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'hidden': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39', 'null': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['comments.Comment']", 'null': 'True', 'blank': 'True'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'members_fc': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'periodic_once': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'programm_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'speakers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['conference.Speaker']", 'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.speaker': { - 'Meta': {'object_name': 'Speaker'}, - 'company': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'company_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'company_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'fullname': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'fullname_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'fullname_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 11, 25, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 11, 25, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'seminar.seminar': { - 'Meta': {'unique_together': '()', 'object_name': 'Seminar', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'on_delete': 'models.PROTECT'}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR')"}), - 'data_begin': ('django.db.models.fields.DateTimeField', [], {}), - 'data_end': ('django.db.models.fields.DateTimeField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'seminar_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'webinar.webinar': { - 'Meta': {'unique_together': '()', 'object_name': 'Webinar', 'index_together': '()'}, - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR')"}), - 'data_begin': ('django.db.models.fields.DateTimeField', [], {'blank': 'True'}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'webinar_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'webinar_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - } - } - - complete_apps = ['accounts'] \ No newline at end of file diff --git a/accounts/__init__.py b/apps/__init__.py similarity index 100% rename from accounts/__init__.py rename to apps/__init__.py diff --git a/accounts/management/__init__.py b/apps/accounts/__init__.py similarity index 100% rename from accounts/management/__init__.py rename to apps/accounts/__init__.py diff --git a/accounts/admin.py b/apps/accounts/admin.py similarity index 88% rename from accounts/admin.py rename to apps/accounts/admin.py index da600922..0c3e3456 100644 --- a/accounts/admin.py +++ b/apps/accounts/admin.py @@ -20,8 +20,6 @@ from django.views.generic import DeleteView, TemplateView, UpdateView from django.views.generic.dates import DateMixin, MonthMixin, YearMixin from forms import ( ChangePasswordForm, - EmailAnnouncementForm, - UserCreationForm, UserFilterForm, UserForm ) @@ -55,13 +53,6 @@ class UserListView(AdminListView): return context -class EditUser(UpdateView): - model = User - form_class = UserForm - success_url = '/admin/accounts/all' - template_name = 'user_change.html' - - def user_change(request, url): """ Return form of user and post it on the server. @@ -116,47 +107,6 @@ def user_change(request, url): return render_to_response('user_change.html', context) -def create_admin(request): - if request.POST: - form = UserCreationForm(request.POST) - if form.is_valid(): - user = form.save(commit=False) - user.is_admin = False - user.save() - return HttpResponseRedirect('/admin/accounts/all') - - else: - form = UserCreationForm() - - args = {} - args.update(csrf(request)) - args['form'] = form - - return render_to_response('create_admin.html', args) - -def create_md5(request): - if request.POST: - form = UserCreationForm(request.POST) - if form.is_valid(): - user = User() - user.email = request.POST['email'] - user.first_name = request.POST['first_name'] - user.last_name = request.POST['last_name'] - user.password = md5(request.POST['password2']).hexdigest() - user.is_admin = True - user.save() - - return HttpResponseRedirect('/admin/accounts/all') - - else: - form = UserCreationForm() - - args = {} - args.update(csrf(request)) - args['form'] = form - - return render_to_response('create_admin.html', args) - def generatePassword(): """ diff --git a/accounts/admin_urls.py b/apps/accounts/admin_urls.py similarity index 93% rename from accounts/admin_urls.py rename to apps/accounts/admin_urls.py index 6a381787..527d49ea 100644 --- a/accounts/admin_urls.py +++ b/apps/accounts/admin_urls.py @@ -3,7 +3,7 @@ from django.conf.urls import patterns, url from django.core.urlresolvers import reverse_lazy from functions.custom_views import SimpleObjectChangeView -from .admin import AccountsStatistic, DeleteAccount, EditUser, UserListView +from .admin import AccountsStatistic, DeleteAccount, UserListView from .models import User attrs = { diff --git a/accounts/edit_forms.py b/apps/accounts/edit_forms.py similarity index 100% rename from accounts/edit_forms.py rename to apps/accounts/edit_forms.py diff --git a/accounts/forms.py b/apps/accounts/forms.py similarity index 89% rename from accounts/forms.py rename to apps/accounts/forms.py index f988485f..fe0575f6 100644 --- a/accounts/forms.py +++ b/apps/accounts/forms.py @@ -7,7 +7,7 @@ from random import choice from django import forms from django.contrib.auth.forms import ReadOnlyPasswordHashField from django.forms.util import ErrorList -from django.utils.translation import ugettext as _ +from django.utils.translation import ugettext as _, ugettext_lazy from django.conf import settings from models import User from django.db.models import Q @@ -29,43 +29,6 @@ def clean_relation_field(inst, field_name, model): return None -class UserCreationForm(forms.ModelForm): - password1 = forms.CharField(label=_(u'Пароль'), widget=forms.PasswordInput(render_value=False)) - password2 = forms.CharField(label=_(u'Повторите пароль'), widget=forms.PasswordInput(render_value=False)) - - class Meta: - model = User - fields = ('email', 'first_name', 'last_name') - - def clean_email(self): - """ - checking if user already exist - """ - email = self.cleaned_data.get('email') - try: - User.objects.get(email=email) - except User.DoesNotExist: - return email - raise forms.ValidationError(_(u'Пользователь с таким email уже существует')) - - def clean_password2(self): - password1 = self.cleaned_data.get('password1') - password2 = self.cleaned_data.get('password2') - - if password1 and password2 and password1 != password2: - raise forms.ValidationError(_(u'Пароли не совпадают')) - return password2 - - def save(self, commit=True): - user = super(UserCreationForm, self).save(commit=False) - user.set_password(self.cleaned_data['password2']) - - if commit: - user.save() - - return user - - class UserForm(forms.ModelForm): # email = forms.EmailField(widget=forms.TextInput(attrs={'disabled' : True}), required=False) country = forms.ChoiceField(label=_(u'Страна'), choices=[(item.id, item.name) for item in Country.objects.language().all()], @@ -161,14 +124,14 @@ class ChangePasswordForm(forms.Form): """ old_password = forms.CharField(label=_(u'Old password'), required=True, widget=forms.PasswordInput(render_value=False, - attrs={'placeholder': _(u'Введите старый пароль')})) + attrs={'placeholder': ugettext_lazy(u'Введите старый пароль')})) new_password = forms.CharField(label=_(u'New password'), required=True, widget=forms.PasswordInput(render_value=False, - attrs={'placeholder': _(u'Придумайте новый пароль')})) + attrs={'placeholder': ugettext_lazy(u'Придумайте новый пароль')})) new_password_confirm = forms.CharField(label=_(u'Confirm password'), required=True, widget=forms.PasswordInput(render_value=False, attrs={ - 'placeholder': _(u'Повторите новый пароль')})) + 'placeholder': ugettext_lazy(u'Повторите новый пароль')})) def clean(self): data = super(ChangePasswordForm, self).clean() @@ -196,14 +159,6 @@ class ChangePasswordForm(forms.Form): return data -class EmailAnnouncementForm(forms.Form): - data = [(1, _(u'Получать приглашения, сообщения и другую корреспонденцию от пользователей Expomap')), - (2, _(u'Получать обзор событий')), - (3, _(u'Получать новости'))] - announcement = forms.MultipleChoiceField(choices=data, widget=forms.CheckboxSelectMultiple()) - - - url_regex = re.compile('^\w*$') class RegistrationCompleteForm(forms.ModelForm): country = forms.ModelChoiceField(label=_(u'Страна'), queryset=Country.objects.all(), diff --git a/accounts/management/commands/__init__.py b/apps/accounts/management/__init__.py similarity index 100% rename from accounts/management/commands/__init__.py rename to apps/accounts/management/__init__.py diff --git a/accounts/migrations/__init__.py b/apps/accounts/management/commands/__init__.py similarity index 100% rename from accounts/migrations/__init__.py rename to apps/accounts/management/commands/__init__.py diff --git a/accounts/management/commands/accounts_check_url.py b/apps/accounts/management/commands/accounts_check_url.py similarity index 100% rename from accounts/management/commands/accounts_check_url.py rename to apps/accounts/management/commands/accounts_check_url.py diff --git a/accounts/migrations/0001_initial.py b/apps/accounts/migrations/0001_initial.py similarity index 87% rename from accounts/migrations/0001_initial.py rename to apps/accounts/migrations/0001_initial.py index 5f5b1cff..d0c3588a 100644 --- a/accounts/migrations/0001_initial.py +++ b/apps/accounts/migrations/0001_initial.py @@ -8,6 +8,24 @@ from django.db import models class Migration(SchemaMigration): def forwards(self, orm): + # Adding model 'UserLog' + db.create_table(u'accounts_userlog', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['accounts.User'])), + ('referer1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('referer2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search3', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + )) + db.send_create_signal(u'accounts', ['UserLog']) + # Adding model 'User' db.create_table(u'accounts_user', ( (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), @@ -30,6 +48,8 @@ class Migration(SchemaMigration): ('translator', self.gf('django.db.models.fields.related.ForeignKey')(related_name='user', null=True, on_delete=models.PROTECT, to=orm['translator.Translator'], blank=True, unique=True)), ('company', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='users', null=True, to=orm['company.Company'])), ('position', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), + ('blocked', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('readonly', self.gf('django.db.models.fields.BooleanField')(default=False)), )) db.send_create_signal(u'accounts', ['User']) @@ -173,6 +193,9 @@ class Migration(SchemaMigration): def backwards(self, orm): + # Deleting model 'UserLog' + db.delete_table(u'accounts_userlog') + # Deleting model 'User' db.delete_table(u'accounts_user') @@ -264,6 +287,7 @@ class Migration(SchemaMigration): }, u'accounts.user': { 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, + 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), @@ -282,11 +306,28 @@ class Migration(SchemaMigration): 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), + 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), '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': '255', 'db_index': 'True'}) }, + u'accounts.userlog': { + 'Meta': {'object_name': 'UserLog'}, + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), + 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}) + }, u'auth.group': { 'Meta': {'object_name': 'Group'}, u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), @@ -315,6 +356,18 @@ class Migration(SchemaMigration): 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) }, + u'comments.comment': { + 'Meta': {'object_name': 'Comment'}, + 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), + 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'hidden': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'ip': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39', 'null': 'True', 'blank': 'True'}), + 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), + 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['comments.Comment']", 'null': 'True', 'blank': 'True'}), + 'text': ('django.db.models.fields.TextField', [], {}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) + }, u'company.company': { 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), @@ -343,7 +396,8 @@ class Migration(SchemaMigration): }, u'conference.conference': { 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), + 'audience': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['events.TargetAudience']", 'null': 'True', 'symmetrical': 'False'}), + 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), @@ -351,41 +405,68 @@ class Migration(SchemaMigration): 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), + 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), 'data_end': ('django.db.models.fields.DateField', [], {}), 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'members_fc': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), + 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), + 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': 'False', 'null': 'True', 'blank': 'True'}), 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), + 'periodic_once': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'programm_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), + 'speakers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['conference.Speaker']", 'null': 'True', 'blank': 'True'}), 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) }, + u'conference.speaker': { + 'Meta': {'object_name': 'Speaker'}, + 'company': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'company_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'company_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'fullname': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + 'fullname_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'fullname_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), + 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'position_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'position_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) + }, 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'}), @@ -438,20 +519,28 @@ class Migration(SchemaMigration): u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) }, + u'events.targetaudience': { + 'Meta': {'ordering': "['title']", 'object_name': 'TargetAudience'}, + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}), + 'title_en': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), + 'title_ru': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) + }, u'expobanner.banner': { 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 4, 20, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), + 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), @@ -477,6 +566,14 @@ class Migration(SchemaMigration): 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) }, + u'expobanner.customer': { + 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, + 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) + }, u'expobanner.mainpage': { 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), @@ -492,28 +589,33 @@ class Migration(SchemaMigration): 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'to': u"orm['expobanner.Banner']"}), + 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) }, u'expobanner.top': { 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, + 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), + 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 4, 20, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), + 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}) + 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) }, u'expobanner.url': { 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, @@ -531,6 +633,7 @@ class Migration(SchemaMigration): 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), + 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), @@ -539,13 +642,13 @@ class Migration(SchemaMigration): 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), + 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), 'data_end': ('django.db.models.fields.DateField', [], {}), 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), @@ -553,6 +656,7 @@ class Migration(SchemaMigration): 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), @@ -569,6 +673,10 @@ class Migration(SchemaMigration): 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), @@ -582,6 +690,7 @@ class Migration(SchemaMigration): 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) }, u'file.filemodel': { @@ -704,6 +813,7 @@ class Migration(SchemaMigration): 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), @@ -745,6 +855,7 @@ class Migration(SchemaMigration): 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), @@ -809,7 +920,8 @@ class Migration(SchemaMigration): 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), + 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), + 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) diff --git a/article/__init__.py b/apps/accounts/migrations/__init__.py similarity index 100% rename from article/__init__.py rename to apps/accounts/migrations/__init__.py diff --git a/accounts/models.py b/apps/accounts/models.py similarity index 97% rename from accounts/models.py rename to apps/accounts/models.py index 983a98f5..96b79a3a 100644 --- a/accounts/models.py +++ b/apps/accounts/models.py @@ -11,6 +11,7 @@ from django.db.models.loading import get_model from django.db.models.signals import post_save from django.utils import timezone from django.utils.translation import ugettext as _ + from functions.form_check import translit_with_separator from functions.model_mixin import GetURLorPK @@ -140,16 +141,12 @@ class User(AbstractBaseUser, PermissionsMixin, GetURLorPK): log = UserLog.objects.filter(user_id=self.pk)[0] return log - def get_full_name(self): """ Returns the first_name plus the last_name, with a space in between. """ return u'%s %s'%(self.first_name, self.last_name) - def set_url(self, st): - self.url = translit_with_separator(u'%s'%st) - def __unicode__(self): return self.email @@ -166,9 +163,6 @@ class User(AbstractBaseUser, PermissionsMixin, GetURLorPK): def has_perm(self, perm, obj=None): return True - def has_module_perms(self, app_label): - return True - def get_expositions_number(self): # 1 query return self.exposition_users.all().count() @@ -181,15 +175,6 @@ class User(AbstractBaseUser, PermissionsMixin, GetURLorPK): # 1 query return self.seminar_users.all().count() - def get_webinars_number(self): - # 1 query - return self.webinar_users.all().count() - - def get_events_number(self): - # 4 query - n = self.get_expositions_number() + self.get_conferences_number() + self.get_seminars_number() + self.get_webinars_number() - return n - def get_permanent_url(self): if self.url: return '/%s/' % self.url diff --git a/accounts/urls.py b/apps/accounts/urls.py similarity index 90% rename from accounts/urls.py rename to apps/accounts/urls.py index eeaf3696..8f2a78f8 100644 --- a/accounts/urls.py +++ b/apps/accounts/urls.py @@ -9,20 +9,19 @@ from views import ( Feed, HomeView, MailingSettings, - # MailingSettingsUnsubscribe, NameView, PhoneView, ProfileCompanyView, SettingsView, SocialView, WebPageView, - WorkView + WorkView, + UserSubscribeThemesTagsView ) urlpatterns = patterns('', url(r'^profile/company/$', login_required(ProfileCompanyView.as_view())), url(r'^profile/mailing/$', MailingSettings.as_view(), name='accounts-mailing_settings'), - # url(r'^profile/mailing/unsubscribe/$', MailingSettingsUnsubscribe.as_view(), name='accounts-mailing_settings_unsubscribe'), url(r'^profile/settings/$', login_required(SettingsView.as_view()), name='accounts_settings'), url(r'^profile/calendar/remove/$', 'accounts.views.remove_from_calendar'), url(r'^profile/calendar/export/$', 'core.views.download_workbook'), @@ -43,5 +42,10 @@ urlpatterns = patterns('', url(r'^profile/update/social/$', login_required(SocialView.as_view())), url(r'^profile/update/about/$', login_required(AboutView.as_view())), url(r'^profile/change-password/', 'accounts.views.change_password'), + url( + r'^profile/subscribe-themes-tags/$', + login_required(UserSubscribeThemesTagsView.as_view()), + name='user_subscribe_themes_tags' + ), ) diff --git a/accounts/user_catalog_urls.py b/apps/accounts/user_catalog_urls.py similarity index 100% rename from accounts/user_catalog_urls.py rename to apps/accounts/user_catalog_urls.py diff --git a/accounts/views.py b/apps/accounts/views.py similarity index 85% rename from accounts/views.py rename to apps/accounts/views.py index 2e97cdd7..02f65870 100644 --- a/accounts/views.py +++ b/apps/accounts/views.py @@ -21,6 +21,7 @@ from functions.custom_views import ListView, CreateUpdateView, AjaxableResponseM from functions.views_help import dates_range, get_user from exposition.models import Exposition from city.models import City +from theme.models import Theme, Tag from company.forms import CreateCompanyForm from company.edit_forms import NameForm as CompNameForm, HomeForm as CompHomeForm, PhoneForm as CompPhoneForm,\ EmailForm as CompEmailForm, WebPageForm as CompWebPageForm, SocialForm as CompSocialForm,\ @@ -29,12 +30,14 @@ from company.edit_forms import NameForm as CompNameForm, HomeForm as CompHomeFor from emencia.django.newsletter.forms import SubscribeSettingsForm, MailingSettingsForm from emencia.django.newsletter.models import Contact, ContactSettings -from .forms import ChangePasswordForm, EmailAnnouncementForm, FeedFilterForm +from .forms import ChangePasswordForm, FeedFilterForm from .models import User from .edit_forms import AvatarForm, NameForm, HomeForm, WorkForm, AboutCompanyForm, PhoneForm, EmailForm,\ WebPageForm, SocialForm, AboutForm +# FIXME: сделать рефакторинг + если не подтверждена подписка, +# при заходе на стр настройки рассылки - 500 class SettingsView(CreateUpdateView): """ display template with user settings like: @@ -98,23 +101,23 @@ class GetUserMixin(object): instance = None if self.request.user.is_authenticated(): try: - instance = Contact.objects.get(user=self.request.user) - except Contact.DoesNotExist: + instance = Contact.objects.filter(user=self.request.user).prefetch_related('themes', 'tags')[0] + except IndexError: try: - instance = Contact.objects.get(email=self.request.user.email) - except Contact.DoesNotExist: + instance = Contact.objects.filter(email=self.request.user.email).prefetch_related('themes', 'tags')[0] + except IndexError: pass elif 'ml_contact_pk' in self.request.session: try: - instance = Contact.objects.get(pk=self.request.session['ml_contact_pk']) - except Contact.DoesNotExist: + instance = Contact.objects.filter(pk=self.request.session['ml_contact_pk']).prefetch_related('themes', 'tags')[0] + except IndexError: pass return instance class MailingSettings(GetUserMixin, ContextMixin, AjaxableResponseMixin, CreateUpdateView): form_class = MailingSettingsForm - template_name = 'client/accounts/mailing_settings.html' + template_name = 'client/newsletters/mailing_settings.html' success_url = reverse_lazy('accounts-mailing_settings') def get_success_url(self): @@ -133,40 +136,19 @@ class MailingSettings(GetUserMixin, ContextMixin, AjaxableResponseMixin, CreateU 'checked_th': list(instance.themes.values_list('pk', flat=True)), 'contact': instance, }) - elif not self.request.user.is_authenticated(): - raise HttpResponseForbidden() - if self.request.GET.get('unsibscribe') and instance.subscriber: - instance.unsubscribe() - self.extra_ctx.update({'unsubscribe_success': True}) - elif not instance.subscriber: - self.extra_ctx.update({'unsubscribed': True}) + if self.request.GET.get('unsibscribe') and instance.subscriber: + instance.unsubscribe() + self.extra_ctx.update({'unsubscribe_success': True}) + elif not instance.subscriber: + self.extra_ctx.update({'unsubscribed': True}) return instance def form_valid(self, form): - # print(form.cleaned_data) - # print(form.errors) - # print(self.request.POST) - # import pdb; pdb.set_trace() return super(MailingSettings, self).form_valid(form) def form_invalid(self, form): - # print(form.cleaned_data) - # print(form.errors) - # print(self.request.POST) return super(MailingSettings, self).form_invalid(form) -# -# class MailingSettingsUnsubscribe(GetUserMixin, RedirectView): -# url = reverse_lazy('accounts-mailing_settings') -# -# def get(self, request, *args, **kwargs): -# contact = self.get_user() -# if contact is None: -# return HttpResponseForbidden() -# if contact.subscriber: -# contact.unsubscribe() -# return super(MailingSettingsUnsubscribe, self).get(request, *args, **kwargs) - class CalendarView(TemplateView): """ @@ -569,3 +551,60 @@ def remove_from_calendar(request): return HttpResponse(json.dumps({'success': True}), content_type='application/json') else: return Http404 + + +# @login_required +# def get_user_subscribe_themes_tags(request): +# """ +# Ajax представление получения списка тем и тегов рассылки, +# на которые подписан пользователь +# """ +# data = {'success': False} +# if request.is_ajax(): +# data['success'] = True +# +# user_themes = request.user +# return HttpResponse(json.dumps(data), content_type='application/json') + + +class UserSubscribeThemesTagsView(GetUserMixin, TemplateView): + """ + Ajax представление получения списка тем и тегов рассылки, + на которые подписан пользователь + """ + content_type = 'application/json' + + def get_context_data(self, **kwargs): + ctx = super(UserSubscribeThemesTagsView, self).get_context_data(**kwargs) + data = [] + instance = self.get_user() + + themes = Theme.objects.language().values('pk', 'name') + + user_themes = instance.themes.values_list('pk', flat=True) + user_tags = instance.tags.values_list('pk', flat=True) + + for theme in themes: + tags = [] + + for tag in Tag.objects.language().filter(theme_id=theme['pk']).values('pk', 'name').order_by('name'): + tags.append({ + 'id': tag['pk'], + 'checked': True if tag['pk'] in user_tags else False, + 'text': tag['name'] + }) + + data.append({ + 'id': theme['pk'], + 'text': theme['name'], + 'checked': True if theme['pk'] in user_themes else False, + 'tags': tags + }) + + ctx['success'] = True + ctx['data'] = data + return ctx + + def render_to_response(self, context, **response_kwargs): + context.pop('view') + return HttpResponse(json.dumps(context), content_type=self.content_type) diff --git a/article/migrations/__init__.py b/apps/article/__init__.py similarity index 100% rename from article/migrations/__init__.py rename to apps/article/__init__.py diff --git a/article/admin.py b/apps/article/admin.py similarity index 54% rename from article/admin.py rename to apps/article/admin.py index 8d3d0c4a..d944a620 100644 --- a/article/admin.py +++ b/apps/article/admin.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- from django.shortcuts import render_to_response, get_object_or_404 -from django.http import HttpResponseRedirect, HttpResponse +from django.http import HttpResponseRedirect from django.db import models from django.core.context_processors import csrf from django.conf import settings @@ -8,19 +8,18 @@ from django.contrib import admin from django.contrib.auth.decorators import login_required from django.contrib.contenttypes.models import ContentType from django.views.generic import DeleteView -from django.utils.translation import ugettext_lazy as _ from modeltranslation.admin import TabbedTranslationAdmin from ckeditor.widgets import CKEditorWidget from sorl.thumbnail.admin.current import AdminImageWidget #models and forms -from .forms import ArticleForm, ArticleDeleteForm, NewsForm +from .forms import NewsForm from .models import Article, Author from theme.models import Tag -from file.models import FileModel, TmpFile -from file.forms import FileModelForm, FileForm +from file.models import FileModel +from file.forms import FileModelForm #custom views from functions.custom_views import objects_list, add_object_with_file, delete_object @@ -49,101 +48,6 @@ class ArticleDeleteView(DeleteView): return "/admin/article/%s/all/" % type -def article_all(request): - """ - Return list of all articles with pagination - """ - return objects_list(request, Article, 'article_all.html') - -@login_required -def article_copy(request, url): - - article = Article.objects.safe_get(slug=url) - if not article: - return HttpResponseRedirect(get_referer(request)) - else: - article.clone() - return HttpResponseRedirect(get_referer(request)) - - -def article_add(request): - """ - Return form of article and post it on the server. - - If form is posted redirect on the page of all articles. - """ - #get organiser from current user - init_data = {'author':request.user.organiser} - #choices field which will be filled by ajax - choices = {'tag': Tag} - return add_object_with_file(request, ArticleForm, 'article_add.html', '/admin/article/all', - choices, init_data) - - -def article_delete(request, url): - return delete_object(request, Article, ArticleDeleteForm, url, '/admin/article/all') - - -@login_required -def article_change(request, url): - """ - Return form and fill it with existing Article object data. - - If form is posted redirect on the page of all articles. - """ - try: - #check if article_id exists else redirect to the list of cities - article = Article.objects.get(slug=url) - file_form = FileModelForm(initial={'model': 'article.Article'}) - article_id = getattr(article, 'id') - except: - return HttpResponseRedirect('/admin/article/all') - - if request.POST: - form = ArticleForm(request.POST) - #set choices filled by ajax - form.fields['tag'].choices = [(item.id, item.name) for item in Tag.objects.all()] - - if form.is_valid(): - form.save(getattr(article, 'id')) - return HttpResponseRedirect('/admin/article/all') - else: - data = {} - #fill form with data from database - data['author'] = article.author - data['theme'] = [item.id for item in article.theme.all()] - data['tag'] = [item.id for item in article.tag.all()] - #hidden field - data['article_id'] = article_id - - #data from translated fields - for code, name in settings.LANGUAGES: - obj = Article._meta.translations_model.objects.get(language_code = code,master__id=getattr(article, 'id')) #access to translated fields - data['main_title_%s' % code] = obj.main_title - data['preview_%s' % code] = obj.preview - data['description_%s' % code] = obj.description - data['title_%s' % code] = obj.title - data['keywords_%s' % code] = obj.keywords - data['descriptions_%s' % code] = obj.descriptions - #fill form - form = ArticleForm(initial=data) - #set choices filled by ajax - form.fields['tag'].choices = [(item.id, item.name) for item in Tag.objects.filter(theme__in=data['theme'])] - - args = {} - args.update(csrf(request)) - - args['form'] = form - args['languages'] = settings.LANGUAGES - args['file_form'] = file_form - - #get list of files which connected with specific model object - args['files'] = FileModel.objects.filter(content_type=ContentType.objects.get_for_model(article), object_id=getattr(article, 'id')) - args['obj_id'] = getattr(article, 'id') - - - return render_to_response('article_add.html', args) - #----------------------- from django.views.generic import FormView from functions.custom_views import ListView @@ -207,6 +111,7 @@ class BlogView(FormView): data['main_title_%s' % code] = obj.main_title data['preview_%s' % code] = obj.preview data['description_%s' % code] = obj.description + data['short_description_%s' % code] = obj.short_description data['title_%s' % code] = obj.title data['keywords_%s' % code] = obj.keywords data['descriptions_%s' % code] = obj.descriptions @@ -224,19 +129,14 @@ class BlogView(FormView): def get_context_data(self, **kwargs): context = super(BlogView, self).get_context_data(**kwargs) self.set_obj() - context['article'] = self.obj - if context['article']: - context['file_form'] = FileForm(initial={'model': 'article.Article'}) - context['files'] = FileModel.objects.filter(content_type=ContentType.objects.get_for_model(context['article']), - object_id=getattr(context['article'], 'id')) context['languages'] = settings.LANGUAGES return context class NewsList(ListView): model = Article - template_name = 'article/article_admin_list.html' + template_name = 'c_admin/article/article_admin_list.html' paginate_by = 20 def get_queryset(self): @@ -253,17 +153,3 @@ class NewsView(BlogView): template_name = 'c_admin/article/blog_form.html' success_url = '/admin/article/news/all/' obj = None - - - - -""" -from django.views.generic import CreateView -from models import Blog -from forms import BlogForm - -class BlogCreate(CreateView): - model = Blog - form_class = BlogForm - template_name = 'c_admin/blog/blog_add.html' -""" diff --git a/article/admin_urls.py b/apps/article/admin_urls.py similarity index 100% rename from article/admin_urls.py rename to apps/article/admin_urls.py diff --git a/article/forms.py b/apps/article/forms.py similarity index 53% rename from article/forms.py rename to apps/article/forms.py index fc319bc2..1ff7478b 100644 --- a/article/forms.py +++ b/apps/article/forms.py @@ -116,7 +116,6 @@ class BlogForm(_BlogForm): return article - class NewsForm(_BlogForm): type = Article.news exposition = forms.CharField(label=_(u'Выставка'), widget=forms.HiddenInput(), required=False) @@ -154,157 +153,6 @@ class NewsForm(_BlogForm): return None -class ArticleForm(forms.Form): - """ - Create Article form for creating conference - - __init__ uses for dynamic creates fields - - save function saves data in Article object. If it doesnt exist create new object - """ - #users that have organiser profile - author = forms.ModelChoiceField(label=_(u'Автор'),queryset=User.objects.exclude(organiser__isnull=True)) - - key = forms.CharField(required=False, widget=forms.HiddenInput()) - theme = forms.ModelMultipleChoiceField(label=_(u'Тематики'), queryset=Theme.objects.all()) - #creates select input with empty choices cause it will be filled with ajax - tag = forms.MultipleChoiceField(label=_(u'Теги'), required=False) - - article_id = forms.CharField(required=False, widget=forms.HiddenInput()) - - def __init__(self, *args, **kwargs): - """ - create dynamical translated fields fields - """ - super(ArticleForm, self).__init__(*args, **kwargs) - #creates translated forms example: name_ru, name_en - # len(10) is a hack for detect if settings.LANGUAGES is not configured it return all langs - if len(settings.LANGUAGES) in range(10): - for lid, (code, name) in enumerate(settings.LANGUAGES): - # uses enumerate for detect iteration number - # first iteration is a default lang so it required fields - required = True if lid == 0 else False - self.fields['main_title_%s' % code] = forms.CharField(label=_(u'Заголовок'), required=required) - self.fields['preview_%s' % code] = forms.CharField(label=_(u'Превью'), required=required, widget=CKEditorWidget) - self.fields['description_%s' % code] = forms.CharField(label=_(u'Описание'), required=required, widget=CKEditorWidget) - #meta data - self.fields['title_%s' % code] = forms.CharField(label=_(u'Тайтл'), required=False, max_length=255, - widget=forms.TextInput(attrs={'style':'width: 550px'})) - self.fields['keywords_%s' % code] = forms.CharField(label=_(u'Дескрипшен'), required=False, max_length=255, - widget=forms.TextInput(attrs={'style':'width: 550px'})) - self.fields['descriptions_%s' % code] = forms.CharField(label=_(u'Кейвордс'), required=False, max_length=255, - widget=forms.TextInput(attrs={'style':'width: 550px'})) - - def save(self, id=None): - """ - change Article object with id = id - N/A add new Article object - usage: form.save(obj) - if change article - form.save() - if add article - """ - data = self.cleaned_data - #create new Article object or get exists - if not id: - article = Article() - else: - article = Article.objects.get(id=id) - #clear manytomany relations - article.theme.clear() - article.tag.clear() - - - if data.get('author'): - article.user = User.objects.get(id=data['author'].id)#.id cause select uses queryset - - #create slug field from russian language - if not getattr(article, 'slug'): - article.slug = translit_with_separator(data['main_title_ru'].strip()).lower() - - # fill translated fields and save object - fill_with_signal(Article, article, data) - # fill manytomany fields - for item in data['theme']: - article.theme.add(item.id)#.id cause select uses queryset - - for item in data['tag']: - article.tag.add(item) - - article.save() - - #save files - check_tmp_files(article, data['key']) - - - def clean(self): - id = self.cleaned_data.get('article_id') - main_title_ru = self.cleaned_data.get('main_title_ru') - - article = Article.objects.filter(url=translit_with_separator(main_title_ru)) - if article and str(article[0].id) != id: - msg = _(u'Статья с таким названием уже существует') - self._errors['main_title_ru'] = ErrorList([msg]) - del self.cleaned_data['main_title_ru'] - - return self.cleaned_data - - -class ArticleDeleteForm(forms.ModelForm): - url = forms.CharField(widget=forms.HiddenInput()) - - class Meta: - model = Article - fields = ('url',) - -#---------------------------------- -""" -from models import Blog - -class BlogForm(forms.ModelForm): - class Meta: - model = Blog - exclude = ('created', 'modified', 'creator', 'theme', 'tag') - - def __init__(self, *args, **kwargs): - super(BlogForm, self).__init__(*args, **kwargs) - - - if len(settings.LANGUAGES) in range(10): - for lid, (code, name) in enumerate(settings.LANGUAGES): - # uses enumerate for detect iteration number - # first iteration is a default lang so it required fields - required = True if lid == 0 else False - self.fields['main_title_%s' % code] = forms.CharField(label='Заголовок', required=required) - self.fields['preview_%s' % code] = forms.CharField(label='Превью', required=required, widget=CKEditorWidget) - self.fields['description_%s' % code] = forms.CharField(label='Описание', required=required, widget=CKEditorWidget) - #meta data - self.fields['title_%s' % code] = forms.CharField(label='Тайтл', required=False, max_length=255, - widget=forms.TextInput(attrs={'style':'width: 550px'})) - self.fields['keywords_%s' % code] = forms.CharField(label='Дескрипшен', required=False, max_length=255, - widget=forms.TextInput(attrs={'style':'width: 550px'})) - self.fields['descriptions_%s' % code] = forms.CharField(label='Кейвордс', required=False, max_length=255, - widget=forms.TextInput(attrs={'style':'width: 550px'})) -""" - - - -class ArticleFilterForm(forms.Form): - theme = forms.MultipleChoiceField(label=_(u'Тематика:'), required=False, - choices=[(item.id, item.name) for item in Theme.objects.language().distinct()]) - tag = forms.CharField(label=_(u'Теги:'), widget=forms.HiddenInput(), required=False) - - ''' - - def __init__(self, *args, **kwargs): - """ - create dynamical translated fields fields - """ - super(ArticleFilterForm, self).__init__(*args, **kwargs) - ids = [item['theme_id'] for item in list(Article.objects.blogs().values('theme_id').distinct())] - self.fields['theme'] = forms.MultipleChoiceField(label=_(u'Тематика:'), required=False, - choices=[(item.id, item.name) for item in Theme.objects.language().filter(id__in=ids)]) - ''' - - class BlogFilterForm(forms.Form): tag = forms.CharField(label=_(u'Теги:'), widget=forms.HiddenInput(), required=False) diff --git a/article/managers.py b/apps/article/managers.py similarity index 100% rename from article/managers.py rename to apps/article/managers.py diff --git a/article/migrations/0004_author.py b/apps/article/migrations/0001_initial.py similarity index 89% rename from article/migrations/0004_author.py rename to apps/article/migrations/0001_initial.py index 4416998b..6861d00b 100644 --- a/article/migrations/0004_author.py +++ b/apps/article/migrations/0001_initial.py @@ -11,6 +11,7 @@ class Migration(SchemaMigration): # Adding model 'Author' db.create_table(u'article_author', ( (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('photo', self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True)), ('fullname', self.gf('django.db.models.fields.CharField')(max_length=255)), ('fullname_ru', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), ('fullname_en', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), @@ -22,29 +23,91 @@ class Migration(SchemaMigration): ('vk', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)), ('linkedin', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)), ('instagram', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)), + ('about', self.gf('django.db.models.fields.TextField')(blank=True)), + ('about_ru', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('about_en', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), )) db.send_create_signal(u'article', ['Author']) - # Adding field 'ArticleTranslation.short_description' - db.add_column(u'article_article_translation', 'short_description', - self.gf('django.db.models.fields.TextField')(default='', blank=True), - keep_default=False) + # Adding model 'ArticleTranslation' + db.create_table(u'article_article_translation', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('main_title', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('preview', self.gf('django.db.models.fields.TextField')()), + ('description', self.gf('django.db.models.fields.TextField')()), + ('short_description', self.gf('django.db.models.fields.TextField')(blank=True)), + ('title', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), + ('descriptions', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), + ('keywords', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), + ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), + ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['article.Article'])), + )) + db.send_create_signal(u'article', ['ArticleTranslation']) + + # Adding unique constraint on 'ArticleTranslation', fields ['language_code', 'master'] + db.create_unique(u'article_article_translation', ['language_code', 'master_id']) - # Adding field 'Article.author_s' - db.add_column(u'article_article', 'author_s', - self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='articles', null=True, on_delete=models.PROTECT, to=orm['article.Author']), - keep_default=False) + # Adding model 'Article' + db.create_table(u'article_article', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('slug', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=255)), + ('old_id', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)), + ('logo', self.gf(u'sorl.thumbnail.fields.ImageField')(max_length=100, blank=True)), + ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='articles', on_delete=models.PROTECT, to=orm['accounts.User'])), + ('author_s', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='articles', null=True, on_delete=models.PROTECT, to=orm['article.Author'])), + ('exposition', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['exposition.Exposition'], null=True, blank=True)), + ('conference', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['conference.Conference'], null=True, blank=True)), + ('type', self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=1, db_index=True)), + ('allow_comments', self.gf('django.db.models.fields.BooleanField')(default=True)), + ('publish_date', self.gf('django.db.models.fields.DateTimeField')(db_index=True, null=True, blank=True)), + ('expiry_date', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('in_sitemap', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('main_page', self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True)), + ('main_page_time', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('gen_description', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + ('modified', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), + ('draft', self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True)), + )) + db.send_create_signal(u'article', ['Article']) + + # Adding M2M table for field theme on 'Article' + m2m_table_name = db.shorten_name(u'article_article_theme') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('article', models.ForeignKey(orm[u'article.article'], null=False)), + ('theme', models.ForeignKey(orm[u'theme.theme'], null=False)) + )) + db.create_unique(m2m_table_name, ['article_id', 'theme_id']) + + # Adding M2M table for field tag on 'Article' + m2m_table_name = db.shorten_name(u'article_article_tag') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('article', models.ForeignKey(orm[u'article.article'], null=False)), + ('tag', models.ForeignKey(orm[u'theme.tag'], null=False)) + )) + db.create_unique(m2m_table_name, ['article_id', 'tag_id']) def backwards(self, orm): + # Removing unique constraint on 'ArticleTranslation', fields ['language_code', 'master'] + db.delete_unique(u'article_article_translation', ['language_code', 'master_id']) + # Deleting model 'Author' db.delete_table(u'article_author') - # Deleting field 'ArticleTranslation.short_description' - db.delete_column(u'article_article_translation', 'short_description') + # Deleting model 'ArticleTranslation' + db.delete_table(u'article_article_translation') + + # Deleting model 'Article' + db.delete_table(u'article_article') - # Deleting field 'Article.author_s' - db.delete_column(u'article_article', 'author_s_id') + # Removing M2M table for field theme on 'Article' + db.delete_table(db.shorten_name(u'article_article_theme')) + + # Removing M2M table for field tag on 'Article' + db.delete_table(db.shorten_name(u'article_article_tag')) models = { @@ -69,6 +132,7 @@ class Migration(SchemaMigration): 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), + 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), @@ -113,6 +177,9 @@ class Migration(SchemaMigration): }, u'article.author': { 'Meta': {'object_name': 'Author'}, + 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), + 'about_en': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'about_ru': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}), 'fb': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), 'fullname': ('django.db.models.fields.CharField', [], {'max_length': '255'}), @@ -121,6 +188,7 @@ class Migration(SchemaMigration): u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'instagram': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), + 'photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), 'position_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), 'position_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), @@ -154,6 +222,18 @@ class Migration(SchemaMigration): 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) }, + u'comments.comment': { + 'Meta': {'object_name': 'Comment'}, + 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), + 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'hidden': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'ip': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39', 'null': 'True', 'blank': 'True'}), + 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), + 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['comments.Comment']", 'null': 'True', 'blank': 'True'}), + 'text': ('django.db.models.fields.TextField', [], {}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) + }, u'company.company': { 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), @@ -182,7 +262,7 @@ class Migration(SchemaMigration): }, u'conference.conference': { 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), + 'audience': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['events.TargetAudience']", 'null': 'True', 'symmetrical': 'False'}), 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), @@ -213,6 +293,7 @@ class Migration(SchemaMigration): 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), + 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': 'False', 'null': 'True', 'blank': 'True'}), 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), 'periodic_once': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), @@ -304,6 +385,13 @@ class Migration(SchemaMigration): u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) }, + u'events.targetaudience': { + 'Meta': {'ordering': "['title']", 'object_name': 'TargetAudience'}, + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}), + 'title_en': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), + 'title_ru': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) + }, u'expobanner.banner': { 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), @@ -312,13 +400,13 @@ class Migration(SchemaMigration): 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 31, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), + 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), @@ -385,7 +473,7 @@ class Migration(SchemaMigration): 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 31, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), diff --git a/city/__init__.py b/apps/article/migrations/__init__.py similarity index 100% rename from city/__init__.py rename to apps/article/migrations/__init__.py diff --git a/article/models.py b/apps/article/models.py similarity index 83% rename from article/models.py rename to apps/article/models.py index 36f5ccd9..3d21ea1c 100644 --- a/article/models.py +++ b/apps/article/models.py @@ -107,21 +107,6 @@ class Article(TranslatableModel): def __unicode__(self): return self.lazy_translation_getter('main_title', self.pk) - def translation_model(self): - return self._meta.translations_model - - def publish(self): - """ - set publish date. uses when publish date is none - """ - self.in_sitemap = True - if not self.publish_date: - # save time only first time - self.publish_date = now() - self.save() - - return self - def get_event(self): """ get event connected to article @@ -137,17 +122,8 @@ class Article(TranslatableModel): # If no slug is provided, generates one before saving. if not self.slug: self.slug = self.generate_unique_slug() - # Set the description field on save. - # if self.gen_description: - # self.description = strip_tags(self.description_from_content()) super(Article, self).save(*args, **kwargs) - def description_from_content(self): - """ - """ - # place for logic - return '' - def generate_unique_slug(self): """ Create a unique slug by passing the result of get_slug() to @@ -173,37 +149,6 @@ class Article(TranslatableModel): """ return u'%s' % self.lazy_translation_getter('main_title', self.pk) - def _get_next_or_previous_by_publish_date(self, is_next, **kwargs): - """ - Retrieves next or previous object by publish date. We implement - our own version instead of Django's so we can hook into the - published manager and concrete subclasses. - """ - arg = "publish_date__gt" if is_next else "publish_date__lt" - order = "publish_date" if is_next else "-publish_date" - lookup = {arg: self.publish_date} - concrete_model = base_concrete_model(Article, self) - try: - queryset = concrete_model.objects.published - except AttributeError: - queryset = concrete_model.objects.all - try: - return queryset(**kwargs).filter(**lookup).order_by(order)[0] - except IndexError: - pass - - def get_next_by_publish_date(self, **kwargs): - """ - Retrieves next object by publish date. - """ - return self._get_next_or_previous_by_publish_date(True, **kwargs) - - def get_previous_by_publish_date(self, **kwargs): - """ - Retrieves previous object by publish date. - """ - return self._get_next_or_previous_by_publish_date(False, **kwargs) - def admin_url(self): """ returns url for admin pages diff --git a/article/translation.py b/apps/article/translation.py similarity index 100% rename from article/translation.py rename to apps/article/translation.py diff --git a/article/urls.py b/apps/article/urls.py similarity index 100% rename from article/urls.py rename to apps/article/urls.py diff --git a/article/views.py b/apps/article/views.py similarity index 100% rename from article/views.py rename to apps/article/views.py diff --git a/city/management/__init__.py b/apps/city/__init__.py similarity index 100% rename from city/management/__init__.py rename to apps/city/__init__.py diff --git a/city/admin.py b/apps/city/admin.py similarity index 96% rename from city/admin.py rename to apps/city/admin.py index 34a05fc7..fc5edef7 100644 --- a/city/admin.py +++ b/apps/city/admin.py @@ -21,13 +21,6 @@ from functions.admin_views import AdminListView from functions.http import JsonResponse -def city_all(request): - """ - return list of all cities with pagination - """ - return objects_list(request, City, 'city_all.html') - - def city_add(request): """ Return form of city and post it on the server. @@ -35,6 +28,7 @@ def city_add(request): """ return add_object_with_file(request, CityForm, 'city_add.html', '/admin/city/all') + def city_delete(request, url): return delete_object(request, City, CityDeleteForm, url, '/admin/city/all/') diff --git a/city/admin_urls.py b/apps/city/admin_urls.py similarity index 100% rename from city/admin_urls.py rename to apps/city/admin_urls.py diff --git a/city/forms.py b/apps/city/forms.py similarity index 100% rename from city/forms.py rename to apps/city/forms.py diff --git a/city/management/commands/__init__.py b/apps/city/management/__init__.py similarity index 100% rename from city/management/commands/__init__.py rename to apps/city/management/__init__.py diff --git a/comments/__init__.py b/apps/city/management/commands/__init__.py similarity index 100% rename from comments/__init__.py rename to apps/city/management/commands/__init__.py diff --git a/city/management/commands/create_hotels.py b/apps/city/management/commands/create_hotels.py similarity index 100% rename from city/management/commands/create_hotels.py rename to apps/city/management/commands/create_hotels.py diff --git a/city/management/commands/hotel_photos.py b/apps/city/management/commands/hotel_photos.py similarity index 100% rename from city/management/commands/hotel_photos.py rename to apps/city/management/commands/hotel_photos.py diff --git a/city/management/commands/update_hotels_currency.py b/apps/city/management/commands/update_hotels_currency.py similarity index 100% rename from city/management/commands/update_hotels_currency.py rename to apps/city/management/commands/update_hotels_currency.py diff --git a/city/management/commands/update_hotels_price.py b/apps/city/management/commands/update_hotels_price.py similarity index 100% rename from city/management/commands/update_hotels_price.py rename to apps/city/management/commands/update_hotels_price.py diff --git a/city/models.py b/apps/city/models.py similarity index 100% rename from city/models.py rename to apps/city/models.py diff --git a/city/search_indexes.py b/apps/city/search_indexes.py similarity index 100% rename from city/search_indexes.py rename to apps/city/search_indexes.py diff --git a/city/urls.py b/apps/city/urls.py similarity index 57% rename from city/urls.py rename to apps/city/urls.py index 2496e422..12aa719d 100644 --- a/city/urls.py +++ b/apps/city/urls.py @@ -1,9 +1,6 @@ # -*- coding: utf-8 -*- from django.conf.urls import patterns, url -from views import CityView urlpatterns = patterns('', url(r'get-city/', 'city.views.get_city'), - # commented for good times - #url(r'(?P.*)', CityView.as_view()), ) diff --git a/city/views.py b/apps/city/views.py similarity index 87% rename from city/views.py rename to apps/city/views.py index 0cf49417..9143c18c 100644 --- a/city/views.py +++ b/apps/city/views.py @@ -7,15 +7,6 @@ from models import City from settings.views import get_by_lang -class CityView(DetailView): - """ - this view is not used yet - """ - model = City - slug_field = 'url' - template_name = 'client/city/city.html' - - def get_city(request): """ returns filtered cities in current language in json format @@ -39,4 +30,4 @@ def get_city(request): return HttpResponse(json.dumps(result, indent=4), content_type='application/json') else: - return HttpResponse('not ajax') \ No newline at end of file + return HttpResponse('not ajax') diff --git a/comments/migrations/__init__.py b/apps/comments/__init__.py similarity index 100% rename from comments/migrations/__init__.py rename to apps/comments/__init__.py diff --git a/comments/admin.py b/apps/comments/admin.py similarity index 100% rename from comments/admin.py rename to apps/comments/admin.py diff --git a/comments/forms.py b/apps/comments/forms.py similarity index 100% rename from comments/forms.py rename to apps/comments/forms.py diff --git a/comments/matfilter.py b/apps/comments/matfilter.py similarity index 100% rename from comments/matfilter.py rename to apps/comments/matfilter.py diff --git a/comments/migrations/0001_initial.py b/apps/comments/migrations/0001_initial.py similarity index 98% rename from comments/migrations/0001_initial.py rename to apps/comments/migrations/0001_initial.py index ba86e198..14ce2455 100644 --- a/comments/migrations/0001_initial.py +++ b/apps/comments/migrations/0001_initial.py @@ -14,7 +14,7 @@ class Migration(SchemaMigration): ('ip', self.gf('django.db.models.fields.GenericIPAddressField')(max_length=39, null=True, blank=True)), ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('hidden', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('parent', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['comments.Comment'], null=True)), + ('parent', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['comments.Comment'], null=True, blank=True)), ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['accounts.User'])), ('text', self.gf('django.db.models.fields.TextField')()), ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])), @@ -50,6 +50,7 @@ class Migration(SchemaMigration): 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), + 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), @@ -91,7 +92,7 @@ class Migration(SchemaMigration): u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'ip': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39', 'null': 'True', 'blank': 'True'}), 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['comments.Comment']", 'null': 'True'}), + 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['comments.Comment']", 'null': 'True', 'blank': 'True'}), 'text': ('django.db.models.fields.TextField', [], {}), 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) }, @@ -181,13 +182,13 @@ class Migration(SchemaMigration): 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 31, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), + 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), @@ -229,7 +230,7 @@ class Migration(SchemaMigration): 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 31, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), diff --git a/company/__init__.py b/apps/comments/migrations/__init__.py similarity index 100% rename from company/__init__.py rename to apps/comments/migrations/__init__.py diff --git a/comments/models.py b/apps/comments/models.py similarity index 100% rename from comments/models.py rename to apps/comments/models.py diff --git a/comments/tests.py b/apps/comments/tests.py similarity index 100% rename from comments/tests.py rename to apps/comments/tests.py diff --git a/comments/views.py b/apps/comments/views.py similarity index 100% rename from comments/views.py rename to apps/comments/views.py diff --git a/company/migrations/__init__.py b/apps/company/__init__.py similarity index 100% rename from company/migrations/__init__.py rename to apps/company/__init__.py diff --git a/company/admin.py b/apps/company/admin.py similarity index 92% rename from company/admin.py rename to apps/company/admin.py index a2a0f843..a6ff6751 100644 --- a/company/admin.py +++ b/apps/company/admin.py @@ -19,23 +19,6 @@ from theme.models import Tag from django.utils.translation import ugettext_lazy as _ -def company_all(request): - """ - Return list of all companies with pagination - """ - return objects_list(request, Company, 'company_all.html') - - -def company_add(request): - """ - Return form of company and post it on the server. - If form is posted redirect on the page of all companies. - """ - return add_object_with_file(request, CompanyForm, - 'company_add.html', '/admin/company/all/', - {'city': City, 'tag': Tag}) - - def company_delete(request, url): return delete_object(request, Company, CompanyDeleteForm, url, '/admin/company/all') @@ -43,7 +26,6 @@ def company_delete(request, url): @login_required def company_change(request, url): - print('URL\n' + url) """ Return form and fill it with existing Company object data. diff --git a/company/admin_urls.py b/apps/company/admin_urls.py similarity index 81% rename from company/admin_urls.py rename to apps/company/admin_urls.py index d42275f0..10340bf1 100644 --- a/company/admin_urls.py +++ b/apps/company/admin_urls.py @@ -27,11 +27,4 @@ urlpatterns = patterns('company.admin', url(r'^(?P.*)/$', CompanyView.as_view()), url(r'^$', CompanyView.as_view()), - - # url(r'^add.*/$', 'company_add'), - # url(r'^delete/(?P.*)/$', 'company_delete'), - # url(r'^change/(?P.*)/$', 'company_change'), - # url(r'^all/$', 'company_all'), - # url(r'^all/$', CompanyListView.as_view()), - ) diff --git a/company/edit_forms.py b/apps/company/edit_forms.py similarity index 100% rename from company/edit_forms.py rename to apps/company/edit_forms.py diff --git a/company/edit_views.py b/apps/company/edit_views.py similarity index 100% rename from company/edit_views.py rename to apps/company/edit_views.py diff --git a/company/forms.py b/apps/company/forms.py similarity index 100% rename from company/forms.py rename to apps/company/forms.py diff --git a/place_exposition/migrations/0002_auto__add_field_placeexposition_top.py b/apps/company/migrations/0001_initial.py similarity index 87% rename from place_exposition/migrations/0002_auto__add_field_placeexposition_top.py rename to apps/company/migrations/0001_initial.py index acc63bd4..01d903fe 100644 --- a/place_exposition/migrations/0002_auto__add_field_placeexposition_top.py +++ b/apps/company/migrations/0001_initial.py @@ -8,15 +8,84 @@ from django.db import models class Migration(SchemaMigration): def forwards(self, orm): - # Adding field 'PlaceExposition.top' - db.add_column(u'place_exposition_placeexposition', 'top', - self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.Top'], null=True, on_delete=models.SET_NULL, blank=True), - keep_default=False) + # Adding model 'CompanyTranslation' + db.create_table(u'company_company_translation', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('specialization', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), + ('description', self.gf('django.db.models.fields.TextField')(blank=True)), + ('address_inf', self.gf('django.db.models.fields.TextField')(blank=True)), + ('title', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('descriptions', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('keywords', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), + ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['company.Company'])), + )) + db.send_create_signal(u'company', ['CompanyTranslation']) + + # Adding unique constraint on 'CompanyTranslation', fields ['language_code', 'master'] + db.create_unique(u'company_company_translation', ['language_code', 'master_id']) + + # Adding model 'Company' + db.create_table(u'company_company', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('url', self.gf('django.db.models.fields.SlugField')(max_length=255)), + ('creator', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='created_company', null=True, to=orm['accounts.User'])), + ('country', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='companies', null=True, on_delete=models.PROTECT, to=orm['country.Country'])), + ('city', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='companies', null=True, on_delete=models.PROTECT, to=orm['city.City'])), + ('address', self.gf('functions.custom_fields.LocationField')(blank=True)), + ('staff_number', self.gf('django.db.models.fields.CharField')(max_length=50, blank=True)), + ('phone', self.gf('django.db.models.fields.BigIntegerField')(null=True, blank=True)), + ('fax', self.gf('django.db.models.fields.BigIntegerField')(null=True, blank=True)), + ('web_page', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), + ('email', self.gf('django.db.models.fields.EmailField')(max_length=75, blank=True)), + ('facebook', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), + ('twitter', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), + ('linkedin', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), + ('vk', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), + ('foundation', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('rating', self.gf('django.db.models.fields.IntegerField')(default=100)), + ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + ('modified', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), + ('logo', self.gf('django.db.models.fields.files.ImageField')(max_length=100, blank=True)), + ('blocked', self.gf('django.db.models.fields.BooleanField')(default=False)), + )) + db.send_create_signal(u'company', ['Company']) + + # Adding M2M table for field theme on 'Company' + m2m_table_name = db.shorten_name(u'company_company_theme') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('company', models.ForeignKey(orm[u'company.company'], null=False)), + ('theme', models.ForeignKey(orm[u'theme.theme'], null=False)) + )) + db.create_unique(m2m_table_name, ['company_id', 'theme_id']) + + # Adding M2M table for field tag on 'Company' + m2m_table_name = db.shorten_name(u'company_company_tag') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('company', models.ForeignKey(orm[u'company.company'], null=False)), + ('tag', models.ForeignKey(orm[u'theme.tag'], null=False)) + )) + db.create_unique(m2m_table_name, ['company_id', 'tag_id']) def backwards(self, orm): - # Deleting field 'PlaceExposition.top' - db.delete_column(u'place_exposition_placeexposition', 'top_id') + # Removing unique constraint on 'CompanyTranslation', fields ['language_code', 'master'] + db.delete_unique(u'company_company_translation', ['language_code', 'master_id']) + + # Deleting model 'CompanyTranslation' + db.delete_table(u'company_company_translation') + + # Deleting model 'Company' + db.delete_table(u'company_company') + + # Removing M2M table for field theme on 'Company' + db.delete_table(db.shorten_name(u'company_company_theme')) + + # Removing M2M table for field tag on 'Company' + db.delete_table(db.shorten_name(u'company_company_tag')) models = { @@ -41,6 +110,7 @@ class Migration(SchemaMigration): 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), + 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), @@ -100,6 +170,19 @@ class Migration(SchemaMigration): 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) }, + u'company.companytranslation': { + 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'CompanyTranslation', 'db_table': "u'company_company_translation'", 'index_together': '()'}, + 'address_inf': ('django.db.models.fields.TextField', [], {'blank': 'True'}), + 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), + 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), + 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['company.Company']"}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + 'specialization': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) + }, 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'}), @@ -160,13 +243,13 @@ class Migration(SchemaMigration): 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 17, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), + 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), @@ -208,7 +291,7 @@ class Migration(SchemaMigration): 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 17, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), @@ -352,20 +435,6 @@ class Migration(SchemaMigration): 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) }, - u'place_exposition.hall': { - 'Meta': {'unique_together': '()', 'object_name': 'Hall', 'index_together': '()'}, - 'capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '6', 'blank': 'True'}), - 'place_exposition': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'halls'", 'to': u"orm['place_exposition.PlaceExposition']"}) - }, - u'place_exposition.halltranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'HallTranslation', 'db_table': "u'place_exposition_hall_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['place_exposition.Hall']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, u'place_exposition.placeexposition': { 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, 'address': ('functions.custom_fields.LocationField', [], {}), @@ -408,20 +477,6 @@ class Migration(SchemaMigration): 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) }, - u'place_exposition.placeexpositiontranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'PlaceExpositionTranslation', 'db_table': "u'place_exposition_placeexposition_translation'", 'index_together': '()'}, - 'adress': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'total_year_action': ('django.db.models.fields.TextField', [], {'blank': 'True'}) - }, u'sites.site': { 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), @@ -455,4 +510,4 @@ class Migration(SchemaMigration): } } - complete_apps = ['place_exposition'] \ No newline at end of file + complete_apps = ['company'] \ No newline at end of file diff --git a/conference/__init__.py b/apps/company/migrations/__init__.py similarity index 100% rename from conference/__init__.py rename to apps/company/migrations/__init__.py diff --git a/company/models.py b/apps/company/models.py similarity index 100% rename from company/models.py rename to apps/company/models.py diff --git a/company/search_indexes.py b/apps/company/search_indexes.py similarity index 100% rename from company/search_indexes.py rename to apps/company/search_indexes.py diff --git a/company/tests.py b/apps/company/tests.py similarity index 100% rename from company/tests.py rename to apps/company/tests.py diff --git a/company/urls.py b/apps/company/urls.py similarity index 100% rename from company/urls.py rename to apps/company/urls.py diff --git a/company/views.py b/apps/company/views.py similarity index 100% rename from company/views.py rename to apps/company/views.py diff --git a/conference/migrations/__init__.py b/apps/conference/__init__.py similarity index 100% rename from conference/migrations/__init__.py rename to apps/conference/__init__.py diff --git a/conference/admin.py b/apps/conference/admin.py similarity index 96% rename from conference/admin.py rename to apps/conference/admin.py index fbf64878..2d02138f 100644 --- a/conference/admin.py +++ b/apps/conference/admin.py @@ -9,12 +9,13 @@ from django.contrib.auth.decorators import login_required from django.contrib.contenttypes.models import ContentType from django.core.context_processors import csrf from django.db import models -from django.forms.formsets import BaseFormSet, formset_factory +from django.forms.formsets import formset_factory from django.forms.models import modelformset_factory from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render_to_response from django.utils import translation from django.utils.translation import ugettext_lazy as _ +from django.views.decorators.csrf import csrf_exempt from modeltranslation.admin import TabbedTranslationAdmin from sorl.thumbnail import get_thumbnail @@ -22,7 +23,7 @@ from sorl.thumbnail.admin.current import AdminImageWidget from exposition.admin import get_by_lang from city.models import City -from file.forms import FileForm, FileModelForm +from file.forms import FileModelForm from file.models import FileModel, TmpFile from forms import ( ConferenceChangeForm, @@ -35,15 +36,14 @@ from forms import ( from functions.admin_views import ( AdminListView, AdminView, - stat_paginate_results, - upload_photo + stat_paginate_results ) from functions.custom_views import delete_object, objects_list from functions.views_help import get_referer from functions.admin import DefaultAdmin from haystack.query import SearchQuerySet from models import Conference, Statistic, TimeTable, Speaker -from photologue.forms import PhotoForm +from photologue.admin import upload_photo from theme.models import Tag @@ -329,13 +329,8 @@ class ConferenceView(AdminView): context = super(ConferenceView, self).get_context_data(**kwargs) obj = self.set_obj() if obj: - context['stat_form'] = StatisticForm() - context['file_form'] = FileForm(initial={'model': 'conference.Conference'}) - files = FileModel.objects.filter(content_type=ContentType.objects.get_for_model(obj),object_id=getattr(obj, 'id')) - context['files'] = files - context['photo_form'] = PhotoForm() context['timetable_form'] = TimeTableForm() context['timetables'] = TimeTable.objects.filter(conference=obj) return context @@ -348,6 +343,7 @@ class ConferenceListView(AdminListView): model = Conference +@csrf_exempt def upload_conference_photo(request, conf_id): return upload_photo(request, conf_id, Conference) diff --git a/conference/admin_urls.py b/apps/conference/admin_urls.py similarity index 93% rename from conference/admin_urls.py rename to apps/conference/admin_urls.py index 4f975505..dc69199a 100644 --- a/conference/admin_urls.py +++ b/apps/conference/admin_urls.py @@ -3,7 +3,8 @@ from django.conf.urls import patterns, include, url from admin import ConferenceListView, ConferenceView urlpatterns = patterns('conference.admin', - url(r'^upload-photo/(?P.*)/$', 'upload_conference_photo'), + url(r'^upload-photo/(?P.*)/$', 'upload_conference_photo', + name='conference_upload_photo'), url(r'^delete/(?P.*)$', 'conference_delete'), url(r'^copy/$', 'conf_copy'), url(r'^all/$', ConferenceListView.as_view(), name='admin-conference-all'), diff --git a/conference/forms.py b/apps/conference/forms.py similarity index 98% rename from conference/forms.py rename to apps/conference/forms.py index 3cdb0d39..e647c33e 100644 --- a/conference/forms.py +++ b/apps/conference/forms.py @@ -6,8 +6,9 @@ from django.forms.util import ErrorList from django.core.validators import validate_email, URLValidator from django.utils.translation import ugettext as _ #models +from .models import flags as FLAGS from events.models import TargetAudience -from models import Conference, TimeTable, CURRENCY, Statistic, BIT_AUDIENCE, Speaker +from models import Conference, TimeTable, CURRENCY, Statistic, Speaker from country.models import Country from city.models import City from theme.models import Theme, Tag @@ -24,6 +25,8 @@ from functions.form_check import translit_with_separator from functions.admin_forms import AdminFilterForm, EventsAdminFilterFormMixin from functions.forms import ML_ModelMultipleChoiceField +from bitfield.forms import BitFieldCheckboxSelectMultiple + places = [(item.id, item.name) for item in PlaceConference.objects.language().all()] places.insert(0,('', 'Не выбрано')) @@ -41,7 +44,8 @@ class ConferenceCreateForm(forms.Form): (4.0, _(u'4 раза в год')), (5.0, _(u'5 раз в год')), (0.5, _(u'Раз в 2 года')),(0.33, _(u'Раз в 3 года')), (0.25, _(u'Раз в 4 года')), (0.2, _(u'Раз в 5 лет'))) - # public = [(item1, item2) for item1, item2 in BIT_AUDIENCE] + # public = [(i, i) for i in + # TargetAudience.objects.all().values_list('title', flat=True)] currencies = [(item, item) for item in CURRENCY] diff --git a/conference/management/__init__.py b/apps/conference/management/__init__.py similarity index 100% rename from conference/management/__init__.py rename to apps/conference/management/__init__.py diff --git a/conference/management/commands/__init__.py b/apps/conference/management/commands/__init__.py similarity index 100% rename from conference/management/commands/__init__.py rename to apps/conference/management/commands/__init__.py diff --git a/conference/management/commands/conf_load.py b/apps/conference/management/commands/conf_load.py similarity index 100% rename from conference/management/commands/conf_load.py rename to apps/conference/management/commands/conf_load.py diff --git a/conference/management/commands/conf_old.py b/apps/conference/management/commands/conf_old.py similarity index 100% rename from conference/management/commands/conf_old.py rename to apps/conference/management/commands/conf_old.py diff --git a/conference/migrations/0001_initial.py b/apps/conference/migrations/0001_initial.py similarity index 81% rename from conference/migrations/0001_initial.py rename to apps/conference/migrations/0001_initial.py index 3da8c369..5781ece8 100644 --- a/conference/migrations/0001_initial.py +++ b/apps/conference/migrations/0001_initial.py @@ -32,8 +32,9 @@ class Migration(SchemaMigration): db.create_table(u'conference_conference', ( (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('url', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=255)), + ('bad_url', self.gf('django.db.models.fields.BooleanField')(default=False)), ('old_url', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=255)), - ('data_begin', self.gf('django.db.models.fields.DateField')()), + ('data_begin', self.gf('django.db.models.fields.DateField')(db_index=True)), ('data_end', self.gf('django.db.models.fields.DateField')()), ('services', self.gf('django.db.models.fields.BigIntegerField')(default=None)), ('country', self.gf('django.db.models.fields.related.ForeignKey')(related_name='conference_country', on_delete=models.PROTECT, to=orm['country.Country'])), @@ -45,11 +46,13 @@ class Migration(SchemaMigration): ('logo', self.gf('django.db.models.fields.files.ImageField')(max_length=100, blank=True)), ('rating', self.gf('django.db.models.fields.IntegerField')(default=0, db_index=True)), ('quality_label', self.gf('django.db.models.fields.BigIntegerField')(default=None)), + ('periodic_once', self.gf('django.db.models.fields.CharField')(max_length=10, null=True, blank=True)), ('periodic', self.gf('django.db.models.fields.FloatField')(null=True, blank=True)), - ('audience', self.gf('django.db.models.fields.BigIntegerField')(default=None)), ('web_page', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), ('link', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), + ('programm_link', self.gf('django.db.models.fields.URLField')(max_length=255, blank=True)), ('discount', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('partner', self.gf('django.db.models.fields.NullBooleanField')(default=False, null=True, blank=True)), ('currency', self.gf('functions.custom_fields.EnumField')(default='RUB', values=('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY'))), ('tax', self.gf('django.db.models.fields.BooleanField')(default=True)), ('min_price', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), @@ -58,15 +61,24 @@ class Migration(SchemaMigration): ('canceled_by_administrator', self.gf('django.db.models.fields.BooleanField')(default=False)), ('canceled', self.gf('django.db.models.fields.BooleanField')(default=False)), ('moved', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('is_published', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('is_published', self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True)), ('foundation_year', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), ('visitors', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), ('members', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('members_fc', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('paid_new', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.Paid'], null=True, on_delete=models.SET_NULL, blank=True)), + ('top', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.Top'], null=True, on_delete=models.SET_NULL, blank=True)), ('main', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.MainPage'], null=True, on_delete=models.SET_NULL, blank=True)), ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('modified', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), ('main_page', self.gf('django.db.models.fields.PositiveIntegerField')(default=0, db_index=True)), ('views', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), + ('members_choice', self.gf('django.db.models.fields.PositiveSmallIntegerField')(db_index=True, null=True, blank=True)), + ('visitors_choice', self.gf('django.db.models.fields.PositiveSmallIntegerField')(db_index=True, null=True, blank=True)), + ('price_choice', self.gf('django.db.models.fields.PositiveSmallIntegerField')(db_index=True, null=True, blank=True)), + ('price_rub', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('price_choice_eur', self.gf('django.db.models.fields.PositiveSmallIntegerField')(db_index=True, null=True, blank=True)), + ('price_eur', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), )) db.send_create_signal(u'conference', ['Conference']) @@ -115,6 +127,40 @@ class Migration(SchemaMigration): )) db.create_unique(m2m_table_name, ['conference_id', 'user_id']) + # Adding M2M table for field speakers on 'Conference' + m2m_table_name = db.shorten_name(u'conference_conference_speakers') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('conference', models.ForeignKey(orm[u'conference.conference'], null=False)), + ('speaker', models.ForeignKey(orm[u'conference.speaker'], null=False)) + )) + db.create_unique(m2m_table_name, ['conference_id', 'speaker_id']) + + # Adding M2M table for field audience on 'Conference' + m2m_table_name = db.shorten_name(u'conference_conference_audience') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('conference', models.ForeignKey(orm[u'conference.conference'], null=False)), + ('targetaudience', models.ForeignKey(orm[u'events.targetaudience'], null=False)) + )) + db.create_unique(m2m_table_name, ['conference_id', 'targetaudience_id']) + + # Adding model 'Speaker' + db.create_table(u'conference_speaker', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('fullname', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('fullname_ru', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), + ('fullname_en', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), + ('company', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), + ('company_ru', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), + ('company_en', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), + ('position', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), + ('position_ru', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), + ('position_en', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), + ('photo', self.gf('django.db.models.fields.files.ImageField')(max_length=100)), + )) + db.send_create_signal(u'conference', ['Speaker']) + # Adding model 'StatisticTranslation' db.create_table(u'conference_statistic_translation', ( (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), @@ -198,6 +244,15 @@ class Migration(SchemaMigration): # Removing M2M table for field users on 'Conference' db.delete_table(db.shorten_name(u'conference_conference_users')) + # Removing M2M table for field speakers on 'Conference' + db.delete_table(db.shorten_name(u'conference_conference_speakers')) + + # Removing M2M table for field audience on 'Conference' + db.delete_table(db.shorten_name(u'conference_conference_audience')) + + # Deleting model 'Speaker' + db.delete_table(u'conference_speaker') + # Deleting model 'StatisticTranslation' db.delete_table(u'conference_statistic_translation') @@ -233,6 +288,7 @@ class Migration(SchemaMigration): 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), + 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), @@ -266,6 +322,18 @@ class Migration(SchemaMigration): 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) }, + u'comments.comment': { + 'Meta': {'object_name': 'Comment'}, + 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), + 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'hidden': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'ip': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39', 'null': 'True', 'blank': 'True'}), + 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), + 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['comments.Comment']", 'null': 'True', 'blank': 'True'}), + 'text': ('django.db.models.fields.TextField', [], {}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) + }, u'company.company': { 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), @@ -294,7 +362,8 @@ class Migration(SchemaMigration): }, u'conference.conference': { 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), + 'audience': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['events.TargetAudience']", 'null': 'True', 'symmetrical': 'False'}), + 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), @@ -302,39 +371,52 @@ class Migration(SchemaMigration): 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), + 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), 'data_end': ('django.db.models.fields.DateField', [], {}), 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'members_fc': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), + 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), + 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': 'False', 'null': 'True', 'blank': 'True'}), 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), + 'periodic_once': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'programm_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), + 'speakers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['conference.Speaker']", 'null': 'True', 'blank': 'True'}), 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) }, u'conference.conferencetranslation': { @@ -352,6 +434,20 @@ class Migration(SchemaMigration): 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}) }, + u'conference.speaker': { + 'Meta': {'object_name': 'Speaker'}, + 'company': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'company_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'company_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'fullname': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + 'fullname_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'fullname_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), + 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'position_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'position_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) + }, u'conference.statistic': { 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), @@ -441,20 +537,28 @@ class Migration(SchemaMigration): u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) }, + u'events.targetaudience': { + 'Meta': {'ordering': "['title']", 'object_name': 'TargetAudience'}, + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}), + 'title_en': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), + 'title_ru': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) + }, u'expobanner.banner': { 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 5, 10, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), + 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), @@ -480,6 +584,14 @@ class Migration(SchemaMigration): 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) }, + u'expobanner.customer': { + 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, + 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) + }, u'expobanner.mainpage': { 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), @@ -490,6 +602,39 @@ class Migration(SchemaMigration): 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) }, + u'expobanner.paid': { + 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, + 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), + 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), + 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), + 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), + 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), + 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), + 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), + 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), + 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) + }, + u'expobanner.top': { + 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, + 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), + 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), + 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), + 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), + 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), + 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), + 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), + 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), + 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) + }, u'expobanner.url': { 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), @@ -621,6 +766,7 @@ class Migration(SchemaMigration): 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), @@ -662,6 +808,7 @@ class Migration(SchemaMigration): 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), @@ -688,20 +835,14 @@ class Migration(SchemaMigration): }, u'theme.theme': { 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - 'blogtheme_linking': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['theme.ThemeBlog']", 'null': 'True'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), + 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), + 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) }, - u'theme.themeblog': { - 'Meta': {'unique_together': '()', 'object_name': 'ThemeBlog', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, u'translator.translator': { 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, 'birth': ('django.db.models.fields.DateField', [], {}), diff --git a/core/__init__.py b/apps/conference/migrations/__init__.py similarity index 100% rename from core/__init__.py rename to apps/conference/migrations/__init__.py diff --git a/conference/models.py b/apps/conference/models.py similarity index 94% rename from conference/models.py rename to apps/conference/models.py index 72be39fb..c44b6399 100644 --- a/conference/models.py +++ b/apps/conference/models.py @@ -8,6 +8,7 @@ from django.core.urlresolvers import reverse_lazy from django.db import models from django.db.models import Q from django.db.models.signals import post_save, pre_save +from django.dispatch import receiver from django.utils import translation from django.utils.translation import ugettext as _ @@ -23,7 +24,7 @@ from functions.translate import fill_with_signal from functions.files import gen_path from hvad.models import TranslatableModel, TranslatedFields, TranslationManager from photologue.models import Gallery -from service.models import Service +from service.models import Service, LinkedService from events.common import MEMBERS, VISITORS, PRICE, PRICE_EUR from events.models import TargetAudience @@ -33,7 +34,6 @@ flags = ['catalog', 'translator', 'participation', 'remote', 'tickets', 'visit', CURRENCY = settings.CURRENCY -BIT_AUDIENCE = settings.BIT_AUDIENCE class Conference(TranslatableModel, EventMixin, ExpoMixin): """ @@ -115,7 +115,7 @@ class Conference(TranslatableModel, EventMixin, ExpoMixin): #translated fields translations = TranslatedFields( - name = models.CharField(verbose_name=_(u'Название'), max_length=255), + name=models.CharField(verbose_name=_(u'Название'), max_length=255), main_title=models.TextField(verbose_name=_(u'Краткое описание'), blank=True), description=models.TextField(verbose_name=_(u'Описание'), blank=True), main_themes=models.TextField(verbose_name=_(u'Основные темы'), blank=True), @@ -179,31 +179,28 @@ class Conference(TranslatableModel, EventMixin, ExpoMixin): # else: # return [] + def get_audience(self): + return self.audience.all() + def get_news_url(self): return reverse_lazy('news_conference', kwargs={'slug': self.url}) def get_catalog_url(self): return '/conference/' - def get_audience(self): - checked = [item for item, bool in self.audience if bool==True] - audience = [] - for k, v in BIT_AUDIENCE: - for item in checked: - if item == k: - audience.append(v) - - return ', '.join(audience) - - def get_calendar_url(self): - return '/conference-add-calendar/%s/'%self.id + return reverse_lazy('conference_add_calendar', args=[self.id]) def get_visit_url(self): - return '/conference-visit/%s/'%self.id + return reverse_lazy( + 'events:event_visit', args=['conference', self.id] + ) def get_note_url(self): - return '/conference/add-note/%s/'%self.url + return reverse_lazy( + 'conference_add_note', + args=[self.url] + ) def get_note_by_user(self, user_id): note = self.note.filter(user__id=user_id) @@ -225,7 +222,7 @@ class Conference(TranslatableModel, EventMixin, ExpoMixin): return names + ' ' + titles + ' ' + themes + ' ' + tags def upload_photo_url(self): - return '/admin/conference/upload-photo/%s/' % self.id + return reverse_lazy('conference_upload_photo', args=[self.id]) def clicks(self): return self.paid_new.tickets.clicks() + self.paid_new.official.clicks() @@ -296,3 +293,12 @@ pre_save.connect(pre_save_handler, sender=Conference) post_save.connect(post_save_handler, sender=Conference) post_save.connect(post_save_handler, sender=TimeTable) post_save.connect(post_save_handler, sender=Statistic) + + +@receiver(post_save, sender=Conference) +def conference_services_handler(sender, instance, **kwargs): + """ + При сохранении конференции сохраняем данные по услугам + """ + for service in LinkedService.objects.all(): + service.update_all_flags() diff --git a/conference/search_indexes.py b/apps/conference/search_indexes.py similarity index 100% rename from conference/search_indexes.py rename to apps/conference/search_indexes.py diff --git a/apps/conference/tests/__init__.py b/apps/conference/tests/__init__.py new file mode 100644 index 00000000..741da8c7 --- /dev/null +++ b/apps/conference/tests/__init__.py @@ -0,0 +1,2 @@ +from .test_models import * +from .test_views import * diff --git a/country/__init__.py b/apps/conference/tests/test_forms.py similarity index 100% rename from country/__init__.py rename to apps/conference/tests/test_forms.py diff --git a/apps/conference/tests/test_models.py b/apps/conference/tests/test_models.py new file mode 100644 index 00000000..8a144fbd --- /dev/null +++ b/apps/conference/tests/test_models.py @@ -0,0 +1,292 @@ +import datetime + +from accounts.models import User +from django.contrib.contenttypes.models import ContentType +from django.core.urlresolvers import reverse, NoReverseMatch +from django.test import TestCase +from expobanner.models import Paid, Banner +from note.models import Note +from service.models import Service +from stats_collector.models import ObjectStats +from theme.models import Tag, Theme + +from ..models import Conference, Speaker, Statistic, TimeTable +from city.models import City +from country.models import Country +from events.models import TargetAudience + + +class ConferenceTest(TestCase): + def setUp(self): + self.conference = Conference.objects.create( + name='New Conference', + data_begin=datetime.datetime.now(), + data_end=datetime.timedelta(24)+datetime.datetime.now(), + country=Country.objects.all()[0], + city=City.objects.all()[0], + + url='new-conference', + services=b'0001000' + ) + + def test_a_conference_create(self): + conference_count = Conference.objects.all().count() + Conference.objects.create( + name='New Conference', + data_begin=datetime.datetime.now(), + data_end=datetime.timedelta(24)+datetime.datetime.now(), + country=Country.objects.all()[0], + city=City.objects.all()[0] + ) + new_conference_count = Conference.objects.all().count() + + self.assertEqual(conference_count + 1, new_conference_count) + + def test_save_conference_info(self): + name = 'New Conference' + datetime_now = datetime.datetime.now() + data_begin = datetime_now + data_end = datetime.timedelta(24) + datetime_now + country = Country.objects.all()[0] + city = City.objects.all()[0] + + new_conference = Conference.objects.create( + name=name, + data_begin=data_begin, + data_end=data_end, + country=country, + city=city + + ) + + self.assertEqual(name, new_conference.name) + self.assertEqual(data_begin, new_conference.data_begin) + self.assertEqual(data_end, new_conference.data_end) + self.assertEqual(country, new_conference.country) + self.assertEqual(city, new_conference.city) + + def test_method_unicode(self): + self.assertEqual( + str(self.conference), + self.conference.lazy_translation_getter( + 'name', unicode(self.conference.pk)) + ) + + def test_method_get_services(self): + services = [item for item, bool in self.conference.services if bool] + qs = Service.objects.language() + qs = qs.filter(url__in=services) + + self.assertEqual( + sorted(self.conference.get_services(), key=lambda x: x.pk), + sorted(list(qs), key=lambda x: x.pk) + ) + + def test_method_get_news_url(self): + self.assertEqual( + self.conference.get_news_url(), + reverse('news_conference', kwargs={'slug': self.conference.url}) + ) + + def test_method_get_audience(self): + self.assertFalse(self.conference.get_audience()) + + self.conference.audience.add( + TargetAudience.objects.create(title='All')) + audience = TargetAudience.objects.filter(title='All')[0] + + self.assertIn(audience, self.conference.get_audience()) + + def test_method_get_calendar_url(self): + self.assertEqual( + self.conference.get_calendar_url(), + reverse('conference_add_calendar', args=[self.conference.id]) + ) + + def test_method_get_visit_url(self): + self.assertEqual( + self.conference.get_visit_url(), + reverse( + 'events:event_visit', + args=['conference', self.conference.id] + ) + ) + + def test_method_get_note_url(self): + self.assertEqual( + self.conference.get_note_url(), + reverse('conference_add_note', args=[self.conference.url]) + ) + + def test_method_get_note_by_user(self): + user = User.objects.all()[0] + + self.assertEqual(self.conference.get_note_by_user(user.id), '') + + text = 'Great' + ct = ContentType.objects.get_for_model(self.conference) + object_id = self.conference.id + Note.objects.create( + content_type=ct, object_id=object_id, + user=user, text=text + ) + + self.assertEqual(self.conference.get_note_by_user(user.id), text) + + def test_method_tags(self): + self.assertFalse(self.conference.tags()) + + theme = Theme.objects.create( + name='Theme name', main_title='Theme title' + ) + tag = Tag.objects.create( + name='Tag name', main_title='Tag title', theme=theme + ) + self.conference.tag.add(tag) + + self.assertIn(tag, self.conference.tags()) + + def test_method_get_index_text(self): + self.assertIn( + self.conference.name, + self.conference.get_index_text() + ) + + title = 'Conf Title' + self.conference.main_title = title + self.conference.save() + + self.assertIn(title, self.conference.get_index_text()) + + theme_name = 'Theme name' + theme = Theme.objects.create( + name=theme_name, main_title='Theme title' + ) + tag_name = 'Tag name' + tag = Tag.objects.create( + name=tag_name, main_title='Tag title', theme=theme + ) + self.conference.tag.add(tag) + + self.assertIn(tag_name, self.conference.get_index_text()) + + self.conference.theme.add(theme) + + self.assertIn(theme_name, self.conference.get_index_text()) + + def test_method_upload_photo_url(self): + self.assertEqual( + reverse('conference_upload_photo', args=[self.conference.id]), + self.conference.upload_photo_url() + ) + + def test_method_clicks(self): + with self.assertRaises(AttributeError): + self.conference.clicks() + + ticket_url = 'ticket_url/' + ticket = Banner.objects.create_for_paid( + self.conference, ticket_url, 'tickets') + official_url = 'official_url/' + official = Banner.objects.create_for_paid( + self.conference, official_url, 'official') + paid = Paid.objects.create( + tickets=ticket, official=official, catalog=ticket) + + self.conference.paid_new = paid + self.conference.save() + + self.assertEqual(self.conference.clicks(), 0) + + self.client.get(ticket.get_click_link()) + + self.assertEqual(self.conference.clicks(), 1) + + self.client.get(official.get_click_link()) + + self.assertEqual(self.conference.clicks(), 2) + + def test_method_get_paid_change_url(self): + try: + self.conference.get_paid_change_url() + except NoReverseMatch: + pass + + ticket = Banner.objects.create_for_paid( + self.conference, 'ticket_url', 'tickets') + official = Banner.objects.create_for_paid( + self.conference, 'official_url', 'official') + paid = Paid.objects.create( + tickets=ticket, official=official, catalog=official) + + self.conference.paid_new = paid + self.conference.save() + + self.assertEqual( + self.conference.get_paid_change_url(), + reverse('confbanner-update_paid', + args=[self.conference.paid_new.id]) + ) + + def test_method_get_objectstat_views(self): + self.assertEqual( + self.conference.get_objectstat_views(), + sum(ObjectStats.objects.filter( + conference=self.conference).values_list('value', flat=True)) + ) + + +class SpeakerTest(TestCase): + def test_create_speaker(self): + speacers = Speaker.objects.all().count() + Speaker.objects.create(fullname='Hgangu Piter') + speacers_plus_one = Speaker.objects.all().count() + + self.assertEqual(speacers + 1, speacers_plus_one) + + def test_method_unicode(self): + fullname = 'Hgangu Piter' + speaker = Speaker.objects.create(fullname=fullname) + self.assertEqual(str(speaker), fullname) + + +class StatisticTest(TestCase): + def test_create_statistic(self): + stats = Statistic.objects.all().count() + conf = Conference.objects.create( + name='New Conference', + data_begin=datetime.datetime.now(), + data_end=datetime.timedelta(24)+datetime.datetime.now(), + country=Country.objects.all()[0], + city=City.objects.all()[0] + ) + Statistic.objects.create( + conference=conf, + year=datetime.datetime.now().year, + countries='Monaco' + ) + stats_plus_one = Statistic.objects.all().count() + + self.assertEqual(stats + 1, stats_plus_one) + + +class TimeTableTest(TestCase): + def test_create_timetable(self): + tables = TimeTable.objects.all().count() + conf = Conference.objects.create( + name='New Conference', + data_begin=datetime.datetime.now(), + data_end=datetime.timedelta(24) + datetime.datetime.now(), + country=Country.objects.all()[0], + city=City.objects.all()[0] + ) + TimeTable.objects.create( + conference=conf, + begin=datetime.datetime.now(), + end=datetime.timedelta(24) + datetime.datetime.now(), + name='All times' + ) + tables_plus_one = TimeTable.objects.all().count() + self.assertEqual( + tables + 1, tables_plus_one + ) diff --git a/apps/conference/tests/test_views.py b/apps/conference/tests/test_views.py new file mode 100644 index 00000000..400aba7f --- /dev/null +++ b/apps/conference/tests/test_views.py @@ -0,0 +1,1399 @@ +# -*- coding: utf-8 -*- + +from django.core.urlresolvers import reverse, NoReverseMatch +from django.test import TestCase +from django.utils.translation import ugettext as _ +from django.conf import settings + +from city.models import City +from conference.models import Conference +from country.models import Country + +from functions.views_help import get_side_items + + +############################################################################### +# ConferenceBy +############################################################################### +from theme.models import Theme + + +class ConferenceByTest(object): + """Функционал 'абстрактного' класса ConferenceBy""" + def setUp(self): + self.response = self.client.get(self.url) + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'client/conference/conference_by.html' + ) + + def test_page_is_available(self): + self.assertEqual(self.response.status_code, 200) + + def test_titles(self): + self.assertContains(self.response, self.title1) + self.assertContains(self.response, self.title2) + + def test_link(self): + link = '/conference/%s' % (self.catalog, ) + self.assertContains(self.response, link) + + def test_queryset(self): + obj_list = self.response.context[-1].get('object_list') + for obj in obj_list: + self.assertContains( + self.response, obj.name + ) + self.assertContains( + self.response, obj.url + ) + + +class CanFilterAndSidePopular(object): + """Функционал can_filter and side_popular in get_context_data""" + def test_can_filter(self): + text = 'ВЫБРАТЬ ПО КРИТЕРИЯМ:' + can_filter = self.response.context[-1].get('can_filter', None) + if can_filter is False: + self.assertNotContains(self.response, text) + elif can_filter is True: + self.assertContains(self.response, text) + + def test_side_popular(self): + side_popular = get_side_items('conf', self.model) + for popular in side_popular: + self.assertContains(self.response, popular.get('url')) + self.assertContains(self.response, popular.get('name')) + + +############################################################################### + + +class ConferenceByCountryTest(ConferenceByTest, CanFilterAndSidePopular, TestCase): + url = reverse('conference_country') + title1 = _(u'По странам') + title2 = _(u'Коференции мира по странам') + catalog = 'country/' + model = Country + + +class ConferenceByThemeTest(ConferenceByTest, TestCase): + url = reverse('conference_theme') + title1 = _(u'По тематикам') + title2 = _(u'Коференции мира по тематикам') + catalog = 'theme/' + + +class ConferenceByTagTest(ConferenceByTest, TestCase): + url = reverse('conference_tag') + title1 = _(u'По тегам') + title2 = _(u'Коференции мира по тегам') + catalog = 'tag/' + + +class ConferenceByCityTest(ConferenceByTest, CanFilterAndSidePopular, TestCase): + url = reverse('conference_city') + title1 = _(u'По городам') + title2 = _(u'Коференции мира по городам') + catalog = 'city/' + model = City + + +############################################################################### +# ConferenceCatalog +############################################################################### + + +class ConferenceCatalogTest(object): + """Функционал абстрактного класа ConferenceCatalog_""" + conf = Conference.objects.all()[0] + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'client/conference/catalog.html' + ) + + def test_page_is_available(self): + self.assertEqual(self.response.status_code, 200) + + def test_context_data(self): + context = self.response.context[-1] + + self.assertIn('filter_object', context) + self.assertIn('year', context) + self.assertIn('month', context) + self.assertIn('catalog_url', context) + + +class CommonConferenceCatalogTest(object): + def test_slug_wrong(self): + self.url_kwargs['slug'] = 'liuwyf' + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + response = self.client.get(url) + self.assertEqual(response.status_code, 404) + + def check_page_with_negative_index(self): + self.url_kwargs['page'] = -1 + try: + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + except NoReverseMatch: + pass + + def check_page_is_very_large(self): + self.url_kwargs['page'] = 1024 + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + response = self.client.get(url) + self.assertEqual(response.status_code, 302) + + +class ContextDataCountryCityCatalogTest(object): + def test_context_data(self): + context = self.response.context[-1] + ctx_country_id = context.get('country')[0] + country = self.model.objects.get(url=self.url_kwargs.get('slug')) + + self.assertEqual(ctx_country_id, str(country.id)) + + +class ContextDataThemeCatalogTest(object): + def test_context_data(self): + context = self.response.context[-1] + if 'country' in context: + ctx_country = context.get('country') + country = Country.objects.get(url=self.url_kwargs.get('country_slug')) + self.assertEqual(ctx_country, country) + if 'city' in context: + ctx_city = context.get('city') + city = City.objects.get( + url=self.url_kwargs.get('city_slug')) + self.assertEqual(ctx_city, city) + + theme_for_filter = context.get('theme_for_filter') + ctx_themes = context.get('themes') + themes = Theme.objects.language().filter(name=theme_for_filter) + + self.assertEqual( + sorted(themes.values_list('id', flat=True)), + sorted([int(i) for i in ctx_themes]) + ) + +def month_convert(number): + """ + Переводит числовое представление месяца в строковое + """ + mapping = {v['value']: k for k, v in settings.MONTHES.items()} + return mapping.get(number) + + +############################################################################### +# ConferenceCountryCatalog + + +class ConferenceCountryCatalogSlugYearMonthPageTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataCountryCityCatalogTest, TestCase): + url_name = 'conference_country_catalog_slug_year_month_page' + model = Country + + def setUp(self): + self.month = self.conf.data_begin.month + self.url_kwargs = { + 'slug': self.conf.country.url, + 'year': self.conf.data_end.year, + 'month': month_convert(self.month), + 'page': 1 + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + country__url=self.url_kwargs.get('slug'), + data_end__year=self.url_kwargs.get('year'), + data_begin__month=self.month + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_page_with_negative_index(self): + self.check_page_with_negative_index() + + def test_page_is_very_large(self): + self.check_page_is_very_large() + + +class ConferenceCountryCatalogSlugYearPageTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataCountryCityCatalogTest, TestCase): + url_name = 'conference_country_catalog_slug_year_page' + model = Country + + def setUp(self): + self.month = self.conf.data_begin.month + self.url_kwargs = { + 'slug': self.conf.country.url, + 'year': self.conf.data_end.year, + 'page': 1 + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + country__url=self.url_kwargs.get('slug'), + data_end__year=self.url_kwargs.get('year') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_page_with_negative_index(self): + self.check_page_with_negative_index() + + def test_page_is_very_large(self): + self.check_page_is_very_large() + + +class ConferenceCountryCatalogSlugPageTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataCountryCityCatalogTest, TestCase): + url_name = 'conference_country_catalog_slug_page' + model = Country + + def setUp(self): + self.url_kwargs = { + 'slug': self.conf.country.url, + 'page': 1 + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + country__url=self.url_kwargs.get('slug') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_page_with_negative_index(self): + self.check_page_with_negative_index() + + def test_page_very_large(self): + self.check_page_is_very_large() + + +class ConferenceCountryCatalogSlugYearMonthTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataCountryCityCatalogTest, TestCase): + url_name = 'conference_country_catalog_slug_year_month' + model = Country + + def setUp(self): + self.month = self.conf.data_begin.month + self.url_kwargs = { + 'slug': self.conf.country.url, + 'year': self.conf.data_end.year, + 'month': month_convert(self.month) + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + country__url=self.url_kwargs.get('slug'), + data_end__year=self.url_kwargs.get('year'), + data_begin__month=self.month + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + +class ConferenceCountryCatalogSlugYearTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataCountryCityCatalogTest, TestCase): + url_name = 'conference_country_catalog_slug_year' + model = Country + + def setUp(self): + self.url_kwargs = { + 'slug': self.conf.country.url, + 'year': self.conf.data_end.year, + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + country__url=self.url_kwargs.get('slug'), + data_end__year=self.url_kwargs.get('year') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + +class ConferenceCountryCatalogSlugTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataCountryCityCatalogTest, TestCase): + url_name = 'conf_country' + model = Country + + def setUp(self): + self.url_kwargs = { + 'slug': self.conf.country.url, + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + country__url=self.url_kwargs.get('slug') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + +############################################################################### +# ConferenceCityCatalog + + +class ConferenceCityCatalogSlugYearMonthPageTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataCountryCityCatalogTest, TestCase): + url_name = 'conference_city_catalog_slug_year_month_page' + model = City + + def setUp(self): + self.month = self.conf.data_begin.month + self.url_kwargs = { + 'slug': self.conf.city.url, + 'year': self.conf.data_end.year, + 'month': month_convert(self.month), + 'page': 1 + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + city__url=self.url_kwargs.get('slug'), + data_end__year=self.url_kwargs.get('year'), + data_begin__month=self.month + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_page_with_negative_index(self): + self.check_page_with_negative_index() + + def test_page_is_very_large(self): + self.check_page_is_very_large() + + +class ConferenceCityCatalogSlugYearPageTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataCountryCityCatalogTest, TestCase): + url_name = 'conference_city_catalog_slug_year_page' + model = City + + def setUp(self): + self.month = self.conf.data_begin.month + self.url_kwargs = { + 'slug': self.conf.city.url, + 'year': self.conf.data_end.year, + 'page': 1 + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + city__url=self.url_kwargs.get('slug'), + data_end__year=self.url_kwargs.get('year') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_page_with_negative_index(self): + self.check_page_with_negative_index() + + def test_page_is_very_large(self): + self.check_page_is_very_large() + + +class ConferenceCityCatalogSlugPageTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataCountryCityCatalogTest, TestCase): + url_name = 'conference_city_catalog_slug_page' + model = City + + def setUp(self): + self.url_kwargs = { + 'slug': self.conf.city.url, + 'page': 1 + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + city__url=self.url_kwargs.get('slug') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_page_with_negative_index(self): + self.check_page_with_negative_index() + + def test_page_very_large(self): + self.check_page_is_very_large() + + +class ConferenceCityCatalogSlugYearMonthTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataCountryCityCatalogTest, TestCase): + url_name = 'conference_city_catalog_slug_year_month' + model = City + + def setUp(self): + self.month = self.conf.data_begin.month + self.url_kwargs = { + 'slug': self.conf.city.url, + 'year': self.conf.data_end.year, + 'month': month_convert(self.month) + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + city__url=self.url_kwargs.get('slug'), + data_end__year=self.url_kwargs.get('year'), + data_begin__month=self.month + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + +class ConferenceCityCatalogSlugYearTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataCountryCityCatalogTest, TestCase): + url_name = 'conference_city_catalog_slug_year' + model = City + + def setUp(self): + self.url_kwargs = { + 'slug': self.conf.city.url, + 'year': self.conf.data_end.year, + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + city__url=self.url_kwargs.get('slug'), + data_end__year=self.url_kwargs.get('year') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + +class ConferenceCityCatalogSlugTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataCountryCityCatalogTest, TestCase): + url_name = 'conf_city' + model = City + + def setUp(self): + self.url_kwargs = { + 'slug': self.conf.city.url, + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + city__url=self.url_kwargs.get('slug') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + +############################################################################### +# ConferenceThemeCatalog + + +class ConferenceThemeCatalogSlugCountryslugYearMonthPageTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_countryslug_year_month_page' + + def setUp(self): + self.month = self.conf.data_begin.month + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'country_slug': self.conf.country.url, + 'year': self.conf.data_end.year, + 'month': month_convert(self.month), + 'page': 1 + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + country__url=self.url_kwargs.get('country_slug'), + data_end__year=self.url_kwargs.get('year'), + data_begin__month=self.month + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_page_with_negative_index(self): + self.check_page_with_negative_index() + + def test_page_is_very_large(self): + self.check_page_is_very_large() + + # TODO вынести в родительский клас + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugCountryslugYearPageTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_countryslug_year_page' + + def setUp(self): + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'country_slug': self.conf.country.url, + 'year': self.conf.data_end.year, + 'page': 1 + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + country__url=self.url_kwargs.get('country_slug'), + data_end__year=self.url_kwargs.get('year'), + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_page_with_negative_index(self): + self.check_page_with_negative_index() + + def test_page_is_very_large(self): + self.check_page_is_very_large() + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugCountryslugYearMonthTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_countryslug_year_month' + + def setUp(self): + self.month = self.conf.data_begin.month + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'country_slug': self.conf.country.url, + 'year': self.conf.data_end.year, + 'month': month_convert(self.month) + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + country__url=self.url_kwargs.get('country_slug'), + data_end__year=self.url_kwargs.get('year'), + data_begin__month=self.month + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugCountryslugPageTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_countryslug_page' + + def setUp(self): + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'country_slug': self.conf.country.url, + 'page': 1 + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + country__url=self.url_kwargs.get('country_slug'), + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_page_with_negative_index(self): + self.check_page_with_negative_index() + + def test_page_is_very_large(self): + self.check_page_is_very_large() + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugCountryslugYearTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_countryslug_year' + + def setUp(self): + self.month = self.conf.data_begin.month + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'country_slug': self.conf.country.url, + 'year': self.conf.data_end.year + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + country__url=self.url_kwargs.get('country_slug'), + data_end__year=self.url_kwargs.get('year') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + +class ConferenceThemeCatalogSlugCountryslugTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_countryslug' + + def setUp(self): + self.month = self.conf.data_begin.month + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'country_slug': self.conf.country.url + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + country__url=self.url_kwargs.get('country_slug') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugCityslugYearMonthPageTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_cityslug_year_month_page' + + def setUp(self): + self.month = self.conf.data_begin.month + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'city_slug': self.conf.city.url, + 'year': self.conf.data_end.year, + 'month': month_convert(self.month), + 'page': 1 + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + city__url=self.url_kwargs.get('city_slug'), + data_end__year=self.url_kwargs.get('year'), + data_begin__month=self.month + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_page_with_negative_index(self): + self.check_page_with_negative_index() + + def test_page_is_very_large(self): + self.check_page_is_very_large() + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugCityslugYearPageTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_cityslug_year_page' + + def setUp(self): + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'city_slug': self.conf.city.url, + 'year': self.conf.data_end.year, + 'page': 1 + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + city__url=self.url_kwargs.get('city_slug'), + data_end__year=self.url_kwargs.get('year'), + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_page_with_negative_index(self): + self.check_page_with_negative_index() + + def test_page_is_very_large(self): + self.check_page_is_very_large() + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugCityslugYearMonthTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_cityslug_year_month' + + def setUp(self): + self.month = self.conf.data_begin.month + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'city_slug': self.conf.city.url, + 'year': self.conf.data_end.year, + 'month': month_convert(self.month) + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + city__url=self.url_kwargs.get('city_slug'), + data_end__year=self.url_kwargs.get('year'), + data_begin__month=self.month + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugCityslugPageTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_cityslug_page' + + def setUp(self): + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'city_slug': self.conf.city.url, + 'page': 1 + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + city__url=self.url_kwargs.get('city_slug'), + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_page_with_negative_index(self): + self.check_page_with_negative_index() + + def test_page_is_very_large(self): + self.check_page_is_very_large() + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugCityslugYearTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_cityslug_year' + + def setUp(self): + self.month = self.conf.data_begin.month + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'city_slug': self.conf.city.url, + 'year': self.conf.data_end.year + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + city__url=self.url_kwargs.get('city_slug'), + data_end__year=self.url_kwargs.get('year') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugCityslugTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_cityslug' + + def setUp(self): + self.month = self.conf.data_begin.month + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'city_slug': self.conf.city.url + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + city__url=self.url_kwargs.get('city_slug') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugYearMonthPageTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_year_month_page' + + def setUp(self): + self.month = self.conf.data_begin.month + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'year': self.conf.data_end.year, + 'month': month_convert(self.month), + 'page': 1 + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + data_end__year=self.url_kwargs.get('year'), + data_begin__month=self.month + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_page_with_negative_index(self): + self.check_page_with_negative_index() + + def test_page_is_very_large(self): + self.check_page_is_very_large() + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugYearPageTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_year_page' + + def setUp(self): + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'year': self.conf.data_end.year, + 'page': 1 + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + data_end__year=self.url_kwargs.get('year') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_page_with_negative_index(self): + self.check_page_with_negative_index() + + def test_page_is_very_large(self): + self.check_page_is_very_large() + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugPageTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_page' + + def setUp(self): + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'page': 1 + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_page_with_negative_index(self): + self.check_page_with_negative_index() + + def test_page_is_very_large(self): + self.check_page_is_very_large() + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugYearMonthTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_year_month' + + def setUp(self): + self.month = self.conf.data_begin.month + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'year': self.conf.data_end.year, + 'month': month_convert(self.month) + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + data_end__year=self.url_kwargs.get('year'), + data_begin__month=self.month + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugYearTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug_year' + + def setUp(self): + self.month = self.conf.data_begin.month + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug, + 'year': self.conf.data_end.year + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug'), + data_end__year=self.url_kwargs.get('year') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + + +class ConferenceThemeCatalogSlugTest( + ConferenceCatalogTest, CommonConferenceCatalogTest, + ContextDataThemeCatalogTest, TestCase): + url_name = 'conference_theme_catalog_slug' + + def setUp(self): + self.month = self.conf.data_begin.month + theme_slug = self.conf.theme.all()[0].url + self.url_kwargs = { + 'slug': theme_slug + } + url = reverse( + self.url_name, + kwargs=self.url_kwargs + ) + self.response = self.client.get(url) + + def test_queryset(self): + object_list = self.response.context[-1].get('object_list') + + conferences = Conference.objects.filter( + theme__url=self.url_kwargs.get('slug') + ) + + self.assertEqual( + sorted(list(object_list), key=lambda x: x.pk), + sorted(list(conferences), key=lambda x: x.pk) + ) + + def test_template(self): + self.assertTemplateUsed( + self.response, + 'conference/catalog_theme.html' + ) + +############################################################################### + + + diff --git a/conference/translation.py b/apps/conference/translation.py similarity index 100% rename from conference/translation.py rename to apps/conference/translation.py diff --git a/conference/urls.py b/apps/conference/urls.py similarity index 51% rename from conference/urls.py rename to apps/conference/urls.py index e1c28e97..b8d08e79 100644 --- a/conference/urls.py +++ b/apps/conference/urls.py @@ -23,53 +23,119 @@ from .views import ( urlpatterns = patterns('', - url(r'^conference/add-note/(?P[^/]*)/$', 'conference.views.add_note'), - url(r'^conference-add-calendar/(?P\d+)/$', 'conference.views.conference_add_calendar'), + url( + r'^conference/add-note/(?P[^/]*)/$', + 'conference.views.add_note', + name='conference_add_note' + ), + url(r'^conference-add-calendar/(?P\d+)/$', + 'conference.views.conference_add_calendar', + name='conference_add_calendar' + ), # url(r'^conference-visit/(?P\d+)/$', 'conference.views.conference_visit'), # search url(r'^conference/search/', ExpositionSearchView.as_view()), # country catalog - url(r'^conference/country/$', ConferenceByCountry.as_view(), {'meta_id':51}), - url(r'^conference/country/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', ConferenceCountryCatalog.as_view(), {'meta_id':25}), - url(r'^conference/country/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', ConferenceCountryCatalog.as_view(), {'meta_id':24}), - url(r'^conference/country/(?P[^/]*)/page/(?P\d+)/$', ConferenceCountryCatalog.as_view(), {'meta_id':23}), - url(r'^conference/country/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', ConferenceCountryCatalog.as_view(), {'meta_id':25}), - url(r'^conference/country/(?P[^/]*)/(?P\d+)/$', ConferenceCountryCatalog.as_view(), {'meta_id':24}), + url(r'^conference/country/$', + ConferenceByCountry.as_view(), {'meta_id':51}, + name='conference_country'), + url(r'^conference/country/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', + ConferenceCountryCatalog.as_view(), {'meta_id':25}, + name='conference_country_catalog_slug_year_month_page'), + url(r'^conference/country/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', + ConferenceCountryCatalog.as_view(), {'meta_id':24}, + name='conference_country_catalog_slug_year_page' + ), + url(r'^conference/country/(?P[^/]*)/page/(?P\d+)/$', + ConferenceCountryCatalog.as_view(), {'meta_id':23}, + name='conference_country_catalog_slug_page'), + url(r'^conference/country/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', + ConferenceCountryCatalog.as_view(), {'meta_id':25}, + name='conference_country_catalog_slug_year_month'), + url(r'^conference/country/(?P[^/]*)/(?P\d+)/$', + ConferenceCountryCatalog.as_view(), {'meta_id':24}, + name='conference_country_catalog_slug_year'), url(r'^conference/country/(?P[^/]*)/$', ConferenceCountryCatalog.as_view(), {'meta_id':23}, name='conf_country'), # city catalog - url(r'^conference/city/$', ConferenceByCity.as_view(), {'meta_id':52}), - url(r'^conference/city/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', ConferenceCityCatalog.as_view(), {'meta_id':28}), - url(r'^conference/city/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', ConferenceCityCatalog.as_view(), {'meta_id':27}), - url(r'^conference/city/(?P[^/]*)/page/(?P\d+)/$', ConferenceCityCatalog.as_view(), {'meta_id':26}), - url(r'^conference/city/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', ConferenceCityCatalog.as_view(), {'meta_id':28}), - url(r'^conference/city/(?P[^/]*)/(?P\d+)/$', ConferenceCityCatalog.as_view(), {'meta_id':27}), + url(r'^conference/city/$', + ConferenceByCity.as_view(), {'meta_id':52}, name='conference_city'), + url(r'^conference/city/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', + ConferenceCityCatalog.as_view(), {'meta_id':28}, + name='conference_city_catalog_slug_year_month_page'), + url(r'^conference/city/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', + ConferenceCityCatalog.as_view(), {'meta_id':27}, + name='conference_city_catalog_slug_year_page'), + url(r'^conference/city/(?P[^/]*)/page/(?P\d+)/$', + ConferenceCityCatalog.as_view(), {'meta_id':26}, + name='conference_city_catalog_slug_page'), + url(r'^conference/city/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', + ConferenceCityCatalog.as_view(), {'meta_id':28}, + name='conference_city_catalog_slug_year_month'), + url(r'^conference/city/(?P[^/]*)/(?P\d+)/$', + ConferenceCityCatalog.as_view(), {'meta_id':27}, + name='conference_city_catalog_slug_year'), url(r'^conference/city/(?P[^/]*)/$', ConferenceCityCatalog.as_view(), {'meta_id':26}, name='conf_city'), # theme catalog - url(r'^conference/theme/$', ConferenceByTheme.as_view(), {'meta_id':50}), - url(r'^conference/theme/(?P[^/]*)/country/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', ConferenceThemeCatalog.as_view()), - url(r'^conference/theme/(?P[^/]*)/country/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', ConferenceThemeCatalog.as_view()), - url(r'^conference/theme/(?P[^/]*)/country/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', ConferenceThemeCatalog.as_view()), - url(r'^conference/theme/(?P[^/]*)/country/(?P[^/]*)/page/(?P\d+)/$', ConferenceThemeCatalog.as_view()), - url(r'^conference/theme/(?P[^/]*)/country/(?P[^/]*)/(?P\d+)/$', ConferenceThemeCatalog.as_view()), - url(r'^conference/theme/(?P[^/]*)/country/(?P[^/]*)/$', ConferenceThemeCatalog.as_view()), + url(r'^conference/theme/$', + ConferenceByTheme.as_view(), {'meta_id':50}, name='conference_theme'), + url(r'^conference/theme/(?P[^/]*)/country/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', + ConferenceThemeCatalog.as_view(), + name='conference_theme_catalog_slug_countryslug_year_month_page'), + url(r'^conference/theme/(?P[^/]*)/country/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', + ConferenceThemeCatalog.as_view(), + name='conference_theme_catalog_slug_countryslug_year_page'), + url(r'^conference/theme/(?P[^/]*)/country/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', + ConferenceThemeCatalog.as_view(), + name='conference_theme_catalog_slug_countryslug_year_month'), + url(r'^conference/theme/(?P[^/]*)/country/(?P[^/]*)/page/(?P\d+)/$', + ConferenceThemeCatalog.as_view(), + name='conference_theme_catalog_slug_countryslug_page'), + url(r'^conference/theme/(?P[^/]*)/country/(?P[^/]*)/(?P\d+)/$', + ConferenceThemeCatalog.as_view(), + name='conference_theme_catalog_slug_countryslug_year'), + url(r'^conference/theme/(?P[^/]*)/country/(?P[^/]*)/$', + ConferenceThemeCatalog.as_view(), + name='conference_theme_catalog_slug_countryslug'), - url(r'^conference/theme/(?P[^/]*)/city/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', ConferenceThemeCatalog.as_view()), - url(r'^conference/theme/(?P[^/]*)/city/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', ConferenceThemeCatalog.as_view()), - url(r'^conference/theme/(?P[^/]*)/city/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', ConferenceThemeCatalog.as_view()), - url(r'^conference/theme/(?P[^/]*)/city/(?P[^/]*)/(?P\d+)/$', ConferenceThemeCatalog.as_view()), - url(r'^conference/theme/(?P[^/]*)/city/(?P[^/]*)/page/(?P\d+)/$', ConferenceThemeCatalog.as_view()), - - - url(r'^conference/theme/(?P[^/]*)/city/(?P[^/]*)/page/(?P\d+)/$', ConferenceThemeCatalog.as_view()), - url(r'^conference/theme/(?P[^/]*)/city/(?P[^/]*)/$', ConferenceThemeCatalog.as_view()), - url(r'^conference/theme/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', ConferenceThemeCatalog.as_view(), {'meta_id':31}), - url(r'^conference/theme/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', ConferenceThemeCatalog.as_view(), {'meta_id':30}), - url(r'^conference/theme/(?P[^/]*)/page/(?P\d+)/$', ConferenceThemeCatalog.as_view(), {'meta_id':29}), - url(r'^conference/theme/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', ConferenceThemeCatalog.as_view(), {'meta_id':31}), - url(r'^conference/theme/(?P[^/]*)/(?P\d+)/$', ConferenceThemeCatalog.as_view(), {'meta_id':30}), - url(r'^conference/theme/(?P[^/]*)/$', ConferenceThemeCatalog.as_view(), {'meta_id':29}), + url(r'^conference/theme/(?P[^/]*)/city/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', + ConferenceThemeCatalog.as_view(), + name='conference_theme_catalog_slug_cityslug_year_month_page'), + url(r'^conference/theme/(?P[^/]*)/city/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', + ConferenceThemeCatalog.as_view(), + name='conference_theme_catalog_slug_cityslug_year_month'), + url(r'^conference/theme/(?P[^/]*)/city/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', + ConferenceThemeCatalog.as_view(), + name='conference_theme_catalog_slug_cityslug_year_page'), + url(r'^conference/theme/(?P[^/]*)/city/(?P[^/]*)/(?P\d+)/$', + ConferenceThemeCatalog.as_view(), + name='conference_theme_catalog_slug_cityslug_year'), + url(r'^conference/theme/(?P[^/]*)/city/(?P[^/]*)/page/(?P\d+)/$', + ConferenceThemeCatalog.as_view(), + name='conference_theme_catalog_slug_cityslug_page'), + url(r'^conference/theme/(?P[^/]*)/city/(?P[^/]*)/$', + ConferenceThemeCatalog.as_view(), + name='conference_theme_catalog_slug_cityslug'), + url(r'^conference/theme/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', + ConferenceThemeCatalog.as_view(), {'meta_id':31}, + name='conference_theme_catalog_slug_year_month_page'), + url(r'^conference/theme/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', + ConferenceThemeCatalog.as_view(), {'meta_id':30}, + name='conference_theme_catalog_slug_year_page'), + url(r'^conference/theme/(?P[^/]*)/page/(?P\d+)/$', + ConferenceThemeCatalog.as_view(), {'meta_id':29}, + name='conference_theme_catalog_slug_page'), + url(r'^conference/theme/(?P[^/]*)/(?P\d+)/(?P[^/]*)/$', + ConferenceThemeCatalog.as_view(), {'meta_id':31}, + name='conference_theme_catalog_slug_year_month'), + url(r'^conference/theme/(?P[^/]*)/(?P\d+)/$', + ConferenceThemeCatalog.as_view(), {'meta_id':30}, + name='conference_theme_catalog_slug_year'), + url(r'^conference/theme/(?P[^/]*)/$', + ConferenceThemeCatalog.as_view(), {'meta_id':29}, + name='conference_theme_catalog_slug'), # tag catalog - url(r'^conference/tag/$', ConferenceByTag.as_view(), {'meta_id':50}), + url(r'^conference/tag/$', + ConferenceByTag.as_view(), {'meta_id':50}, name='conference_tag'), url(r'^conference/tag/(?P[^/]*)/(?P\d+)/(?P[^/]*)/page/(?P\d+)/$', ConferenceTagCatalog.as_view(), {'meta_id':34}), url(r'^conference/tag/(?P[^/]*)/(?P\d+)/page/(?P\d+)/$', ConferenceTagCatalog.as_view(), {'meta_id':33}), url(r'^conference/tag/(?P[^/]*)/page/(?P\d+)/$', ConferenceTagCatalog.as_view(), {'meta_id':32}), diff --git a/conference/views.py b/apps/conference/views.py similarity index 99% rename from conference/views.py rename to apps/conference/views.py index 91b8b0a8..6fea0850 100644 --- a/conference/views.py +++ b/apps/conference/views.py @@ -235,6 +235,7 @@ class ConferenceCountryCatalog(ConferenceCatalog): class ConferenceCityCatalog(ConferenceCatalog): catalog_url = '/conference/city/' stat_kind = 'city' + def get_filtered_qs(self): #this method used in parent get_queryset slug = self.kwargs.get('slug') @@ -268,12 +269,13 @@ class ConferenceThemeCatalog(ConferenceCatalog): qs = self.model.enable.upcoming().filter(theme=theme) if country_slug: country = get_object_or_404(Country, url=country_slug) - self.country = country + self.kwargs['country'] = country qs = qs.filter(country=country) if city_slug: city = get_object_or_404(City, url=city_slug) - self.city = city + self.kwargs['city'] = city + qs = qs.filter(city=city) self.filter_object = theme diff --git a/directories/__init__.py b/apps/core/__init__.py similarity index 100% rename from directories/__init__.py rename to apps/core/__init__.py diff --git a/core/admin_urls.py b/apps/core/admin_urls.py similarity index 100% rename from core/admin_urls.py rename to apps/core/admin_urls.py diff --git a/apps/core/forms.py b/apps/core/forms.py new file mode 100644 index 00000000..1836f4eb --- /dev/null +++ b/apps/core/forms.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +from django import forms +from django.conf import settings +from django.core.mail import send_mail +from django.utils.translation import ugettext as _ +from place_exposition.models import PlaceExposition +from place_conference.models import PlaceConference +from django.utils.translation import ugettext_lazy as _ +from haystack.query import SearchQuerySet, EmptySearchQuerySet +from hvad.forms import TranslatableModelForm +from models import Page + +from django.conf import settings +from django.forms import Textarea +from ckeditor.widgets import CKEditorWidget + + + +class PageForm(TranslatableModelForm): + # language = 'ru' + + class Meta: + model = Page + fields = ['url','title','h1','descriptions','keywords', 'body'] + widgets = { + 'body':CKEditorWidget, + 'keywords':Textarea, + 'descriptions':Textarea, + } + + + + + diff --git a/core/models.py b/apps/core/models.py similarity index 100% rename from core/models.py rename to apps/core/models.py diff --git a/core/simple_index_view.py b/apps/core/simple_index_view.py similarity index 91% rename from core/simple_index_view.py rename to apps/core/simple_index_view.py index d5de62ab..b434d43a 100644 --- a/core/simple_index_view.py +++ b/apps/core/simple_index_view.py @@ -13,11 +13,11 @@ from settings.models import LandingComment, ParticipationComment class AdvertisingView(MetadataMixin, TemplateView): - template_name = 'simple_pages/advertising.html' + template_name = 'client/simple_pages/advertising.html' class AdvertisingViewLanding(JitterCacheMixin, AdvertisingView): - template_name = 'simple_pages/advertising_landing.html' + template_name = 'client/simple_pages/advertising_landing.html' def get_context_data(self, **kwargs): context = super(AdvertisingViewLanding, self).get_context_data(**kwargs) @@ -26,7 +26,7 @@ class AdvertisingViewLanding(JitterCacheMixin, AdvertisingView): class ParticipationViewLanding(JitterCacheMixin, MetadataMixin, FormView): - template_name = 'simple_pages/participation_landing.html' + template_name = 'client/simple_pages/participation_landing.html' form_class = ParticipationLandingForm def get_initial(self): @@ -61,7 +61,7 @@ class ParticipationViewLanding(JitterCacheMixin, MetadataMixin, FormView): class AboutView(MetadataMixin, TemplateView): - template_name = 'simple_pages/about.html' + template_name = 'client/simple_pages/about.html' def callback(request): diff --git a/core/simple_urls.py b/apps/core/simple_urls.py similarity index 100% rename from core/simple_urls.py rename to apps/core/simple_urls.py diff --git a/core/simple_views.py b/apps/core/simple_views.py similarity index 100% rename from core/simple_views.py rename to apps/core/simple_views.py diff --git a/conference/tests.py b/apps/core/tests.py similarity index 100% rename from conference/tests.py rename to apps/core/tests.py diff --git a/core/urls.py b/apps/core/urls.py similarity index 100% rename from core/urls.py rename to apps/core/urls.py diff --git a/core/utils.py b/apps/core/utils.py similarity index 78% rename from core/utils.py rename to apps/core/utils.py index 1ae82b4c..de6edb26 100644 --- a/core/utils.py +++ b/apps/core/utils.py @@ -33,33 +33,6 @@ CELL_STYLE_MAP = ( ) -def multi_getattr(obj, attr, default=None): - attributes = attr.split(".") - for i in attributes: - try: - obj = getattr(obj, i) - except AttributeError: - if default: - return default - else: - return '-' - return obj - - -def get_column_cell(obj, name): - try: - attr = multi_getattr(obj, name) - except ObjectDoesNotExist: - return '' - if hasattr(attr, '_meta'): - # A Django Model (related object) - return unicode(attr).strip() - elif hasattr(attr, 'all'): - # A Django queryset (ManyRelatedManager) - return ', '.join(unicode(x).strip() for x in attr.all()) - return attr - - def queryset_to_workbook(queryset, columns, report_date = None): # localization diff --git a/core/views.py b/apps/core/views.py similarity index 50% rename from core/views.py rename to apps/core/views.py index 277067c9..f2d2356a 100644 --- a/core/views.py +++ b/apps/core/views.py @@ -9,136 +9,6 @@ from django.core.urlresolvers import reverse_lazy from functions.views_help import split_params from django.utils.translation import ugettext as _ - -class PlaceListView(ListView): - paginate_by = 10 - params = None - single_page = False - template_name = 'place_catalog_test.html' - model = 'places' - order = 'data_begin' - - def get_params(self): - model_names = {'places': _(u'Места')} - model_alternative_name = {'places': 'place'} - params = [{'type':'model', 'url':self.model, 'name': model_names.get(self.model), - 'alternative_name': model_alternative_name.get(self.model)}] - - st = self.kwargs.get('params') - if st: - params = params + split_params(st) - - return params - - def get_queryset(self): - pl_ex = PlaceExposition.objects.all() - pl_conf = PlaceConference.objects.all() - - params = self.get_params() - for param in params: - - if param.get('type') == 'country': - country = Country.objects.safe_get(url=param.get('url')) - if country: - param['name'] = country.name - pl_ex = pl_ex.filter(country=country) - pl_conf = pl_conf.filter(country=country) - if param.get('type') == 'city': - city = City.objects.safe_get(url=param.get('url')) - if city: - param['name'] = city.name - pl_ex = pl_ex.filter(city=city) - pl_conf = pl_conf.filter(city=city) - - if param.get('type') == 'place': - pl_ex = pl_ex.filter(url=param.get('url')) - if pl_ex: - query = pl_ex - else: - query = pl_conf.filter(url=param.get('url')) - - self.single_page = True - - if query: - param['name'] = query[0].name - - #if self.request: - # views = query[0].views - # query.update(views=views+1) - self.params = params - return query - - self.params = params - return list(pl_ex) + list(pl_conf) - - - def get_context_data(self, **kwargs): - context = super(PlaceListView, self).get_context_data(**kwargs) - context['filter'] = self.params - context['single_page'] = self.single_page - context['search_form'] = self.search_form - context['search_action'] = '/places/search/' - context['type'] = 'places search' - return context - -class PlacePhotoView(PlaceListView): - paginate_by = 12 - template_name = 'place/place_photo.html' - obj = None - - def get_queryset(self): - pl_ex = PlaceExposition.objects.all() - pl_conf = PlaceConference.objects.all() - - params = self.get_params() - for param in params: - - if param.get('type') == 'country': - country = Country.objects.safe_get(url=param.get('url')) - if country: - param['name'] = country.name - pl_ex = pl_ex.filter(country=country) - pl_conf = pl_conf.filter(country=country) - if param.get('type') == 'city': - city = City.objects.safe_get(url=param.get('url')) - if city: - param['name'] = city.name - pl_ex = pl_ex.filter(city=city) - pl_conf = pl_conf.filter(city=city) - - if param.get('type') == 'place': - pl_ex = pl_ex.filter(url=param.get('url')) - if pl_ex: - query = pl_ex - else: - query = pl_conf.filter(url=param.get('url')) - - self.single_page = True - - if query: - param['name'] = query[0].name - - #if self.request: - # views = query[0].views - # query.update(views=views+1) - - params.append({'type':'photo', 'name':_(u'Фото')}) - self.params = params - self.obj = query[0] - - return query[0].photogallery.photos.all() - - self.params = params - return list(pl_ex) + list(pl_conf) - - def get_context_data(self, **kwargs): - context = super(PlacePhotoView, self).get_context_data(**kwargs) - context['object'] = self.obj - return context - - -# --------------------- Page views ------------------------ - from forms import PageForm from models import Page diff --git a/django_messages/templatetags/__init__.py b/apps/country/__init__.py similarity index 100% rename from django_messages/templatetags/__init__.py rename to apps/country/__init__.py diff --git a/country/admin.py b/apps/country/admin.py similarity index 100% rename from country/admin.py rename to apps/country/admin.py diff --git a/country/admin_urls.py b/apps/country/admin_urls.py similarity index 100% rename from country/admin_urls.py rename to apps/country/admin_urls.py diff --git a/country/forms.py b/apps/country/forms.py similarity index 100% rename from country/forms.py rename to apps/country/forms.py diff --git a/country/management/commands/newsletter_create_dependies.py b/apps/country/management/commands/newsletter_create_dependies.py similarity index 100% rename from country/management/commands/newsletter_create_dependies.py rename to apps/country/management/commands/newsletter_create_dependies.py diff --git a/country/manager.py b/apps/country/manager.py similarity index 100% rename from country/manager.py rename to apps/country/manager.py diff --git a/country/models.py b/apps/country/models.py similarity index 100% rename from country/models.py rename to apps/country/models.py diff --git a/country/search_indexes.py b/apps/country/search_indexes.py similarity index 100% rename from country/search_indexes.py rename to apps/country/search_indexes.py diff --git a/country/urls.py b/apps/country/urls.py similarity index 100% rename from country/urls.py rename to apps/country/urls.py diff --git a/country/views.py b/apps/country/views.py similarity index 100% rename from country/views.py rename to apps/country/views.py diff --git a/emencia/django/newsletter/cmsplugin_newsletter/__init__.py b/apps/directories/__init__.py similarity index 100% rename from emencia/django/newsletter/cmsplugin_newsletter/__init__.py rename to apps/directories/__init__.py diff --git a/directories/admin.py b/apps/directories/admin.py similarity index 100% rename from directories/admin.py rename to apps/directories/admin.py diff --git a/directories/forms.py b/apps/directories/forms.py similarity index 100% rename from directories/forms.py rename to apps/directories/forms.py diff --git a/directories/management/__init__.py b/apps/directories/management/__init__.py similarity index 100% rename from directories/management/__init__.py rename to apps/directories/management/__init__.py diff --git a/directories/management/commands/__init__.py b/apps/directories/management/commands/__init__.py similarity index 100% rename from directories/management/commands/__init__.py rename to apps/directories/management/commands/__init__.py diff --git a/directories/management/commands/fill_languages.py b/apps/directories/management/commands/fill_languages.py similarity index 100% rename from directories/management/commands/fill_languages.py rename to apps/directories/management/commands/fill_languages.py diff --git a/directories/models.py b/apps/directories/models.py similarity index 100% rename from directories/models.py rename to apps/directories/models.py diff --git a/core/tests.py b/apps/directories/tests.py similarity index 100% rename from core/tests.py rename to apps/directories/tests.py diff --git a/django_messages/__init__.py b/apps/django_messages/__init__.py similarity index 100% rename from django_messages/__init__.py rename to apps/django_messages/__init__.py diff --git a/django_messages/admin.py b/apps/django_messages/admin.py similarity index 98% rename from django_messages/admin.py rename to apps/django_messages/admin.py index d0f7bd50..97bfdcaf 100644 --- a/django_messages/admin.py +++ b/apps/django_messages/admin.py @@ -61,7 +61,7 @@ class MessageAdmin(admin.ModelAdmin): }), ) list_display = ('subject', 'sender', 'recipient', 'sent_at', 'read_at') - list_filter = ('sent_at', 'sender', 'recipient') + list_filter = ('sent_at',) search_fields = ('subject', 'body') raw_id_fields = ('sender', 'recipient', 'parent_msg') diff --git a/django_messages/apps.py b/apps/django_messages/apps.py similarity index 100% rename from django_messages/apps.py rename to apps/django_messages/apps.py diff --git a/django_messages/context_processors.py b/apps/django_messages/context_processors.py similarity index 100% rename from django_messages/context_processors.py rename to apps/django_messages/context_processors.py diff --git a/django_messages/expomap_urls.py b/apps/django_messages/expomap_urls.py similarity index 100% rename from django_messages/expomap_urls.py rename to apps/django_messages/expomap_urls.py diff --git a/django_messages/expomap_views.py b/apps/django_messages/expomap_views.py similarity index 100% rename from django_messages/expomap_views.py rename to apps/django_messages/expomap_views.py diff --git a/django_messages/fields.py b/apps/django_messages/fields.py similarity index 100% rename from django_messages/fields.py rename to apps/django_messages/fields.py diff --git a/django_messages/forms.py b/apps/django_messages/forms.py similarity index 100% rename from django_messages/forms.py rename to apps/django_messages/forms.py diff --git a/django_messages/management.py b/apps/django_messages/management.py similarity index 100% rename from django_messages/management.py rename to apps/django_messages/management.py diff --git a/django_messages/models.py b/apps/django_messages/models.py similarity index 100% rename from django_messages/models.py rename to apps/django_messages/models.py diff --git a/django_messages/signals.py b/apps/django_messages/signals.py similarity index 100% rename from django_messages/signals.py rename to apps/django_messages/signals.py diff --git a/django_messages/templates/django_messages/base.html b/apps/django_messages/templates/django_messages/base.html similarity index 100% rename from django_messages/templates/django_messages/base.html rename to apps/django_messages/templates/django_messages/base.html diff --git a/django_messages/templates/django_messages/compose.html b/apps/django_messages/templates/django_messages/compose.html similarity index 100% rename from django_messages/templates/django_messages/compose.html rename to apps/django_messages/templates/django_messages/compose.html diff --git a/django_messages/templates/django_messages/inbox.html b/apps/django_messages/templates/django_messages/inbox.html similarity index 100% rename from django_messages/templates/django_messages/inbox.html rename to apps/django_messages/templates/django_messages/inbox.html diff --git a/django_messages/templates/django_messages/new_message.html b/apps/django_messages/templates/django_messages/new_message.html similarity index 100% rename from django_messages/templates/django_messages/new_message.html rename to apps/django_messages/templates/django_messages/new_message.html diff --git a/django_messages/templates/django_messages/outbox.html b/apps/django_messages/templates/django_messages/outbox.html similarity index 100% rename from django_messages/templates/django_messages/outbox.html rename to apps/django_messages/templates/django_messages/outbox.html diff --git a/django_messages/templates/django_messages/trash.html b/apps/django_messages/templates/django_messages/trash.html similarity index 100% rename from django_messages/templates/django_messages/trash.html rename to apps/django_messages/templates/django_messages/trash.html diff --git a/django_messages/templates/django_messages/view.html b/apps/django_messages/templates/django_messages/view.html similarity index 100% rename from django_messages/templates/django_messages/view.html rename to apps/django_messages/templates/django_messages/view.html diff --git a/django_messages/templates/notification/messages_deleted/full.txt b/apps/django_messages/templates/notification/messages_deleted/full.txt similarity index 100% rename from django_messages/templates/notification/messages_deleted/full.txt rename to apps/django_messages/templates/notification/messages_deleted/full.txt diff --git a/django_messages/templates/notification/messages_deleted/notice.html b/apps/django_messages/templates/notification/messages_deleted/notice.html similarity index 100% rename from django_messages/templates/notification/messages_deleted/notice.html rename to apps/django_messages/templates/notification/messages_deleted/notice.html diff --git a/django_messages/templates/notification/messages_received/full.txt b/apps/django_messages/templates/notification/messages_received/full.txt similarity index 100% rename from django_messages/templates/notification/messages_received/full.txt rename to apps/django_messages/templates/notification/messages_received/full.txt diff --git a/django_messages/templates/notification/messages_received/notice.html b/apps/django_messages/templates/notification/messages_received/notice.html similarity index 100% rename from django_messages/templates/notification/messages_received/notice.html rename to apps/django_messages/templates/notification/messages_received/notice.html diff --git a/django_messages/templates/notification/messages_received/short.txt b/apps/django_messages/templates/notification/messages_received/short.txt similarity index 100% rename from django_messages/templates/notification/messages_received/short.txt rename to apps/django_messages/templates/notification/messages_received/short.txt diff --git a/django_messages/templates/notification/messages_recovered/full.txt b/apps/django_messages/templates/notification/messages_recovered/full.txt similarity index 100% rename from django_messages/templates/notification/messages_recovered/full.txt rename to apps/django_messages/templates/notification/messages_recovered/full.txt diff --git a/django_messages/templates/notification/messages_recovered/notice.html b/apps/django_messages/templates/notification/messages_recovered/notice.html similarity index 100% rename from django_messages/templates/notification/messages_recovered/notice.html rename to apps/django_messages/templates/notification/messages_recovered/notice.html diff --git a/django_messages/templates/notification/messages_replied/full.txt b/apps/django_messages/templates/notification/messages_replied/full.txt similarity index 100% rename from django_messages/templates/notification/messages_replied/full.txt rename to apps/django_messages/templates/notification/messages_replied/full.txt diff --git a/django_messages/templates/notification/messages_replied/notice.html b/apps/django_messages/templates/notification/messages_replied/notice.html similarity index 100% rename from django_messages/templates/notification/messages_replied/notice.html rename to apps/django_messages/templates/notification/messages_replied/notice.html diff --git a/django_messages/templates/notification/messages_reply_received/full.txt b/apps/django_messages/templates/notification/messages_reply_received/full.txt similarity index 100% rename from django_messages/templates/notification/messages_reply_received/full.txt rename to apps/django_messages/templates/notification/messages_reply_received/full.txt diff --git a/django_messages/templates/notification/messages_reply_received/notice.html b/apps/django_messages/templates/notification/messages_reply_received/notice.html similarity index 100% rename from django_messages/templates/notification/messages_reply_received/notice.html rename to apps/django_messages/templates/notification/messages_reply_received/notice.html diff --git a/django_messages/templates/notification/messages_reply_received/short.txt b/apps/django_messages/templates/notification/messages_reply_received/short.txt similarity index 100% rename from django_messages/templates/notification/messages_reply_received/short.txt rename to apps/django_messages/templates/notification/messages_reply_received/short.txt diff --git a/django_messages/templates/notification/messages_sent/full.txt b/apps/django_messages/templates/notification/messages_sent/full.txt similarity index 100% rename from django_messages/templates/notification/messages_sent/full.txt rename to apps/django_messages/templates/notification/messages_sent/full.txt diff --git a/django_messages/templates/notification/messages_sent/notice.html b/apps/django_messages/templates/notification/messages_sent/notice.html similarity index 100% rename from django_messages/templates/notification/messages_sent/notice.html rename to apps/django_messages/templates/notification/messages_sent/notice.html diff --git a/emencia/django/newsletter/management/__init__.py b/apps/django_messages/templatetags/__init__.py similarity index 100% rename from emencia/django/newsletter/management/__init__.py rename to apps/django_messages/templatetags/__init__.py diff --git a/django_messages/templatetags/inbox.py b/apps/django_messages/templatetags/inbox.py similarity index 100% rename from django_messages/templatetags/inbox.py rename to apps/django_messages/templatetags/inbox.py diff --git a/django_messages/tests.py b/apps/django_messages/tests.py similarity index 100% rename from django_messages/tests.py rename to apps/django_messages/tests.py diff --git a/django_messages/urls.py b/apps/django_messages/urls.py similarity index 100% rename from django_messages/urls.py rename to apps/django_messages/urls.py diff --git a/django_messages/utils.py b/apps/django_messages/utils.py similarity index 100% rename from django_messages/utils.py rename to apps/django_messages/utils.py diff --git a/django_messages/views.py b/apps/django_messages/views.py similarity index 100% rename from django_messages/views.py rename to apps/django_messages/views.py diff --git a/emencia/__init__.py b/apps/emencia/__init__.py similarity index 100% rename from emencia/__init__.py rename to apps/emencia/__init__.py diff --git a/emencia/django/__init__.py b/apps/emencia/django/__init__.py similarity index 100% rename from emencia/django/__init__.py rename to apps/emencia/django/__init__.py diff --git a/emencia/django/newsletter/__init__.py b/apps/emencia/django/newsletter/__init__.py similarity index 100% rename from emencia/django/newsletter/__init__.py rename to apps/emencia/django/newsletter/__init__.py diff --git a/emencia/django/newsletter/admin/__init__.py b/apps/emencia/django/newsletter/admin/__init__.py similarity index 100% rename from emencia/django/newsletter/admin/__init__.py rename to apps/emencia/django/newsletter/admin/__init__.py diff --git a/emencia/django/newsletter/admin/contact.py b/apps/emencia/django/newsletter/admin/contact.py similarity index 100% rename from emencia/django/newsletter/admin/contact.py rename to apps/emencia/django/newsletter/admin/contact.py diff --git a/emencia/django/newsletter/admin/mailinglist.py b/apps/emencia/django/newsletter/admin/mailinglist.py similarity index 100% rename from emencia/django/newsletter/admin/mailinglist.py rename to apps/emencia/django/newsletter/admin/mailinglist.py diff --git a/emencia/django/newsletter/admin/newsletter.py b/apps/emencia/django/newsletter/admin/newsletter.py similarity index 100% rename from emencia/django/newsletter/admin/newsletter.py rename to apps/emencia/django/newsletter/admin/newsletter.py diff --git a/emencia/django/newsletter/admin/smtpserver.py b/apps/emencia/django/newsletter/admin/smtpserver.py similarity index 100% rename from emencia/django/newsletter/admin/smtpserver.py rename to apps/emencia/django/newsletter/admin/smtpserver.py diff --git a/emencia/django/newsletter/admin/workgroup.py b/apps/emencia/django/newsletter/admin/workgroup.py similarity index 100% rename from emencia/django/newsletter/admin/workgroup.py rename to apps/emencia/django/newsletter/admin/workgroup.py diff --git a/emencia/django/newsletter/admin_forms.py b/apps/emencia/django/newsletter/admin_forms.py similarity index 94% rename from emencia/django/newsletter/admin_forms.py rename to apps/emencia/django/newsletter/admin_forms.py index 5996982b..ed8b7029 100644 --- a/emencia/django/newsletter/admin_forms.py +++ b/apps/emencia/django/newsletter/admin_forms.py @@ -276,14 +276,12 @@ class NewsletterRecommendForm(forms.ModelForm): def clean_event(self): event = self.cleaned_data.get('event') - print(event) match = self.rx.match(event) if not match: raise forms.ValidationError(_(u'Введены неверные данные')) model = self.event_models.get(match.group('type')) self.event_model = model event_id = match.group('pk') - print(model, event_id, event) try: event = model.objects.get(pk=event_id) except model.DoesNotExist: @@ -302,4 +300,34 @@ class NewsletterRecommendForm(forms.ModelForm): if not obj.pk: obj.save() obj.theme = self.cleaned_data['theme'] - return obj \ No newline at end of file + return obj + + +class NewsletterFilterForm(forms.Form): + """ + Форма для фильтра рассылок по дате + """ + model = Newsletter + + start_date = forms.DateField( + label=_(u'Начальная дата отправки'), + required=False + ) + end_date = forms.DateField( + label=_(u'Конечная дата отправки'), + required=False + ) + + def filter(self): + """ + Фильтр данных + """ + qs = self.model.objects.all() + + if self.cleaned_data.get('start_date'): + qs = qs.filter(sending_date__gte=self.cleaned_data['start_date']) + + if self.cleaned_data.get('end_date'): + qs = qs.filter(sending_date__lte=self.cleaned_data['end_date']) + + return qs diff --git a/emencia/django/newsletter/admin_urls.py b/apps/emencia/django/newsletter/admin_urls.py similarity index 100% rename from emencia/django/newsletter/admin_urls.py rename to apps/emencia/django/newsletter/admin_urls.py diff --git a/emencia/django/newsletter/management/commands/__init__.py b/apps/emencia/django/newsletter/cmsplugin_newsletter/__init__.py similarity index 100% rename from emencia/django/newsletter/management/commands/__init__.py rename to apps/emencia/django/newsletter/cmsplugin_newsletter/__init__.py diff --git a/emencia/django/newsletter/cmsplugin_newsletter/cms_plugins.py b/apps/emencia/django/newsletter/cmsplugin_newsletter/cms_plugins.py similarity index 100% rename from emencia/django/newsletter/cmsplugin_newsletter/cms_plugins.py rename to apps/emencia/django/newsletter/cmsplugin_newsletter/cms_plugins.py diff --git a/emencia/django/newsletter/cmsplugin_newsletter/models.py b/apps/emencia/django/newsletter/cmsplugin_newsletter/models.py similarity index 100% rename from emencia/django/newsletter/cmsplugin_newsletter/models.py rename to apps/emencia/django/newsletter/cmsplugin_newsletter/models.py diff --git a/emencia/django/newsletter/cmsplugin_newsletter/settings.py b/apps/emencia/django/newsletter/cmsplugin_newsletter/settings.py similarity index 100% rename from emencia/django/newsletter/cmsplugin_newsletter/settings.py rename to apps/emencia/django/newsletter/cmsplugin_newsletter/settings.py diff --git a/emencia/django/newsletter/forms.py b/apps/emencia/django/newsletter/forms.py similarity index 97% rename from emencia/django/newsletter/forms.py rename to apps/emencia/django/newsletter/forms.py index 41a2593e..28623a57 100644 --- a/emencia/django/newsletter/forms.py +++ b/apps/emencia/django/newsletter/forms.py @@ -228,22 +228,6 @@ class ContactForm(forms.ModelForm): return email -class ContactSettingsForm(forms.ModelForm): - theme = forms.MultipleChoiceField(choices=[(str(item.id), item.name) for item in list(Theme.objects.language().all())], - widget=forms.CheckboxSelectMultiple(attrs={'class': 'pr-checkbox'}), required=False) - - class Meta: - model = ContactSettings - fields = ('exponent_practicum', 'organiser_practicum', 'theme') - - def clean_theme(self): - theme = self.cleaned_data.get('theme') - if theme: - return Theme.objects.filter(id__in=theme) - else: - return Theme.objects.none() - - types_choice = EnumChoices( ALL=(1, _(u'Все')), USERS=(2, _(u'Пользователи')), diff --git a/emencia/django/newsletter/mailer.py b/apps/emencia/django/newsletter/mailer.py similarity index 99% rename from emencia/django/newsletter/mailer.py rename to apps/emencia/django/newsletter/mailer.py index 76ebea83..2f6fa504 100644 --- a/emencia/django/newsletter/mailer.py +++ b/apps/emencia/django/newsletter/mailer.py @@ -409,7 +409,7 @@ class NewsLetterSender(object): template = get_template('newsletter/AutomaticEmail_v2.html') context.update(announce_context) content = template.render(context) - elif self.newsletter.ab_testing == True: + elif self.newsletter.ab_testing: if self.ab_state == Newsletter.A: content = self.newsletter_template.render(context) else: diff --git a/emencia/django/newsletter/migrations/__init__.py b/apps/emencia/django/newsletter/management/__init__.py similarity index 100% rename from emencia/django/newsletter/migrations/__init__.py rename to apps/emencia/django/newsletter/management/__init__.py diff --git a/emencia/django/newsletter/south_migrations_old(27.06.16)/__init__.py b/apps/emencia/django/newsletter/management/commands/__init__.py similarity index 100% rename from emencia/django/newsletter/south_migrations_old(27.06.16)/__init__.py rename to apps/emencia/django/newsletter/management/commands/__init__.py diff --git a/emencia/django/newsletter/management/commands/bad_emails.xlsx b/apps/emencia/django/newsletter/management/commands/bad_emails.xlsx similarity index 100% rename from emencia/django/newsletter/management/commands/bad_emails.xlsx rename to apps/emencia/django/newsletter/management/commands/bad_emails.xlsx diff --git a/emencia/django/newsletter/management/commands/fill_contacts.py b/apps/emencia/django/newsletter/management/commands/fill_contacts.py similarity index 100% rename from emencia/django/newsletter/management/commands/fill_contacts.py rename to apps/emencia/django/newsletter/management/commands/fill_contacts.py diff --git a/emencia/django/newsletter/management/commands/newsletter_contacts_remove_notactivated.py b/apps/emencia/django/newsletter/management/commands/newsletter_contacts_remove_notactivated.py similarity index 100% rename from emencia/django/newsletter/management/commands/newsletter_contacts_remove_notactivated.py rename to apps/emencia/django/newsletter/management/commands/newsletter_contacts_remove_notactivated.py diff --git a/emencia/django/newsletter/management/commands/newsletter_create_announce.py b/apps/emencia/django/newsletter/management/commands/newsletter_create_announce.py similarity index 63% rename from emencia/django/newsletter/management/commands/newsletter_create_announce.py rename to apps/emencia/django/newsletter/management/commands/newsletter_create_announce.py index 998f1967..f2f2ee63 100644 --- a/emencia/django/newsletter/management/commands/newsletter_create_announce.py +++ b/apps/emencia/django/newsletter/management/commands/newsletter_create_announce.py @@ -1,14 +1,17 @@ """Command for sending the newsletter""" -from datetime import date, timedelta +from datetime import date from django.core.management.base import NoArgsCommand from emencia.django.newsletter.models import MailingList class Command(NoArgsCommand): - """this command run every day. check date and creates newsletter the day before announces need to send""" + """ + This command run every day. + Check date and creates newsletter the day before announces need to send + """ help = 'create the announce every week.' def handle(self, *args, **options): announce_list = MailingList.objects.get(id=1) day = date.today() - announce_list.generate_announce_newsletter(day) \ No newline at end of file + announce_list.generate_announce_newsletter(day) diff --git a/emencia/django/newsletter/management/commands/newsletter_create_dailymail.py b/apps/emencia/django/newsletter/management/commands/newsletter_create_dailymail.py similarity index 83% rename from emencia/django/newsletter/management/commands/newsletter_create_dailymail.py rename to apps/emencia/django/newsletter/management/commands/newsletter_create_dailymail.py index bd3d4c2d..bbe3f2a9 100644 --- a/emencia/django/newsletter/management/commands/newsletter_create_dailymail.py +++ b/apps/emencia/django/newsletter/management/commands/newsletter_create_dailymail.py @@ -5,8 +5,7 @@ from datetime import date, timedelta from django.core.management.base import NoArgsCommand from django.utils.translation import activate -from functions.form_check import translit_with_separator -from emencia.django.newsletter.models import MailingList, Newsletter +from emencia.django.newsletter.models import Newsletter class Command(NoArgsCommand): @@ -26,8 +25,9 @@ class Command(NoArgsCommand): 'slug': 'dailymail-{date}'.format(date=day), 'status': Newsletter.WAITING, } - n, created = Newsletter.objects.get_or_create( + Newsletter.objects.get_or_create( dailymail=True, sending_date=day, - defaults=defaults) + defaults=defaults + ) day += timedelta(days=1) diff --git a/emencia/django/newsletter/management/commands/send_newsletter.py b/apps/emencia/django/newsletter/management/commands/send_newsletter.py similarity index 96% rename from emencia/django/newsletter/management/commands/send_newsletter.py rename to apps/emencia/django/newsletter/management/commands/send_newsletter.py index 9ceaba5b..f88b2c12 100644 --- a/emencia/django/newsletter/management/commands/send_newsletter.py +++ b/apps/emencia/django/newsletter/management/commands/send_newsletter.py @@ -33,7 +33,7 @@ class Command(NoArgsCommand): for newsletter in Newsletter.objects.exclude( status__in=[Newsletter.DRAFT, Newsletter.SENT, - Newsletter.CANCELED,]): + Newsletter.CANCELED]): mailer = Mailer(newsletter, verbose=self.verbose) if mailer.can_send: mailer.run() diff --git a/emencia/django/newsletter/management/commands/send_newsletter_continuous.py b/apps/emencia/django/newsletter/management/commands/send_newsletter_continuous.py similarity index 100% rename from emencia/django/newsletter/management/commands/send_newsletter_continuous.py rename to apps/emencia/django/newsletter/management/commands/send_newsletter_continuous.py diff --git a/emencia/django/newsletter/management/commands/users_to_mailinglist.py b/apps/emencia/django/newsletter/management/commands/users_to_mailinglist.py similarity index 100% rename from emencia/django/newsletter/management/commands/users_to_mailinglist.py rename to apps/emencia/django/newsletter/management/commands/users_to_mailinglist.py diff --git a/emencia/django/newsletter/managers.py b/apps/emencia/django/newsletter/managers.py similarity index 100% rename from emencia/django/newsletter/managers.py rename to apps/emencia/django/newsletter/managers.py diff --git a/emencia/django/newsletter/migrations/0018_auto__add_field_newsletter_banner_url.py b/apps/emencia/django/newsletter/migrations/0001_initial.py similarity index 74% rename from emencia/django/newsletter/migrations/0018_auto__add_field_newsletter_banner_url.py rename to apps/emencia/django/newsletter/migrations/0001_initial.py index 88962370..94a42dab 100644 --- a/emencia/django/newsletter/migrations/0018_auto__add_field_newsletter_banner_url.py +++ b/apps/emencia/django/newsletter/migrations/0001_initial.py @@ -8,15 +8,427 @@ from django.db import models class Migration(SchemaMigration): def forwards(self, orm): - # Adding field 'Newsletter.banner_url' - db.add_column(u'newsletter_newsletter', 'banner_url', - self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True), - keep_default=False) + # Adding model 'SMTPServer' + db.create_table(u'newsletter_smtpserver', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('host', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('user', self.gf('django.db.models.fields.CharField')(max_length=128, blank=True)), + ('password', self.gf('django.db.models.fields.CharField')(max_length=128, blank=True)), + ('port', self.gf('django.db.models.fields.IntegerField')(default=25)), + ('tls', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('headers', self.gf('django.db.models.fields.TextField')(blank=True)), + ('mails_hour', self.gf('django.db.models.fields.IntegerField')(default=0)), + )) + db.send_create_signal(u'newsletter', ['SMTPServer']) + + # Adding model 'Contact' + db.create_table(u'newsletter_contact', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['accounts.User'], null=True)), + ('email', self.gf('django.db.models.fields.EmailField')(unique=True, max_length=255)), + ('first_name', self.gf('django.db.models.fields.CharField')(max_length=50, blank=True)), + ('last_name', self.gf('django.db.models.fields.CharField')(max_length=50, blank=True)), + ('subscriber', self.gf('django.db.models.fields.BooleanField')(default=True)), + ('valid', self.gf('django.db.models.fields.BooleanField')(default=True)), + ('tester', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('activation_code', self.gf('django.db.models.fields.CharField')(default='72e668c862e5eba72be78e32f8070f78d5db0000', max_length=40)), + ('activated', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('from_users', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('dailymailing', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('moscow', self.gf('django.db.models.fields.BooleanField')(default=True)), + ('russia', self.gf('django.db.models.fields.BooleanField')(default=True)), + ('foreign', self.gf('django.db.models.fields.BooleanField')(default=True)), + ('periodic', self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=1)), + ('periodic_day', self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=3)), + ('content_news', self.gf('django.db.models.fields.BooleanField')(default=True)), + ('content_overview', self.gf('django.db.models.fields.BooleanField')(default=True)), + ('content_articles', self.gf('django.db.models.fields.BooleanField')(default=True)), + ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'], null=True, blank=True)), + ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('creation_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + ('modification_date', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), + ('last_mailing_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), + )) + db.send_create_signal(u'newsletter', ['Contact']) + + # Adding M2M table for field r_cities on 'Contact' + m2m_table_name = db.shorten_name(u'newsletter_contact_r_cities') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)), + ('city', models.ForeignKey(orm[u'city.city'], null=False)) + )) + db.create_unique(m2m_table_name, ['contact_id', 'city_id']) + + # Adding M2M table for field f_countries on 'Contact' + m2m_table_name = db.shorten_name(u'newsletter_contact_f_countries') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)), + ('country', models.ForeignKey(orm[u'country.country'], null=False)) + )) + db.create_unique(m2m_table_name, ['contact_id', 'country_id']) + + # Adding M2M table for field area on 'Contact' + m2m_table_name = db.shorten_name(u'newsletter_contact_area') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)), + ('area', models.ForeignKey(orm[u'country.area'], null=False)) + )) + db.create_unique(m2m_table_name, ['contact_id', 'area_id']) + + # Adding M2M table for field tags on 'Contact' + m2m_table_name = db.shorten_name(u'newsletter_contact_tags') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)), + ('tag', models.ForeignKey(orm[u'theme.tag'], null=False)) + )) + db.create_unique(m2m_table_name, ['contact_id', 'tag_id']) + + # Adding M2M table for field themes on 'Contact' + m2m_table_name = db.shorten_name(u'newsletter_contact_themes') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)), + ('theme', models.ForeignKey(orm[u'theme.theme'], null=False)) + )) + db.create_unique(m2m_table_name, ['contact_id', 'theme_id']) + + # Adding M2M table for field conferences on 'Contact' + m2m_table_name = db.shorten_name(u'newsletter_contact_conferences') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)), + ('conference', models.ForeignKey(orm[u'conference.conference'], null=False)) + )) + db.create_unique(m2m_table_name, ['contact_id', 'conference_id']) + + # Adding M2M table for field expositions on 'Contact' + m2m_table_name = db.shorten_name(u'newsletter_contact_expositions') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)), + ('exposition', models.ForeignKey(orm[u'exposition.exposition'], null=False)) + )) + db.create_unique(m2m_table_name, ['contact_id', 'exposition_id']) + + # Adding model 'ContactSettings' + db.create_table(u'newsletter_contactsettings', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('contact', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['newsletter.Contact'], unique=True)), + ('periodic', self.gf('django.db.models.fields.PositiveIntegerField')(default=1)), + ('exponent_practicum', self.gf('django.db.models.fields.BooleanField')(default=True)), + ('organiser_practicum', self.gf('django.db.models.fields.BooleanField')(default=False)), + )) + db.send_create_signal(u'newsletter', ['ContactSettings']) + + # Adding M2M table for field theme on 'ContactSettings' + m2m_table_name = db.shorten_name(u'newsletter_contactsettings_theme') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('contactsettings', models.ForeignKey(orm[u'newsletter.contactsettings'], null=False)), + ('theme', models.ForeignKey(orm[u'theme.theme'], null=False)) + )) + db.create_unique(m2m_table_name, ['contactsettings_id', 'theme_id']) + + # Adding M2M table for field area on 'ContactSettings' + m2m_table_name = db.shorten_name(u'newsletter_contactsettings_area') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('contactsettings', models.ForeignKey(orm[u'newsletter.contactsettings'], null=False)), + ('area', models.ForeignKey(orm[u'country.area'], null=False)) + )) + db.create_unique(m2m_table_name, ['contactsettings_id', 'area_id']) + + # Adding M2M table for field country on 'ContactSettings' + m2m_table_name = db.shorten_name(u'newsletter_contactsettings_country') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('contactsettings', models.ForeignKey(orm[u'newsletter.contactsettings'], null=False)), + ('country', models.ForeignKey(orm[u'country.country'], null=False)) + )) + db.create_unique(m2m_table_name, ['contactsettings_id', 'country_id']) + + # Adding M2M table for field city on 'ContactSettings' + m2m_table_name = db.shorten_name(u'newsletter_contactsettings_city') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('contactsettings', models.ForeignKey(orm[u'newsletter.contactsettings'], null=False)), + ('city', models.ForeignKey(orm[u'city.city'], null=False)) + )) + db.create_unique(m2m_table_name, ['contactsettings_id', 'city_id']) + + # Adding model 'MailingList' + db.create_table(u'newsletter_mailinglist', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('description', self.gf('django.db.models.fields.TextField')(blank=True)), + ('announce', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('announce_public_day', self.gf('django.db.models.fields.IntegerField')(default=2)), + ('creation_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + ('modification_date', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), + )) + db.send_create_signal(u'newsletter', ['MailingList']) + + # Adding M2M table for field subscribers on 'MailingList' + m2m_table_name = db.shorten_name(u'newsletter_mailinglist_subscribers') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('mailinglist', models.ForeignKey(orm[u'newsletter.mailinglist'], null=False)), + ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)) + )) + db.create_unique(m2m_table_name, ['mailinglist_id', 'contact_id']) + + # Adding M2M table for field unsubscribers on 'MailingList' + m2m_table_name = db.shorten_name(u'newsletter_mailinglist_unsubscribers') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('mailinglist', models.ForeignKey(orm[u'newsletter.mailinglist'], null=False)), + ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)) + )) + db.create_unique(m2m_table_name, ['mailinglist_id', 'contact_id']) + + # Adding M2M table for field theme_for_filter on 'MailingList' + m2m_table_name = db.shorten_name(u'newsletter_mailinglist_theme_for_filter') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('mailinglist', models.ForeignKey(orm[u'newsletter.mailinglist'], null=False)), + ('theme', models.ForeignKey(orm[u'theme.theme'], null=False)) + )) + db.create_unique(m2m_table_name, ['mailinglist_id', 'theme_id']) + + # Adding model 'Newsletter' + db.create_table(u'newsletter_newsletter', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('preheader', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), + ('preheader2', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), + ('title', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('title2', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), + ('content', self.gf('django.db.models.fields.TextField')(default='')), + ('content2', self.gf('django.db.models.fields.TextField')(default='')), + ('ab_testing', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('ab_first_stage', self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True, blank=True)), + ('ab_final_stage', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('ab_final_choice', self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True, blank=True)), + ('mailing_list', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['newsletter.MailingList'], null=True, blank=True)), + ('theme_for_filter', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['theme.Theme'], null=True, blank=True)), + ('server', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['newsletter.SMTPServer'])), + ('header_sender', self.gf('django.db.models.fields.CharField')(default='Expomap', max_length=255)), + ('header_reply', self.gf('django.db.models.fields.CharField')(default='Expomap', max_length=255)), + ('status', self.gf('django.db.models.fields.IntegerField')(default=0)), + ('sending_date', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), + ('slug', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=50)), + ('dailymail', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('banner', self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True)), + ('banner_url', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)), + ('creation_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + ('modification_date', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), + )) + db.send_create_signal(u'newsletter', ['Newsletter']) + + # Adding M2M table for field test_contacts on 'Newsletter' + m2m_table_name = db.shorten_name(u'newsletter_newsletter_test_contacts') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('newsletter', models.ForeignKey(orm[u'newsletter.newsletter'], null=False)), + ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)) + )) + db.create_unique(m2m_table_name, ['newsletter_id', 'contact_id']) + + # Adding model 'NewsletterRecommend' + db.create_table(u'newsletter_newsletterrecommend', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('exposition', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['exposition.Exposition'], null=True)), + ('conference', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['conference.Conference'], null=True)), + ('fr', self.gf('django.db.models.fields.DateField')(default=datetime.datetime(2017, 1, 19, 0, 0))), + ('to', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), + ('creation_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + )) + db.send_create_signal(u'newsletter', ['NewsletterRecommend']) + + # Adding M2M table for field theme on 'NewsletterRecommend' + m2m_table_name = db.shorten_name(u'newsletter_newsletterrecommend_theme') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('newsletterrecommend', models.ForeignKey(orm[u'newsletter.newsletterrecommend'], null=False)), + ('theme', models.ForeignKey(orm[u'theme.theme'], null=False)) + )) + db.create_unique(m2m_table_name, ['newsletterrecommend_id', 'theme_id']) + + # Adding model 'Link' + db.create_table(u'newsletter_link', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('title', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('url', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('creation_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + )) + db.send_create_signal(u'newsletter', ['Link']) + + # Adding model 'Attachment' + db.create_table(u'newsletter_attachment', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('newsletter', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['newsletter.Newsletter'])), + ('title', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('file_attachment', self.gf('django.db.models.fields.files.FileField')(max_length=255)), + )) + db.send_create_signal(u'newsletter', ['Attachment']) + + # Adding model 'ContactMailingStatus' + db.create_table(u'newsletter_contactmailingstatus', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('newsletter', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['newsletter.Newsletter'])), + ('contact', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['newsletter.Contact'])), + ('status', self.gf('django.db.models.fields.IntegerField')()), + ('link', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['newsletter.Link'], null=True, blank=True)), + ('ab', self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True, blank=True)), + ('creation_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + )) + db.send_create_signal(u'newsletter', ['ContactMailingStatus']) + + # Adding model 'WorkGroup' + db.create_table(u'newsletter_workgroup', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('group', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.Group'])), + )) + db.send_create_signal(u'newsletter', ['WorkGroup']) + + # Adding M2M table for field contacts on 'WorkGroup' + m2m_table_name = db.shorten_name(u'newsletter_workgroup_contacts') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('workgroup', models.ForeignKey(orm[u'newsletter.workgroup'], null=False)), + ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)) + )) + db.create_unique(m2m_table_name, ['workgroup_id', 'contact_id']) + + # Adding M2M table for field mailinglists on 'WorkGroup' + m2m_table_name = db.shorten_name(u'newsletter_workgroup_mailinglists') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('workgroup', models.ForeignKey(orm[u'newsletter.workgroup'], null=False)), + ('mailinglist', models.ForeignKey(orm[u'newsletter.mailinglist'], null=False)) + )) + db.create_unique(m2m_table_name, ['workgroup_id', 'mailinglist_id']) + + # Adding M2M table for field newsletters on 'WorkGroup' + m2m_table_name = db.shorten_name(u'newsletter_workgroup_newsletters') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('workgroup', models.ForeignKey(orm[u'newsletter.workgroup'], null=False)), + ('newsletter', models.ForeignKey(orm[u'newsletter.newsletter'], null=False)) + )) + db.create_unique(m2m_table_name, ['workgroup_id', 'newsletter_id']) + + # Adding model 'PopupCount' + db.create_table(u'newsletter_popupcount', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('date', self.gf('django.db.models.fields.DateField')()), + ('theme', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['theme.Theme'], null=True)), + ('cnt', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), + )) + db.send_create_signal(u'newsletter', ['PopupCount']) + + # Adding unique constraint on 'PopupCount', fields ['theme', 'date'] + db.create_unique(u'newsletter_popupcount', ['theme_id', 'date']) def backwards(self, orm): - # Deleting field 'Newsletter.banner_url' - db.delete_column(u'newsletter_newsletter', 'banner_url') + # Removing unique constraint on 'PopupCount', fields ['theme', 'date'] + db.delete_unique(u'newsletter_popupcount', ['theme_id', 'date']) + + # Deleting model 'SMTPServer' + db.delete_table(u'newsletter_smtpserver') + + # Deleting model 'Contact' + db.delete_table(u'newsletter_contact') + + # Removing M2M table for field r_cities on 'Contact' + db.delete_table(db.shorten_name(u'newsletter_contact_r_cities')) + + # Removing M2M table for field f_countries on 'Contact' + db.delete_table(db.shorten_name(u'newsletter_contact_f_countries')) + + # Removing M2M table for field area on 'Contact' + db.delete_table(db.shorten_name(u'newsletter_contact_area')) + + # Removing M2M table for field tags on 'Contact' + db.delete_table(db.shorten_name(u'newsletter_contact_tags')) + + # Removing M2M table for field themes on 'Contact' + db.delete_table(db.shorten_name(u'newsletter_contact_themes')) + + # Removing M2M table for field conferences on 'Contact' + db.delete_table(db.shorten_name(u'newsletter_contact_conferences')) + + # Removing M2M table for field expositions on 'Contact' + db.delete_table(db.shorten_name(u'newsletter_contact_expositions')) + + # Deleting model 'ContactSettings' + db.delete_table(u'newsletter_contactsettings') + + # Removing M2M table for field theme on 'ContactSettings' + db.delete_table(db.shorten_name(u'newsletter_contactsettings_theme')) + + # Removing M2M table for field area on 'ContactSettings' + db.delete_table(db.shorten_name(u'newsletter_contactsettings_area')) + + # Removing M2M table for field country on 'ContactSettings' + db.delete_table(db.shorten_name(u'newsletter_contactsettings_country')) + + # Removing M2M table for field city on 'ContactSettings' + db.delete_table(db.shorten_name(u'newsletter_contactsettings_city')) + + # Deleting model 'MailingList' + db.delete_table(u'newsletter_mailinglist') + + # Removing M2M table for field subscribers on 'MailingList' + db.delete_table(db.shorten_name(u'newsletter_mailinglist_subscribers')) + + # Removing M2M table for field unsubscribers on 'MailingList' + db.delete_table(db.shorten_name(u'newsletter_mailinglist_unsubscribers')) + + # Removing M2M table for field theme_for_filter on 'MailingList' + db.delete_table(db.shorten_name(u'newsletter_mailinglist_theme_for_filter')) + + # Deleting model 'Newsletter' + db.delete_table(u'newsletter_newsletter') + + # Removing M2M table for field test_contacts on 'Newsletter' + db.delete_table(db.shorten_name(u'newsletter_newsletter_test_contacts')) + + # Deleting model 'NewsletterRecommend' + db.delete_table(u'newsletter_newsletterrecommend') + + # Removing M2M table for field theme on 'NewsletterRecommend' + db.delete_table(db.shorten_name(u'newsletter_newsletterrecommend_theme')) + + # Deleting model 'Link' + db.delete_table(u'newsletter_link') + + # Deleting model 'Attachment' + db.delete_table(u'newsletter_attachment') + + # Deleting model 'ContactMailingStatus' + db.delete_table(u'newsletter_contactmailingstatus') + + # Deleting model 'WorkGroup' + db.delete_table(u'newsletter_workgroup') + + # Removing M2M table for field contacts on 'WorkGroup' + db.delete_table(db.shorten_name(u'newsletter_workgroup_contacts')) + + # Removing M2M table for field mailinglists on 'WorkGroup' + db.delete_table(db.shorten_name(u'newsletter_workgroup_mailinglists')) + + # Removing M2M table for field newsletters on 'WorkGroup' + db.delete_table(db.shorten_name(u'newsletter_workgroup_newsletters')) + + # Deleting model 'PopupCount' + db.delete_table(u'newsletter_popupcount') models = { @@ -253,7 +665,7 @@ class Migration(SchemaMigration): 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 12, 21, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), @@ -326,7 +738,7 @@ class Migration(SchemaMigration): 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 12, 21, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), @@ -435,7 +847,7 @@ class Migration(SchemaMigration): u'newsletter.contact': { 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'de5f6274650e918f47612ec3f6a355aa93a65042'", 'max_length': '40'}), + 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'e1ec1adc2dc4132a18e75be5dd5290c1b814c7b1'", 'max_length': '40'}), 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), 'conferences': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['conference.Conference']", 'null': 'True', 'symmetrical': 'False'}), 'content_articles': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), @@ -542,7 +954,7 @@ class Migration(SchemaMigration): 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 12, 21, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}) diff --git a/emencia/django/newsletter/views/__init__.py b/apps/emencia/django/newsletter/migrations/__init__.py similarity index 100% rename from emencia/django/newsletter/views/__init__.py rename to apps/emencia/django/newsletter/migrations/__init__.py diff --git a/emencia/django/newsletter/models.py b/apps/emencia/django/newsletter/models.py similarity index 100% rename from emencia/django/newsletter/models.py rename to apps/emencia/django/newsletter/models.py diff --git a/emencia/django/newsletter/settings.py b/apps/emencia/django/newsletter/settings.py similarity index 100% rename from emencia/django/newsletter/settings.py rename to apps/emencia/django/newsletter/settings.py diff --git a/emencia/django/newsletter/static/edn/js/jquery.form.js b/apps/emencia/django/newsletter/static/edn/js/jquery.form.js similarity index 100% rename from emencia/django/newsletter/static/edn/js/jquery.form.js rename to apps/emencia/django/newsletter/static/edn/js/jquery.form.js diff --git a/emencia/django/newsletter/static/edn/js/jquery.heatcolor.js b/apps/emencia/django/newsletter/static/edn/js/jquery.heatcolor.js similarity index 100% rename from emencia/django/newsletter/static/edn/js/jquery.heatcolor.js rename to apps/emencia/django/newsletter/static/edn/js/jquery.heatcolor.js diff --git a/emencia/django/newsletter/static/edn/js/jquery.js b/apps/emencia/django/newsletter/static/edn/js/jquery.js similarity index 100% rename from emencia/django/newsletter/static/edn/js/jquery.js rename to apps/emencia/django/newsletter/static/edn/js/jquery.js diff --git a/emencia/django/newsletter/static/edn/js/swfobject/expressInstall.swf b/apps/emencia/django/newsletter/static/edn/js/swfobject/expressInstall.swf similarity index 100% rename from emencia/django/newsletter/static/edn/js/swfobject/expressInstall.swf rename to apps/emencia/django/newsletter/static/edn/js/swfobject/expressInstall.swf diff --git a/emencia/django/newsletter/static/edn/js/swfobject/index.html b/apps/emencia/django/newsletter/static/edn/js/swfobject/index.html similarity index 100% rename from emencia/django/newsletter/static/edn/js/swfobject/index.html rename to apps/emencia/django/newsletter/static/edn/js/swfobject/index.html diff --git a/emencia/django/newsletter/static/edn/js/swfobject/index_dynamic.html b/apps/emencia/django/newsletter/static/edn/js/swfobject/index_dynamic.html similarity index 100% rename from emencia/django/newsletter/static/edn/js/swfobject/index_dynamic.html rename to apps/emencia/django/newsletter/static/edn/js/swfobject/index_dynamic.html diff --git a/emencia/django/newsletter/static/edn/js/swfobject/swfobject.js b/apps/emencia/django/newsletter/static/edn/js/swfobject/swfobject.js similarity index 100% rename from emencia/django/newsletter/static/edn/js/swfobject/swfobject.js rename to apps/emencia/django/newsletter/static/edn/js/swfobject/swfobject.js diff --git a/emencia/django/newsletter/static/edn/js/swfobject/test.swf b/apps/emencia/django/newsletter/static/edn/js/swfobject/test.swf similarity index 100% rename from emencia/django/newsletter/static/edn/js/swfobject/test.swf rename to apps/emencia/django/newsletter/static/edn/js/swfobject/test.swf diff --git a/emencia/django/newsletter/static/edn/swf/open-flash-chart.swf b/apps/emencia/django/newsletter/static/edn/swf/open-flash-chart.swf similarity index 100% rename from emencia/django/newsletter/static/edn/swf/open-flash-chart.swf rename to apps/emencia/django/newsletter/static/edn/swf/open-flash-chart.swf diff --git a/emencia/django/newsletter/templates/admin/newsletter/contact/change_list.html b/apps/emencia/django/newsletter/templates/admin/newsletter/contact/change_list.html similarity index 100% rename from emencia/django/newsletter/templates/admin/newsletter/contact/change_list.html rename to apps/emencia/django/newsletter/templates/admin/newsletter/contact/change_list.html diff --git a/emencia/django/newsletter/templates/newsletter/AutomaticEmail.html b/apps/emencia/django/newsletter/templates/newsletter/AutomaticEmail.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/AutomaticEmail.html rename to apps/emencia/django/newsletter/templates/newsletter/AutomaticEmail.html diff --git a/emencia/django/newsletter/templates/newsletter/AutomaticEmail_test.html b/apps/emencia/django/newsletter/templates/newsletter/AutomaticEmail_test.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/AutomaticEmail_test.html rename to apps/emencia/django/newsletter/templates/newsletter/AutomaticEmail_test.html diff --git a/emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html b/apps/emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html similarity index 99% rename from emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html rename to apps/emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html index 5e595273..78a187f4 100644 --- a/emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html +++ b/apps/emencia/django/newsletter/templates/newsletter/AutomaticEmail_v2.html @@ -673,7 +673,7 @@ {% endif %} - © 2008 — 2016 Expomap.ru + © 2008 — 2017 Expomap.ru diff --git a/emencia/django/newsletter/templates/newsletter/AutomaticEmail_web.html b/apps/emencia/django/newsletter/templates/newsletter/AutomaticEmail_web.html similarity index 99% rename from emencia/django/newsletter/templates/newsletter/AutomaticEmail_web.html rename to apps/emencia/django/newsletter/templates/newsletter/AutomaticEmail_web.html index 5ebc2808..56724615 100644 --- a/emencia/django/newsletter/templates/newsletter/AutomaticEmail_web.html +++ b/apps/emencia/django/newsletter/templates/newsletter/AutomaticEmail_web.html @@ -671,7 +671,7 @@ {% trans "Переслать другу" %} {% trans "или" %} {% trans "Отписаться" %} - © 2008 — 2016 Expomap.ru + © 2008 — 2017 Expomap.ru diff --git a/emencia/django/newsletter/templates/newsletter/announce_template.html b/apps/emencia/django/newsletter/templates/newsletter/announce_template.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/announce_template.html rename to apps/emencia/django/newsletter/templates/newsletter/announce_template.html diff --git a/emencia/django/newsletter/templates/newsletter/base.html b/apps/emencia/django/newsletter/templates/newsletter/base.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/base.html rename to apps/emencia/django/newsletter/templates/newsletter/base.html diff --git a/emencia/django/newsletter/templates/newsletter/cms/subscription_form.html b/apps/emencia/django/newsletter/templates/newsletter/cms/subscription_form.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/cms/subscription_form.html rename to apps/emencia/django/newsletter/templates/newsletter/cms/subscription_form.html diff --git a/emencia/django/newsletter/templates/newsletter/contact_import.html b/apps/emencia/django/newsletter/templates/newsletter/contact_import.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/contact_import.html rename to apps/emencia/django/newsletter/templates/newsletter/contact_import.html diff --git a/emencia/django/newsletter/templates/newsletter/mailing_list_subscribe.html b/apps/emencia/django/newsletter/templates/newsletter/mailing_list_subscribe.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/mailing_list_subscribe.html rename to apps/emencia/django/newsletter/templates/newsletter/mailing_list_subscribe.html diff --git a/emencia/django/newsletter/templates/newsletter/mailing_list_unsubscribe.html b/apps/emencia/django/newsletter/templates/newsletter/mailing_list_unsubscribe.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/mailing_list_unsubscribe.html rename to apps/emencia/django/newsletter/templates/newsletter/mailing_list_unsubscribe.html diff --git a/emencia/django/newsletter/templates/newsletter/newsletter_density.html b/apps/emencia/django/newsletter/templates/newsletter/newsletter_density.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/newsletter_density.html rename to apps/emencia/django/newsletter/templates/newsletter/newsletter_density.html diff --git a/emencia/django/newsletter/templates/newsletter/newsletter_detail.html b/apps/emencia/django/newsletter/templates/newsletter/newsletter_detail.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/newsletter_detail.html rename to apps/emencia/django/newsletter/templates/newsletter/newsletter_detail.html diff --git a/emencia/django/newsletter/templates/newsletter/newsletter_historic.html b/apps/emencia/django/newsletter/templates/newsletter/newsletter_historic.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/newsletter_historic.html rename to apps/emencia/django/newsletter/templates/newsletter/newsletter_historic.html diff --git a/emencia/django/newsletter/templates/newsletter/newsletter_image_tracking.html b/apps/emencia/django/newsletter/templates/newsletter/newsletter_image_tracking.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/newsletter_image_tracking.html rename to apps/emencia/django/newsletter/templates/newsletter/newsletter_image_tracking.html diff --git a/emencia/django/newsletter/templates/newsletter/newsletter_link_site.html b/apps/emencia/django/newsletter/templates/newsletter/newsletter_link_site.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/newsletter_link_site.html rename to apps/emencia/django/newsletter/templates/newsletter/newsletter_link_site.html diff --git a/emencia/django/newsletter/templates/newsletter/newsletter_link_unsubscribe.html b/apps/emencia/django/newsletter/templates/newsletter/newsletter_link_unsubscribe.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/newsletter_link_unsubscribe.html rename to apps/emencia/django/newsletter/templates/newsletter/newsletter_link_unsubscribe.html diff --git a/emencia/django/newsletter/templates/newsletter/newsletter_preheader.html b/apps/emencia/django/newsletter/templates/newsletter/newsletter_preheader.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/newsletter_preheader.html rename to apps/emencia/django/newsletter/templates/newsletter/newsletter_preheader.html diff --git a/emencia/django/newsletter/templates/newsletter/newsletter_statistics.html b/apps/emencia/django/newsletter/templates/newsletter/newsletter_statistics.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/newsletter_statistics.html rename to apps/emencia/django/newsletter/templates/newsletter/newsletter_statistics.html diff --git a/emencia/django/newsletter/templates/newsletter/recommend/create.html b/apps/emencia/django/newsletter/templates/newsletter/recommend/create.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/recommend/create.html rename to apps/emencia/django/newsletter/templates/newsletter/recommend/create.html diff --git a/emencia/django/newsletter/templates/newsletter/recommend/list.html b/apps/emencia/django/newsletter/templates/newsletter/recommend/list.html similarity index 100% rename from emencia/django/newsletter/templates/newsletter/recommend/list.html rename to apps/emencia/django/newsletter/templates/newsletter/recommend/list.html diff --git a/emencia/django/newsletter/tests.py b/apps/emencia/django/newsletter/tests.py similarity index 100% rename from emencia/django/newsletter/tests.py rename to apps/emencia/django/newsletter/tests.py diff --git a/emencia/django/newsletter/testsettings.py b/apps/emencia/django/newsletter/testsettings.py similarity index 100% rename from emencia/django/newsletter/testsettings.py rename to apps/emencia/django/newsletter/testsettings.py diff --git a/emencia/django/newsletter/urls/__init__.py b/apps/emencia/django/newsletter/urls/__init__.py similarity index 100% rename from emencia/django/newsletter/urls/__init__.py rename to apps/emencia/django/newsletter/urls/__init__.py diff --git a/emencia/django/newsletter/urls/mailing_list.py b/apps/emencia/django/newsletter/urls/mailing_list.py similarity index 100% rename from emencia/django/newsletter/urls/mailing_list.py rename to apps/emencia/django/newsletter/urls/mailing_list.py diff --git a/emencia/django/newsletter/urls/newsletter.py b/apps/emencia/django/newsletter/urls/newsletter.py similarity index 100% rename from emencia/django/newsletter/urls/newsletter.py rename to apps/emencia/django/newsletter/urls/newsletter.py diff --git a/emencia/django/newsletter/urls/statistics.py b/apps/emencia/django/newsletter/urls/statistics.py similarity index 100% rename from emencia/django/newsletter/urls/statistics.py rename to apps/emencia/django/newsletter/urls/statistics.py diff --git a/emencia/django/newsletter/urls/tracking.py b/apps/emencia/django/newsletter/urls/tracking.py similarity index 100% rename from emencia/django/newsletter/urls/tracking.py rename to apps/emencia/django/newsletter/urls/tracking.py diff --git a/emencia/django/newsletter/utils/__init__.py b/apps/emencia/django/newsletter/utils/__init__.py similarity index 100% rename from emencia/django/newsletter/utils/__init__.py rename to apps/emencia/django/newsletter/utils/__init__.py diff --git a/emencia/django/newsletter/utils/excel.py b/apps/emencia/django/newsletter/utils/excel.py similarity index 100% rename from emencia/django/newsletter/utils/excel.py rename to apps/emencia/django/newsletter/utils/excel.py diff --git a/emencia/django/newsletter/utils/importation.py b/apps/emencia/django/newsletter/utils/importation.py similarity index 100% rename from emencia/django/newsletter/utils/importation.py rename to apps/emencia/django/newsletter/utils/importation.py diff --git a/emencia/django/newsletter/utils/newsletter.py b/apps/emencia/django/newsletter/utils/newsletter.py similarity index 97% rename from emencia/django/newsletter/utils/newsletter.py rename to apps/emencia/django/newsletter/utils/newsletter.py index 8eb19f01..3c9cdc61 100644 --- a/emencia/django/newsletter/utils/newsletter.py +++ b/apps/emencia/django/newsletter/utils/newsletter.py @@ -36,8 +36,8 @@ def track_links(content, context): link_href = link_markup['href'] link_title = link_markup.get('title', link_href) try: - link, created = Link.objects.get_or_create(url=link_href, - defaults={'title': link_title}) + link, created = Link.objects.get_or_create(url=link_href[:250], + defaults={'title': link_title[:250]}) except Link.MultipleObjectsReturned: link = Link.objects.filter(url=link_href)[0] link_markup['href'] = 'http://%s%s' % (context['domain'], reverse('newsletter_newsletter_tracking_link', diff --git a/emencia/django/newsletter/utils/ofc.py b/apps/emencia/django/newsletter/utils/ofc.py similarity index 100% rename from emencia/django/newsletter/utils/ofc.py rename to apps/emencia/django/newsletter/utils/ofc.py diff --git a/emencia/django/newsletter/utils/premailer.py b/apps/emencia/django/newsletter/utils/premailer.py similarity index 100% rename from emencia/django/newsletter/utils/premailer.py rename to apps/emencia/django/newsletter/utils/premailer.py diff --git a/emencia/django/newsletter/utils/statistics.py b/apps/emencia/django/newsletter/utils/statistics.py similarity index 100% rename from emencia/django/newsletter/utils/statistics.py rename to apps/emencia/django/newsletter/utils/statistics.py diff --git a/emencia/django/newsletter/utils/tokens.py b/apps/emencia/django/newsletter/utils/tokens.py similarity index 100% rename from emencia/django/newsletter/utils/tokens.py rename to apps/emencia/django/newsletter/utils/tokens.py diff --git a/emencia/django/newsletter/utils/vcard.py b/apps/emencia/django/newsletter/utils/vcard.py similarity index 100% rename from emencia/django/newsletter/utils/vcard.py rename to apps/emencia/django/newsletter/utils/vcard.py diff --git a/emencia/django/newsletter/utils/workgroups.py b/apps/emencia/django/newsletter/utils/workgroups.py similarity index 100% rename from emencia/django/newsletter/utils/workgroups.py rename to apps/emencia/django/newsletter/utils/workgroups.py diff --git a/events/__init__.py b/apps/emencia/django/newsletter/views/__init__.py similarity index 100% rename from events/__init__.py rename to apps/emencia/django/newsletter/views/__init__.py diff --git a/emencia/django/newsletter/views/admin_views.py b/apps/emencia/django/newsletter/views/admin_views.py similarity index 97% rename from emencia/django/newsletter/views/admin_views.py rename to apps/emencia/django/newsletter/views/admin_views.py index ace097f3..8100aa88 100644 --- a/emencia/django/newsletter/views/admin_views.py +++ b/apps/emencia/django/newsletter/views/admin_views.py @@ -1,5 +1,4 @@ # -*- coding: utf-8 -*- -import os import datetime from django.conf import settings @@ -20,9 +19,9 @@ from django.views.generic import ( FormView, ListView, RedirectView, - TemplateView, UpdateView ) + from emencia.django.newsletter.admin_forms import ( AttachmentForm, ContactSettingsForm, @@ -30,7 +29,7 @@ from emencia.django.newsletter.admin_forms import ( NewsletterForm, NewsletterDailyForm, NewsletterRecommendForm, - + NewsletterFilterForm ) from emencia.django.newsletter.forms import ( MailingStatusFilter, @@ -44,17 +43,18 @@ from emencia.django.newsletter.models import ( ContactSettings, MailingList, Newsletter, - NewsletterRecommend, - + NewsletterRecommend ) -from functions.admin_views import paginate_results +from functions.admin_views import paginate_results, AdminListView from functions.custom_views import ContextMixin, CreateUpdateView from functions.http import JsonResponse from HTMLParser import HTMLParseError from theme.models import Theme -from ..forms import ContactFilterForm, ContactImportForm, AutomaticEmailTestForm +from ..forms import ( + ContactFilterForm, ContactImportForm, AutomaticEmailTestForm +) from ..models import PopupCount from ..utils.excel import ExcelResponse from ..utils.tokens import tokenize @@ -137,7 +137,6 @@ class ContactQueryDelete(RedirectView): url = reverse_lazy('newsletters_contact_list') filter_form = ContactFilterForm - def get(self, request, *args, **kwargs): form = self.filter_form(request.GET) if form.is_valid(): @@ -349,12 +348,12 @@ class NewsletterUpdate(DailyMailSuccesUrlMixin, UpdateView): return HttpResponseRedirect(self.get_success_url()) -class NewsletterListView(ListView): +class NewsletterListView(AdminListView): paginate_by = settings.ADMIN_PAGINATION model = Newsletter template_name = 'c_admin/newsletters/newsletter_list.html' template_name_daily = 'c_admin/newsletters/newsletter_list_daily.html' - success_url = '/admin/newsletters/newsletters/all/' + form_class = NewsletterFilterForm def get_template_names(self): if self.kwargs.get('dailymail', False): @@ -362,8 +361,9 @@ class NewsletterListView(ListView): return super(NewsletterListView, self).get_template_names() def get_queryset(self): - qs = super(NewsletterListView, self).get_queryset() - return qs.filter(dailymail=self.kwargs.get('dailymail', False)) + return self.model.objects.filter( + dailymail=self.kwargs.get('dailymail', False) + ) def send_test_newsletter(request, pk): diff --git a/emencia/django/newsletter/views/expo_views.py b/apps/emencia/django/newsletter/views/expo_views.py similarity index 64% rename from emencia/django/newsletter/views/expo_views.py rename to apps/emencia/django/newsletter/views/expo_views.py index 7d06434b..38b97bfc 100644 --- a/emencia/django/newsletter/views/expo_views.py +++ b/apps/emencia/django/newsletter/views/expo_views.py @@ -1,18 +1,26 @@ # -*- coding: utf-8 -*- import json + +from django.core.urlresolvers import reverse_lazy from django.views.generic import TemplateView, FormView from django.http import HttpResponseRedirect, HttpResponse from django.shortcuts import redirect -from emencia.django.newsletter.forms import ContactForm, ContactSettingsForm -from emencia.django.newsletter.models import Contact, ContactSettings, MailingList -from emencia.django.newsletter.forms import SubscribeAssideForm + +from emencia.django.newsletter.forms import ContactForm +from emencia.django.newsletter.models import Contact, MailingList +from emencia.django.newsletter.forms import ( + SubscribeAssideForm, MailingSettingsForm +) from accounts.models import User +from accounts.views import GetUserMixin +from functions.custom_views import ContextMixin +from city.models import City -class SubscribeView(FormView): +class SubscribeView(GetUserMixin, ContextMixin, FormView): form_class = ContactForm - template_name = 'client/newsletters/subcribe.html' - success_url = '/newsletters/activation/send/' + template_name = 'client/newsletters/mailing_settings.html' + success_url = reverse_lazy('subscription_activation_send') def get_form(self, form_class): if self.request.POST: @@ -20,7 +28,8 @@ class SubscribeView(FormView): if email: try: contact = Contact.objects.get(email=email) - return form_class(instance=contact, **self.get_form_kwargs()) + return form_class(instance=contact, + **self.get_form_kwargs()) except Contact.DoesNotExist: pass @@ -30,43 +39,9 @@ class SubscribeView(FormView): def form_valid(self, form): contact = form.save() - try: - setting = contact.contactsettings - except ContactSettings.DoesNotExist: - setting = None - if setting: - form2 = ContactSettingsForm(self.request.POST, instance=setting) - else: - form2 = ContactSettingsForm(self.request.POST) - - if form2.is_valid(): - contact_setting = form2.save(commit=False) - - if not contact_setting.contact_id: - contact_setting.contact = contact - contact_setting.save() - form2.save_m2m() - """ - # get country from request - country_code = self.request.META.get('HTTP_GEOIP_COUNTRY_CODE') - try: - country = Country.objects.get(country_code=country_code) - except Country.DoesNotExist: - pass - else: - contact_setting.contact_country = country - contact_setting.save() - """ - contact.send_activation() return HttpResponseRedirect(self.success_url) - def get_context_data(self, **kwargs): - context = super(SubscribeView, self).get_context_data(**kwargs) - context['form2'] = ContactSettingsForm(initial=self.get_initial()) - - return context - def get_initial(self): data = super(SubscribeView, self).get_initial() if self.request.user.is_authenticated(): @@ -78,11 +53,43 @@ class SubscribeView(FormView): data['email'] = self.request.GET['email'] if self.request.GET.get('first_name'): data['first_name'] = self.request.GET['first_name'] - if self.request.GET.getlist('theme'): - theme = self.request.GET.getlist('theme') - data['theme'] = theme return data + def get_context_data(self, **kwargs): + ctx = super(SubscribeView, self).get_context_data(**kwargs) + ctx['object'] = self.get_mailsettings_object() + ctx['mailsettings_form'] = MailingSettingsForm( + instance=self.get_user() + ) + return ctx + + def get_mailsettings_object(self): + """ + передаём контекст в шаблон по городам, странам, а так же выбранным + :return: instance of mail settings + """ + self.extra_ctx.update({ + 'r_cities': City.used.russia(), + }) + instance = self.get_user() + if instance is not None: + self.extra_ctx.update({ + 'checked_f_countries': list( + instance.f_countries.values_list('pk', flat=True)), + 'checked_r_cities': list( + instance.r_cities.values_list('pk', flat=True)), + 'checked_tg': list(instance.tags.values_list('pk', flat=True)), + 'checked_th': list( + instance.themes.values_list('pk', flat=True)), + 'contact': instance, + }) + if self.request.GET.get('unsibscribe') and instance.subscriber: + instance.unsubscribe() + self.extra_ctx.update({'unsubscribe_success': True}) + elif not instance.subscriber: + self.extra_ctx.update({'unsubscribed': True}) + return instance + class ActivationView(TemplateView): http_method_names = ['get'] @@ -149,14 +156,6 @@ def popup_validate(request): form = ContactForm(request.GET) if form.is_valid(): contact = form.save() - form2 = ContactSettingsForm(request.GET) - if form2.is_valid(): - contact_setting = form2.save(commit=False) - contact_setting.contact = contact - contact_setting.exponent_practicum, contact_setting.organiser_practicum = True, True - contact_setting.save() - form2.save_m2m() - contact.send_activation() response['success'] = True response['redirect'] = True @@ -173,16 +172,8 @@ def landing_partisipation_validate(request): form = ContactForm(request.POST) if form.is_valid(): contact = form.save() - form2 = ContactSettingsForm(request.POST) - if form2.is_valid(): - contact_setting = form2.save(commit=False) - contact_setting.contact = contact - contact_setting.exponent_practicum = True - contact_setting.save() - form2.save_m2m() - - contact.send_activation() - response['success'] = True + contact.send_activation() + response['success'] = True else: response['errors'] = form.errors return HttpResponse(json.dumps(response), content_type='application/json') diff --git a/emencia/django/newsletter/views/mailing_list.py b/apps/emencia/django/newsletter/views/mailing_list.py similarity index 100% rename from emencia/django/newsletter/views/mailing_list.py rename to apps/emencia/django/newsletter/views/mailing_list.py diff --git a/emencia/django/newsletter/views/newsletter.py b/apps/emencia/django/newsletter/views/newsletter.py similarity index 100% rename from emencia/django/newsletter/views/newsletter.py rename to apps/emencia/django/newsletter/views/newsletter.py diff --git a/emencia/django/newsletter/views/statistics.py b/apps/emencia/django/newsletter/views/statistics.py similarity index 100% rename from emencia/django/newsletter/views/statistics.py rename to apps/emencia/django/newsletter/views/statistics.py diff --git a/emencia/django/newsletter/views/tracking.py b/apps/emencia/django/newsletter/views/tracking.py similarity index 100% rename from emencia/django/newsletter/views/tracking.py rename to apps/emencia/django/newsletter/views/tracking.py diff --git a/events/management/__init__.py b/apps/events/__init__.py similarity index 100% rename from events/management/__init__.py rename to apps/events/__init__.py diff --git a/events/admin.py b/apps/events/admin.py similarity index 100% rename from events/admin.py rename to apps/events/admin.py diff --git a/events/admin_urls.py b/apps/events/admin_urls.py similarity index 100% rename from events/admin_urls.py rename to apps/events/admin_urls.py diff --git a/events/common.py b/apps/events/common.py similarity index 100% rename from events/common.py rename to apps/events/common.py diff --git a/events/forms.py b/apps/events/forms.py similarity index 98% rename from events/forms.py rename to apps/events/forms.py index bf75b7d3..d4e0aad0 100644 --- a/events/forms.py +++ b/apps/events/forms.py @@ -244,8 +244,7 @@ class FilterForm(forms.Form): price = FilterTypedMultipleChoiceField( label=_(u'Стоимость'), coerce=int, choices=PRICE, - required=False, widget=FilterCheckboxSelectMultiple(), - # help_text=_(u'За 1 м2 необорудованной площади') + required=False, widget=FilterCheckboxSelectMultiple() ) price_eur = FilterTypedMultipleChoiceField( label=_(u'Стоимость'), coerce=int, @@ -281,6 +280,12 @@ class FilterForm(forms.Form): self.fill_default_choices_from_cache() self.fields['month'].choices = self.month_choices() + if self.data.get('tag') or self.data.get('theme'): + self.fields.keyOrder.remove('country') + self.fields.keyOrder.insert(1, 'country') + self.fields.keyOrder.remove('city') + self.fields.keyOrder.insert(2, 'city') + @property def is_exposition(self): types = self.cleaned_data.get('event_type', []) @@ -312,7 +317,7 @@ class FilterForm(forms.Form): month = datetime.today().month if cls._month != month or cls._month_choices is None: year = datetime.today().year - depth = 7 # на сколько сколько месяцев вперед делать выборку (включая текущий) + depth = 7 # на сколько сколько месяцев вперед делать выборку (включая текущий) monthes = dict([(v.get('value'), {'abr': k, 'name': v.get('name')}) for k, v in settings.MONTHES.iteritems()]) choices = [] for month_num in xrange(month, month + depth): @@ -493,9 +498,14 @@ class FilterForm(forms.Form): rating_params = self.make_rating_sqs_params() if rating_params is not None: qs = qs.filter(rating_params) - query = self.cleaned_data.get('query') - if query: - qs = qs.autocomplete(content_auto=query) + + # FIXME: комментируем данный кусок, так как на странице поиска + # фильтры не верно считают. Пока только комментируем для того, + # чтобы убедиться или больше ничего не сломали + # query = self.cleaned_data.get('query') + # if query: + # qs = qs.autocomplete(content_auto=query) + where_query = self.cleaned_data.get('where_query') if where_query: qs = qs.filter(where__contains=where_query) diff --git a/events/management/commands/__init__.py b/apps/events/management/__init__.py similarity index 100% rename from events/management/commands/__init__.py rename to apps/events/management/__init__.py diff --git a/events/migrations/__init__.py b/apps/events/management/commands/__init__.py similarity index 100% rename from events/migrations/__init__.py rename to apps/events/management/commands/__init__.py diff --git a/events/management/commands/get_courses.py b/apps/events/management/commands/get_courses.py similarity index 100% rename from events/management/commands/get_courses.py rename to apps/events/management/commands/get_courses.py diff --git a/events/management/commands/update_events_filter_fields.py b/apps/events/management/commands/update_events_filter_fields.py similarity index 100% rename from events/management/commands/update_events_filter_fields.py rename to apps/events/management/commands/update_events_filter_fields.py diff --git a/events/migrations/0001_initial.py b/apps/events/migrations/0001_initial.py similarity index 100% rename from events/migrations/0001_initial.py rename to apps/events/migrations/0001_initial.py diff --git a/expobanner/__init__.py b/apps/events/migrations/__init__.py similarity index 100% rename from expobanner/__init__.py rename to apps/events/migrations/__init__.py diff --git a/events/mixin.py b/apps/events/mixin.py similarity index 100% rename from events/mixin.py rename to apps/events/mixin.py diff --git a/events/models.py b/apps/events/models.py similarity index 92% rename from events/models.py rename to apps/events/models.py index 040760e1..faef6e64 100644 --- a/events/models.py +++ b/apps/events/models.py @@ -10,4 +10,4 @@ class TargetAudience(models.Model): title = models.CharField(_(u'Название'), max_length=200) def __unicode__(self): - return unicode(self.title) \ No newline at end of file + return unicode(self.title) diff --git a/directories/tests.py b/apps/events/tests.py similarity index 100% rename from directories/tests.py rename to apps/events/tests.py diff --git a/events/translation.py b/apps/events/translation.py similarity index 100% rename from events/translation.py rename to apps/events/translation.py diff --git a/events/urls.py b/apps/events/urls.py similarity index 80% rename from events/urls.py rename to apps/events/urls.py index 48d0f620..f9f1b19d 100644 --- a/events/urls.py +++ b/apps/events/urls.py @@ -13,5 +13,9 @@ events_urlpatterns = patterns('', urlpatterns = ( url(r'^events/', include(events_urlpatterns)), - url(r'^(?P(exposition|conference))-visit/(?P\d+)/$', event_visit), -) \ No newline at end of file + url( + r'^(?P(exposition|conference))-visit/(?P\d+)/$', + event_visit, + name='event_visit' + ), +) diff --git a/events/views.py b/apps/events/views.py similarity index 90% rename from events/views.py rename to apps/events/views.py index a160ac5b..92a1ec49 100644 --- a/events/views.py +++ b/apps/events/views.py @@ -1,18 +1,13 @@ # -*- coding: utf-8 -*- from django.core.exceptions import ObjectDoesNotExist -from django.core.urlresolvers import reverse, reverse_lazy +from django.core.urlresolvers import reverse_lazy from django.db.models import Q -from django.http import Http404 from django.http import HttpResponseForbidden from django.http import HttpResponseNotFound -from django.http import HttpResponsePermanentRedirect from django.views.generic.edit import FormMixin, FormView from django.conf import settings from django.template.loader import render_to_string from django.template import RequestContext -from django.utils.translation import ugettext_lazy as _ - -from haystack.query import SearchQuerySet from emencia.django.newsletter.forms import ContactForm from emencia.django.newsletter.models import Contact @@ -31,9 +26,9 @@ class FilterListView_(ContextMixin, FormMixin, ListView): initial_ctx = {'filtering': True} form_class = FilterForm paginate_by = settings.CLIENT_PAGINATION - template_name = 'events/filter_listview.html' - _ajax_results_template_name = 'events/filter_listview_ajax.html' - _ajax_form_template_name = 'includes/events/filter_form.html' + template_name = 'client/events/filter_listview.html' + _ajax_results_template_name = 'client/events/filter_listview_ajax.html' + _ajax_form_template_name = 'client/includes/events/filter_form.html' def get_form_kwargs(self): kwargs = super(FilterListView_, self).get_form_kwargs() @@ -43,13 +38,10 @@ class FilterListView_(ContextMixin, FormMixin, ListView): def get_queryset(self): if self.form.is_valid(): qs = self.form.filter() - # import pdb; pdb.set_trace() else: qs = self.form.default_filter() if self.kwargs.get('with_form', True): self.form.recalculate_choices() - # print(self.form.data, self.form.cleaned_data, self.form.get_date_begin_periods()) - # import pdb; pdb.set_trace() return qs def get(self, request, *args, **kwargs): @@ -86,6 +78,7 @@ class FilterListView_(ContextMixin, FormMixin, ListView): return context + class FilterListView(ReverseOrderMixin, FilterListView_): pass @@ -191,4 +184,4 @@ def event_visit(request, event_type, id): else: args['not_authorized'] = True args['success'] = True - return JsonResponse(args) \ No newline at end of file + return JsonResponse(args) diff --git a/expobanner/migrations/__init__.py b/apps/expobanner/__init__.py similarity index 100% rename from expobanner/migrations/__init__.py rename to apps/expobanner/__init__.py diff --git a/expobanner/admin.py b/apps/expobanner/admin.py similarity index 99% rename from expobanner/admin.py rename to apps/expobanner/admin.py index 82f63dec..33266cac 100644 --- a/expobanner/admin.py +++ b/apps/expobanner/admin.py @@ -57,6 +57,7 @@ admin.site.register(BannerGroup) class BannersControl(TemplateView): template_name = 'c_admin/expobanner/banners_control.html' + # CREATE VIEWS class AbstractCreate(CreateView): template_name = 'c_admin/expobanner/default_form.html' @@ -124,14 +125,9 @@ class BannerList(AbstractList): class LinkList(AbstractList): - model = Banner verbose = _(u'Список ссылок') template_name = 'c_admin/expobanner/link_list.html' - - def get_queryset(self): - qs = super(LinkList, self).get_queryset() - qs = qs.filter(link=True).order_by('-created_at') - return qs + queryset = Banner.objects.filter(link=True).order_by('-created_at') class CustomerList(AbstractList): @@ -344,6 +340,8 @@ class PaidUpdate(UpdateView): if obj.participation: initial['participation'] = obj.participation.url initial['official'] = obj.official.url + if obj.participants_list: + initial['participants_list'] = obj.participants_list.url return initial diff --git a/expobanner/admin_urls.py b/apps/expobanner/admin_urls.py similarity index 100% rename from expobanner/admin_urls.py rename to apps/expobanner/admin_urls.py diff --git a/expobanner/forms.py b/apps/expobanner/forms.py similarity index 93% rename from expobanner/forms.py rename to apps/expobanner/forms.py index b457b5b3..2e5e4e82 100644 --- a/expobanner/forms.py +++ b/apps/expobanner/forms.py @@ -97,6 +97,7 @@ class ClientStatForm(forms.Form): class BasePaidCreateForm(forms.ModelForm): tickets = forms.URLField(label=_(u'Линк на билеты')) + class Meta: model = Paid fields = ['logo', 'organiser', 'public'] @@ -109,17 +110,28 @@ class BasePaidCreateForm(forms.ModelForm): if commit: # obj = self.cleaned_data['exposition'] obj = self.get_target_obj() + tickets = self.cleaned_data['tickets'] tickets_link = Banner.objects.create_for_paid(obj, tickets, 'tickets') + participation = self.cleaned_data.get('participation', None) if participation: participation_link = Banner.objects.create_for_paid(obj, participation, 'participation') paid.participation = participation_link + official = self.cleaned_data['official'] official_link = Banner.objects.create_for_paid(obj, official, 'official') + catalog = obj.get_permanent_url() catalog_link = Banner.objects.create_for_paid(obj, catalog, 'catalog') + participants_list = self.cleaned_data.get('participants_list') + if participants_list: + participants_list_link = Banner.objects.create_for_paid( + obj, participants_list, 'participants_list' + ) + paid.participants_list = participants_list_link + paid.tickets = tickets_link paid.official = official_link paid.catalog = catalog_link @@ -136,6 +148,7 @@ class PaidCreateForm(BasePaidCreateForm): verbose = _(u'Создать проплаченую выставку') participation = forms.URLField(label=_(u'Линк на участие')) official = forms.URLField(label=_(u'Линк на официальный сайт')) + participants_list = forms.URLField(label=_(u'Линк на список участников')) exposition = forms.CharField(label=_(u'Выставка'), widget=forms.HiddenInput()) def get_target_obj(self): @@ -230,6 +243,7 @@ class MainConfCreateForm(forms.ModelForm): class BasePaidUpdateForm(forms.ModelForm): tickets = forms.URLField(label=_(u'Линк на билеты')) + class Meta: model = Paid fields = ['logo', 'organiser', 'public'] @@ -256,6 +270,22 @@ class BasePaidUpdateForm(forms.ModelForm): b_official.url = official b_official.save() + participants_list = self.cleaned_data.get('participants_list') + if participants_list: + b_participants_list = paid.participants_list + + if b_participants_list is None: + participants_list_link = Banner.objects.create_for_paid( + self.instance.get_event(), + participants_list, + 'participants_list' + ) + paid.participants_list = participants_list_link + + elif participants_list != b_participants_list.url: + b_participants_list.url = participants_list + b_participants_list.save() + paid.save() return paid @@ -263,10 +293,13 @@ class BasePaidUpdateForm(forms.ModelForm): class PaidUpdateForm(BasePaidUpdateForm): participation = forms.URLField(label=_(u'Линк на участие')) official = forms.URLField(label=_(u'Линк на официальный сайт')) + participants_list = forms.URLField(label=_(u'Линк на список участников')) + class Meta: model = Paid fields = ['logo', 'organiser', 'public'] + class PaidConfUpdateForm(BasePaidUpdateForm): official = forms.URLField(label=_(u'Линк на официальный сайт')) class Meta: diff --git a/expobanner/management/__init__.py b/apps/expobanner/management/__init__.py similarity index 100% rename from expobanner/management/__init__.py rename to apps/expobanner/management/__init__.py diff --git a/expobanner/management/commands/__init__.py b/apps/expobanner/management/commands/__init__.py similarity index 100% rename from expobanner/management/commands/__init__.py rename to apps/expobanner/management/commands/__init__.py diff --git a/expobanner/management/commands/banner_log_check_previous_day.py b/apps/expobanner/management/commands/banner_log_check_previous_day.py similarity index 100% rename from expobanner/management/commands/banner_log_check_previous_day.py rename to apps/expobanner/management/commands/banner_log_check_previous_day.py diff --git a/expobanner/management/commands/banner_log_recalc.py b/apps/expobanner/management/commands/banner_log_recalc.py similarity index 100% rename from expobanner/management/commands/banner_log_recalc.py rename to apps/expobanner/management/commands/banner_log_recalc.py diff --git a/expobanner/management/commands/banner_log_update.py b/apps/expobanner/management/commands/banner_log_update.py similarity index 100% rename from expobanner/management/commands/banner_log_update.py rename to apps/expobanner/management/commands/banner_log_update.py diff --git a/expobanner/management/commands/banner_log_update_old.py b/apps/expobanner/management/commands/banner_log_update_old.py similarity index 100% rename from expobanner/management/commands/banner_log_update_old.py rename to apps/expobanner/management/commands/banner_log_update_old.py diff --git a/expobanner/managers.py b/apps/expobanner/managers.py similarity index 98% rename from expobanner/managers.py rename to apps/expobanner/managers.py index ab33c1f4..0f575e7e 100644 --- a/expobanner/managers.py +++ b/apps/expobanner/managers.py @@ -65,7 +65,7 @@ class BannerGroupCached(models.Manager): result = list(group.banners.prefetch_related('urls', 'theme', 'country') .filter(public=True, fr__lte=today) .filter(Q(to__gte=today) | Q(to__isnull=True))) - except self.DoesNotExist: + except self.model.DoesNotExist: result = [] cache.set(key, result, 70) return result diff --git a/expobanner/migrations/0001_initial.py b/apps/expobanner/migrations/0001_initial.py similarity index 92% rename from expobanner/migrations/0001_initial.py rename to apps/expobanner/migrations/0001_initial.py index 63c83a5f..382bdeb3 100644 --- a/expobanner/migrations/0001_initial.py +++ b/apps/expobanner/migrations/0001_initial.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -import datetime +from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models @@ -43,19 +43,30 @@ class Migration(SchemaMigration): )) db.send_create_signal(u'expobanner', ['BannerGroup']) + # Adding model 'Customer' + db.create_table(u'expobanner_customer', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('created_at', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + ('updated_at', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), + )) + db.send_create_signal(u'expobanner', ['Customer']) + # Adding model 'Banner' db.create_table(u'expobanner_banner', ( (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('customer', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.Customer'], null=True, blank=True)), ('title', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), ('alt', self.gf('django.db.models.fields.CharField')(max_length=255)), ('text', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), ('img', self.gf('django.db.models.fields.files.FileField')(max_length=100, null=True, blank=True)), ('url', self.gf('django.db.models.fields.CharField')(max_length=1024)), - ('fr', self.gf('django.db.models.fields.DateField')(default=datetime.datetime(2016, 4, 29, 0, 0))), + ('fr', self.gf('django.db.models.fields.DateField')(default=datetime.datetime(2017, 1, 19, 0, 0))), ('to', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), ('sort', self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=500)), ('group', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='banners', null=True, to=orm['expobanner.BannerGroup'])), - ('often', self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=1)), + ('often', self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=1, null=True, blank=True)), ('html', self.gf('django.db.models.fields.BooleanField')(default=False)), ('flash', self.gf('django.db.models.fields.BooleanField')(default=False)), ('popup', self.gf('django.db.models.fields.BooleanField')(default=False)), @@ -105,7 +116,7 @@ class Migration(SchemaMigration): ('datetime', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('ip', self.gf('django.db.models.fields.IPAddressField')(max_length=15, null=True, blank=True)), ('user_agent', self.gf('django.db.models.fields.CharField')(max_length=1024, null=True, blank=True)), - ('page', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)), + ('page', self.gf('django.db.models.fields.URLField')(max_length=255, null=True, blank=True)), ('key', self.gf('django.db.models.fields.CharField')(max_length=32, null=True, blank=True)), ('type', self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=0, max_length=1)), )) @@ -126,10 +137,11 @@ class Migration(SchemaMigration): ('banner', self.gf('django.db.models.fields.related.ForeignKey')(related_name='banner_stat', blank=True, to=orm['expobanner.Banner'])), ('group', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='group_stat', null=True, to=orm['expobanner.BannerGroup'])), ('date', self.gf('django.db.models.fields.DateField')()), - ('view', self.gf('django.db.models.fields.PositiveIntegerField')()), - ('click', self.gf('django.db.models.fields.PositiveIntegerField')()), - ('unique_click', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), - ('unique_view', self.gf('django.db.models.fields.PositiveIntegerField')()), + ('view', self.gf('django.db.models.fields.PositiveIntegerField')(default=0, null=True)), + ('click', self.gf('django.db.models.fields.PositiveIntegerField')(default=0, null=True)), + ('unique_click', self.gf('django.db.models.fields.PositiveIntegerField')(default=0, null=True, blank=True)), + ('unique_view', self.gf('django.db.models.fields.PositiveIntegerField')(default=0, null=True)), + ('updated_at', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, null=True, blank=True)), )) db.send_create_signal(u'expobanner', ['LogStat']) @@ -145,8 +157,9 @@ class Migration(SchemaMigration): # Adding model 'Paid' db.create_table(u'expobanner_paid', ( (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('kind', self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=1, db_index=True)), ('tickets', self.gf('django.db.models.fields.related.ForeignKey')(related_name='paid_tickets', to=orm['expobanner.Banner'])), - ('participation', self.gf('django.db.models.fields.related.ForeignKey')(related_name='paid_participation', to=orm['expobanner.Banner'])), + ('participation', self.gf('django.db.models.fields.related.ForeignKey')(related_name='paid_participation', null=True, to=orm['expobanner.Banner'])), ('official', self.gf('django.db.models.fields.related.ForeignKey')(related_name='paid_official', to=orm['expobanner.Banner'])), ('catalog', self.gf('django.db.models.fields.related.ForeignKey')(related_name='paid_catalog', to=orm['expobanner.Banner'])), ('logo', self.gf('django.db.models.fields.files.ImageField')(max_length=100, blank=True)), @@ -179,9 +192,12 @@ class Migration(SchemaMigration): ('link', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.Banner'])), ('catalog', self.gf('django.db.models.fields.CharField')(max_length=16)), ('position', self.gf('django.db.models.fields.PositiveIntegerField')(default=2, null=True, blank=True)), - ('fr', self.gf('django.db.models.fields.DateField')(default=datetime.datetime(2016, 4, 29, 0, 0))), + ('months', self.gf('functions.custom_fields.MonthMultiSelectField')(default=None, max_length=255, null=True, blank=True)), + ('years', self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=None, null=True, blank=True)), + ('fr', self.gf('django.db.models.fields.DateField')(default=datetime.datetime(2017, 1, 19, 0, 0))), ('to', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), ('stat_pswd', self.gf('django.db.models.fields.CharField')(max_length=16)), + ('base_catalog', self.gf('django.db.models.fields.BooleanField')(default=False)), )) db.send_create_signal(u'expobanner', ['Top']) @@ -212,6 +228,15 @@ class Migration(SchemaMigration): )) db.create_unique(m2m_table_name, ['top_id', 'country_id']) + # Adding M2M table for field cities on 'Top' + m2m_table_name = db.shorten_name(u'expobanner_top_cities') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('top', models.ForeignKey(orm[u'expobanner.top'], null=False)), + ('city', models.ForeignKey(orm[u'city.city'], null=False)) + )) + db.create_unique(m2m_table_name, ['top_id', 'city_id']) + # Adding M2M table for field excluded_cities on 'Top' m2m_table_name = db.shorten_name(u'expobanner_top_excluded_cities') db.create_table(m2m_table_name, ( @@ -257,6 +282,9 @@ class Migration(SchemaMigration): # Deleting model 'BannerGroup' db.delete_table(u'expobanner_bannergroup') + # Deleting model 'Customer' + db.delete_table(u'expobanner_customer') + # Deleting model 'Banner' db.delete_table(u'expobanner_banner') @@ -299,6 +327,9 @@ class Migration(SchemaMigration): # Removing M2M table for field country on 'Top' db.delete_table(db.shorten_name(u'expobanner_top_country')) + # Removing M2M table for field cities on 'Top' + db.delete_table(db.shorten_name(u'expobanner_top_cities')) + # Removing M2M table for field excluded_cities on 'Top' db.delete_table(db.shorten_name(u'expobanner_top_excluded_cities')) @@ -331,6 +362,7 @@ class Migration(SchemaMigration): 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), + 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), @@ -448,14 +480,15 @@ class Migration(SchemaMigration): 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 4, 29, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), + 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), @@ -481,6 +514,14 @@ class Migration(SchemaMigration): 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) }, + u'expobanner.customer': { + 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, + 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) + }, u'expobanner.log': { 'Meta': {'object_name': 'Log'}, 'banner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'banner_logs'", 'to': u"orm['expobanner.Banner']"}), @@ -489,7 +530,7 @@ class Migration(SchemaMigration): u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'ip': ('django.db.models.fields.IPAddressField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), 'key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), + 'page': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), 'type': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0', 'max_length': '1'}), 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'url_logs'", 'blank': 'True', 'to': u"orm['expobanner.URL']"}), 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['accounts.User']"}), @@ -498,14 +539,15 @@ class Migration(SchemaMigration): u'expobanner.logstat': { 'Meta': {'ordering': "['-date']", 'object_name': 'LogStat'}, 'banner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'banner_stat'", 'blank': 'True', 'to': u"orm['expobanner.Banner']"}), - 'click': ('django.db.models.fields.PositiveIntegerField', [], {}), + 'click': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'null': 'True'}), 'date': ('django.db.models.fields.DateField', [], {}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'group_stat'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'unique_click': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'unique_view': ('django.db.models.fields.PositiveIntegerField', [], {}), + 'unique_click': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), + 'unique_view': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'null': 'True'}), + 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'null': 'True', 'blank': 'True'}), 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_bloks'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}), - 'view': ('django.db.models.fields.PositiveIntegerField', [], {}) + 'view': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'null': 'True'}) }, u'expobanner.mainpage': { 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, @@ -522,11 +564,12 @@ class Migration(SchemaMigration): 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'to': u"orm['expobanner.Banner']"}), + 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) @@ -546,17 +589,21 @@ class Migration(SchemaMigration): }, u'expobanner.top': { 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, + 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), + 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 4, 29, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), + 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}) + 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) }, u'expobanner.topstat': { 'Meta': {'object_name': 'TopStat'}, @@ -692,6 +739,7 @@ class Migration(SchemaMigration): 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), @@ -733,6 +781,7 @@ class Migration(SchemaMigration): 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), @@ -761,7 +810,8 @@ class Migration(SchemaMigration): 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), + 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), + 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) diff --git a/expobanner/migrations/0008_auto__add_field_top_base_catalog.py b/apps/expobanner/migrations/0002_auto__add_field_paid_participants_list.py similarity index 97% rename from expobanner/migrations/0008_auto__add_field_top_base_catalog.py rename to apps/expobanner/migrations/0002_auto__add_field_paid_participants_list.py index 686bbd80..dc2648ea 100644 --- a/expobanner/migrations/0008_auto__add_field_top_base_catalog.py +++ b/apps/expobanner/migrations/0002_auto__add_field_paid_participants_list.py @@ -8,15 +8,15 @@ from django.db import models class Migration(SchemaMigration): def forwards(self, orm): - # Adding field 'Top.base_catalog' - db.add_column(u'expobanner_top', 'base_catalog', - self.gf('django.db.models.fields.BooleanField')(default=False), + # Adding field 'Paid.participants_list' + db.add_column(u'expobanner_paid', 'participants_list', + self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='paid_participants_list', null=True, to=orm['expobanner.Banner']), keep_default=False) def backwards(self, orm): - # Deleting field 'Top.base_catalog' - db.delete_column(u'expobanner_top', 'base_catalog') + # Deleting field 'Paid.participants_list' + db.delete_column(u'expobanner_paid', 'participants_list_id') models = { @@ -41,6 +41,7 @@ class Migration(SchemaMigration): 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), + 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), @@ -160,13 +161,13 @@ class Migration(SchemaMigration): 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 16, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 20, 0, 0)'}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), + 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), @@ -208,7 +209,7 @@ class Migration(SchemaMigration): u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'ip': ('django.db.models.fields.IPAddressField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), 'key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), + 'page': ('django.db.models.fields.URLField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), 'type': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0', 'max_length': '1'}), 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'url_logs'", 'blank': 'True', 'to': u"orm['expobanner.URL']"}), 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['accounts.User']"}), @@ -247,6 +248,7 @@ class Migration(SchemaMigration): 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), + 'participants_list': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'paid_participants_list'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), @@ -273,7 +275,7 @@ class Migration(SchemaMigration): 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 16, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 20, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), @@ -417,6 +419,7 @@ class Migration(SchemaMigration): 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), @@ -458,6 +461,7 @@ class Migration(SchemaMigration): 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), diff --git a/expobanner/templatetags/__init__.py b/apps/expobanner/migrations/__init__.py similarity index 100% rename from expobanner/templatetags/__init__.py rename to apps/expobanner/migrations/__init__.py diff --git a/expobanner/mixins.py b/apps/expobanner/mixins.py similarity index 100% rename from expobanner/mixins.py rename to apps/expobanner/mixins.py diff --git a/expobanner/models.py b/apps/expobanner/models.py similarity index 98% rename from expobanner/models.py rename to apps/expobanner/models.py index 5ad93a31..a2a3b9e9 100644 --- a/expobanner/models.py +++ b/apps/expobanner/models.py @@ -218,6 +218,7 @@ class Log(models.Model): datetime = models.DateTimeField(verbose_name=_('Clicked At'), auto_now_add=True) ip = models.IPAddressField(verbose_name=_('IP'), null=True, blank=True) user_agent = models.CharField(verbose_name=_('User Agent'), max_length=1024, null=True, blank=True) + # FIXME: в бд реально 250 символов page = models.URLField(verbose_name=_('Page'), null=True, blank=True, max_length=255) key = models.CharField(verbose_name=_('User Agent'), max_length=32, null=True, blank=True) TYPE_CHOICES = ( @@ -266,6 +267,13 @@ class Paid(models.Model, StatMixin): participation = models.ForeignKey(Banner, related_name='paid_participation', null=True) official = models.ForeignKey(Banner, related_name='paid_official') catalog = models.ForeignKey(Banner, related_name='paid_catalog') + participants_list = models.ForeignKey( + Banner, + verbose_name=_(u'Линк на список участников'), + related_name='paid_participants_list', + blank=True, + null=True + ) logo = models.ImageField(upload_to='expo-b/paid', blank=True) organiser = models.CharField(max_length=100, blank=True) public = models.BooleanField(default=True, verbose_name=_(u'Активная')) diff --git a/expobanner/stat_views.py b/apps/expobanner/stat_views.py similarity index 100% rename from expobanner/stat_views.py rename to apps/expobanner/stat_views.py diff --git a/expobanner/static/banners/css/slider.css b/apps/expobanner/static/banners/css/slider.css similarity index 100% rename from expobanner/static/banners/css/slider.css rename to apps/expobanner/static/banners/css/slider.css diff --git a/expobanner/static/banners/js/log.js b/apps/expobanner/static/banners/js/log.js similarity index 100% rename from expobanner/static/banners/js/log.js rename to apps/expobanner/static/banners/js/log.js diff --git a/expobanner/static/banners/js/slider.js b/apps/expobanner/static/banners/js/slider.js similarity index 100% rename from expobanner/static/banners/js/slider.js rename to apps/expobanner/static/banners/js/slider.js diff --git a/expobanner/templates/banner.html b/apps/expobanner/templates/banner.html similarity index 100% rename from expobanner/templates/banner.html rename to apps/expobanner/templates/banner.html diff --git a/expobanner/templates/grid.html b/apps/expobanner/templates/grid.html similarity index 100% rename from expobanner/templates/grid.html rename to apps/expobanner/templates/grid.html diff --git a/expobanner/templates/group.html b/apps/expobanner/templates/group.html similarity index 100% rename from expobanner/templates/group.html rename to apps/expobanner/templates/group.html diff --git a/expobanner/templates/slider.html b/apps/expobanner/templates/slider.html similarity index 100% rename from expobanner/templates/slider.html rename to apps/expobanner/templates/slider.html diff --git a/exposition/__init__.py b/apps/expobanner/templatetags/__init__.py similarity index 100% rename from exposition/__init__.py rename to apps/expobanner/templatetags/__init__.py diff --git a/expobanner/templatetags/banner.py b/apps/expobanner/templatetags/banner.py similarity index 100% rename from expobanner/templatetags/banner.py rename to apps/expobanner/templatetags/banner.py diff --git a/events/tests.py b/apps/expobanner/tests.py similarity index 100% rename from events/tests.py rename to apps/expobanner/tests.py diff --git a/expobanner/urls.py b/apps/expobanner/urls.py similarity index 100% rename from expobanner/urls.py rename to apps/expobanner/urls.py diff --git a/expobanner/utils.py b/apps/expobanner/utils.py similarity index 100% rename from expobanner/utils.py rename to apps/expobanner/utils.py diff --git a/expobanner/views.py b/apps/expobanner/views.py similarity index 100% rename from expobanner/views.py rename to apps/expobanner/views.py diff --git a/exposition/migrations/__init__.py b/apps/exposition/__init__.py similarity index 100% rename from exposition/migrations/__init__.py rename to apps/exposition/__init__.py diff --git a/exposition/admin.py b/apps/exposition/admin.py similarity index 96% rename from exposition/admin.py rename to apps/exposition/admin.py index 585e53e8..ba930e68 100644 --- a/exposition/admin.py +++ b/apps/exposition/admin.py @@ -8,12 +8,13 @@ from django.conf import settings from django.contrib.auth.decorators import login_required from django.contrib.contenttypes.models import ContentType from django.core.context_processors import csrf -from django.forms.formsets import BaseFormSet, formset_factory +from django.forms.formsets import formset_factory from django.forms.models import modelformset_factory from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render_to_response from django.utils import translation -from file.forms import FileForm, FileModelForm +from django.views.decorators.csrf import csrf_exempt +from file.forms import FileModelForm from file.models import FileModel, TmpFile from forms import ( ExpositionCreateForm, @@ -25,14 +26,13 @@ from forms import ( from functions.admin_views import ( AdminListView, AdminView, - stat_paginate_results, - upload_photo + stat_paginate_results ) from functions.custom_views import delete_object, objects_list from functions.views_help import get_referer from haystack.query import SearchQuerySet from models import Exposition, Statistic, TimeTable, TmpTimeTable -from photologue.forms import PhotoForm +from photologue.admin import upload_photo from theme.models import Tag @@ -278,8 +278,8 @@ class ExpositionView(AdminView): 'expohit': obj.expohit, 'discount': obj.discount, 'canceled': obj.canceled, 'moved': obj.moved, 'logo': obj.logo, 'visitors': obj.visitors, 'members': obj.members, - 'audience':[item for item, bool in obj.audience if bool==True], - 'quality_label': [item for item, bool in obj.quality_label if bool==True], + 'audience':[item for item, bool in obj.audience.all() if bool], + 'quality_label': [item for item, bool in obj.quality_label if bool], 'place_alt': obj.place_alt} if obj.place: @@ -331,11 +331,7 @@ class ExpositionView(AdminView): obj = self.set_obj() if obj: context['stat_form'] = StatisticForm() - context['file_form'] = FileForm(initial={'model': 'exposition.Exposition'}) - files = FileModel.objects.filter(content_type=ContentType.objects.get_for_model(obj),object_id=getattr(obj, 'id')) - context['files'] = files - context['photo_form'] = PhotoForm() context['timetable_form'] = TimeTableForm() context['timetables'] = TimeTable.objects.filter(exposition=obj) return context @@ -346,6 +342,8 @@ class ExpositionListView(AdminListView): form_class = ExpositionFilterForm model = Exposition + +@csrf_exempt def upload_exposition_photo(request, expo_id): return upload_photo(request, expo_id, Exposition) diff --git a/exposition/admin_urls.py b/apps/exposition/admin_urls.py similarity index 100% rename from exposition/admin_urls.py rename to apps/exposition/admin_urls.py diff --git a/exposition/forms.py b/apps/exposition/forms.py similarity index 98% rename from exposition/forms.py rename to apps/exposition/forms.py index 9b267a10..05172454 100644 --- a/exposition/forms.py +++ b/apps/exposition/forms.py @@ -6,7 +6,8 @@ from django.forms.util import ErrorList from django.core.validators import validate_email, URLValidator from django.utils.translation import ugettext as _ #models -from models import Exposition, TimeTable, TmpTimeTable, AUDIENCE1, CURRENCY, Statistic, BIT_AUDIENCE +from events.models import TargetAudience +from models import Exposition, TimeTable, TmpTimeTable, CURRENCY, Statistic from theme.models import Tag from country.models import Country from theme.models import Theme @@ -35,7 +36,7 @@ class ExpositionCreateForm(forms.Form): PERIODIC = ((0, _(u'Не выбрано')), (1.0, _(u'Ежегодно')), (2.0, _(u'2 раза в год')), (3.0, _(u'3 раза в год')), (4.0, _(u'4 раза в год')), (5.0, _(u'5 раз в год')), (0.5, _(u'Раз в 2 года')),(0.33, _(u'Раз в 3 года')), (0.25, _(u'Раз в 4 года')), (0.2, _(u'Раз в 5 лет'))) - public = [(item1, item2) for item1, item2 in BIT_AUDIENCE] + public = [(i, i) for i in TargetAudience.objects.all().values_list('title', flat=True)] currencies = [(item, item) for item in CURRENCY] data_begin = forms.DateField(label=_(u'Дата начала'), input_formats=['%Y-%m-%d', '%d.%m.%Y']) @@ -211,12 +212,6 @@ class ExpositionCreateForm(forms.Form): exposition.quality_label = quality - audience = 0 - if data['audience']: - audience = reduce(lambda x,y: x|y, (getattr(Exposition.audience, item) for item in data['audience'])) - - exposition.audience = audience - exposition.country = Country.objects.get(id=data['country']) exposition.city = City.objects.get(id=data['city']) @@ -235,6 +230,7 @@ class ExpositionCreateForm(forms.Form): exposition.theme.add(*data['theme']) exposition.tag.add(*Tag.objects.filter(id__in=data['tag'])) exposition.organiser.add(*Organiser.objects.filter(id__in=data.get('organiser', []))) + exposition.audience.add(*data['audience']) #exposition.company.add(*Company.objects.filter(id__in=data.get('company', []))) diff --git a/exposition/management/__init__.py b/apps/exposition/management/__init__.py similarity index 100% rename from exposition/management/__init__.py rename to apps/exposition/management/__init__.py diff --git a/exposition/management/commands/__init__.py b/apps/exposition/management/commands/__init__.py similarity index 100% rename from exposition/management/commands/__init__.py rename to apps/exposition/management/commands/__init__.py diff --git a/exposition/management/commands/check_translation.py b/apps/exposition/management/commands/check_translation.py similarity index 100% rename from exposition/management/commands/check_translation.py rename to apps/exposition/management/commands/check_translation.py diff --git a/exposition/management/commands/check_url.py b/apps/exposition/management/commands/check_url.py similarity index 100% rename from exposition/management/commands/check_url.py rename to apps/exposition/management/commands/check_url.py diff --git a/exposition/management/commands/convert_expo_logo.py b/apps/exposition/management/commands/convert_expo_logo.py similarity index 100% rename from exposition/management/commands/convert_expo_logo.py rename to apps/exposition/management/commands/convert_expo_logo.py diff --git a/exposition/management/commands/expo_old.py b/apps/exposition/management/commands/expo_old.py similarity index 100% rename from exposition/management/commands/expo_old.py rename to apps/exposition/management/commands/expo_old.py diff --git a/exposition/management/commands/expo_organiser.py b/apps/exposition/management/commands/expo_organiser.py similarity index 100% rename from exposition/management/commands/expo_organiser.py rename to apps/exposition/management/commands/expo_organiser.py diff --git a/exposition/management/commands/expo_test.py b/apps/exposition/management/commands/expo_test.py similarity index 100% rename from exposition/management/commands/expo_test.py rename to apps/exposition/management/commands/expo_test.py diff --git a/exposition/management/commands/exposition_en.py b/apps/exposition/management/commands/exposition_en.py similarity index 100% rename from exposition/management/commands/exposition_en.py rename to apps/exposition/management/commands/exposition_en.py diff --git a/exposition/management/commands/exposition_load.py b/apps/exposition/management/commands/exposition_load.py similarity index 100% rename from exposition/management/commands/exposition_load.py rename to apps/exposition/management/commands/exposition_load.py diff --git a/exposition/management/commands/fix_logo.py b/apps/exposition/management/commands/fix_logo.py similarity index 100% rename from exposition/management/commands/fix_logo.py rename to apps/exposition/management/commands/fix_logo.py diff --git a/exposition/management/commands/imp_stat.py b/apps/exposition/management/commands/imp_stat.py similarity index 100% rename from exposition/management/commands/imp_stat.py rename to apps/exposition/management/commands/imp_stat.py diff --git a/exposition/management/commands/test.py b/apps/exposition/management/commands/test.py similarity index 100% rename from exposition/management/commands/test.py rename to apps/exposition/management/commands/test.py diff --git a/exposition/manager.py b/apps/exposition/manager.py similarity index 100% rename from exposition/manager.py rename to apps/exposition/manager.py diff --git a/exposition/migrations/0001_initial.py b/apps/exposition/migrations/0001_initial.py similarity index 95% rename from exposition/migrations/0001_initial.py rename to apps/exposition/migrations/0001_initial.py index 9ad67d58..75997b00 100644 --- a/exposition/migrations/0001_initial.py +++ b/apps/exposition/migrations/0001_initial.py @@ -41,8 +41,9 @@ class Migration(SchemaMigration): db.create_table(u'exposition_exposition', ( (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('url', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=255)), + ('bad_url', self.gf('django.db.models.fields.BooleanField')(default=False)), ('old_url', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=255)), - ('data_begin', self.gf('django.db.models.fields.DateField')()), + ('data_begin', self.gf('django.db.models.fields.DateField')(db_index=True)), ('data_end', self.gf('django.db.models.fields.DateField')()), ('services', self.gf('django.db.models.fields.BigIntegerField')(default=None)), ('creator', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='exposition_creator', null=True, on_delete=models.SET_NULL, to=orm['accounts.User'])), @@ -60,7 +61,7 @@ class Migration(SchemaMigration): ('discount', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), ('expohit', self.gf('django.db.models.fields.BooleanField')(default=False)), ('canceled_by_administrator', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('is_published', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('is_published', self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True)), ('canceled', self.gf('django.db.models.fields.BooleanField')(default=False)), ('moved', self.gf('django.db.models.fields.BooleanField')(default=False)), ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), @@ -89,6 +90,12 @@ class Migration(SchemaMigration): ('paid_new', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.Paid'], null=True, on_delete=models.SET_NULL, blank=True)), ('top', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.Top'], null=True, on_delete=models.SET_NULL, blank=True)), ('main', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.MainPage'], null=True, on_delete=models.SET_NULL, blank=True)), + ('members_choice', self.gf('django.db.models.fields.PositiveSmallIntegerField')(db_index=True, null=True, blank=True)), + ('visitors_choice', self.gf('django.db.models.fields.PositiveSmallIntegerField')(db_index=True, null=True, blank=True)), + ('price_choice', self.gf('django.db.models.fields.PositiveSmallIntegerField')(db_index=True, null=True, blank=True)), + ('price_rub', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('price_choice_eur', self.gf('django.db.models.fields.PositiveSmallIntegerField')(db_index=True, null=True, blank=True)), + ('price_eur', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), )) db.send_create_signal(u'exposition', ['Exposition']) @@ -292,6 +299,7 @@ class Migration(SchemaMigration): 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), + 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), @@ -409,14 +417,15 @@ class Migration(SchemaMigration): 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 7, 1, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), + 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), @@ -442,6 +451,14 @@ class Migration(SchemaMigration): 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) }, + u'expobanner.customer': { + 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, + 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) + }, u'expobanner.mainpage': { 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), @@ -469,12 +486,13 @@ class Migration(SchemaMigration): }, u'expobanner.top': { 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, + 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 7, 1, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), @@ -500,6 +518,7 @@ class Migration(SchemaMigration): 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), + 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), @@ -508,13 +527,13 @@ class Migration(SchemaMigration): 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), + 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), 'data_end': ('django.db.models.fields.DateField', [], {}), 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), @@ -522,6 +541,7 @@ class Migration(SchemaMigration): 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), @@ -538,6 +558,10 @@ class Migration(SchemaMigration): 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), @@ -551,6 +575,7 @@ class Migration(SchemaMigration): 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) }, u'exposition.expositiontranslation': { @@ -755,6 +780,7 @@ class Migration(SchemaMigration): 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), @@ -796,6 +822,7 @@ class Migration(SchemaMigration): 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), diff --git a/exposition/migrations/0006_auto__add_field_exposition_price_choice_eur__add_field_exposition_pric.py b/apps/exposition/migrations/0002_auto__del_field_exposition_audience.py similarity index 95% rename from exposition/migrations/0006_auto__add_field_exposition_price_choice_eur__add_field_exposition_pric.py rename to apps/exposition/migrations/0002_auto__del_field_exposition_audience.py index e7e7008d..85aadb28 100644 --- a/exposition/migrations/0006_auto__add_field_exposition_price_choice_eur__add_field_exposition_pric.py +++ b/apps/exposition/migrations/0002_auto__del_field_exposition_audience.py @@ -8,23 +8,27 @@ from django.db import models class Migration(SchemaMigration): def forwards(self, orm): - # Adding field 'Exposition.price_choice_eur' - db.add_column(u'exposition_exposition', 'price_choice_eur', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(db_index=True, null=True, blank=True), - keep_default=False) + # Deleting field 'Exposition.audience' + db.delete_column(u'exposition_exposition', 'audience') - # Adding field 'Exposition.price_eur' - db.add_column(u'exposition_exposition', 'price_eur', - self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True), - keep_default=False) + # Adding M2M table for field audience on 'Exposition' + m2m_table_name = db.shorten_name(u'exposition_exposition_audience') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('exposition', models.ForeignKey(orm[u'exposition.exposition'], null=False)), + ('targetaudience', models.ForeignKey(orm[u'events.targetaudience'], null=False)) + )) + db.create_unique(m2m_table_name, ['exposition_id', 'targetaudience_id']) def backwards(self, orm): - # Deleting field 'Exposition.price_choice_eur' - db.delete_column(u'exposition_exposition', 'price_choice_eur') + # Adding field 'Exposition.audience' + db.add_column(u'exposition_exposition', 'audience', + self.gf('django.db.models.fields.BigIntegerField')(default=1), + keep_default=False) - # Deleting field 'Exposition.price_eur' - db.delete_column(u'exposition_exposition', 'price_eur') + # Removing M2M table for field audience on 'Exposition' + db.delete_table(db.shorten_name(u'exposition_exposition_audience')) models = { @@ -49,6 +53,7 @@ class Migration(SchemaMigration): 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), + 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), @@ -160,6 +165,13 @@ class Migration(SchemaMigration): u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) }, + u'events.targetaudience': { + 'Meta': {'ordering': "['title']", 'object_name': 'TargetAudience'}, + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}), + 'title_en': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), + 'title_ru': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) + }, u'expobanner.banner': { 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), @@ -168,13 +180,13 @@ class Migration(SchemaMigration): 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 8, 29, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 2, 1, 0, 0)'}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), + 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), @@ -228,6 +240,7 @@ class Migration(SchemaMigration): 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), + 'participants_list': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'paid_participants_list'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), @@ -235,12 +248,13 @@ class Migration(SchemaMigration): }, u'expobanner.top': { 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, + 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 8, 29, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 2, 1, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), @@ -265,7 +279,7 @@ class Migration(SchemaMigration): 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), + 'audience': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['events.TargetAudience']", 'null': 'True', 'symmetrical': 'False'}), 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), @@ -528,6 +542,7 @@ class Migration(SchemaMigration): 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), @@ -569,6 +584,7 @@ class Migration(SchemaMigration): 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), diff --git a/file/__init__.py b/apps/exposition/migrations/__init__.py similarity index 100% rename from file/__init__.py rename to apps/exposition/migrations/__init__.py diff --git a/exposition/models.py b/apps/exposition/models.py similarity index 95% rename from exposition/models.py rename to apps/exposition/models.py index 3598fe7d..669351b0 100644 --- a/exposition/models.py +++ b/apps/exposition/models.py @@ -10,8 +10,10 @@ from django.core.urlresolvers import reverse_lazy from django.db import models from django.db.models import Q from django.db.models.signals import post_save, pre_save +from django.dispatch import receiver from django.utils import translation from django.utils.translation import ugettext as _ +from events.models import TargetAudience from functions.custom_fields import EnumField from functions.db import db_table_exists from functions.model_mixin import EventMixin, ExpoMixin @@ -21,21 +23,9 @@ from hvad.models import TranslatableModel, TranslatedFields, TranslationManager from import_xls.model_utils import ExpoImportManager from manager import ClientManager from organiser.models import Organiser -from service.models import Service +from service.models import Service, LinkedService from events.common import MEMBERS, VISITORS, PRICE, PRICE_EUR - -AUDIENCE1 = ((None,_(u'Не выбрано')), - ('experts', _(u'Специалисты')), - ('experts and consumers', _(u'Специалисты и потребители')), - ('general public', _(u'Широкая публика')) - ) -AUDIENCE = (None,'experts', 'experts and consumers', 'general public') - - -BIT_AUDIENCE = settings.BIT_AUDIENCE - - CURRENCY = settings.CURRENCY # check if table exist and create flags if true @@ -136,7 +126,7 @@ class Exposition(TranslatableModel, EventMixin, ExpoMixin): #about periodic = models.FloatField(verbose_name=_(u'Переодичность'), blank=True, null=True) - audience = BitField(flags=[k for k, v in BIT_AUDIENCE]) + audience = models.ManyToManyField(TargetAudience, null=True) web_page = models.CharField(verbose_name=_(u'Вебсайт'), max_length=255, blank=True) foundation_year = models.PositiveIntegerField(verbose_name=_(u'Год основания'), blank=True, null=True) area = models.PositiveIntegerField(verbose_name=_(u'Площадь'), blank=True, null=True) @@ -240,16 +230,6 @@ class Exposition(TranslatableModel, EventMixin, ExpoMixin): def statistic_exists(self): return Statistic.objects.filter(exposition=self).exists() - def get_audience(self): - checked = [item for item, bool in self.audience if bool==True] - audience = [] - for k, v in BIT_AUDIENCE: - for item in checked: - if item == k: - audience.append(unicode(v)) - - return ', '.join(audience) - def get_periodic(self): periodic = {0: '', 1.0: _(u'Ежегодно'), 2.0: _(u'2 раза в год'), 3.0: _(u'3 раза в год'), 4.0: _(u'4 раза в год'), 5.0: _(u'5 раз в год'), 0.5: _(u'Раз в 2 года'), @@ -363,3 +343,12 @@ post_save.connect(post_save_handler, sender=Exposition) post_save.connect(post_save_handler, sender=TimeTable) post_save.connect(post_save_handler, sender=TmpTimeTable) post_save.connect(post_save_handler, sender=Statistic) + + +@receiver(post_save, sender=Exposition) +def exposition_services_handler(sender, instance, **kwargs): + """ + При сохранении выставки сохраняем данные по услугам + """ + for service in LinkedService.objects.all(): + service.update_all_flags() diff --git a/exposition/search_indexes.py b/apps/exposition/search_indexes.py similarity index 100% rename from exposition/search_indexes.py rename to apps/exposition/search_indexes.py diff --git a/expobanner/tests.py b/apps/exposition/tests.py similarity index 100% rename from expobanner/tests.py rename to apps/exposition/tests.py diff --git a/exposition/urls.py b/apps/exposition/urls.py similarity index 100% rename from exposition/urls.py rename to apps/exposition/urls.py diff --git a/exposition/views.py b/apps/exposition/views.py similarity index 100% rename from exposition/views.py rename to apps/exposition/views.py diff --git a/meta/__init__.py b/apps/file/__init__.py similarity index 100% rename from meta/__init__.py rename to apps/file/__init__.py diff --git a/apps/file/admin.py b/apps/file/admin.py new file mode 100644 index 00000000..5a2a1b0a --- /dev/null +++ b/apps/file/admin.py @@ -0,0 +1,75 @@ +# -*- coding: utf-8 -*- +from django.core.urlresolvers import reverse +from django.views.decorators.csrf import csrf_exempt +from django.db.models.loading import get_model +from django.contrib.contenttypes.models import ContentType +from django.http import HttpResponse +from django.views.generic import UpdateView + +from .models import FileModel +from .forms import FileForm, FileUpdateForm + +import json + + +@csrf_exempt +def ajax_post_file(request, obj_id): + """ + Takes file and file data and save it + """ + data = {'success': False} + # takes data from hidden input "model" and initial Model + Model = get_model(request.GET['model'].split('.')[0], + request.GET['model'].split('.')[1]) + # initial model object + obj = Model.objects.get(id=obj_id) + + if request.is_ajax() and request.method == 'POST': + file_form = FileForm(request.POST, request.FILES) + if file_form.is_valid(): + file_form.save(request.FILES, obj) + data['success'] = True + else: + data['errors'] = file_form.errors + + if request.is_ajax() and request.method == 'GET': + files = FileModel.objects.filter( + content_type=ContentType.objects.get_for_model(obj), + object_id=obj_id + ) + files_data = [] + for f in files: + files_data.append({ + 'name': f.file_name or f.file_path.name, + 'size': f.file_path.size, + 'file': f.file_path.url, + 'type': 'file', + 'remove_url': reverse('ajax_delete_file', args=[f.pk]), + 'detail_link': reverse('file_update', args=[f.pk]) + }) + data['success'] = True + data['files'] = files_data + + return HttpResponse(json.dumps(data), content_type='application/json') + + +def ajax_delete_file(request, id): + """ + delete file + """ + if request.is_ajax(): + f = FileModel.objects.get(id=id) + f.delete() + data = {'success': True} + else: + data = {'success': False} + return HttpResponse(json.dumps(data), content_type='application/json') + + +class FileUpdateView(UpdateView): + """ + Представление обновления файла + """ + template_name = 'c_admin/file/file_update.html' + form_class = FileUpdateForm + model = FileModel diff --git a/file/admin2.py b/apps/file/admin2.py similarity index 100% rename from file/admin2.py rename to apps/file/admin2.py diff --git a/apps/file/admin_urls.py b/apps/file/admin_urls.py new file mode 100644 index 00000000..537cb89d --- /dev/null +++ b/apps/file/admin_urls.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +from django.conf.urls import patterns, url +from django.contrib.admin.views.decorators import staff_member_required + +from .admin import FileUpdateView +from functions import required + + +urlpatterns = required( + staff_member_required, + patterns( + '', + url( + r'^ajax_post_file/(?P\d+)/$', + 'file.admin.ajax_post_file', + name='ajax_post_file' + ), + url( + r'^ajax_delete_file/(?P\d+)/', + 'file.admin.ajax_delete_file', + name='ajax_delete_file' + ), + url( + r'^update/(?P\d+)/', + FileUpdateView.as_view(), + name='file_update' + ), + ) +) diff --git a/file/forms.py b/apps/file/forms.py similarity index 91% rename from file/forms.py rename to apps/file/forms.py index 2ae1a8a8..c6d0c30a 100644 --- a/file/forms.py +++ b/apps/file/forms.py @@ -5,7 +5,7 @@ from django.contrib.contenttypes.models import ContentType from ckeditor.widgets import CKEditorWidget #models from country.models import Country -from models import FileModel, TmpFile, IMG_TYPES, PURPOSES, Photo +from .models import FileModel, TmpFile, IMG_TYPES, PURPOSES, Photo #functions from functions.translate import populate, fill_trans_fields_all #python @@ -17,8 +17,11 @@ from django.utils.translation import ugettext as _ class FileForm(forms.Form): file_path = forms.FileField(label=_(u'Выберите файл')) model = forms.CharField(required=False, widget=forms.HiddenInput()) - purposes = [('scheme teritory',_(u'Схема территории')),('preview',_(u'Превью')), ('preview2',_(u'Превью2'))] - purpose = forms.ChoiceField(label=_(u'Назначение'), choices=purposes) + purpose = forms.ChoiceField( + label=_(u'Назначение'), + choices=PURPOSES, + required=False + ) def __init__(self, *args, **kwargs): """ @@ -30,10 +33,8 @@ class FileForm(forms.Form): if len(settings.LANGUAGES) in range(10): for lid, (code, name) in enumerate(settings.LANGUAGES): # using enumerate for detect iteration number - # first iteration is a default lang so it required fields - required = True if lid == 0 else False - self.fields['file_name_%s'%code] = forms.CharField(label=_(u'Имя файла'),required=False, widget=forms.TextInput(attrs={'placeholder': 'Имя'})) - self.fields['description_%s'%code] = forms.CharField(label=_(u'Описание'), required=False, widget=forms.Textarea()) + self.fields['file_name_%s' % code] = forms.CharField(label=_(u'Имя файла'), required=False, widget=forms.TextInput(attrs={'placeholder': 'Имя'})) + self.fields['description_%s' % code] = forms.CharField(label=_(u'Описание'), required=False, widget=forms.Textarea()) def save(self, request, obj=None): """ @@ -59,7 +60,10 @@ class FileForm(forms.Form): #------- file_obj.file_path = request['file_path'] - file_obj.purpose = data['purpose'] + if data.get('purpose'): + file_obj.purpose = data.get('purpose') + else: + file_obj.purpose = 'preview' #type of file type = str(data['file_path']).split('.')[-1] #if type is image save fields with image size @@ -79,6 +83,16 @@ class FileForm(forms.Form): return file_obj + +class FileUpdateForm(forms.ModelForm): + """ + Форма обновления файла в админ панели + """ + class Meta: + model = FileModel + fields = ('file_path',) + + class FileModelForm(forms.Form): """ Create FileModel form @@ -92,8 +106,7 @@ class FileModelForm(forms.Form): key = forms.CharField(required=False, widget=forms.HiddenInput()) model = forms.CharField(required=False, widget=forms.HiddenInput()) - purposes = [(item1, item2) for item1, item2 in PURPOSES] - purpose = forms.ChoiceField(label=_(u'Назаначение'), choices=purposes) + purpose = forms.ChoiceField(label=_(u'Назаначение'), choices=PURPOSES) def __init__(self, *args, **kwargs): """ @@ -167,6 +180,7 @@ class FileModelForm(forms.Form): return file_obj + class PhotoForm(forms.Form): file_path = forms.FileField(label=_(u'Выберите файл')) # uses for comparing with TmpFile key diff --git a/conference/migrations/0008_auto__add_field_conference_top.py b/apps/file/migrations/0001_initial.py similarity index 77% rename from conference/migrations/0008_auto__add_field_conference_top.py rename to apps/file/migrations/0001_initial.py index 977ae84c..aa0d2487 100644 --- a/conference/migrations/0008_auto__add_field_conference_top.py +++ b/apps/file/migrations/0001_initial.py @@ -8,15 +8,144 @@ from django.db import models class Migration(SchemaMigration): def forwards(self, orm): - # Adding field 'Conference.top' - db.add_column(u'conference_conference', 'top', - self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.Top'], null=True, on_delete=models.SET_NULL, blank=True), - keep_default=False) + # Adding model 'FileModelTranslation' + db.create_table(u'file_filemodel_translation', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('file_name', self.gf('django.db.models.fields.CharField')(max_length=50, blank=True)), + ('description', self.gf('django.db.models.fields.TextField')(blank=True)), + ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), + ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['file.FileModel'])), + )) + db.send_create_signal(u'file', ['FileModelTranslation']) + + # Adding unique constraint on 'FileModelTranslation', fields ['language_code', 'master'] + db.create_unique(u'file_filemodel_translation', ['language_code', 'master_id']) + + # Adding model 'FileModel' + db.create_table(u'file_filemodel', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'], null=True)), + ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('file_path', self.gf('django.db.models.fields.files.FileField')(max_length=100)), + ('file_type', self.gf('functions.custom_fields.EnumField')(default='PDF', values=('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF'), blank=True)), + ('purpose', self.gf('functions.custom_fields.EnumField')(default='photo', values=['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2'])), + ('img_width', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('img_height', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + ('modified', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), + )) + db.send_create_signal(u'file', ['FileModel']) + + # Adding model 'TmpFileTranslation' + db.create_table(u'file_tmpfile_translation', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('file_name', self.gf('django.db.models.fields.CharField')(max_length=50, blank=True)), + ('description', self.gf('django.db.models.fields.TextField')(blank=True)), + ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), + ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['file.TmpFile'])), + )) + db.send_create_signal(u'file', ['TmpFileTranslation']) + + # Adding unique constraint on 'TmpFileTranslation', fields ['language_code', 'master'] + db.create_unique(u'file_tmpfile_translation', ['language_code', 'master_id']) + + # Adding model 'TmpFile' + db.create_table(u'file_tmpfile', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('file_path', self.gf('django.db.models.fields.files.FileField')(max_length=100)), + ('file_type', self.gf('functions.custom_fields.EnumField')(default='PDF', values=('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF'), blank=True)), + ('purpose', self.gf('functions.custom_fields.EnumField')(default='photo', values=['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2'])), + ('img_width', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('img_height', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('key', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), + ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + ('modified', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), + )) + db.send_create_signal(u'file', ['TmpFile']) + + # Adding model 'UserMark' + db.create_table(u'file_usermark', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['accounts.User'])), + ('top', self.gf('django.db.models.fields.PositiveSmallIntegerField')()), + ('left', self.gf('django.db.models.fields.PositiveSmallIntegerField')()), + ('height', self.gf('django.db.models.fields.PositiveSmallIntegerField')()), + ('width', self.gf('django.db.models.fields.PositiveSmallIntegerField')()), + )) + db.send_create_signal(u'file', ['UserMark']) + + # Adding model 'PhotoTranslation' + db.create_table(u'file_photo_translation', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), + ('description', self.gf('django.db.models.fields.TextField')(blank=True)), + ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), + ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['file.Photo'])), + )) + db.send_create_signal(u'file', ['PhotoTranslation']) + + # Adding unique constraint on 'PhotoTranslation', fields ['language_code', 'master'] + db.create_unique(u'file_photo_translation', ['language_code', 'master_id']) + + # Adding model 'Photo' + db.create_table(u'file_photo', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'], null=True)), + ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('file_path', self.gf('django.db.models.fields.files.ImageField')(max_length=100)), + ('width', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('height', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('order', self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=0)), + ('view_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), + ('file_type', self.gf('functions.custom_fields.EnumField')(default='PDF', values=('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF'), blank=True)), + ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + ('modified', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), + )) + db.send_create_signal(u'file', ['Photo']) + + # Adding M2M table for field users on 'Photo' + m2m_table_name = db.shorten_name(u'file_photo_users') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('photo', models.ForeignKey(orm[u'file.photo'], null=False)), + ('usermark', models.ForeignKey(orm[u'file.usermark'], null=False)) + )) + db.create_unique(m2m_table_name, ['photo_id', 'usermark_id']) def backwards(self, orm): - # Deleting field 'Conference.top' - db.delete_column(u'conference_conference', 'top_id') + # Removing unique constraint on 'PhotoTranslation', fields ['language_code', 'master'] + db.delete_unique(u'file_photo_translation', ['language_code', 'master_id']) + + # Removing unique constraint on 'TmpFileTranslation', fields ['language_code', 'master'] + db.delete_unique(u'file_tmpfile_translation', ['language_code', 'master_id']) + + # Removing unique constraint on 'FileModelTranslation', fields ['language_code', 'master'] + db.delete_unique(u'file_filemodel_translation', ['language_code', 'master_id']) + + # Deleting model 'FileModelTranslation' + db.delete_table(u'file_filemodel_translation') + + # Deleting model 'FileModel' + db.delete_table(u'file_filemodel') + + # Deleting model 'TmpFileTranslation' + db.delete_table(u'file_tmpfile_translation') + + # Deleting model 'TmpFile' + db.delete_table(u'file_tmpfile') + + # Deleting model 'UserMark' + db.delete_table(u'file_usermark') + + # Deleting model 'PhotoTranslation' + db.delete_table(u'file_photo_translation') + + # Deleting model 'Photo' + db.delete_table(u'file_photo') + + # Removing M2M table for field users on 'Photo' + db.delete_table(db.shorten_name(u'file_photo_users')) models = { @@ -41,6 +170,7 @@ class Migration(SchemaMigration): 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), + 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), @@ -100,112 +230,6 @@ class Migration(SchemaMigration): 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conferencetranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ConferenceTranslation', 'db_table': "u'conference_conference_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'discount_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_themes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Conference']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}) - }, - u'conference.statistic': { - 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statistic'", 'to': u"orm['conference.Conference']"}), - 'countries_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'conference.statistictranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'StatisticTranslation', 'db_table': "u'conference_statistic_translation'", 'index_together': '()'}, - 'countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Statistic']"}) - }, - u'conference.timetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'business_program'", 'to': u"orm['conference.Conference']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conf_timetable'", 'null': 'True', 'to': u"orm['organiser.Organiser']"}) - }, - u'conference.timetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TimeTableTranslation', 'db_table': "u'conference_timetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.TimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, 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'}), @@ -266,13 +290,13 @@ class Migration(SchemaMigration): 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 5, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 25, 0, 0)'}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), + 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), @@ -306,39 +330,15 @@ class Migration(SchemaMigration): 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, u'expobanner.top': { 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, + 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 5, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 25, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), @@ -372,13 +372,65 @@ class Migration(SchemaMigration): 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, + u'file.filemodeltranslation': { + 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'FileModelTranslation', 'db_table': "u'file_filemodel_translation'", 'index_together': '()'}, + 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), + 'file_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), + 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['file.FileModel']"}) + }, + u'file.photo': { + 'Meta': {'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), + 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'file_path': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), + 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), + 'height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), + 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'order': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), + 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['file.UserMark']", 'null': 'True', 'symmetrical': 'False'}), + 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), + 'width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}) + }, + u'file.phototranslation': { + 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'PhotoTranslation', 'db_table': "u'file_photo_translation'", 'index_together': '()'}, + 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), + 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['file.Photo']"}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) + }, + u'file.tmpfile': { + 'Meta': {'unique_together': '()', 'object_name': 'TmpFile', 'index_together': '()'}, + 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), + 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'key': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), + 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), + 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) + }, + u'file.tmpfiletranslation': { + 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TmpFileTranslation', 'db_table': "u'file_tmpfile_translation'", 'index_together': '()'}, + 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), + 'file_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), + 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['file.TmpFile']"}) + }, + u'file.usermark': { + 'Meta': {'object_name': 'UserMark'}, + 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) + 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), + 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), + 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) }, u'organiser.organiser': { 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, @@ -479,6 +531,7 @@ class Migration(SchemaMigration): 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), @@ -520,6 +573,7 @@ class Migration(SchemaMigration): 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), @@ -563,4 +617,4 @@ class Migration(SchemaMigration): } } - complete_apps = ['conference'] \ No newline at end of file + complete_apps = ['file'] \ No newline at end of file diff --git a/news/__init__.py b/apps/file/migrations/__init__.py similarity index 100% rename from news/__init__.py rename to apps/file/migrations/__init__.py diff --git a/file/models.py b/apps/file/models.py similarity index 86% rename from file/models.py rename to apps/file/models.py index 3136b1bb..5200d76b 100644 --- a/file/models.py +++ b/apps/file/models.py @@ -14,15 +14,17 @@ import os FILE_TYPES = ('PDF', 'DOC', 'TXT', 'OTHER') IMG_TYPES = ('JPG', 'BMP', 'PNG', 'GIF',) -PURPOSES = (('photo', _(u'Фото')), - ('flat', _(u'Флаг')), - ('logo',_(u'Лого')), - ('map',_(u'Карта')), - ('scheme teritory',_(u'Схема територии')), - ('diplom',_(u'Дипломы')), - ('preview',_(u'Превью')), - ('preview2',_(u'Превью')), - ) +PURPOSES = ( + ('photo', _(u'Фото')), + ('flat', _(u'Флаг')), + ('logo', _(u'Лого')), + ('map', _(u'Карта')), + ('scheme teritory', _(u'Схема територии')), + ('diplom', _(u'Дипломы')), + ('preview', _(u'Превью')), + ('preview2', _(u'Превью')), +) + class FileModel(TranslatableModel): """ @@ -43,18 +45,20 @@ class FileModel(TranslatableModel): """ type = filename.split('.')[-1] if type.upper() in IMG_TYPES: - return 'imgs/%s'%filename + return 'imgs/%s' % filename else: - return 'files/%s'%filename + return 'files/%s' % filename content_type = models.ForeignKey(ContentType, null=True) #limit_choices_to={'model__in': ('Country', 'City')} object_id = models.PositiveIntegerField(blank=True, null=True) object = generic.GenericForeignKey(content_type, object_id) - file_path = models.FileField(upload_to=get_upload_path) + file_path = models.FileField(u'Файл', upload_to=get_upload_path) # file_type and purposes uses EnumField for creating Enum type field in Mysql database file_type = EnumField(values=FILE_TYPES+IMG_TYPES, blank=True) - purpose = EnumField(values=[item1 for item1, item2 in PURPOSES]) + purpose = EnumField( + values=[item1 for item1, item2 in PURPOSES] + ) img_width = models.PositiveIntegerField(blank=True, null=True) img_height = models.PositiveIntegerField(blank=True, null=True) @@ -63,8 +67,8 @@ class FileModel(TranslatableModel): modified = models.DateTimeField(auto_now=True) # translations is translated fields translations = TranslatedFields( - file_name = models.CharField(max_length=50, blank=True), - description = models.TextField(blank=True), + file_name=models.CharField(max_length=50, blank=True), + description=models.TextField(blank=True), ) diff --git a/exposition/tests.py b/apps/file/tests.py similarity index 100% rename from exposition/tests.py rename to apps/file/tests.py diff --git a/file/urls.py b/apps/file/urls.py similarity index 100% rename from file/urls.py rename to apps/file/urls.py diff --git a/file/views.py b/apps/file/views.py similarity index 100% rename from file/views.py rename to apps/file/views.py diff --git a/functions/__init__.py b/apps/functions/__init__.py similarity index 100% rename from functions/__init__.py rename to apps/functions/__init__.py diff --git a/functions/admin.py b/apps/functions/admin.py similarity index 100% rename from functions/admin.py rename to apps/functions/admin.py diff --git a/functions/admin_forms.py b/apps/functions/admin_forms.py similarity index 100% rename from functions/admin_forms.py rename to apps/functions/admin_forms.py diff --git a/functions/admin_views.py b/apps/functions/admin_views.py similarity index 86% rename from functions/admin_views.py rename to apps/functions/admin_views.py index a83aac44..9c4a0151 100644 --- a/functions/admin_views.py +++ b/apps/functions/admin_views.py @@ -1,5 +1,7 @@ import json from django.views.generic import FormView +from django.views.decorators.csrf import csrf_exempt + from django.shortcuts import render_to_response, get_object_or_404, HttpResponse, Http404 from django.http import HttpResponseRedirect from django.conf import settings @@ -145,23 +147,24 @@ class AdminListView(FormView): return context -def upload_photo(request, id, Model): - """ - uploading photo to some instance of Model - instance must have upload_photo method, which download photo - - """ - obj = get_object_or_404(Model, pk=id) - if request.POST: - response = {'success': False} - form = PhotoForm(request.POST, request.FILES) - if form.is_valid(): - photo = form.save() - obj.upload_photo(photo) - response['success'] = True - else: - response.update({'errors':form.errors}) - - return HttpResponse(json.dumps(response), content_type='application/json') - else: - return HttpResponse('not post') +# @csrf_exempt +# def upload_photo(request, id, Model): +# """ +# uploading photo to some instance of Model +# instance must have upload_photo method, which download photo +# +# """ +# obj = get_object_or_404(Model, pk=id) +# if request.method == 'POST': +# response = {'success': False} +# form = PhotoForm(request.POST, request.FILES) +# if form.is_valid(): +# photo = form.save() +# obj.upload_photo(photo) +# response['success'] = True +# else: +# response.update({'errors': form.errors}) +# +# return HttpResponse(json.dumps(response), content_type='application/json') +# else: +# return HttpResponse('not post') diff --git a/functions/cache_mixin.py b/apps/functions/cache_mixin.py similarity index 100% rename from functions/cache_mixin.py rename to apps/functions/cache_mixin.py diff --git a/functions/custom_fields.py b/apps/functions/custom_fields.py similarity index 100% rename from functions/custom_fields.py rename to apps/functions/custom_fields.py diff --git a/functions/custom_views.py b/apps/functions/custom_views.py similarity index 99% rename from functions/custom_views.py rename to apps/functions/custom_views.py index e70ef018..b4f26f5e 100644 --- a/functions/custom_views.py +++ b/apps/functions/custom_views.py @@ -486,7 +486,6 @@ class SimpleObjectChangeView(RedirectView, SingleObjectMixin): def get(self, request, *args, **kwargs): self.object = self.get_object() self.change_object() - print(self.request.META.get('QUERY_STRING', '')) return super(SimpleObjectChangeView, self).get(request, *args, **kwargs) diff --git a/functions/db.py b/apps/functions/db.py similarity index 100% rename from functions/db.py rename to apps/functions/db.py diff --git a/functions/files.py b/apps/functions/files.py similarity index 100% rename from functions/files.py rename to apps/functions/files.py diff --git a/functions/form_check.py b/apps/functions/form_check.py similarity index 100% rename from functions/form_check.py rename to apps/functions/form_check.py diff --git a/functions/forms.py b/apps/functions/forms.py similarity index 100% rename from functions/forms.py rename to apps/functions/forms.py diff --git a/functions/http.py b/apps/functions/http.py similarity index 100% rename from functions/http.py rename to apps/functions/http.py diff --git a/functions/model_mixin.py b/apps/functions/model_mixin.py similarity index 99% rename from functions/model_mixin.py rename to apps/functions/model_mixin.py index 997ccd2b..680a4d4b 100644 --- a/functions/model_mixin.py +++ b/apps/functions/model_mixin.py @@ -256,7 +256,7 @@ class EventMixin(object): if not isinstance(getattr(self, '_get_services_detail', None), list): # excluded = ['visit', 'tickets'] # country_ids = [item for item, bool in self.country.services if bool==True] - services = [item for item, bool in self.services if bool==True] + services = [item for item, bool in self.services if bool] qs = Service.objects.language() if excluded is not None: qs = qs.exclude(url__in=excluded) diff --git a/functions/model_utils.py b/apps/functions/model_utils.py similarity index 100% rename from functions/model_utils.py rename to apps/functions/model_utils.py diff --git a/functions/models_methods.py b/apps/functions/models_methods.py similarity index 100% rename from functions/models_methods.py rename to apps/functions/models_methods.py diff --git a/functions/overrides.py b/apps/functions/overrides.py similarity index 100% rename from functions/overrides.py rename to apps/functions/overrides.py diff --git a/functions/pipeline.py b/apps/functions/pipeline.py similarity index 100% rename from functions/pipeline.py rename to apps/functions/pipeline.py diff --git a/functions/search_forms.py b/apps/functions/search_forms.py similarity index 100% rename from functions/search_forms.py rename to apps/functions/search_forms.py diff --git a/functions/search_mixin.py b/apps/functions/search_mixin.py similarity index 100% rename from functions/search_mixin.py rename to apps/functions/search_mixin.py diff --git a/functions/signal_additional_func.py b/apps/functions/signal_additional_func.py similarity index 100% rename from functions/signal_additional_func.py rename to apps/functions/signal_additional_func.py diff --git a/functions/signal_handlers.py b/apps/functions/signal_handlers.py similarity index 100% rename from functions/signal_handlers.py rename to apps/functions/signal_handlers.py diff --git a/functions/translate.py b/apps/functions/translate.py similarity index 100% rename from functions/translate.py rename to apps/functions/translate.py diff --git a/functions/url_utils.py b/apps/functions/url_utils.py similarity index 100% rename from functions/url_utils.py rename to apps/functions/url_utils.py diff --git a/functions/utils.py b/apps/functions/utils.py similarity index 97% rename from functions/utils.py rename to apps/functions/utils.py index 66b4aaf4..89498487 100644 --- a/functions/utils.py +++ b/apps/functions/utils.py @@ -21,7 +21,6 @@ def strfdelta(tdelta, fmt): class CachedSting(object): def __init__(self, path, timeout=None): super(CachedSting, self).__init__() - print('initiated', path) self.path = path self.timeout = timeout or timedelta(days=1) self.get_object() diff --git a/functions/views_help.py b/apps/functions/views_help.py similarity index 100% rename from functions/views_help.py rename to apps/functions/views_help.py diff --git a/import_xls/__init__.py b/apps/import_xls/__init__.py similarity index 100% rename from import_xls/__init__.py rename to apps/import_xls/__init__.py diff --git a/import_xls/admin.py b/apps/import_xls/admin.py similarity index 100% rename from import_xls/admin.py rename to apps/import_xls/admin.py diff --git a/import_xls/admin_urls.py b/apps/import_xls/admin_urls.py similarity index 100% rename from import_xls/admin_urls.py rename to apps/import_xls/admin_urls.py diff --git a/import_xls/excel_settings.py b/apps/import_xls/excel_settings.py similarity index 100% rename from import_xls/excel_settings.py rename to apps/import_xls/excel_settings.py diff --git a/import_xls/export_forms.py b/apps/import_xls/export_forms.py similarity index 100% rename from import_xls/export_forms.py rename to apps/import_xls/export_forms.py diff --git a/import_xls/import_forms.py b/apps/import_xls/import_forms.py similarity index 100% rename from import_xls/import_forms.py rename to apps/import_xls/import_forms.py diff --git a/import_xls/model_utils.py b/apps/import_xls/model_utils.py similarity index 100% rename from import_xls/model_utils.py rename to apps/import_xls/model_utils.py diff --git a/import_xls/models.py b/apps/import_xls/models.py similarity index 100% rename from import_xls/models.py rename to apps/import_xls/models.py diff --git a/import_xls/utils.py b/apps/import_xls/utils.py similarity index 99% rename from import_xls/utils.py rename to apps/import_xls/utils.py index 86782f6c..049451a5 100644 --- a/import_xls/utils.py +++ b/apps/import_xls/utils.py @@ -13,7 +13,6 @@ from country.models import Country from city.models import City from theme.models import Theme, Tag from functions.files import get_alternative_filename -from exposition.models import BIT_AUDIENCE from accounts.models import User from django.utils.translation import ugettext as _ diff --git a/note/__init__.py b/apps/meta/__init__.py similarity index 100% rename from note/__init__.py rename to apps/meta/__init__.py diff --git a/meta/admin.py b/apps/meta/admin.py similarity index 99% rename from meta/admin.py rename to apps/meta/admin.py index 20c0f236..bc47f4ef 100644 --- a/meta/admin.py +++ b/apps/meta/admin.py @@ -13,6 +13,7 @@ class MetaListView(AdminListView): form_class = MetaFilterForm model = MetaSetting + class MetaView(AdminView): form_class = MetaForm model = MetaSetting diff --git a/meta/admin_urls.py b/apps/meta/admin_urls.py similarity index 100% rename from meta/admin_urls.py rename to apps/meta/admin_urls.py diff --git a/meta/decorators.py b/apps/meta/decorators.py similarity index 100% rename from meta/decorators.py rename to apps/meta/decorators.py diff --git a/meta/forms.py b/apps/meta/forms.py similarity index 78% rename from meta/forms.py rename to apps/meta/forms.py index 67fb7be2..00b9dcca 100644 --- a/meta/forms.py +++ b/apps/meta/forms.py @@ -48,8 +48,31 @@ class MetaForm(forms.Form): meta.save() -class MetaFilterForm(AdminFilterForm): +class MetaFilterForm(forms.Form): model = MetaSetting + exact_name = forms.CharField(label=_(u'Название'), required=False) + name = forms.CharField(label=_(u'Часть названия'), required=False) + + def filter(self): + """ + + return filtered queryset + form must be cleaned before calling this method + + """ + model = self.model + data = self.cleaned_data + name = data['name'] + exact_name = data['exact_name'] + if exact_name: + qs = model.objects.filter(translations__title=name).distinct() + return qs + + qs = model.objects.all() + if name: + qs = qs.filter(translations__title__icontains=name).distinct() + + return qs class SeoTextForm(TranslatableModelForm): diff --git a/meta/models.py b/apps/meta/models.py similarity index 100% rename from meta/models.py rename to apps/meta/models.py diff --git a/meta/settings.py b/apps/meta/settings.py similarity index 100% rename from meta/settings.py rename to apps/meta/settings.py diff --git a/meta/templatetags/__init__.py b/apps/meta/templatetags/__init__.py similarity index 100% rename from meta/templatetags/__init__.py rename to apps/meta/templatetags/__init__.py diff --git a/meta/templatetags/meta.py b/apps/meta/templatetags/meta.py similarity index 100% rename from meta/templatetags/meta.py rename to apps/meta/templatetags/meta.py diff --git a/file/tests.py b/apps/meta/tests.py similarity index 100% rename from file/tests.py rename to apps/meta/tests.py diff --git a/meta/views.py b/apps/meta/views.py similarity index 100% rename from meta/views.py rename to apps/meta/views.py diff --git a/organiser/__init__.py b/apps/news/__init__.py similarity index 100% rename from organiser/__init__.py rename to apps/news/__init__.py diff --git a/news/admin.py b/apps/news/admin.py similarity index 100% rename from news/admin.py rename to apps/news/admin.py diff --git a/news/admin_urls.py b/apps/news/admin_urls.py similarity index 100% rename from news/admin_urls.py rename to apps/news/admin_urls.py diff --git a/news/forms.py b/apps/news/forms.py similarity index 100% rename from news/forms.py rename to apps/news/forms.py diff --git a/news/models.py b/apps/news/models.py similarity index 100% rename from news/models.py rename to apps/news/models.py diff --git a/news/signals.py b/apps/news/signals.py similarity index 100% rename from news/signals.py rename to apps/news/signals.py diff --git a/meta/tests.py b/apps/news/tests.py similarity index 100% rename from meta/tests.py rename to apps/news/tests.py diff --git a/organiser/management/__init__.py b/apps/note/__init__.py similarity index 100% rename from organiser/management/__init__.py rename to apps/note/__init__.py diff --git a/note/models.py b/apps/note/models.py similarity index 100% rename from note/models.py rename to apps/note/models.py diff --git a/news/tests.py b/apps/note/tests.py similarity index 100% rename from news/tests.py rename to apps/note/tests.py diff --git a/note/views.py b/apps/note/views.py similarity index 100% rename from note/views.py rename to apps/note/views.py diff --git a/organiser/management/commands/__init__.py b/apps/organiser/__init__.py similarity index 100% rename from organiser/management/commands/__init__.py rename to apps/organiser/__init__.py diff --git a/organiser/admin.py b/apps/organiser/admin.py similarity index 92% rename from organiser/admin.py rename to apps/organiser/admin.py index dde1a9ce..69acd2f4 100644 --- a/organiser/admin.py +++ b/apps/organiser/admin.py @@ -1,6 +1,5 @@ # -*- coding: utf-8 -*- from django.conf import settings -from photologue.forms import PhotoForm from models import Organiser from theme.models import Tag from forms import OrganiserForm, OrganiserFilterForm @@ -12,6 +11,7 @@ class OrganiserListView(AdminListView): form_class = OrganiserFilterForm model = Organiser + class OrganiserView(AdminView): form_class = OrganiserForm model = Organiser @@ -57,8 +57,3 @@ class OrganiserView(AdminView): return form else: return form_class() - - def get_context_data(self, **kwargs): - context = super(OrganiserView, self).get_context_data(**kwargs) - context['photo_form'] = PhotoForm() - return context diff --git a/organiser/admin_urls.py b/apps/organiser/admin_urls.py similarity index 100% rename from organiser/admin_urls.py rename to apps/organiser/admin_urls.py diff --git a/organiser/event_forms.py b/apps/organiser/event_forms.py similarity index 100% rename from organiser/event_forms.py rename to apps/organiser/event_forms.py diff --git a/organiser/forms.py b/apps/organiser/forms.py similarity index 100% rename from organiser/forms.py rename to apps/organiser/forms.py diff --git a/password_reset/tests/__init__.py b/apps/organiser/management/__init__.py similarity index 100% rename from password_reset/tests/__init__.py rename to apps/organiser/management/__init__.py diff --git a/photologue/management/__init__.py b/apps/organiser/management/commands/__init__.py similarity index 100% rename from photologue/management/__init__.py rename to apps/organiser/management/commands/__init__.py diff --git a/organiser/management/commands/organiser_from_old_db.py b/apps/organiser/management/commands/organiser_from_old_db.py similarity index 100% rename from organiser/management/commands/organiser_from_old_db.py rename to apps/organiser/management/commands/organiser_from_old_db.py diff --git a/organiser/models.py b/apps/organiser/models.py similarity index 100% rename from organiser/models.py rename to apps/organiser/models.py diff --git a/organiser/signals.py b/apps/organiser/signals.py similarity index 100% rename from organiser/signals.py rename to apps/organiser/signals.py diff --git a/note/tests.py b/apps/organiser/tests.py similarity index 100% rename from note/tests.py rename to apps/organiser/tests.py diff --git a/organiser/urls.py b/apps/organiser/urls.py similarity index 100% rename from organiser/urls.py rename to apps/organiser/urls.py diff --git a/organiser/views.py b/apps/organiser/views.py similarity index 100% rename from organiser/views.py rename to apps/organiser/views.py diff --git a/password_reset/__init__.py b/apps/password_reset/__init__.py similarity index 100% rename from password_reset/__init__.py rename to apps/password_reset/__init__.py diff --git a/password_reset/forms.py b/apps/password_reset/forms.py similarity index 100% rename from password_reset/forms.py rename to apps/password_reset/forms.py diff --git a/password_reset/signals.py b/apps/password_reset/signals.py similarity index 100% rename from password_reset/signals.py rename to apps/password_reset/signals.py diff --git a/password_reset/templates/password_reset/base.html b/apps/password_reset/templates/password_reset/base.html similarity index 100% rename from password_reset/templates/password_reset/base.html rename to apps/password_reset/templates/password_reset/base.html diff --git a/password_reset/templates/password_reset/recovery_done.html b/apps/password_reset/templates/password_reset/recovery_done.html similarity index 100% rename from password_reset/templates/password_reset/recovery_done.html rename to apps/password_reset/templates/password_reset/recovery_done.html diff --git a/password_reset/templates/password_reset/recovery_email.txt b/apps/password_reset/templates/password_reset/recovery_email.txt similarity index 100% rename from password_reset/templates/password_reset/recovery_email.txt rename to apps/password_reset/templates/password_reset/recovery_email.txt diff --git a/password_reset/templates/password_reset/recovery_email_expo.html b/apps/password_reset/templates/password_reset/recovery_email_expo.html similarity index 100% rename from password_reset/templates/password_reset/recovery_email_expo.html rename to apps/password_reset/templates/password_reset/recovery_email_expo.html diff --git a/password_reset/templates/password_reset/recovery_email_subject.txt b/apps/password_reset/templates/password_reset/recovery_email_subject.txt similarity index 100% rename from password_reset/templates/password_reset/recovery_email_subject.txt rename to apps/password_reset/templates/password_reset/recovery_email_subject.txt diff --git a/password_reset/templates/password_reset/recovery_form.html b/apps/password_reset/templates/password_reset/recovery_form.html similarity index 100% rename from password_reset/templates/password_reset/recovery_form.html rename to apps/password_reset/templates/password_reset/recovery_form.html diff --git a/password_reset/templates/password_reset/reset.html b/apps/password_reset/templates/password_reset/reset.html similarity index 100% rename from password_reset/templates/password_reset/reset.html rename to apps/password_reset/templates/password_reset/reset.html diff --git a/password_reset/templates/password_reset/reset_sent.html b/apps/password_reset/templates/password_reset/reset_sent.html similarity index 100% rename from password_reset/templates/password_reset/reset_sent.html rename to apps/password_reset/templates/password_reset/reset_sent.html diff --git a/photologue/south_migrations/__init__.py b/apps/password_reset/tests/__init__.py similarity index 100% rename from photologue/south_migrations/__init__.py rename to apps/password_reset/tests/__init__.py diff --git a/password_reset/tests/models.py b/apps/password_reset/tests/models.py similarity index 100% rename from password_reset/tests/models.py rename to apps/password_reset/tests/models.py diff --git a/password_reset/tests/settings.py b/apps/password_reset/tests/settings.py similarity index 100% rename from password_reset/tests/settings.py rename to apps/password_reset/tests/settings.py diff --git a/password_reset/tests/templates/404.html b/apps/password_reset/tests/templates/404.html similarity index 100% rename from password_reset/tests/templates/404.html rename to apps/password_reset/tests/templates/404.html diff --git a/password_reset/tests/templates/base.html b/apps/password_reset/tests/templates/base.html similarity index 100% rename from password_reset/tests/templates/base.html rename to apps/password_reset/tests/templates/base.html diff --git a/password_reset/tests/tests.py b/apps/password_reset/tests/tests.py similarity index 100% rename from password_reset/tests/tests.py rename to apps/password_reset/tests/tests.py diff --git a/password_reset/tests/urls.py b/apps/password_reset/tests/urls.py similarity index 100% rename from password_reset/tests/urls.py rename to apps/password_reset/tests/urls.py diff --git a/password_reset/tests/views.py b/apps/password_reset/tests/views.py similarity index 100% rename from password_reset/tests/views.py rename to apps/password_reset/tests/views.py diff --git a/password_reset/urls.py b/apps/password_reset/urls.py similarity index 100% rename from password_reset/urls.py rename to apps/password_reset/urls.py diff --git a/password_reset/utils.py b/apps/password_reset/utils.py similarity index 100% rename from password_reset/utils.py rename to apps/password_reset/utils.py diff --git a/password_reset/views.py b/apps/password_reset/views.py similarity index 100% rename from password_reset/views.py rename to apps/password_reset/views.py diff --git a/photologue/__init__.py b/apps/photologue/__init__.py similarity index 100% rename from photologue/__init__.py rename to apps/photologue/__init__.py diff --git a/photologue/admin.py b/apps/photologue/admin.py similarity index 59% rename from photologue/admin.py rename to apps/photologue/admin.py index 3ab13aac..065f0a2e 100644 --- a/photologue/admin.py +++ b/apps/photologue/admin.py @@ -1,26 +1,19 @@ import json -from django import forms + from django.conf import settings -from django.shortcuts import HttpResponse -from django.contrib import admin -from django.contrib.sites.models import Site -from django.contrib import messages -from django.utils.translation import ungettext, ugettext_lazy as _ +from django.shortcuts import HttpResponse, get_object_or_404 +from django.views.generic import ListView, FormView +from django.http import HttpResponseRedirect -from .models import Gallery, Photo, GalleryUpload, PhotoEffect, PhotoSize, \ - Watermark +from .models import Gallery, Photo +from .forms import PhotoForm, GalleryForm -MULTISITE = getattr(settings, 'PHOTOLOGUE_MULTISITE', False) +from sorl.thumbnail import get_thumbnail +MULTISITE = getattr(settings, 'PHOTOLOGUE_MULTISITE', False) ENABLE_TAGS = getattr(settings, 'PHOTOLOGUE_ENABLE_TAGS', False) -#------------------EXPOMAP VIEWS---------------------------------------------- -from django.views.generic import ListView, FormView -from forms import PhotoForm, GalleryForm -from django.shortcuts import render_to_response, get_object_or_404 -from django.http import HttpResponseRedirect - class AdminViewObject(FormView): """ need overwrite get_form method for every class @@ -56,7 +49,6 @@ class AdminViewObject(FormView): return context - class PhotoView(AdminViewObject): model = Photo form_class = PhotoForm @@ -77,14 +69,14 @@ class PhotoView(AdminViewObject): data['sort'] = photo.sort for code, name in settings.LANGUAGES: - obj = Photo._meta.translations_model.objects.get(language_code = code,master__id=getattr(photo, 'id')) #access to translated fields + obj = Photo._meta.translations_model.objects.get(language_code=code, master__id=getattr(photo, 'id')) # access to translated fields data['title_%s' % code] = obj.title data['caption_%s' % code] = obj.caption - #form.fields['tag'].widget.attrs['data-init-text'] = [item.name for item in article.tag.all()] return form_class(data) else: return form_class() + class GalleryView(AdminViewObject): model = Gallery form_class = GalleryForm @@ -103,10 +95,9 @@ class GalleryView(AdminViewObject): data = {} for code, name in settings.LANGUAGES: - obj = Gallery._meta.translations_model.objects.get(language_code = code,master__id=getattr(gallery, 'id')) #access to translated fields + obj = Gallery._meta.translations_model.objects.get(language_code=code, master__id=getattr(gallery, 'id')) # access to translated fields data['title_%s' % code] = obj.title data['description_%s' % code] = obj.description - #form.fields['tag'].widget.attrs['data-init-text'] = [item.name for item in article.tag.all()] return form_class(data) else: return form_class() @@ -124,6 +115,63 @@ class GalleryListView(ListView): template_name = 'c_admin/photogallery/admin_gallery_list.html' +def upload_photo(request, id, Model): + """ + uploading photo to some instance of Model + instance must have upload_photo method, which download photo + """ + def get_images_list(obj): + """ + :param obj: instance of Model + :return: images list + """ + images = [] + if obj.photogallery: + for img in obj.photogallery.photos.all(): + im = get_thumbnail( + img.image, '188x143', crop='center', quality=99 + ) + images.append({ + 'name': img.title or img.image.name, + 'size': img.image.size, + 'file': im.url, + 'type': 'image', + 'remove_url': img.get_delete_url(), + 'detail_link': img.admin_url() + }) + return images + + data = {'success': False} + obj = get_object_or_404(Model, pk=id) + + if request.is_ajax() and request.method == 'POST': + form = PhotoForm(request.POST, request.FILES) + + if form.is_valid(): + photo = form.save() + obj.upload_photo(photo) + + im = get_thumbnail( + photo.image, '188x143', crop='center', quality=99 + ) + + data['success'] = True + data['name'] = photo.title or photo.image.name + data['size'] = photo.image.size + data['file'] = im.url + data['type'] = 'image' + data['remove_url'] = photo.get_delete_url() + data['detail_link'] = photo.admin_url() + else: + data['errors'] = form.errors + + elif request.is_ajax() and request.method == 'GET': + data['success'] = True + data['files'] = get_images_list(obj) + + return HttpResponse(json.dumps(data), content_type='application/json') + + def delete_photo(request, photo_id): photo = get_object_or_404(Photo, pk=photo_id) photo.delete() diff --git a/photologue/admin_urls.py b/apps/photologue/admin_urls.py similarity index 100% rename from photologue/admin_urls.py rename to apps/photologue/admin_urls.py diff --git a/photologue/client_urls.py b/apps/photologue/client_urls.py similarity index 100% rename from photologue/client_urls.py rename to apps/photologue/client_urls.py diff --git a/photologue/client_view.py b/apps/photologue/client_view.py similarity index 100% rename from photologue/client_view.py rename to apps/photologue/client_view.py diff --git a/photologue/contrib/old_style_templates/templates/photologue/gallery_archive.html b/apps/photologue/contrib/old_style_templates/templates/photologue/gallery_archive.html similarity index 100% rename from photologue/contrib/old_style_templates/templates/photologue/gallery_archive.html rename to apps/photologue/contrib/old_style_templates/templates/photologue/gallery_archive.html diff --git a/photologue/contrib/old_style_templates/templates/photologue/gallery_archive_day.html b/apps/photologue/contrib/old_style_templates/templates/photologue/gallery_archive_day.html similarity index 100% rename from photologue/contrib/old_style_templates/templates/photologue/gallery_archive_day.html rename to apps/photologue/contrib/old_style_templates/templates/photologue/gallery_archive_day.html diff --git a/photologue/contrib/old_style_templates/templates/photologue/gallery_archive_month.html b/apps/photologue/contrib/old_style_templates/templates/photologue/gallery_archive_month.html similarity index 100% rename from photologue/contrib/old_style_templates/templates/photologue/gallery_archive_month.html rename to apps/photologue/contrib/old_style_templates/templates/photologue/gallery_archive_month.html diff --git a/photologue/contrib/old_style_templates/templates/photologue/gallery_archive_year.html b/apps/photologue/contrib/old_style_templates/templates/photologue/gallery_archive_year.html similarity index 100% rename from photologue/contrib/old_style_templates/templates/photologue/gallery_archive_year.html rename to apps/photologue/contrib/old_style_templates/templates/photologue/gallery_archive_year.html diff --git a/photologue/contrib/old_style_templates/templates/photologue/gallery_detail.html b/apps/photologue/contrib/old_style_templates/templates/photologue/gallery_detail.html similarity index 100% rename from photologue/contrib/old_style_templates/templates/photologue/gallery_detail.html rename to apps/photologue/contrib/old_style_templates/templates/photologue/gallery_detail.html diff --git a/photologue/contrib/old_style_templates/templates/photologue/gallery_list.html b/apps/photologue/contrib/old_style_templates/templates/photologue/gallery_list.html similarity index 100% rename from photologue/contrib/old_style_templates/templates/photologue/gallery_list.html rename to apps/photologue/contrib/old_style_templates/templates/photologue/gallery_list.html diff --git a/photologue/contrib/old_style_templates/templates/photologue/photo_archive.html b/apps/photologue/contrib/old_style_templates/templates/photologue/photo_archive.html similarity index 100% rename from photologue/contrib/old_style_templates/templates/photologue/photo_archive.html rename to apps/photologue/contrib/old_style_templates/templates/photologue/photo_archive.html diff --git a/photologue/contrib/old_style_templates/templates/photologue/photo_archive_day.html b/apps/photologue/contrib/old_style_templates/templates/photologue/photo_archive_day.html similarity index 100% rename from photologue/contrib/old_style_templates/templates/photologue/photo_archive_day.html rename to apps/photologue/contrib/old_style_templates/templates/photologue/photo_archive_day.html diff --git a/photologue/contrib/old_style_templates/templates/photologue/photo_archive_month.html b/apps/photologue/contrib/old_style_templates/templates/photologue/photo_archive_month.html similarity index 100% rename from photologue/contrib/old_style_templates/templates/photologue/photo_archive_month.html rename to apps/photologue/contrib/old_style_templates/templates/photologue/photo_archive_month.html diff --git a/photologue/contrib/old_style_templates/templates/photologue/photo_archive_year.html b/apps/photologue/contrib/old_style_templates/templates/photologue/photo_archive_year.html similarity index 100% rename from photologue/contrib/old_style_templates/templates/photologue/photo_archive_year.html rename to apps/photologue/contrib/old_style_templates/templates/photologue/photo_archive_year.html diff --git a/photologue/contrib/old_style_templates/templates/photologue/photo_detail.html b/apps/photologue/contrib/old_style_templates/templates/photologue/photo_detail.html similarity index 100% rename from photologue/contrib/old_style_templates/templates/photologue/photo_detail.html rename to apps/photologue/contrib/old_style_templates/templates/photologue/photo_detail.html diff --git a/photologue/contrib/old_style_templates/templates/photologue/photo_list.html b/apps/photologue/contrib/old_style_templates/templates/photologue/photo_list.html similarity index 100% rename from photologue/contrib/old_style_templates/templates/photologue/photo_list.html rename to apps/photologue/contrib/old_style_templates/templates/photologue/photo_list.html diff --git a/photologue/contrib/old_style_templates/templates/photologue/root.html b/apps/photologue/contrib/old_style_templates/templates/photologue/root.html similarity index 100% rename from photologue/contrib/old_style_templates/templates/photologue/root.html rename to apps/photologue/contrib/old_style_templates/templates/photologue/root.html diff --git a/photologue/contrib/old_style_templates/templates/photologue/tags/next_in_gallery.html b/apps/photologue/contrib/old_style_templates/templates/photologue/tags/next_in_gallery.html similarity index 100% rename from photologue/contrib/old_style_templates/templates/photologue/tags/next_in_gallery.html rename to apps/photologue/contrib/old_style_templates/templates/photologue/tags/next_in_gallery.html diff --git a/photologue/contrib/old_style_templates/templates/photologue/tags/prev_in_gallery.html b/apps/photologue/contrib/old_style_templates/templates/photologue/tags/prev_in_gallery.html similarity index 100% rename from photologue/contrib/old_style_templates/templates/photologue/tags/prev_in_gallery.html rename to apps/photologue/contrib/old_style_templates/templates/photologue/tags/prev_in_gallery.html diff --git a/photologue/forms.py b/apps/photologue/forms.py similarity index 94% rename from photologue/forms.py rename to apps/photologue/forms.py index ce94d29e..e9201a20 100644 --- a/photologue/forms.py +++ b/apps/photologue/forms.py @@ -48,10 +48,8 @@ class PhotoForm(forms.Form): if len(settings.LANGUAGES) in range(10): for lid, (code, name) in enumerate(settings.LANGUAGES): # uses enumerate for detect iteration number - # first iteration is a default lang so it required fields - required = True if lid == 0 else False self.fields['title_%s' % code] = forms.CharField(label=_(u'Описание'), required=False) - self.fields['caption_%s' % code] = forms.CharField(label=_(u'Заголовок'), required=required) + self.fields['caption_%s' % code] = forms.CharField(label=_(u'Заголовок'), required=False) def save(self, obj=None): data = self.cleaned_data diff --git a/photologue/templatetags/__init__.py b/apps/photologue/management/__init__.py similarity index 100% rename from photologue/templatetags/__init__.py rename to apps/photologue/management/__init__.py diff --git a/photologue/management/commands/__init__.py b/apps/photologue/management/commands/__init__.py similarity index 100% rename from photologue/management/commands/__init__.py rename to apps/photologue/management/commands/__init__.py diff --git a/photologue/management/commands/photologue_exposize.py b/apps/photologue/management/commands/photologue_exposize.py similarity index 100% rename from photologue/management/commands/photologue_exposize.py rename to apps/photologue/management/commands/photologue_exposize.py diff --git a/photologue/management/commands/plcache.py b/apps/photologue/management/commands/plcache.py similarity index 100% rename from photologue/management/commands/plcache.py rename to apps/photologue/management/commands/plcache.py diff --git a/photologue/management/commands/plcreatesize.py b/apps/photologue/management/commands/plcreatesize.py similarity index 100% rename from photologue/management/commands/plcreatesize.py rename to apps/photologue/management/commands/plcreatesize.py diff --git a/photologue/management/commands/plflush.py b/apps/photologue/management/commands/plflush.py similarity index 100% rename from photologue/management/commands/plflush.py rename to apps/photologue/management/commands/plflush.py diff --git a/photologue/managers.py b/apps/photologue/managers.py similarity index 100% rename from photologue/managers.py rename to apps/photologue/managers.py diff --git a/photologue/migrations/__init__.py b/apps/photologue/migrations/__init__.py similarity index 100% rename from photologue/migrations/__init__.py rename to apps/photologue/migrations/__init__.py diff --git a/photologue/models.py b/apps/photologue/models.py similarity index 99% rename from photologue/models.py rename to apps/photologue/models.py index 9bd045a9..444a329d 100644 --- a/photologue/models.py +++ b/apps/photologue/models.py @@ -695,7 +695,7 @@ class ImageModel(models.Model): class Photo(TranslatableModel, ImageModel): translations = TranslatedFields( caption=models.TextField(_('caption'), blank=True), - title=models.CharField(_('title'), max_length=200) + title=models.CharField(_('title'), max_length=200, blank=True) ) slug = models.SlugField(_('slug'), unique=True, diff --git a/photologue/res/sample.jpg b/apps/photologue/res/sample.jpg similarity index 100% rename from photologue/res/sample.jpg rename to apps/photologue/res/sample.jpg diff --git a/photologue/res/test_photologue_"ing.jpg b/apps/photologue/res/test_photologue_"ing.jpg similarity index 100% rename from photologue/res/test_photologue_"ing.jpg rename to apps/photologue/res/test_photologue_"ing.jpg diff --git a/photologue/res/test_photologue_landscape.jpg b/apps/photologue/res/test_photologue_landscape.jpg similarity index 100% rename from photologue/res/test_photologue_landscape.jpg rename to apps/photologue/res/test_photologue_landscape.jpg diff --git a/photologue/res/test_photologue_portrait.jpg b/apps/photologue/res/test_photologue_portrait.jpg similarity index 100% rename from photologue/res/test_photologue_portrait.jpg rename to apps/photologue/res/test_photologue_portrait.jpg diff --git a/photologue/res/test_photologue_square.jpg b/apps/photologue/res/test_photologue_square.jpg similarity index 100% rename from photologue/res/test_photologue_square.jpg rename to apps/photologue/res/test_photologue_square.jpg diff --git a/photologue/res/zips/ignored_files.zip b/apps/photologue/res/zips/ignored_files.zip similarity index 100% rename from photologue/res/zips/ignored_files.zip rename to apps/photologue/res/zips/ignored_files.zip diff --git a/photologue/res/zips/not_image.zip b/apps/photologue/res/zips/not_image.zip similarity index 100% rename from photologue/res/zips/not_image.zip rename to apps/photologue/res/zips/not_image.zip diff --git a/photologue/res/zips/sample.zip b/apps/photologue/res/zips/sample.zip similarity index 100% rename from photologue/res/zips/sample.zip rename to apps/photologue/res/zips/sample.zip diff --git a/photologue/sitemaps.py b/apps/photologue/sitemaps.py similarity index 100% rename from photologue/sitemaps.py rename to apps/photologue/sitemaps.py diff --git a/conference/migrations/0010_auto.py b/apps/photologue/south_migrations/0001_initial.py similarity index 73% rename from conference/migrations/0010_auto.py rename to apps/photologue/south_migrations/0001_initial.py index 956addeb..67ba105b 100644 --- a/conference/migrations/0010_auto.py +++ b/apps/photologue/south_migrations/0001_initial.py @@ -8,19 +8,208 @@ from django.db import models class Migration(SchemaMigration): def forwards(self, orm): - # Adding M2M table for field speakers on 'Conference' - m2m_table_name = db.shorten_name(u'conference_conference_speakers') + # Adding model 'UserMark' + db.create_table(u'photologue_usermark', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='marks', to=orm['accounts.User'])), + ('top', self.gf('django.db.models.fields.PositiveSmallIntegerField')()), + ('left', self.gf('django.db.models.fields.PositiveSmallIntegerField')()), + ('height', self.gf('django.db.models.fields.PositiveSmallIntegerField')()), + ('width', self.gf('django.db.models.fields.PositiveSmallIntegerField')()), + )) + db.send_create_signal(u'photologue', ['UserMark']) + + # Adding model 'GalleryTranslation' + db.create_table(u'photologue_gallery_translation', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('title', self.gf('django.db.models.fields.CharField')(max_length=200)), + ('description', self.gf('django.db.models.fields.TextField')(blank=True)), + ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), + ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['photologue.Gallery'])), + )) + db.send_create_signal(u'photologue', ['GalleryTranslation']) + + # Adding unique constraint on 'GalleryTranslation', fields ['language_code', 'master'] + db.create_unique(u'photologue_gallery_translation', ['language_code', 'master_id']) + + # Adding model 'Gallery' + db.create_table(u'photologue_gallery', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('date_added', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), + ('slug', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=200)), + ('is_public', self.gf('django.db.models.fields.BooleanField')(default=True)), + ('tags', self.gf('photologue.models.TagField')(max_length=255, blank=True)), + )) + db.send_create_signal(u'photologue', ['Gallery']) + + + # Adding SortedM2M table for field photos on 'Gallery' + db.create_table(u'photologue_gallery_photos', ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('gallery', models.ForeignKey(orm[u'photologue.gallery'], null=False)), + ('photo', models.ForeignKey(orm[u'photologue.photo'], null=False)), + ('sort_value', models.IntegerField()) + )) + db.create_unique(u'photologue_gallery_photos', ['gallery_id', 'photo_id']) + # Adding M2M table for field sites on 'Gallery' + m2m_table_name = db.shorten_name(u'photologue_gallery_sites') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('gallery', models.ForeignKey(orm[u'photologue.gallery'], null=False)), + ('site', models.ForeignKey(orm[u'sites.site'], null=False)) + )) + db.create_unique(m2m_table_name, ['gallery_id', 'site_id']) + + # Adding model 'GalleryUpload' + db.create_table(u'photologue_galleryupload', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('zip_file', self.gf('django.db.models.fields.files.FileField')(max_length=100)), + ('title', self.gf('django.db.models.fields.CharField')(max_length=50, null=True, blank=True)), + ('gallery', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['photologue.Gallery'], null=True, blank=True)), + ('caption', self.gf('django.db.models.fields.TextField')(blank=True)), + ('description', self.gf('django.db.models.fields.TextField')(blank=True)), + ('is_public', self.gf('django.db.models.fields.BooleanField')(default=True)), + ('tags', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), + )) + db.send_create_signal(u'photologue', ['GalleryUpload']) + + # Adding model 'PhotoTranslation' + db.create_table(u'photologue_photo_translation', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('caption', self.gf('django.db.models.fields.TextField')(blank=True)), + ('title', self.gf('django.db.models.fields.CharField')(max_length=200)), + ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), + ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['photologue.Photo'])), + )) + db.send_create_signal(u'photologue', ['PhotoTranslation']) + + # Adding unique constraint on 'PhotoTranslation', fields ['language_code', 'master'] + db.create_unique(u'photologue_photo_translation', ['language_code', 'master_id']) + + # Adding model 'Photo' + db.create_table(u'photologue_photo', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('image', self.gf('django.db.models.fields.files.ImageField')(max_length=100)), + ('date_taken', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('view_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), + ('crop_from', self.gf('django.db.models.fields.CharField')(default='center', max_length=10, blank=True)), + ('effect', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='photo_related', null=True, to=orm['photologue.PhotoEffect'])), + ('slug', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=200)), + ('sort', self.gf('django.db.models.fields.PositiveIntegerField')(default=10, null=True, db_index=True)), + ('date_added', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), + ('is_public', self.gf('django.db.models.fields.BooleanField')(default=True)), + ('tags', self.gf('photologue.models.TagField')(max_length=255, blank=True)), + )) + db.send_create_signal(u'photologue', ['Photo']) + + # Adding M2M table for field sites on 'Photo' + m2m_table_name = db.shorten_name(u'photologue_photo_sites') db.create_table(m2m_table_name, ( ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('conference', models.ForeignKey(orm[u'conference.conference'], null=False)), - ('speaker', models.ForeignKey(orm[u'conference.speaker'], null=False)) + ('photo', models.ForeignKey(orm[u'photologue.photo'], null=False)), + ('site', models.ForeignKey(orm[u'sites.site'], null=False)) )) - db.create_unique(m2m_table_name, ['conference_id', 'speaker_id']) + db.create_unique(m2m_table_name, ['photo_id', 'site_id']) + + # Adding M2M table for field users on 'Photo' + m2m_table_name = db.shorten_name(u'photologue_photo_users') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('photo', models.ForeignKey(orm[u'photologue.photo'], null=False)), + ('usermark', models.ForeignKey(orm[u'photologue.usermark'], null=False)) + )) + db.create_unique(m2m_table_name, ['photo_id', 'usermark_id']) + + # Adding model 'PhotoEffect' + db.create_table(u'photologue_photoeffect', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=30)), + ('description', self.gf('django.db.models.fields.TextField')(blank=True)), + ('transpose_method', self.gf('django.db.models.fields.CharField')(max_length=15, blank=True)), + ('color', self.gf('django.db.models.fields.FloatField')(default=1.0)), + ('brightness', self.gf('django.db.models.fields.FloatField')(default=1.0)), + ('contrast', self.gf('django.db.models.fields.FloatField')(default=1.0)), + ('sharpness', self.gf('django.db.models.fields.FloatField')(default=1.0)), + ('filters', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)), + ('reflection_size', self.gf('django.db.models.fields.FloatField')(default=0)), + ('reflection_strength', self.gf('django.db.models.fields.FloatField')(default=0.6)), + ('background_color', self.gf('django.db.models.fields.CharField')(default='#FFFFFF', max_length=7)), + )) + db.send_create_signal(u'photologue', ['PhotoEffect']) + + # Adding model 'Watermark' + db.create_table(u'photologue_watermark', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=30)), + ('description', self.gf('django.db.models.fields.TextField')(blank=True)), + ('image', self.gf('django.db.models.fields.files.ImageField')(max_length=100)), + ('style', self.gf('django.db.models.fields.CharField')(default='scale', max_length=5)), + ('opacity', self.gf('django.db.models.fields.FloatField')(default=1)), + )) + db.send_create_signal(u'photologue', ['Watermark']) + + # Adding model 'PhotoSize' + db.create_table(u'photologue_photosize', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=40)), + ('width', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), + ('height', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), + ('quality', self.gf('django.db.models.fields.PositiveIntegerField')(default=70)), + ('upscale', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('crop', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('pre_cache', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('increment_count', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('effect', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='photo_sizes', null=True, to=orm['photologue.PhotoEffect'])), + ('watermark', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='photo_sizes', null=True, to=orm['photologue.Watermark'])), + )) + db.send_create_signal(u'photologue', ['PhotoSize']) def backwards(self, orm): - # Removing M2M table for field speakers on 'Conference' - db.delete_table(db.shorten_name(u'conference_conference_speakers')) + # Removing unique constraint on 'PhotoTranslation', fields ['language_code', 'master'] + db.delete_unique(u'photologue_photo_translation', ['language_code', 'master_id']) + + # Removing unique constraint on 'GalleryTranslation', fields ['language_code', 'master'] + db.delete_unique(u'photologue_gallery_translation', ['language_code', 'master_id']) + + # Deleting model 'UserMark' + db.delete_table(u'photologue_usermark') + + # Deleting model 'GalleryTranslation' + db.delete_table(u'photologue_gallery_translation') + + # Deleting model 'Gallery' + db.delete_table(u'photologue_gallery') + + # Removing M2M table for field photos on 'Gallery' + db.delete_table(db.shorten_name(u'photologue_gallery_photos')) + + # Removing M2M table for field sites on 'Gallery' + db.delete_table(db.shorten_name(u'photologue_gallery_sites')) + + # Deleting model 'GalleryUpload' + db.delete_table(u'photologue_galleryupload') + + # Deleting model 'PhotoTranslation' + db.delete_table(u'photologue_photo_translation') + + # Deleting model 'Photo' + db.delete_table(u'photologue_photo') + + # Removing M2M table for field sites on 'Photo' + db.delete_table(db.shorten_name(u'photologue_photo_sites')) + + # Removing M2M table for field users on 'Photo' + db.delete_table(db.shorten_name(u'photologue_photo_users')) + + # Deleting model 'PhotoEffect' + db.delete_table(u'photologue_photoeffect') + + # Deleting model 'Watermark' + db.delete_table(u'photologue_watermark') + + # Deleting model 'PhotoSize' + db.delete_table(u'photologue_photosize') models = { @@ -45,6 +234,7 @@ class Migration(SchemaMigration): 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), + 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), @@ -104,130 +294,6 @@ class Migration(SchemaMigration): 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'members_fc': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'periodic_once': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'programm_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'speakers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['conference.Speaker']", 'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conferencetranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ConferenceTranslation', 'db_table': "u'conference_conference_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'discount_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_themes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Conference']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}) - }, - u'conference.speaker': { - 'Meta': {'object_name': 'Speaker'}, - 'company': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'company_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'company_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'fullname': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'fullname_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'fullname_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'conference.statistic': { - 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statistic'", 'to': u"orm['conference.Conference']"}), - 'countries_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'conference.statistictranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'StatisticTranslation', 'db_table': "u'conference_statistic_translation'", 'index_together': '()'}, - 'countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Statistic']"}) - }, - u'conference.timetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'business_program'", 'to': u"orm['conference.Conference']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conf_timetable'", 'null': 'True', 'to': u"orm['organiser.Organiser']"}) - }, - u'conference.timetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TimeTableTranslation', 'db_table': "u'conference_timetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.TimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, 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'}), @@ -288,13 +354,13 @@ class Migration(SchemaMigration): 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 27, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), + 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), @@ -328,31 +394,6 @@ class Migration(SchemaMigration): 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, u'expobanner.top': { 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), @@ -361,7 +402,7 @@ class Migration(SchemaMigration): 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 27, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), @@ -395,14 +436,6 @@ class Migration(SchemaMigration): 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, u'organiser.organiser': { 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), @@ -441,6 +474,25 @@ class Migration(SchemaMigration): 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) }, + u'photologue.gallerytranslation': { + 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'GalleryTranslation', 'db_table': "u'photologue_gallery_translation'", 'index_together': '()'}, + 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), + 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['photologue.Gallery']"}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}) + }, + u'photologue.galleryupload': { + 'Meta': {'object_name': 'GalleryUpload'}, + 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), + 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), + 'gallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'tags': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}), + 'zip_file': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}) + }, u'photologue.photo': { 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), @@ -472,6 +524,28 @@ class Migration(SchemaMigration): 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) }, + u'photologue.photosize': { + 'Meta': {'ordering': "['width', 'height']", 'object_name': 'PhotoSize'}, + 'crop': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), + 'height': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'increment_count': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '40'}), + 'pre_cache': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'quality': ('django.db.models.fields.PositiveIntegerField', [], {'default': '70'}), + 'upscale': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'watermark': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': u"orm['photologue.Watermark']"}), + 'width': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) + }, + u'photologue.phototranslation': { + 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'PhotoTranslation', 'db_table': "u'photologue_photo_translation'", 'index_together': '()'}, + 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), + 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['photologue.Photo']"}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}) + }, u'photologue.usermark': { 'Meta': {'object_name': 'UserMark'}, 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), @@ -481,6 +555,15 @@ class Migration(SchemaMigration): 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) }, + u'photologue.watermark': { + 'Meta': {'object_name': 'Watermark'}, + 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), + 'opacity': ('django.db.models.fields.FloatField', [], {'default': '1'}), + 'style': ('django.db.models.fields.CharField', [], {'default': "'scale'", 'max_length': '5'}) + }, u'place_conference.placeconference': { 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, 'address': ('functions.custom_fields.LocationField', [], {}), @@ -588,4 +671,4 @@ class Migration(SchemaMigration): } } - complete_apps = ['conference'] \ No newline at end of file + complete_apps = ['photologue'] \ No newline at end of file diff --git a/photologue/utils/__init__.py b/apps/photologue/south_migrations/__init__.py similarity index 100% rename from photologue/utils/__init__.py rename to apps/photologue/south_migrations/__init__.py diff --git a/photologue/templates/photologue/gallery_archive.html b/apps/photologue/templates/photologue/gallery_archive.html similarity index 100% rename from photologue/templates/photologue/gallery_archive.html rename to apps/photologue/templates/photologue/gallery_archive.html diff --git a/photologue/templates/photologue/gallery_archive_day.html b/apps/photologue/templates/photologue/gallery_archive_day.html similarity index 100% rename from photologue/templates/photologue/gallery_archive_day.html rename to apps/photologue/templates/photologue/gallery_archive_day.html diff --git a/photologue/templates/photologue/gallery_archive_month.html b/apps/photologue/templates/photologue/gallery_archive_month.html similarity index 100% rename from photologue/templates/photologue/gallery_archive_month.html rename to apps/photologue/templates/photologue/gallery_archive_month.html diff --git a/photologue/templates/photologue/gallery_archive_year.html b/apps/photologue/templates/photologue/gallery_archive_year.html similarity index 100% rename from photologue/templates/photologue/gallery_archive_year.html rename to apps/photologue/templates/photologue/gallery_archive_year.html diff --git a/photologue/templates/photologue/gallery_detail.html b/apps/photologue/templates/photologue/gallery_detail.html similarity index 100% rename from photologue/templates/photologue/gallery_detail.html rename to apps/photologue/templates/photologue/gallery_detail.html diff --git a/photologue/templates/photologue/gallery_list.html b/apps/photologue/templates/photologue/gallery_list.html similarity index 100% rename from photologue/templates/photologue/gallery_list.html rename to apps/photologue/templates/photologue/gallery_list.html diff --git a/photologue/templates/photologue/includes/gallery_sample.html b/apps/photologue/templates/photologue/includes/gallery_sample.html similarity index 100% rename from photologue/templates/photologue/includes/gallery_sample.html rename to apps/photologue/templates/photologue/includes/gallery_sample.html diff --git a/photologue/templates/photologue/includes/paginator.html b/apps/photologue/templates/photologue/includes/paginator.html similarity index 100% rename from photologue/templates/photologue/includes/paginator.html rename to apps/photologue/templates/photologue/includes/paginator.html diff --git a/photologue/templates/photologue/photo_archive.html b/apps/photologue/templates/photologue/photo_archive.html similarity index 100% rename from photologue/templates/photologue/photo_archive.html rename to apps/photologue/templates/photologue/photo_archive.html diff --git a/photologue/templates/photologue/photo_archive_day.html b/apps/photologue/templates/photologue/photo_archive_day.html similarity index 100% rename from photologue/templates/photologue/photo_archive_day.html rename to apps/photologue/templates/photologue/photo_archive_day.html diff --git a/photologue/templates/photologue/photo_archive_month.html b/apps/photologue/templates/photologue/photo_archive_month.html similarity index 100% rename from photologue/templates/photologue/photo_archive_month.html rename to apps/photologue/templates/photologue/photo_archive_month.html diff --git a/photologue/templates/photologue/photo_archive_year.html b/apps/photologue/templates/photologue/photo_archive_year.html similarity index 100% rename from photologue/templates/photologue/photo_archive_year.html rename to apps/photologue/templates/photologue/photo_archive_year.html diff --git a/photologue/templates/photologue/photo_detail.html b/apps/photologue/templates/photologue/photo_detail.html similarity index 100% rename from photologue/templates/photologue/photo_detail.html rename to apps/photologue/templates/photologue/photo_detail.html diff --git a/photologue/templates/photologue/photo_list.html b/apps/photologue/templates/photologue/photo_list.html similarity index 100% rename from photologue/templates/photologue/photo_list.html rename to apps/photologue/templates/photologue/photo_list.html diff --git a/photologue/templates/photologue/root.html b/apps/photologue/templates/photologue/root.html similarity index 100% rename from photologue/templates/photologue/root.html rename to apps/photologue/templates/photologue/root.html diff --git a/photologue/templates/photologue/tags/next_in_gallery.html b/apps/photologue/templates/photologue/tags/next_in_gallery.html similarity index 100% rename from photologue/templates/photologue/tags/next_in_gallery.html rename to apps/photologue/templates/photologue/tags/next_in_gallery.html diff --git a/photologue/templates/photologue/tags/prev_in_gallery.html b/apps/photologue/templates/photologue/tags/prev_in_gallery.html similarity index 100% rename from photologue/templates/photologue/tags/prev_in_gallery.html rename to apps/photologue/templates/photologue/tags/prev_in_gallery.html diff --git a/photoreport/__init__.py b/apps/photologue/templatetags/__init__.py similarity index 100% rename from photoreport/__init__.py rename to apps/photologue/templatetags/__init__.py diff --git a/photologue/templatetags/photologue_tags.py b/apps/photologue/templatetags/photologue_tags.py similarity index 100% rename from photologue/templatetags/photologue_tags.py rename to apps/photologue/templatetags/photologue_tags.py diff --git a/photologue/tests/__init__.py b/apps/photologue/tests/__init__.py similarity index 100% rename from photologue/tests/__init__.py rename to apps/photologue/tests/__init__.py diff --git a/photologue/tests/factories.py b/apps/photologue/tests/factories.py similarity index 100% rename from photologue/tests/factories.py rename to apps/photologue/tests/factories.py diff --git a/photologue/tests/helpers.py b/apps/photologue/tests/helpers.py similarity index 100% rename from photologue/tests/helpers.py rename to apps/photologue/tests/helpers.py diff --git a/photologue/tests/templates/base.html b/apps/photologue/tests/templates/base.html similarity index 100% rename from photologue/tests/templates/base.html rename to apps/photologue/tests/templates/base.html diff --git a/photologue/tests/test_effect.py b/apps/photologue/tests/test_effect.py similarity index 100% rename from photologue/tests/test_effect.py rename to apps/photologue/tests/test_effect.py diff --git a/photologue/tests/test_gallery.py b/apps/photologue/tests/test_gallery.py similarity index 100% rename from photologue/tests/test_gallery.py rename to apps/photologue/tests/test_gallery.py diff --git a/photologue/tests/test_photo.py b/apps/photologue/tests/test_photo.py similarity index 100% rename from photologue/tests/test_photo.py rename to apps/photologue/tests/test_photo.py diff --git a/photologue/tests/test_photosize.py b/apps/photologue/tests/test_photosize.py similarity index 100% rename from photologue/tests/test_photosize.py rename to apps/photologue/tests/test_photosize.py diff --git a/photologue/tests/test_resize.py b/apps/photologue/tests/test_resize.py similarity index 100% rename from photologue/tests/test_resize.py rename to apps/photologue/tests/test_resize.py diff --git a/photologue/tests/test_sitemap.py b/apps/photologue/tests/test_sitemap.py similarity index 100% rename from photologue/tests/test_sitemap.py rename to apps/photologue/tests/test_sitemap.py diff --git a/photologue/tests/test_sites.py b/apps/photologue/tests/test_sites.py similarity index 100% rename from photologue/tests/test_sites.py rename to apps/photologue/tests/test_sites.py diff --git a/photologue/tests/test_urls.py b/apps/photologue/tests/test_urls.py similarity index 100% rename from photologue/tests/test_urls.py rename to apps/photologue/tests/test_urls.py diff --git a/photologue/tests/test_views_gallery.py b/apps/photologue/tests/test_views_gallery.py similarity index 100% rename from photologue/tests/test_views_gallery.py rename to apps/photologue/tests/test_views_gallery.py diff --git a/photologue/tests/test_views_photo.py b/apps/photologue/tests/test_views_photo.py similarity index 100% rename from photologue/tests/test_views_photo.py rename to apps/photologue/tests/test_views_photo.py diff --git a/photologue/tests/test_zipupload.py b/apps/photologue/tests/test_zipupload.py similarity index 100% rename from photologue/tests/test_zipupload.py rename to apps/photologue/tests/test_zipupload.py diff --git a/photologue/urls.py b/apps/photologue/urls.py similarity index 100% rename from photologue/urls.py rename to apps/photologue/urls.py diff --git a/photologue/utils/EXIF.py b/apps/photologue/utils/EXIF.py similarity index 100% rename from photologue/utils/EXIF.py rename to apps/photologue/utils/EXIF.py diff --git a/place_conference/__init__.py b/apps/photologue/utils/__init__.py similarity index 100% rename from place_conference/__init__.py rename to apps/photologue/utils/__init__.py diff --git a/photologue/utils/reflection.py b/apps/photologue/utils/reflection.py similarity index 100% rename from photologue/utils/reflection.py rename to apps/photologue/utils/reflection.py diff --git a/photologue/utils/watermark.py b/apps/photologue/utils/watermark.py similarity index 100% rename from photologue/utils/watermark.py rename to apps/photologue/utils/watermark.py diff --git a/photologue/views.py b/apps/photologue/views.py similarity index 100% rename from photologue/views.py rename to apps/photologue/views.py diff --git a/place_conference/migrations/__init__.py b/apps/photoreport/__init__.py similarity index 100% rename from place_conference/migrations/__init__.py rename to apps/photoreport/__init__.py diff --git a/photoreport/admin.py b/apps/photoreport/admin.py similarity index 100% rename from photoreport/admin.py rename to apps/photoreport/admin.py diff --git a/photoreport/admin_urls.py b/apps/photoreport/admin_urls.py similarity index 100% rename from photoreport/admin_urls.py rename to apps/photoreport/admin_urls.py diff --git a/photoreport/forms.py b/apps/photoreport/forms.py similarity index 100% rename from photoreport/forms.py rename to apps/photoreport/forms.py diff --git a/photoreport/models.py b/apps/photoreport/models.py similarity index 100% rename from photoreport/models.py rename to apps/photoreport/models.py diff --git a/organiser/tests.py b/apps/photoreport/tests.py similarity index 100% rename from organiser/tests.py rename to apps/photoreport/tests.py diff --git a/photoreport/urls.py b/apps/photoreport/urls.py similarity index 100% rename from photoreport/urls.py rename to apps/photoreport/urls.py diff --git a/photoreport/views.py b/apps/photoreport/views.py similarity index 100% rename from photoreport/views.py rename to apps/photoreport/views.py diff --git a/place_exposition/__init__.py b/apps/place_conference/__init__.py similarity index 100% rename from place_exposition/__init__.py rename to apps/place_conference/__init__.py diff --git a/place_conference/admin.py b/apps/place_conference/admin.py similarity index 94% rename from place_conference/admin.py rename to apps/place_conference/admin.py index fc609033..1da7a783 100644 --- a/place_conference/admin.py +++ b/apps/place_conference/admin.py @@ -21,6 +21,7 @@ import random from functions.custom_views import objects_list, delete_object from functions.views_help import get_referer from functions.admin_views import AdminListView +from functions.admin_views import AdminView def conference_all(request): @@ -189,9 +190,6 @@ def conference_change(request, url): return render_to_response('place_conference_add.html', args) -from photologue.forms import PhotoForm -from functions.admin_views import AdminView -from file.forms import FileModelForm, FileForm class PlaceConferenceView(AdminView): form_class = ConferenceForm model = PlaceConference @@ -234,18 +232,6 @@ class PlaceConferenceView(AdminView): return form_class() - def get_context_data(self, **kwargs): - context = super(PlaceConferenceView, self).get_context_data(**kwargs) - obj = self.set_obj() - if obj: - context['file_form'] = FileForm(initial={'model': 'place_conference.PlaceConference'}) - files = FileModel.objects.filter(content_type=ContentType.objects.get_for_model(obj),object_id=getattr(obj, 'id')) - context['files'] = files - - context['photo_form'] = PhotoForm() - - return context - class PlaceConferenceListView(AdminListView): template_name = 'c_admin/place_conference/place_conference_list.html' form_class = PlaceConferenceFilterForm diff --git a/place_conference/admin_urls.py b/apps/place_conference/admin_urls.py similarity index 100% rename from place_conference/admin_urls.py rename to apps/place_conference/admin_urls.py diff --git a/place_conference/forms.py b/apps/place_conference/forms.py similarity index 100% rename from place_conference/forms.py rename to apps/place_conference/forms.py diff --git a/place_conference/migrations/0002_auto__add_field_placeconference_top.py b/apps/place_conference/migrations/0001_initial.py similarity index 78% rename from place_conference/migrations/0002_auto__add_field_placeconference_top.py rename to apps/place_conference/migrations/0001_initial.py index 22550ea3..ed3862ca 100644 --- a/place_conference/migrations/0002_auto__add_field_placeconference_top.py +++ b/apps/place_conference/migrations/0001_initial.py @@ -8,15 +8,83 @@ from django.db import models class Migration(SchemaMigration): def forwards(self, orm): - # Adding field 'PlaceConference.top' - db.add_column(u'place_conference_placeconference', 'top', - self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.Top'], null=True, on_delete=models.SET_NULL, blank=True), - keep_default=False) + # Adding model 'PlaceConferenceTranslation' + db.create_table(u'place_conference_placeconference_translation', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', self.gf('django.db.models.fields.CharField')(max_length=100)), + ('main_title', self.gf('django.db.models.fields.TextField')(blank=True)), + ('description', self.gf('django.db.models.fields.TextField')(blank=True)), + ('adress', self.gf('django.db.models.fields.TextField')(blank=True)), + ('hall_capacity', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), + ('title', self.gf('django.db.models.fields.CharField')(max_length=250)), + ('descriptions', self.gf('django.db.models.fields.CharField')(max_length=250)), + ('keywords', self.gf('django.db.models.fields.CharField')(max_length=250)), + ('total_year_action', self.gf('django.db.models.fields.TextField')(blank=True)), + ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), + ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['place_conference.PlaceConference'])), + )) + db.send_create_signal(u'place_conference', ['PlaceConferenceTranslation']) + + # Adding unique constraint on 'PlaceConferenceTranslation', fields ['language_code', 'master'] + db.create_unique(u'place_conference_placeconference_translation', ['language_code', 'master_id']) + + # Adding model 'PlaceConference' + db.create_table(u'place_conference_placeconference', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('url', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=50)), + ('country', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['country.Country'], on_delete=models.PROTECT)), + ('city', self.gf('django.db.models.fields.related.ForeignKey')(related_name='place_conferences', on_delete=models.PROTECT, to=orm['city.City'])), + ('type', self.gf('functions.custom_fields.EnumField')(default='Convention centre', values=['Convention centre', 'Exposition centre'])), + ('address', self.gf('functions.custom_fields.LocationField')()), + ('phone', self.gf('django.db.models.fields.BigIntegerField')(null=True, blank=True)), + ('fax', self.gf('django.db.models.fields.BigIntegerField')(null=True, blank=True)), + ('web_page', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), + ('email', self.gf('django.db.models.fields.EmailField')(max_length=75, blank=True)), + ('foundation_year', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('total_capacity', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('amount_halls', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('exposition_hall', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), + ('exp_hall_area', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('video_link', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), + ('virtual_tour', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), + ('wifi', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), + ('multimedia_equipment', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), + ('conference_call', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), + ('translate_equipment', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), + ('banquet_hall', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), + ('catering', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), + ('hotel', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), + ('logo', self.gf('django.db.models.fields.files.ImageField')(max_length=255, blank=True)), + ('top', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.Top'], null=True, on_delete=models.SET_NULL, blank=True)), + ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + ('modified', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), + ('views', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), + )) + db.send_create_signal(u'place_conference', ['PlaceConference']) + + # Adding model 'Hall' + db.create_table(u'place_conference_hall', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('place_conference', self.gf('django.db.models.fields.related.ForeignKey')(related_name='halls', to=orm['place_conference.PlaceConference'])), + ('name', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)), + ('number', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('capacity', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + )) + db.send_create_signal(u'place_conference', ['Hall']) def backwards(self, orm): - # Deleting field 'PlaceConference.top' - db.delete_column(u'place_conference_placeconference', 'top_id') + # Removing unique constraint on 'PlaceConferenceTranslation', fields ['language_code', 'master'] + db.delete_unique(u'place_conference_placeconference_translation', ['language_code', 'master_id']) + + # Deleting model 'PlaceConferenceTranslation' + db.delete_table(u'place_conference_placeconference_translation') + + # Deleting model 'PlaceConference' + db.delete_table(u'place_conference_placeconference') + + # Deleting model 'Hall' + db.delete_table(u'place_conference_hall') models = { @@ -95,13 +163,13 @@ class Migration(SchemaMigration): 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 17, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), + 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), @@ -143,7 +211,7 @@ class Migration(SchemaMigration): 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 17, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), diff --git a/place_exposition/migrations/__init__.py b/apps/place_conference/migrations/__init__.py similarity index 100% rename from place_exposition/migrations/__init__.py rename to apps/place_conference/migrations/__init__.py diff --git a/place_conference/models.py b/apps/place_conference/models.py similarity index 97% rename from place_conference/models.py rename to apps/place_conference/models.py index 532c2461..1ebb4ee4 100644 --- a/place_conference/models.py +++ b/apps/place_conference/models.py @@ -2,6 +2,7 @@ from django.db import models from django.contrib.contenttypes import generic from django.db.models.signals import post_save, pre_save +from django.utils import timezone from hvad.models import TranslatableModel, TranslatedFields, TranslationManager from functions.custom_fields import EnumField from functions.custom_fields import LocationField @@ -107,8 +108,8 @@ class PlaceConference(TranslatableModel, ExpoMixin): return '/places' def get_events_number(self): - exp = Conference.objects.filter(place=self) - return len(exp) + return Conference.objects.filter(place=self, + data_begin__gt=timezone.now()).count() def events(self): events = Conference.objects.filter(place=self)[:6] diff --git a/place_conference/search_indexes.py b/apps/place_conference/search_indexes.py similarity index 100% rename from place_conference/search_indexes.py rename to apps/place_conference/search_indexes.py diff --git a/place_conference/signals.py b/apps/place_conference/signals.py similarity index 100% rename from place_conference/signals.py rename to apps/place_conference/signals.py diff --git a/photoreport/tests.py b/apps/place_conference/tests.py similarity index 100% rename from photoreport/tests.py rename to apps/place_conference/tests.py diff --git a/redirects/__init__.py b/apps/place_exposition/__init__.py similarity index 100% rename from redirects/__init__.py rename to apps/place_exposition/__init__.py diff --git a/place_exposition/admin.py b/apps/place_exposition/admin.py similarity index 95% rename from place_exposition/admin.py rename to apps/place_exposition/admin.py index 140ecffe..ff308ee6 100644 --- a/place_exposition/admin.py +++ b/apps/place_exposition/admin.py @@ -11,20 +11,21 @@ from django.contrib.auth.decorators import login_required from django.forms.formsets import formset_factory from django.forms.models import modelformset_factory from django.utils.translation import get_language +from django.views.decorators.csrf import csrf_exempt from haystack.query import SearchQuerySet from functions.custom_views import objects_list, delete_object from functions.views_help import get_referer -from functions.admin_views import AdminView, AdminListView, upload_photo, FormView +from functions.admin_views import AdminView, AdminListView from functions.http import JsonResponse from exposition.admin import get_by_lang from forms import ExpositionForm, PlaceExpositionFormDelete, HallForm, PlaceExpositionFilter -from models import PlaceExposition, Hall +from models import Hall from city.models import City from file.models import FileModel, TmpFile -from file.forms import FileModelForm, FileForm -from photologue.forms import PhotoForm +from file.forms import FileModelForm +from photologue.admin import upload_photo from place_conference.models import PlaceConference from place_exposition.models import PlaceExposition @@ -244,21 +245,13 @@ class PlaceExpositionView(AdminView): else: return form_class() - def get_context_data(self, **kwargs): context = super(PlaceExpositionView, self).get_context_data(**kwargs) - obj = self.set_obj() - if obj: - context['file_form'] = FileForm(initial={'model': 'place_exposition.PlaceExposition'}) - files = FileModel.objects.filter(content_type=ContentType.objects.get_for_model(obj),object_id=getattr(obj, 'id')) - context['files'] = files - context['halls'] = list(Hall.objects.language().filter(place_exposition=self.obj)) context['hall_form'] = HallForm() - context['photo_form'] = PhotoForm() - return context + def add_hall(request, place_id): place = get_object_or_404(PlaceExposition, pk=place_id) form = HallForm(request.POST) @@ -285,7 +278,7 @@ class PlaceExpositionListView(AdminListView): model = PlaceExposition - +@csrf_exempt def upload_place_photo(request, place_id): return upload_photo(request, place_id, PlaceExposition) diff --git a/place_exposition/admin_urls.py b/apps/place_exposition/admin_urls.py similarity index 100% rename from place_exposition/admin_urls.py rename to apps/place_exposition/admin_urls.py diff --git a/place_exposition/forms.py b/apps/place_exposition/forms.py similarity index 100% rename from place_exposition/forms.py rename to apps/place_exposition/forms.py diff --git a/place_exposition/management/__init__.py b/apps/place_exposition/management/__init__.py similarity index 100% rename from place_exposition/management/__init__.py rename to apps/place_exposition/management/__init__.py diff --git a/place_exposition/management/commands/__init__.py b/apps/place_exposition/management/commands/__init__.py similarity index 100% rename from place_exposition/management/commands/__init__.py rename to apps/place_exposition/management/commands/__init__.py diff --git a/place_exposition/management/commands/convert_logo.py b/apps/place_exposition/management/commands/convert_logo.py similarity index 100% rename from place_exposition/management/commands/convert_logo.py rename to apps/place_exposition/management/commands/convert_logo.py diff --git a/place_exposition/management/commands/convert_photo.py b/apps/place_exposition/management/commands/convert_photo.py similarity index 100% rename from place_exposition/management/commands/convert_photo.py rename to apps/place_exposition/management/commands/convert_photo.py diff --git a/place_exposition/management/commands/place_en.py b/apps/place_exposition/management/commands/place_en.py similarity index 100% rename from place_exposition/management/commands/place_en.py rename to apps/place_exposition/management/commands/place_en.py diff --git a/place_exposition/management/commands/place_exposition_load.py b/apps/place_exposition/management/commands/place_exposition_load.py similarity index 100% rename from place_exposition/management/commands/place_exposition_load.py rename to apps/place_exposition/management/commands/place_exposition_load.py diff --git a/place_exposition/migrations/0001_initial.py b/apps/place_exposition/migrations/0001_initial.py similarity index 83% rename from place_exposition/migrations/0001_initial.py rename to apps/place_exposition/migrations/0001_initial.py index da8ec0d3..47979c84 100644 --- a/place_exposition/migrations/0001_initial.py +++ b/apps/place_exposition/migrations/0001_initial.py @@ -63,6 +63,7 @@ class Migration(SchemaMigration): ('logo', self.gf('django.db.models.fields.files.ImageField')(max_length=255, blank=True)), ('rating', self.gf('django.db.models.fields.IntegerField')(default=0)), ('partner', self.gf('django.db.models.fields.NullBooleanField')(default=0, null=True, blank=True)), + ('top', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.Top'], null=True, on_delete=models.SET_NULL, blank=True)), ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('modified', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), ('views', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), @@ -134,6 +135,7 @@ class Migration(SchemaMigration): 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), + 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), @@ -245,6 +247,83 @@ class Migration(SchemaMigration): u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) }, + u'expobanner.banner': { + 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, + 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), + 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), + 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), + 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), + 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), + 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), + 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), + 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), + 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), + 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), + 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), + 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), + 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) + }, + u'expobanner.bannergroup': { + 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, + 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), + 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), + 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), + 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) + }, + u'expobanner.customer': { + 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, + 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) + }, + u'expobanner.top': { + 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, + 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), + 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), + 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), + 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), + 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), + 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), + 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), + 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), + 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) + }, + u'expobanner.url': { + 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, + 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), + 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), + 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) + }, u'file.filemodel': { 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), @@ -357,6 +436,7 @@ class Migration(SchemaMigration): 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), @@ -412,6 +492,7 @@ class Migration(SchemaMigration): 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), diff --git a/registration/backends/__init__.py b/apps/place_exposition/migrations/__init__.py similarity index 100% rename from registration/backends/__init__.py rename to apps/place_exposition/migrations/__init__.py diff --git a/place_exposition/models.py b/apps/place_exposition/models.py similarity index 93% rename from place_exposition/models.py rename to apps/place_exposition/models.py index af15a110..9632908c 100644 --- a/place_exposition/models.py +++ b/apps/place_exposition/models.py @@ -4,8 +4,10 @@ from django.db.models import Q from django.contrib.contenttypes import generic from django.db.models.signals import post_save, pre_save from django.utils.translation import ugettext as _ +from django.utils import timezone from functools import partial from django.conf import settings +from django.core.urlresolvers import reverse from functions.translate import fill_with_signal # from hvad.models import TranslatableModel, TranslatedFields, TranslationManager @@ -52,7 +54,7 @@ class PlaceExposition(TranslatableModel, ExpoMixin): #type uses EnumField for creating Enum type field in Mysql database type = EnumField(values = [item1 for item1, item2 in EXPOSITION_TYPE]) #information - address = LocationField(verbose_name=_(u'Адресс')) + address = LocationField(verbose_name=_(u'Адрес')) phone = models.BigIntegerField(blank=True, null=True) fax = models.BigIntegerField(blank=True, null=True) web_page = models.URLField(blank=True) @@ -152,10 +154,12 @@ class PlaceExposition(TranslatableModel, ExpoMixin): titles = ' '.join([tr.main_title for tr in translations]) return names + ' ' + titles - def __unicode__(self): return self.lazy_translation_getter('name', unicode(self.pk)) + def get_absolute_url(self): + return reverse('place_detail', args=[self.url]) + def get_object_type(self): return _(u'Места') @@ -163,8 +167,7 @@ class PlaceExposition(TranslatableModel, ExpoMixin): return self.catalog def get_permanent_url(self): - url = '%s%s/'%(self.catalog, self.url) - return url + return reverse('place_detail', args=[self.url]) def get_logo(self): return self.logo @@ -193,8 +196,13 @@ class PlaceExposition(TranslatableModel, ExpoMixin): if not self.address: return [] # get coordinates of all hotels in current city - qs_hotels_all = self.city.hotels.filter(city=self.city) - hotels_coord = [(hotel.latitude, hotel.longitude) for hotel in qs_hotels_all] + qs_hotels_all = self.city.hotels.language().filter( + city=self.city + ).values( + 'latitude', 'longitude', 'url', 'photo', 'name', + 'min_price', 'currency' + ) + hotels_coord = [(hotel['latitude'], hotel['longitude']) for hotel in qs_hotels_all] # coordinate current place place_coord = (float(self.address['lat']), float(self.address['lng'])) # 4 coordinates of 4 nearest hotels @@ -248,8 +256,8 @@ class PlaceExposition(TranslatableModel, ExpoMixin): return duplicate def get_events_number(self): - exp = Exposition.objects.filter(place=self) - return len(exp) + return Exposition.objects.filter(place=self, + data_begin__gt=timezone.now()).count() class Hall(TranslatableModel): diff --git a/place_exposition/search_indexes.py b/apps/place_exposition/search_indexes.py similarity index 100% rename from place_exposition/search_indexes.py rename to apps/place_exposition/search_indexes.py diff --git a/place_exposition/signals.py b/apps/place_exposition/signals.py similarity index 100% rename from place_exposition/signals.py rename to apps/place_exposition/signals.py diff --git a/place_conference/tests.py b/apps/place_exposition/tests.py similarity index 100% rename from place_conference/tests.py rename to apps/place_exposition/tests.py diff --git a/apps/place_exposition/urls.py b/apps/place_exposition/urls.py new file mode 100644 index 00000000..e3fe1120 --- /dev/null +++ b/apps/place_exposition/urls.py @@ -0,0 +1,58 @@ +# -*- coding: utf-8 -*- +from django.conf.urls import patterns, url + +from .views import ( + PlaceCityCatalog, PlaceCountryCatalog, PlaceDetail, PlaceList, PlacePhoto, + PlaceByCountry, PlaceByCity, PlaceExpositionListView +) + +urlpatterns = patterns( + '', + url(r'^country/$', PlaceByCountry.as_view(), {'meta_id': 49}), + url( + r'^country/(?P.*)/page/(?P\d+)/$', + PlaceCountryCatalog.as_view(), + {'meta_id': 49} + ), + url( + r'^country/(?P.*)/$', + PlaceCountryCatalog.as_view(), + {'meta_id': 49}, + name='place_country' + ), + + url(r'^city/$', PlaceByCity.as_view(), {'meta_id': 48}), + url( + r'^city/(?P.*)/page/(?P\d+)/$', + PlaceCityCatalog.as_view(), + {'meta_id': 48} + ), + url( + r'^city/(?P.*)/$', + PlaceCityCatalog.as_view(), + {'meta_id': 48}, + name='place_city' + ), + + url( + r'^(?P.*)/photo/page/(?P\d+)/$', + PlacePhoto.as_view(), + {'meta_id': 91} + ), + url(r'^(?P.*)/photo/$', PlacePhoto.as_view(), {'meta_id': 91}), + + url(r'^page/(?P\d+)/$', PlaceList.as_view(), {'meta_id': 46}), + url( + r'^(?P.*)/expositions/$', + PlaceExpositionListView.as_view(), + {'meta_id': 94}, + name='place_exposition_list' + ), + url( + r'^(?P.*)/$', + PlaceDetail.as_view(), + {'meta_id': 47}, + name='place_detail' + ), + url(r'^$', PlaceList.as_view(), {'meta_id': 46}), +) diff --git a/place_exposition/views.py b/apps/place_exposition/views.py similarity index 85% rename from place_exposition/views.py rename to apps/place_exposition/views.py index 50cdfe7f..d438c3c3 100644 --- a/place_exposition/views.py +++ b/apps/place_exposition/views.py @@ -10,11 +10,12 @@ from django.template import RequestContext from django.utils import translation from django.utils.translation import ugettext as _ from django.views.generic import DetailView, FormView +from django.utils import timezone from functions.cache_mixin import CacheMixin, JitterCacheMixin from functions.custom_views import ListView from meta.views import MetadataMixin from place_conference.models import PlaceConference - +from exposition.models import Exposition from .models import PlaceExposition @@ -131,15 +132,12 @@ class PlaceList(JitterCacheMixin, MetadataMixin, ListView): paginate_by = settings.CLIENT_PAGINATION template_name = 'client/place/place_list.html' - def get_queryset(self): - #qs = super(PlaceList, self).get_queryset().order_by('-rating') - qs= PlaceExposition.objects.language().select_related('country', 'city').all().order_by('-rating') - conf_qs = PlaceConference.objects.language().all() + qs = PlaceExposition.objects.language().select_related('country', 'city').order_by('-rating') + conf_qs = PlaceConference.objects.language().select_related('country', 'city') return list(qs)+list(conf_qs) - class PlaceCatalogBy(JitterCacheMixin, MetadataMixin, ListView): cache_range = [60*30, 60*60] template_name = 'client/place/catalog_by.html' @@ -230,3 +228,32 @@ class PlaceCityCatalog(PlaceCatalog): context = super(PlaceCityCatalog, self).get_context_data(**kwargs) context['city'] = str(self.kwargs['city'].id) return context + + +class PlaceExpositionListView(MetadataMixin, ListView): + """ + Представление перечня событий относительно места. + Переход на эту страницу происходит со страницы подробного просмотра + места, по ссылке "Все события" + """ + template_name = 'client/place/place_exposition_list.html' + # cache_range = settings.CACHE_RANGE + + def get_object(self): + slug = self.kwargs.get('slug') + self.object = get_object_or_404(PlaceExposition, url=slug) + return self.object + + def get_queryset(self): + return Exposition.objects.filter( + place=self.get_object(), data_begin__gte=timezone.now() + ).select_related( + 'country', 'city' + ).prefetch_related( + 'tag' + ) + + def get_context_data(self, **kwargs): + ctx = super(PlaceExpositionListView, self).get_context_data(**kwargs) + ctx['object'] = self.get_object() + return ctx diff --git a/registration/backends/default/__init__.py b/apps/redirects/__init__.py similarity index 100% rename from registration/backends/default/__init__.py rename to apps/redirects/__init__.py diff --git a/redirects/admin.py b/apps/redirects/admin.py similarity index 100% rename from redirects/admin.py rename to apps/redirects/admin.py diff --git a/redirects/admin_urls.py b/apps/redirects/admin_urls.py similarity index 100% rename from redirects/admin_urls.py rename to apps/redirects/admin_urls.py diff --git a/redirects/forms.py b/apps/redirects/forms.py similarity index 100% rename from redirects/forms.py rename to apps/redirects/forms.py diff --git a/registration/__init__.py b/apps/registration/__init__.py similarity index 100% rename from registration/__init__.py rename to apps/registration/__init__.py diff --git a/registration/admin.py b/apps/registration/admin.py similarity index 100% rename from registration/admin.py rename to apps/registration/admin.py diff --git a/registration/auth_urls.py b/apps/registration/auth_urls.py similarity index 100% rename from registration/auth_urls.py rename to apps/registration/auth_urls.py diff --git a/registration/backends/simple/__init__.py b/apps/registration/backends/__init__.py similarity index 100% rename from registration/backends/simple/__init__.py rename to apps/registration/backends/__init__.py diff --git a/registration/management/__init__.py b/apps/registration/backends/default/__init__.py similarity index 100% rename from registration/management/__init__.py rename to apps/registration/backends/default/__init__.py diff --git a/registration/backends/default/urls.py b/apps/registration/backends/default/urls.py similarity index 100% rename from registration/backends/default/urls.py rename to apps/registration/backends/default/urls.py diff --git a/registration/backends/default/views.py b/apps/registration/backends/default/views.py similarity index 86% rename from registration/backends/default/views.py rename to apps/registration/backends/default/views.py index 8655ef46..b6228727 100644 --- a/registration/backends/default/views.py +++ b/apps/registration/backends/default/views.py @@ -1,19 +1,26 @@ # -*- coding: utf-8 -*- from django.conf import settings -from django.contrib.sites.models import RequestSite -from django.contrib.sites.models import Site +from django.contrib.sites.models import RequestSite, Site from django.utils.translation import ugettext as _ -from django.http import Http404 +from django.http import Http404, HttpResponse, HttpResponseRedirect +from django.shortcuts import render +from django.contrib.auth import login, logout, authenticate +from django.views.decorators.debug import sensitive_post_parameters +from django.views.decorators.cache import never_cache from registration import signals from registration.models import RegistrationProfile from registration.views import ActivationView as BaseActivationView from registration.views import RegistrationView as BaseRegistrationView +from registration.forms import RegistrationFormUniqueEmail from accounts.forms import RegistrationCompleteForm, SocialRegistrationCompleteForm +from accounts.models import User + from social.apps.django_app.default.models import UserSocialAuth import json + class RegistrationView(BaseRegistrationView): """ A registration backend which follows a simple workflow: @@ -144,51 +151,48 @@ class ActivationView(BaseActivationView): return ('registration_activation_complete', (), {}) +def registration_form_validate(request): + """ + Ajax валидация формы регистрации на лету + """ + data = {'success': False} + if request.method == 'POST': + form = RegistrationFormUniqueEmail(request.POST) + if form.is_valid(): + data['success'] = True + else: + data['errors'] = form.errors + return HttpResponse(json.dumps(data), content_type='application/json') - -from django.http import HttpResponse, HttpResponseRedirect - -from accounts.models import User - -from registration.forms import RegistrationFormUniqueEmail -from django.contrib.auth import login, logout, authenticate - -from django.views.decorators.debug import sensitive_post_parameters -from django.views.decorators.cache import never_cache - @sensitive_post_parameters('password1', 'password2') @never_cache def RegisterAjaxView(request): - #if request.is_ajax(): - data = {'success': False} - if request.POST: - form = RegistrationFormUniqueEmail(request.POST) - if form.is_valid(): - first_name, last_name, email, password = form.cleaned_data['first_name'],\ - form.cleaned_data['last_name'], form.cleaned_data['email'],\ - form.cleaned_data['password1'] - if Site._meta.installed: - site = Site.objects.get_current() - else: - site = RequestSite(request) - new_user = RegistrationProfile.objects.create_inactive_user(first_name, last_name, email, - password, site) - signals.user_registered.send(sender=User, - user=new_user, - request=request) - data['success'] = True - + data = {'success': False} + if request.method == 'POST': + form = RegistrationFormUniqueEmail(request.POST) + if form.is_valid(): + first_name, last_name, email, password = form.cleaned_data['first_name'],\ + form.cleaned_data['last_name'], form.cleaned_data['email'],\ + form.cleaned_data['password1'] + if Site._meta.installed: + site = Site.objects.get_current() else: - data.update({'errors':form.errors}) + site = RequestSite(request) + new_user = RegistrationProfile.objects.create_inactive_user(first_name, last_name, email, + password, site) + signals.user_registered.send(sender=User, + user=new_user, + request=request) + data['success'] = True - return HttpResponse(json.dumps(data), content_type='application/json') else: - # 404 - return HttpResponse('not post') - #else: + data.update({'errors':form.errors}) + + return HttpResponse(json.dumps(data), content_type='application/json') + else: # 404 - # return HttpResponse('not ajax') + return HttpResponse('not post') def RegisterReply(request): if request.GET: @@ -277,8 +281,6 @@ def complete_registration(request): else: return HttpResponse('not ajax') -from django.shortcuts import render - def acquire_email(request, template_name="registration/acquire_email.html"): """ diff --git a/registration/management/commands/__init__.py b/apps/registration/backends/simple/__init__.py similarity index 100% rename from registration/management/commands/__init__.py rename to apps/registration/backends/simple/__init__.py diff --git a/registration/backends/simple/urls.py b/apps/registration/backends/simple/urls.py similarity index 100% rename from registration/backends/simple/urls.py rename to apps/registration/backends/simple/urls.py diff --git a/registration/backends/simple/views.py b/apps/registration/backends/simple/views.py similarity index 100% rename from registration/backends/simple/views.py rename to apps/registration/backends/simple/views.py diff --git a/registration/forms.py b/apps/registration/forms.py similarity index 95% rename from registration/forms.py rename to apps/registration/forms.py index 8c6e718b..ca3eb65b 100644 --- a/registration/forms.py +++ b/apps/registration/forms.py @@ -51,9 +51,9 @@ class RegistrationForm(forms.Form): widget=forms.TextInput(attrs={'placeholder':_(u'Фамилия')})) email = forms.EmailField(label=_("E-mail"), widget=forms.TextInput(attrs={'placeholder':_(u'Адрес электронной почты')})) - password1 = forms.CharField(widget=forms.PasswordInput(attrs={'placeholder':_(u'Придумайте пароль')}), + password1 = forms.CharField(min_length=6, widget=forms.PasswordInput(attrs={'placeholder':_(u'Придумайте пароль')}), label=_("Password")) - password2 = forms.CharField(widget=forms.PasswordInput(attrs={'placeholder':_(u'Повторите пароль')}), + password2 = forms.CharField(min_length=6, widget=forms.PasswordInput(attrs={'placeholder':_(u'Повторите пароль')}), label=_("Password (again)")) def clean(self): diff --git a/review/__init__.py b/apps/registration/management/__init__.py similarity index 100% rename from review/__init__.py rename to apps/registration/management/__init__.py diff --git a/seminar/__init__.py b/apps/registration/management/commands/__init__.py similarity index 100% rename from seminar/__init__.py rename to apps/registration/management/commands/__init__.py diff --git a/registration/management/commands/cleanupregistration.py b/apps/registration/management/commands/cleanupregistration.py similarity index 100% rename from registration/management/commands/cleanupregistration.py rename to apps/registration/management/commands/cleanupregistration.py diff --git a/registration/models.py b/apps/registration/models.py similarity index 99% rename from registration/models.py rename to apps/registration/models.py index ee89a8a0..340695c5 100644 --- a/registration/models.py +++ b/apps/registration/models.py @@ -281,7 +281,7 @@ class RegistrationProfile(models.Model): ('/img/soc-medias/sm-icon-twit.png', 'twit'), ('/img/mail-logo-2.jpg','logo2')) for img in images: - fp = open(os.path.join(settings.STATIC_ROOT, img[0]), 'rb') + fp = open('%s%s' % (settings.STATIC_ROOT, img[0]), 'rb') msg_img = MIMEImage(fp.read()) fp.close() msg_img.add_header('Content-ID', '<'+img[1]+'>') diff --git a/registration/signals.py b/apps/registration/signals.py similarity index 100% rename from registration/signals.py rename to apps/registration/signals.py diff --git a/registration/tests/__init__.py b/apps/registration/tests/__init__.py similarity index 100% rename from registration/tests/__init__.py rename to apps/registration/tests/__init__.py diff --git a/registration/tests/default_backend.py b/apps/registration/tests/default_backend.py similarity index 100% rename from registration/tests/default_backend.py rename to apps/registration/tests/default_backend.py diff --git a/registration/tests/forms.py b/apps/registration/tests/forms.py similarity index 100% rename from registration/tests/forms.py rename to apps/registration/tests/forms.py diff --git a/registration/tests/models.py b/apps/registration/tests/models.py similarity index 100% rename from registration/tests/models.py rename to apps/registration/tests/models.py diff --git a/registration/tests/simple_backend.py b/apps/registration/tests/simple_backend.py similarity index 100% rename from registration/tests/simple_backend.py rename to apps/registration/tests/simple_backend.py diff --git a/registration/tests/urls.py b/apps/registration/tests/urls.py similarity index 100% rename from registration/tests/urls.py rename to apps/registration/tests/urls.py diff --git a/registration/urls.py b/apps/registration/urls.py similarity index 100% rename from registration/urls.py rename to apps/registration/urls.py diff --git a/registration/views.py b/apps/registration/views.py similarity index 100% rename from registration/views.py rename to apps/registration/views.py diff --git a/service/__init__.py b/apps/review/__init__.py similarity index 100% rename from service/__init__.py rename to apps/review/__init__.py diff --git a/review/forms.py b/apps/review/forms.py similarity index 100% rename from review/forms.py rename to apps/review/forms.py diff --git a/review/models.py b/apps/review/models.py similarity index 100% rename from review/models.py rename to apps/review/models.py diff --git a/place_exposition/tests.py b/apps/review/tests.py similarity index 100% rename from place_exposition/tests.py rename to apps/review/tests.py diff --git a/review/views.py b/apps/review/views.py similarity index 100% rename from review/views.py rename to apps/review/views.py diff --git a/service/migrations/__init__.py b/apps/seminar/__init__.py similarity index 100% rename from service/migrations/__init__.py rename to apps/seminar/__init__.py diff --git a/seminar/admin.py b/apps/seminar/admin.py similarity index 100% rename from seminar/admin.py rename to apps/seminar/admin.py diff --git a/seminar/admin_urls.py b/apps/seminar/admin_urls.py similarity index 100% rename from seminar/admin_urls.py rename to apps/seminar/admin_urls.py diff --git a/seminar/forms.py b/apps/seminar/forms.py similarity index 100% rename from seminar/forms.py rename to apps/seminar/forms.py diff --git a/seminar/models.py b/apps/seminar/models.py similarity index 100% rename from seminar/models.py rename to apps/seminar/models.py diff --git a/seminar/search_indexes.py b/apps/seminar/search_indexes.py similarity index 100% rename from seminar/search_indexes.py rename to apps/seminar/search_indexes.py diff --git a/seminar/signals.py b/apps/seminar/signals.py similarity index 100% rename from seminar/signals.py rename to apps/seminar/signals.py diff --git a/review/tests.py b/apps/seminar/tests.py similarity index 100% rename from review/tests.py rename to apps/seminar/tests.py diff --git a/seminar/urls.py b/apps/seminar/urls.py similarity index 100% rename from seminar/urls.py rename to apps/seminar/urls.py diff --git a/seminar/views.py b/apps/seminar/views.py similarity index 100% rename from seminar/views.py rename to apps/seminar/views.py diff --git a/settings/__init__.py b/apps/service/__init__.py similarity index 100% rename from settings/__init__.py rename to apps/service/__init__.py diff --git a/service/admin.py b/apps/service/admin.py similarity index 100% rename from service/admin.py rename to apps/service/admin.py diff --git a/service/admin_urls.py b/apps/service/admin_urls.py similarity index 100% rename from service/admin_urls.py rename to apps/service/admin_urls.py diff --git a/service/forms.py b/apps/service/forms.py similarity index 100% rename from service/forms.py rename to apps/service/forms.py diff --git a/service/management/__init__.py b/apps/service/management/__init__.py similarity index 100% rename from service/management/__init__.py rename to apps/service/management/__init__.py diff --git a/service/management/commands/__init__.py b/apps/service/management/commands/__init__.py similarity index 100% rename from service/management/commands/__init__.py rename to apps/service/management/commands/__init__.py diff --git a/service/management/commands/create_linked_services.py b/apps/service/management/commands/create_linked_services.py similarity index 100% rename from service/management/commands/create_linked_services.py rename to apps/service/management/commands/create_linked_services.py diff --git a/service/management/commands/set_events_services.py b/apps/service/management/commands/set_events_services.py similarity index 100% rename from service/management/commands/set_events_services.py rename to apps/service/management/commands/set_events_services.py diff --git a/service/migrations/0001_initial.py b/apps/service/migrations/0001_initial.py similarity index 79% rename from service/migrations/0001_initial.py rename to apps/service/migrations/0001_initial.py index a236e0bf..d80bb41f 100644 --- a/service/migrations/0001_initial.py +++ b/apps/service/migrations/0001_initial.py @@ -57,6 +57,17 @@ class Migration(SchemaMigration): ('seminar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['seminar.Seminar'], null=True)), ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('viewed', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('referer1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('referer2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search3', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), )) db.send_create_signal(u'service', ['Catalog']) @@ -76,6 +87,17 @@ class Migration(SchemaMigration): ('seminar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['seminar.Seminar'], null=True)), ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('viewed', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('referer1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('referer2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search3', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), )) db.send_create_signal(u'service', ['BuildStand']) @@ -95,6 +117,17 @@ class Migration(SchemaMigration): ('seminar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['seminar.Seminar'], null=True)), ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('viewed', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('referer1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('referer2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search3', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), ('days', self.gf('django.db.models.fields.SmallIntegerField')()), ('people', self.gf('django.db.models.fields.SmallIntegerField')()), )) @@ -116,6 +149,17 @@ class Migration(SchemaMigration): ('seminar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['seminar.Seminar'], null=True)), ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('viewed', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('referer1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('referer2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search3', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), ('interested_participants', self.gf('django.db.models.fields.TextField')(blank=True)), ('additional', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), )) @@ -137,6 +181,17 @@ class Migration(SchemaMigration): ('seminar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['seminar.Seminar'], null=True)), ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('viewed', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('referer1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('referer2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search3', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), ('area', self.gf('django.db.models.fields.IntegerField')(null=True)), ('area_type', self.gf('django.db.models.fields.CharField')(max_length=255)), ('company_inf', self.gf('django.db.models.fields.TextField')()), @@ -159,6 +214,17 @@ class Migration(SchemaMigration): ('seminar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['seminar.Seminar'], null=True)), ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('viewed', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('referer1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('referer2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search3', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), ('days', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)), ('hours', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)), ('fr', self.gf('django.db.models.fields.DateField')(blank=True)), @@ -184,6 +250,17 @@ class Migration(SchemaMigration): ('seminar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['seminar.Seminar'], null=True)), ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('viewed', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('referer1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('referer2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search3', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), ('fr', self.gf('django.db.models.fields.DateField')()), ('to', self.gf('django.db.models.fields.DateField')()), ('people', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)), @@ -224,6 +301,17 @@ class Migration(SchemaMigration): ('seminar', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['seminar.Seminar'], null=True)), ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('viewed', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('referer1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('referer2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_source2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_medium2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('utm_campaign2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search1', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search2', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('search3', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), ('type', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), )) db.send_create_signal(u'service', ['Advertising']) @@ -273,6 +361,24 @@ class Migration(SchemaMigration): )) db.create_unique(m2m_table_name, ['linkedservice_id', 'conference_id']) + # Adding M2M table for field exclude_expositions on 'LinkedService' + m2m_table_name = db.shorten_name(u'service_linkedservice_exclude_expositions') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('linkedservice', models.ForeignKey(orm[u'service.linkedservice'], null=False)), + ('exposition', models.ForeignKey(orm[u'exposition.exposition'], null=False)) + )) + db.create_unique(m2m_table_name, ['linkedservice_id', 'exposition_id']) + + # Adding M2M table for field exclude_conferences on 'LinkedService' + m2m_table_name = db.shorten_name(u'service_linkedservice_exclude_conferences') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('linkedservice', models.ForeignKey(orm[u'service.linkedservice'], null=False)), + ('conference', models.ForeignKey(orm[u'conference.conference'], null=False)) + )) + db.create_unique(m2m_table_name, ['linkedservice_id', 'conference_id']) + def backwards(self, orm): # Removing unique constraint on 'ServiceTranslation', fields ['language_code', 'master'] @@ -323,6 +429,12 @@ class Migration(SchemaMigration): # Removing M2M table for field conferences on 'LinkedService' db.delete_table(db.shorten_name(u'service_linkedservice_conferences')) + # Removing M2M table for field exclude_expositions on 'LinkedService' + db.delete_table(db.shorten_name(u'service_linkedservice_exclude_expositions')) + + # Removing M2M table for field exclude_conferences on 'LinkedService' + db.delete_table(db.shorten_name(u'service_linkedservice_exclude_conferences')) + models = { u'accounts.user': { @@ -346,6 +458,7 @@ class Migration(SchemaMigration): 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), + 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), @@ -379,6 +492,18 @@ class Migration(SchemaMigration): 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) }, + u'comments.comment': { + 'Meta': {'object_name': 'Comment'}, + 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), + 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'hidden': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'ip': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39', 'null': 'True', 'blank': 'True'}), + 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), + 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['comments.Comment']", 'null': 'True', 'blank': 'True'}), + 'text': ('django.db.models.fields.TextField', [], {}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) + }, u'company.company': { 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), @@ -407,7 +532,7 @@ class Migration(SchemaMigration): }, u'conference.conference': { 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), + 'audience': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['events.TargetAudience']", 'null': 'True', 'symmetrical': 'False'}), 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), @@ -416,19 +541,21 @@ class Migration(SchemaMigration): 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), + 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), 'data_end': ('django.db.models.fields.DateField', [], {}), 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'members_fc': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), @@ -436,22 +563,46 @@ class Migration(SchemaMigration): 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), + 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': 'False', 'null': 'True', 'blank': 'True'}), 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), + 'periodic_once': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'programm_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), + 'speakers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['conference.Speaker']", 'null': 'True', 'blank': 'True'}), 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) }, + u'conference.speaker': { + 'Meta': {'object_name': 'Speaker'}, + 'company': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'company_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'company_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'fullname': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + 'fullname_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'fullname_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), + 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'position_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'position_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) + }, 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'}), @@ -504,20 +655,28 @@ class Migration(SchemaMigration): u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) }, + u'events.targetaudience': { + 'Meta': {'ordering': "['title']", 'object_name': 'TargetAudience'}, + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}), + 'title_en': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), + 'title_ru': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) + }, u'expobanner.banner': { 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 7, 8, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), + 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), @@ -543,6 +702,14 @@ class Migration(SchemaMigration): 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) }, + u'expobanner.customer': { + 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, + 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), + 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) + }, u'expobanner.mainpage': { 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), @@ -570,12 +737,13 @@ class Migration(SchemaMigration): }, u'expobanner.top': { 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, + 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 7, 8, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), @@ -610,13 +778,13 @@ class Migration(SchemaMigration): 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), + 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), 'data_end': ('django.db.models.fields.DateField', [], {}), 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), @@ -624,6 +792,7 @@ class Migration(SchemaMigration): 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), @@ -640,6 +809,10 @@ class Migration(SchemaMigration): 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), @@ -653,6 +826,7 @@ class Migration(SchemaMigration): 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) }, u'file.filemodel': { @@ -775,6 +949,7 @@ class Migration(SchemaMigration): 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), @@ -816,6 +991,7 @@ class Migration(SchemaMigration): 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), + 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), @@ -876,8 +1052,19 @@ class Migration(SchemaMigration): 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {}), 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), 'type': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), + 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) }, u'service.buildstand': { @@ -894,7 +1081,18 @@ class Migration(SchemaMigration): 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {}), 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), + 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) }, u'service.callback': { @@ -919,14 +1117,27 @@ class Migration(SchemaMigration): 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {}), 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), + 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) }, u'service.linkedservice': { 'Meta': {'object_name': 'LinkedService'}, 'conferences': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['conference.Conference']", 'symmetrical': 'False', 'blank': 'True'}), 'countries': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['country.Country']", 'symmetrical': 'False', 'blank': 'True'}), + 'exclude_conferences': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'show_linkedservice_set'", 'blank': 'True', 'to': u"orm['conference.Conference']"}), 'exclude_countries': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'exclude_expositions': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'show_linkedservice_set'", 'blank': 'True', 'to': u"orm['exposition.Exposition']"}), 'expositions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['exposition.Exposition']", 'symmetrical': 'False', 'blank': 'True'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'service': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['service.Service']"}) @@ -948,7 +1159,18 @@ class Migration(SchemaMigration): 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {}), 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), + 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) }, u'service.remote': { @@ -967,7 +1189,18 @@ class Migration(SchemaMigration): 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {}), 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), + 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) }, u'service.service': { @@ -1012,7 +1245,18 @@ class Migration(SchemaMigration): 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {}), 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), + 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) }, u'service.translation': { @@ -1033,9 +1277,20 @@ class Migration(SchemaMigration): 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {}), 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), 'themes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), 'to': ('django.db.models.fields.DateField', [], {'blank': 'True'}), + 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) }, u'service.visit': { @@ -1066,6 +1321,11 @@ class Migration(SchemaMigration): 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'phone': ('django.db.models.fields.BigIntegerField', [], {}), 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), 'themes': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'to': ('django.db.models.fields.DateField', [], {}), @@ -1073,6 +1333,12 @@ class Migration(SchemaMigration): 'tr_employment_hours': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), 'transfer': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'translator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), 'visa': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) }, diff --git a/settings/migrations/__init__.py b/apps/service/migrations/__init__.py similarity index 100% rename from settings/migrations/__init__.py rename to apps/service/migrations/__init__.py diff --git a/service/models.py b/apps/service/models.py similarity index 100% rename from service/models.py rename to apps/service/models.py diff --git a/service/order_forms.py b/apps/service/order_forms.py similarity index 99% rename from service/order_forms.py rename to apps/service/order_forms.py index ce53ed42..1bc950a0 100644 --- a/service/order_forms.py +++ b/apps/service/order_forms.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- from django import forms -from django.utils.translation import ugettext as _ +from django.utils.translation import ugettext_lazy as _ from accounts.models import User from models import Catalog, Tickets, Remote, Participation, Translation, Visit, CURENCIES, Advertising, CallBack, BuildStand from exposition.models import Exposition diff --git a/service/signals.py b/apps/service/signals.py similarity index 100% rename from service/signals.py rename to apps/service/signals.py diff --git a/seminar/tests.py b/apps/service/tests.py similarity index 100% rename from seminar/tests.py rename to apps/service/tests.py diff --git a/service/urls.py b/apps/service/urls.py similarity index 100% rename from service/urls.py rename to apps/service/urls.py diff --git a/service/views.py b/apps/service/views.py similarity index 100% rename from service/views.py rename to apps/service/views.py diff --git a/settings/templatetags/__init__.py b/apps/settings/__init__.py similarity index 100% rename from settings/templatetags/__init__.py rename to apps/settings/__init__.py diff --git a/settings/admin.py b/apps/settings/admin.py similarity index 100% rename from settings/admin.py rename to apps/settings/admin.py diff --git a/settings/admin_urls.py b/apps/settings/admin_urls.py similarity index 100% rename from settings/admin_urls.py rename to apps/settings/admin_urls.py diff --git a/settings/conference_old_urls.py b/apps/settings/conference_old_urls.py similarity index 100% rename from settings/conference_old_urls.py rename to apps/settings/conference_old_urls.py diff --git a/settings/forms.py b/apps/settings/forms.py similarity index 99% rename from settings/forms.py rename to apps/settings/forms.py index e2638138..63c4758b 100644 --- a/settings/forms.py +++ b/apps/settings/forms.py @@ -197,7 +197,6 @@ class EventDefaultDescriptionEditForm(forms.Form): for field_name, path in templates.iteritems(): try: with open(os.path.join(settings.SITE_ROOT, path), 'w+') as f: - print(self.cleaned_data.get(field_name)) f.write(self.cleaned_data.get(field_name).encode('utf-8')) except Exception as e: print(e) diff --git a/settings/management/__init__.py b/apps/settings/management/__init__.py similarity index 100% rename from settings/management/__init__.py rename to apps/settings/management/__init__.py diff --git a/settings/management/commands/__init__.py b/apps/settings/management/commands/__init__.py similarity index 100% rename from settings/management/commands/__init__.py rename to apps/settings/management/commands/__init__.py diff --git a/settings/management/commands/do_inflect.py b/apps/settings/management/commands/do_inflect.py similarity index 100% rename from settings/management/commands/do_inflect.py rename to apps/settings/management/commands/do_inflect.py diff --git a/settings/management/commands/update_views_cache.py b/apps/settings/management/commands/update_views_cache.py similarity index 100% rename from settings/management/commands/update_views_cache.py rename to apps/settings/management/commands/update_views_cache.py diff --git a/settings/migrations/0003_auto__add_participationcomment__add_participationcommenttranslation__a.py b/apps/settings/migrations/0001_initial.py similarity index 63% rename from settings/migrations/0003_auto__add_participationcomment__add_participationcommenttranslation__a.py rename to apps/settings/migrations/0001_initial.py index 8b126d2d..fce623d5 100644 --- a/settings/migrations/0003_auto__add_participationcomment__add_participationcommenttranslation__a.py +++ b/apps/settings/migrations/0001_initial.py @@ -8,12 +8,45 @@ from django.db import models class Migration(SchemaMigration): def forwards(self, orm): - # Adding model 'ParticipationComment' - db.create_table(u'settings_participationcomment', ( + # Adding model 'HtmlTranslation' + db.create_table(u'settings_html_translation', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('text', self.gf('django.db.models.fields.TextField')()), + ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), + ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['settings.Html'])), + )) + db.send_create_signal(u'settings', ['HtmlTranslation']) + + # Adding unique constraint on 'HtmlTranslation', fields ['language_code', 'master'] + db.create_unique(u'settings_html_translation', ['language_code', 'master_id']) + + # Adding model 'Html' + db.create_table(u'settings_html', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)), + )) + db.send_create_signal(u'settings', ['Html']) + + # Adding model 'LandingCommentTranslation' + db.create_table(u'settings_landingcomment_translation', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('text', self.gf('django.db.models.fields.TextField')()), + ('name', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('position', self.gf('django.db.models.fields.CharField')(max_length=255)), + ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), + ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['settings.LandingComment'])), + )) + db.send_create_signal(u'settings', ['LandingCommentTranslation']) + + # Adding unique constraint on 'LandingCommentTranslation', fields ['language_code', 'master'] + db.create_unique(u'settings_landingcomment_translation', ['language_code', 'master_id']) + + # Adding model 'LandingComment' + db.create_table(u'settings_landingcomment', ( (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('logo', self.gf('django.db.models.fields.files.ImageField')(max_length=255)), )) - db.send_create_signal(u'settings', ['ParticipationComment']) + db.send_create_signal(u'settings', ['LandingComment']) # Adding model 'ParticipationCommentTranslation' db.create_table(u'settings_participationcomment_translation', ( @@ -29,17 +62,42 @@ class Migration(SchemaMigration): # Adding unique constraint on 'ParticipationCommentTranslation', fields ['language_code', 'master'] db.create_unique(u'settings_participationcomment_translation', ['language_code', 'master_id']) + # Adding model 'ParticipationComment' + db.create_table(u'settings_participationcomment', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('logo', self.gf('django.db.models.fields.files.ImageField')(max_length=255)), + )) + db.send_create_signal(u'settings', ['ParticipationComment']) + def backwards(self, orm): # Removing unique constraint on 'ParticipationCommentTranslation', fields ['language_code', 'master'] db.delete_unique(u'settings_participationcomment_translation', ['language_code', 'master_id']) - # Deleting model 'ParticipationComment' - db.delete_table(u'settings_participationcomment') + # Removing unique constraint on 'LandingCommentTranslation', fields ['language_code', 'master'] + db.delete_unique(u'settings_landingcomment_translation', ['language_code', 'master_id']) + + # Removing unique constraint on 'HtmlTranslation', fields ['language_code', 'master'] + db.delete_unique(u'settings_html_translation', ['language_code', 'master_id']) + + # Deleting model 'HtmlTranslation' + db.delete_table(u'settings_html_translation') + + # Deleting model 'Html' + db.delete_table(u'settings_html') + + # Deleting model 'LandingCommentTranslation' + db.delete_table(u'settings_landingcomment_translation') + + # Deleting model 'LandingComment' + db.delete_table(u'settings_landingcomment') # Deleting model 'ParticipationCommentTranslation' db.delete_table(u'settings_participationcomment_translation') + # Deleting model 'ParticipationComment' + db.delete_table(u'settings_participationcomment') + models = { u'settings.html': { diff --git a/specialist_catalog/__init__.py b/apps/settings/migrations/__init__.py similarity index 100% rename from specialist_catalog/__init__.py rename to apps/settings/migrations/__init__.py diff --git a/settings/models.py b/apps/settings/models.py similarity index 100% rename from settings/models.py rename to apps/settings/models.py diff --git a/settings/old_urls.py b/apps/settings/old_urls.py similarity index 100% rename from settings/old_urls.py rename to apps/settings/old_urls.py diff --git a/settings/redirect_views.py b/apps/settings/redirect_views.py similarity index 100% rename from settings/redirect_views.py rename to apps/settings/redirect_views.py diff --git a/settings/russian_dicts/endings.sqlite b/apps/settings/russian_dicts/endings.sqlite similarity index 100% rename from settings/russian_dicts/endings.sqlite rename to apps/settings/russian_dicts/endings.sqlite diff --git a/settings/russian_dicts/freq.sqlite b/apps/settings/russian_dicts/freq.sqlite similarity index 100% rename from settings/russian_dicts/freq.sqlite rename to apps/settings/russian_dicts/freq.sqlite diff --git a/settings/russian_dicts/lemmas.sqlite b/apps/settings/russian_dicts/lemmas.sqlite similarity index 100% rename from settings/russian_dicts/lemmas.sqlite rename to apps/settings/russian_dicts/lemmas.sqlite diff --git a/settings/russian_dicts/misc.sqlite b/apps/settings/russian_dicts/misc.sqlite similarity index 100% rename from settings/russian_dicts/misc.sqlite rename to apps/settings/russian_dicts/misc.sqlite diff --git a/settings/russian_dicts/rules.sqlite b/apps/settings/russian_dicts/rules.sqlite similarity index 100% rename from settings/russian_dicts/rules.sqlite rename to apps/settings/russian_dicts/rules.sqlite diff --git a/settings/settings.py b/apps/settings/settings.py similarity index 100% rename from settings/settings.py rename to apps/settings/settings.py diff --git a/stats_collector/__init__.py b/apps/settings/templatetags/__init__.py similarity index 100% rename from stats_collector/__init__.py rename to apps/settings/templatetags/__init__.py diff --git a/settings/templatetags/tempalte_tags.py b/apps/settings/templatetags/tempalte_tags.py similarity index 100% rename from settings/templatetags/tempalte_tags.py rename to apps/settings/templatetags/tempalte_tags.py diff --git a/settings/templatetags/template_filters.py b/apps/settings/templatetags/template_filters.py similarity index 98% rename from settings/templatetags/template_filters.py rename to apps/settings/templatetags/template_filters.py index db4bda7b..f01feb40 100644 --- a/settings/templatetags/template_filters.py +++ b/apps/settings/templatetags/template_filters.py @@ -352,4 +352,12 @@ def join_lookup(value): @register.filter def strip(value): - return value.strip() \ No newline at end of file + return value.strip() + + +@register.filter +def str_to_int(value): + try: + return int(value) + except ValueError: + return value \ No newline at end of file diff --git a/service/tests.py b/apps/settings/tests.py similarity index 100% rename from service/tests.py rename to apps/settings/tests.py diff --git a/settings/views.py b/apps/settings/views.py similarity index 98% rename from settings/views.py rename to apps/settings/views.py index 62681d8b..bda5b755 100644 --- a/settings/views.py +++ b/apps/settings/views.py @@ -59,7 +59,7 @@ def search_autocomplete(request): #objects = areas + countries + cities return HttpResponse(json.dumps(objects, indent=4), content_type='application/json') if form == 'subj': - objects = [{'text': get_by_lang(item, 'name', lang), 'id':item.pk, 'name': item.form_name, 'cat': get_by_lang(item, 'parent', lang)} for item in SearchQuerySet().models(Theme, Tag).autocomplete(content_auto=term)] + objects = [{'text': get_by_lang(item, 'name', lang), 'id':item.pk, 'name': item.form_name, 'cat': get_by_lang(item, 'parent', lang), 'theme_id': item.theme_id if item.model_name == 'tag' else None} for item in SearchQuerySet().models(Theme, Tag).autocomplete(content_auto=term)] return HttpResponse(json.dumps(objects, indent=4), content_type='application/json') else: return HttpResponse("Don't implemented yet") diff --git a/sortedm2m/__init__.py b/apps/sortedm2m/__init__.py similarity index 100% rename from sortedm2m/__init__.py rename to apps/sortedm2m/__init__.py diff --git a/sortedm2m/fields.py b/apps/sortedm2m/fields.py similarity index 100% rename from sortedm2m/fields.py rename to apps/sortedm2m/fields.py diff --git a/sortedm2m/forms.py b/apps/sortedm2m/forms.py similarity index 100% rename from sortedm2m/forms.py rename to apps/sortedm2m/forms.py diff --git a/sortedm2m/models.py b/apps/sortedm2m/models.py similarity index 100% rename from sortedm2m/models.py rename to apps/sortedm2m/models.py diff --git a/sortedm2m/static/sortedm2m/jquery-ui.js b/apps/sortedm2m/static/sortedm2m/jquery-ui.js similarity index 100% rename from sortedm2m/static/sortedm2m/jquery-ui.js rename to apps/sortedm2m/static/sortedm2m/jquery-ui.js diff --git a/sortedm2m/static/sortedm2m/selector-search.gif b/apps/sortedm2m/static/sortedm2m/selector-search.gif similarity index 100% rename from sortedm2m/static/sortedm2m/selector-search.gif rename to apps/sortedm2m/static/sortedm2m/selector-search.gif diff --git a/sortedm2m/static/sortedm2m/widget.css b/apps/sortedm2m/static/sortedm2m/widget.css similarity index 100% rename from sortedm2m/static/sortedm2m/widget.css rename to apps/sortedm2m/static/sortedm2m/widget.css diff --git a/sortedm2m/static/sortedm2m/widget.js b/apps/sortedm2m/static/sortedm2m/widget.js similarity index 100% rename from sortedm2m/static/sortedm2m/widget.js rename to apps/sortedm2m/static/sortedm2m/widget.js diff --git a/sortedm2m/templates/sortedm2m/sorted_checkbox_select_multiple_widget.html b/apps/sortedm2m/templates/sortedm2m/sorted_checkbox_select_multiple_widget.html similarity index 100% rename from sortedm2m/templates/sortedm2m/sorted_checkbox_select_multiple_widget.html rename to apps/sortedm2m/templates/sortedm2m/sorted_checkbox_select_multiple_widget.html diff --git a/stats_collector/management/__init__.py b/apps/specialist_catalog/__init__.py similarity index 100% rename from stats_collector/management/__init__.py rename to apps/specialist_catalog/__init__.py diff --git a/specialist_catalog/admin_urls.py b/apps/specialist_catalog/admin_urls.py similarity index 100% rename from specialist_catalog/admin_urls.py rename to apps/specialist_catalog/admin_urls.py diff --git a/specialist_catalog/forms.py b/apps/specialist_catalog/forms.py similarity index 100% rename from specialist_catalog/forms.py rename to apps/specialist_catalog/forms.py diff --git a/specialist_catalog/management/__init__.py b/apps/specialist_catalog/management/__init__.py similarity index 100% rename from specialist_catalog/management/__init__.py rename to apps/specialist_catalog/management/__init__.py diff --git a/specialist_catalog/management/commands/__init__.py b/apps/specialist_catalog/management/commands/__init__.py similarity index 100% rename from specialist_catalog/management/commands/__init__.py rename to apps/specialist_catalog/management/commands/__init__.py diff --git a/specialist_catalog/management/commands/create_city_page.py b/apps/specialist_catalog/management/commands/create_city_page.py similarity index 100% rename from specialist_catalog/management/commands/create_city_page.py rename to apps/specialist_catalog/management/commands/create_city_page.py diff --git a/specialist_catalog/management/commands/create_country_page.py b/apps/specialist_catalog/management/commands/create_country_page.py similarity index 100% rename from specialist_catalog/management/commands/create_country_page.py rename to apps/specialist_catalog/management/commands/create_country_page.py diff --git a/specialist_catalog/models.py b/apps/specialist_catalog/models.py similarity index 100% rename from specialist_catalog/models.py rename to apps/specialist_catalog/models.py diff --git a/settings/tests.py b/apps/specialist_catalog/tests.py similarity index 100% rename from settings/tests.py rename to apps/specialist_catalog/tests.py diff --git a/specialist_catalog/urls.py b/apps/specialist_catalog/urls.py similarity index 100% rename from specialist_catalog/urls.py rename to apps/specialist_catalog/urls.py diff --git a/specialist_catalog/views.py b/apps/specialist_catalog/views.py similarity index 100% rename from specialist_catalog/views.py rename to apps/specialist_catalog/views.py diff --git a/stats_collector/management/commands/__init__.py b/apps/stats_collector/__init__.py similarity index 100% rename from stats_collector/management/commands/__init__.py rename to apps/stats_collector/__init__.py diff --git a/stats_collector/admin.py b/apps/stats_collector/admin.py similarity index 100% rename from stats_collector/admin.py rename to apps/stats_collector/admin.py diff --git a/stats_collector/admin_urls.py b/apps/stats_collector/admin_urls.py similarity index 100% rename from stats_collector/admin_urls.py rename to apps/stats_collector/admin_urls.py diff --git a/stats_collector/forms.py b/apps/stats_collector/forms.py similarity index 100% rename from stats_collector/forms.py rename to apps/stats_collector/forms.py diff --git a/stats_collector/migrations/__init__.py b/apps/stats_collector/management/__init__.py similarity index 100% rename from stats_collector/migrations/__init__.py rename to apps/stats_collector/management/__init__.py diff --git a/theme/__init__.py b/apps/stats_collector/management/commands/__init__.py similarity index 100% rename from theme/__init__.py rename to apps/stats_collector/management/commands/__init__.py diff --git a/stats_collector/management/commands/stats_daily.py b/apps/stats_collector/management/commands/stats_daily.py similarity index 100% rename from stats_collector/management/commands/stats_daily.py rename to apps/stats_collector/management/commands/stats_daily.py diff --git a/stats_collector/management/commands/stats_hourly.py b/apps/stats_collector/management/commands/stats_hourly.py similarity index 100% rename from stats_collector/management/commands/stats_hourly.py rename to apps/stats_collector/management/commands/stats_hourly.py diff --git a/stats_collector/management/commands/stats_test.py b/apps/stats_collector/management/commands/stats_test.py similarity index 100% rename from stats_collector/management/commands/stats_test.py rename to apps/stats_collector/management/commands/stats_test.py diff --git a/article/migrations/0005_auto__add_field_author_photo.py b/apps/stats_collector/migrations/0001_initial.py similarity index 90% rename from article/migrations/0005_auto__add_field_author_photo.py rename to apps/stats_collector/migrations/0001_initial.py index d9686cfc..ffd0156f 100644 --- a/article/migrations/0005_auto__add_field_author_photo.py +++ b/apps/stats_collector/migrations/0001_initial.py @@ -8,39 +8,41 @@ from django.db import models class Migration(SchemaMigration): def forwards(self, orm): - # Adding field 'Author.photo' - db.add_column(u'article_author', 'photo', - self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True), - keep_default=False) + # Adding model 'SectionStats' + db.create_table(u'stats_collector_sectionstats', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('created_at', self.gf('django.db.models.fields.DateField')(db_index=True, null=True, blank=True)), + ('value', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'], null=True, blank=True)), + ('object_id', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)), + ('section', self.gf('django.db.models.fields.CharField')(max_length=32, null=True, blank=True)), + ('kind', self.gf('django.db.models.fields.CharField')(max_length=64, null=True, blank=True)), + )) + db.send_create_signal(u'stats_collector', ['SectionStats']) - # Adding field 'Author.about' - db.add_column(u'article_author', 'about', - self.gf('django.db.models.fields.TextField')(default='', blank=True), - keep_default=False) + # Adding index on 'SectionStats', fields ['content_type', 'object_id'] + db.create_index(u'stats_collector_sectionstats', ['content_type_id', 'object_id']) - # Adding field 'Author.about_ru' - db.add_column(u'article_author', 'about_ru', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Author.about_en' - db.add_column(u'article_author', 'about_en', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) + # Adding model 'ObjectStats' + db.create_table(u'stats_collector_objectstats', ( + (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('created_at', self.gf('django.db.models.fields.DateField')(db_index=True, null=True, blank=True)), + ('value', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), + ('exposition', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['exposition.Exposition'], null=True, blank=True)), + ('conference', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['conference.Conference'], null=True, blank=True)), + )) + db.send_create_signal(u'stats_collector', ['ObjectStats']) def backwards(self, orm): - # Deleting field 'Author.photo' - db.delete_column(u'article_author', 'photo') - - # Deleting field 'Author.about' - db.delete_column(u'article_author', 'about') + # Removing index on 'SectionStats', fields ['content_type', 'object_id'] + db.delete_index(u'stats_collector_sectionstats', ['content_type_id', 'object_id']) - # Deleting field 'Author.about_ru' - db.delete_column(u'article_author', 'about_ru') + # Deleting model 'SectionStats' + db.delete_table(u'stats_collector_sectionstats') - # Deleting field 'Author.about_en' - db.delete_column(u'article_author', 'about_en') + # Deleting model 'ObjectStats' + db.delete_table(u'stats_collector_objectstats') models = { @@ -65,67 +67,12 @@ class Migration(SchemaMigration): 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), + 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), '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': '255', 'db_index': 'True'}) }, - u'article.article': { - 'Meta': {'ordering': "['-publish_date']", 'unique_together': '()', 'object_name': 'Article', 'index_together': '()'}, - 'allow_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'on_delete': 'models.PROTECT', 'to': u"orm['accounts.User']"}), - 'author_s': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'articles'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['article.Author']"}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'draft': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'expiry_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'blank': 'True'}), - 'gen_description': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'in_sitemap': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'logo': (u'sorl.thumbnail.fields.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'main_page_time': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_id': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publish_date': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Theme']", 'symmetrical': 'False'}), - 'type': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}) - }, - u'article.articletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ArticleTranslation', 'db_table': "u'article_article_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['article.Article']"}), - 'preview': ('django.db.models.fields.TextField', [], {}), - 'short_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'article.author': { - 'Meta': {'object_name': 'Author'}, - 'about': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'about_en': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'about_ru': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}), - 'fb': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'fullname': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'fullname_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'fullname_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'instagram': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, u'auth.group': { 'Meta': {'object_name': 'Group'}, u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), @@ -194,7 +141,7 @@ class Migration(SchemaMigration): }, u'conference.conference': { 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), + 'audience': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['events.TargetAudience']", 'null': 'True', 'symmetrical': 'False'}), 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), @@ -225,6 +172,7 @@ class Migration(SchemaMigration): 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), + 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': 'False', 'null': 'True', 'blank': 'True'}), 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), 'periodic_once': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), @@ -316,6 +264,13 @@ class Migration(SchemaMigration): u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) }, + u'events.targetaudience': { + 'Meta': {'ordering': "['title']", 'object_name': 'TargetAudience'}, + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}), + 'title_en': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), + 'title_ru': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) + }, u'expobanner.banner': { 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), @@ -324,13 +279,13 @@ class Migration(SchemaMigration): 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 11, 25, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), + 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), @@ -397,7 +352,7 @@ class Migration(SchemaMigration): 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 11, 25, 0, 0)'}), + 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2017, 1, 19, 0, 0)'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), @@ -662,6 +617,24 @@ class Migration(SchemaMigration): u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) }, + u'stats_collector.objectstats': { + 'Meta': {'ordering': "('created_at',)", 'object_name': 'ObjectStats'}, + 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True', 'blank': 'True'}), + 'created_at': ('django.db.models.fields.DateField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'value': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}) + }, + u'stats_collector.sectionstats': { + 'Meta': {'ordering': "('created_at',)", 'object_name': 'SectionStats', 'index_together': "[('content_type', 'object_id')]"}, + 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), + 'created_at': ('django.db.models.fields.DateField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'kind': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), + 'object_id': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'section': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), + 'value': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}) + }, u'theme.tag': { 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), @@ -689,4 +662,4 @@ class Migration(SchemaMigration): } } - complete_apps = ['article'] \ No newline at end of file + complete_apps = ['stats_collector'] \ No newline at end of file diff --git a/theme/management/__init__.py b/apps/stats_collector/migrations/__init__.py similarity index 100% rename from theme/management/__init__.py rename to apps/stats_collector/migrations/__init__.py diff --git a/stats_collector/mixin.py b/apps/stats_collector/mixin.py similarity index 100% rename from stats_collector/mixin.py rename to apps/stats_collector/mixin.py diff --git a/stats_collector/models.py b/apps/stats_collector/models.py similarity index 100% rename from stats_collector/models.py rename to apps/stats_collector/models.py diff --git a/specialist_catalog/tests.py b/apps/stats_collector/tests.py similarity index 100% rename from specialist_catalog/tests.py rename to apps/stats_collector/tests.py diff --git a/stats_collector/utils.py b/apps/stats_collector/utils.py similarity index 100% rename from stats_collector/utils.py rename to apps/stats_collector/utils.py diff --git a/stats_collector/views.py b/apps/stats_collector/views.py similarity index 100% rename from stats_collector/views.py rename to apps/stats_collector/views.py diff --git a/theme/management/commands/__init__.py b/apps/theme/__init__.py similarity index 100% rename from theme/management/commands/__init__.py rename to apps/theme/__init__.py diff --git a/theme/admin.py b/apps/theme/admin.py similarity index 97% rename from theme/admin.py rename to apps/theme/admin.py index f8c4b1f1..68ab8378 100644 --- a/theme/admin.py +++ b/apps/theme/admin.py @@ -95,9 +95,6 @@ def theme_change(request, theme_id=None): data['name_%s'%code] = obj.name data['description_%s'%code] = obj.description data['main_title_%s'%code] = obj.main_title - data['title_%s'%code] = obj.title - data['keywords_%s'%code] = obj.keywords - data['descriptions_%s'%code] = obj.descriptions diff --git a/theme/admin_urls.py b/apps/theme/admin_urls.py similarity index 100% rename from theme/admin_urls.py rename to apps/theme/admin_urls.py diff --git a/theme/forms.py b/apps/theme/forms.py similarity index 89% rename from theme/forms.py rename to apps/theme/forms.py index c71820ff..9026c466 100644 --- a/theme/forms.py +++ b/apps/theme/forms.py @@ -30,13 +30,6 @@ class ThemeForm(forms.Form): self.fields['name_%s' % code] = forms.CharField(label=_(u'Название'), required=required) self.fields['main_title_%s' % code] = forms.CharField(label=_(u'Заголовок'), required=required) self.fields['description_%s' % code] = forms.CharField(label=_(u'Описание'), required=False, widget=CKEditorWidget)#with saving form - #meta data - self.fields['title_%s' % code] = forms.CharField(label=_(u'Тайтл'), required=False, max_length=255, - widget=forms.TextInput(attrs={'style':'width: 550px'})) - self.fields['keywords_%s' % code] = forms.CharField(label=_(u'Description'), required=False, max_length=255, - widget=forms.TextInput(attrs={'style':'width: 550px'})) - self.fields['descriptions_%s' % code] = forms.CharField(label=_(u'Keywords'), required=False, max_length=255, - widget=forms.TextInput(attrs={'style':'width: 550px'})) def save(self, id=None): data = self.cleaned_data diff --git a/theme/migrations/__init__.py b/apps/theme/management/__init__.py similarity index 100% rename from theme/migrations/__init__.py rename to apps/theme/management/__init__.py diff --git a/translator/__init__.py b/apps/theme/management/commands/__init__.py similarity index 100% rename from translator/__init__.py rename to apps/theme/management/commands/__init__.py diff --git a/theme/management/commands/old_urls.py b/apps/theme/management/commands/old_urls.py similarity index 100% rename from theme/management/commands/old_urls.py rename to apps/theme/management/commands/old_urls.py diff --git a/theme/management/commands/tag_from_old_db.py b/apps/theme/management/commands/tag_from_old_db.py similarity index 100% rename from theme/management/commands/tag_from_old_db.py rename to apps/theme/management/commands/tag_from_old_db.py diff --git a/theme/management/commands/tag_translate.py b/apps/theme/management/commands/tag_translate.py similarity index 100% rename from theme/management/commands/tag_translate.py rename to apps/theme/management/commands/tag_translate.py diff --git a/theme/management/commands/theme_from_old_db.py b/apps/theme/management/commands/theme_from_old_db.py similarity index 100% rename from theme/management/commands/theme_from_old_db.py rename to apps/theme/management/commands/theme_from_old_db.py diff --git a/theme/manager.py b/apps/theme/manager.py similarity index 100% rename from theme/manager.py rename to apps/theme/manager.py diff --git a/theme/migrations/0001_initial.py b/apps/theme/migrations/0001_initial.py similarity index 71% rename from theme/migrations/0001_initial.py rename to apps/theme/migrations/0001_initial.py index d54170c2..d704b9ae 100644 --- a/theme/migrations/0001_initial.py +++ b/apps/theme/migrations/0001_initial.py @@ -31,33 +31,12 @@ class Migration(SchemaMigration): ('url', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=255)), ('old_url', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=255)), ('types', self.gf('django.db.models.fields.BigIntegerField')(default=None)), - ('main_page', self.gf('django.db.models.fields.PositiveIntegerField')(default=0, db_index=True)), + ('main_page_conf', self.gf('django.db.models.fields.PositiveIntegerField')(default=0, db_index=True)), + ('main_page_expo', self.gf('django.db.models.fields.PositiveIntegerField')(default=0, db_index=True)), ('inflect', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), )) db.send_create_signal(u'theme', ['Theme']) - # Adding model 'ThemeBlogTranslation' - db.create_table(u'theme_themeblog_translation', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('main_title', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), - ('description', self.gf('django.db.models.fields.TextField')(blank=True)), - ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), - ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['theme.ThemeBlog'])), - )) - db.send_create_signal(u'theme', ['ThemeBlogTranslation']) - - # Adding unique constraint on 'ThemeBlogTranslation', fields ['language_code', 'master'] - db.create_unique(u'theme_themeblog_translation', ['language_code', 'master_id']) - - # Adding model 'ThemeBlog' - db.create_table(u'theme_themeblog', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('url', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=255)), - ('inflect', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), - )) - db.send_create_signal(u'theme', ['ThemeBlog']) - # Adding model 'TagTranslation' db.create_table(u'theme_tag_translation', ( (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), @@ -90,9 +69,6 @@ class Migration(SchemaMigration): # Removing unique constraint on 'TagTranslation', fields ['language_code', 'master'] db.delete_unique(u'theme_tag_translation', ['language_code', 'master_id']) - # Removing unique constraint on 'ThemeBlogTranslation', fields ['language_code', 'master'] - db.delete_unique(u'theme_themeblog_translation', ['language_code', 'master_id']) - # Removing unique constraint on 'ThemeTranslation', fields ['language_code', 'master'] db.delete_unique(u'theme_theme_translation', ['language_code', 'master_id']) @@ -102,12 +78,6 @@ class Migration(SchemaMigration): # Deleting model 'Theme' db.delete_table(u'theme_theme') - # Deleting model 'ThemeBlogTranslation' - db.delete_table(u'theme_themeblog_translation') - - # Deleting model 'ThemeBlog' - db.delete_table(u'theme_themeblog') - # Deleting model 'TagTranslation' db.delete_table(u'theme_tag_translation') @@ -140,26 +110,12 @@ class Migration(SchemaMigration): 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), + 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), + 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) }, - u'theme.themeblog': { - 'Meta': {'unique_together': '()', 'object_name': 'ThemeBlog', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.themeblogtranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ThemeBlogTranslation', 'db_table': "u'theme_themeblog_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['theme.ThemeBlog']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, u'theme.themetranslation': { 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ThemeTranslation', 'db_table': "u'theme_theme_translation'", 'index_together': '()'}, 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), diff --git a/theme/migrations/0004_auto__del_field_theme_main_page__add_field_theme_main_page_conf__add_f.py b/apps/theme/migrations/0002_auto__del_field_themetranslation_keywords__del_field_themetranslation_.py similarity index 75% rename from theme/migrations/0004_auto__del_field_theme_main_page__add_field_theme_main_page_conf__add_f.py rename to apps/theme/migrations/0002_auto__del_field_themetranslation_keywords__del_field_themetranslation_.py index 3e5b67d8..231b3205 100644 --- a/theme/migrations/0004_auto__del_field_theme_main_page__add_field_theme_main_page_conf__add_f.py +++ b/apps/theme/migrations/0002_auto__del_field_themetranslation_keywords__del_field_themetranslation_.py @@ -8,31 +8,31 @@ from django.db import models class Migration(SchemaMigration): def forwards(self, orm): - # Deleting field 'Theme.main_page' - db.delete_column(u'theme_theme', 'main_page') + # Deleting field 'ThemeTranslation.keywords' + db.delete_column(u'theme_theme_translation', 'keywords') - # Adding field 'Theme.main_page_conf' - db.add_column(u'theme_theme', 'main_page_conf', - self.gf('django.db.models.fields.PositiveIntegerField')(default=0, db_index=True), - keep_default=False) + # Deleting field 'ThemeTranslation.title' + db.delete_column(u'theme_theme_translation', 'title') - # Adding field 'Theme.main_page_expo' - db.add_column(u'theme_theme', 'main_page_expo', - self.gf('django.db.models.fields.PositiveIntegerField')(default=0, db_index=True), - keep_default=False) + # Deleting field 'ThemeTranslation.descriptions' + db.delete_column(u'theme_theme_translation', 'descriptions') def backwards(self, orm): - # Adding field 'Theme.main_page' - db.add_column(u'theme_theme', 'main_page', - self.gf('django.db.models.fields.PositiveIntegerField')(default=0, db_index=True), + # Adding field 'ThemeTranslation.keywords' + db.add_column(u'theme_theme_translation', 'keywords', + self.gf('django.db.models.fields.CharField')(default='', max_length=255, blank=True), keep_default=False) - # Deleting field 'Theme.main_page_conf' - db.delete_column(u'theme_theme', 'main_page_conf') + # Adding field 'ThemeTranslation.title' + db.add_column(u'theme_theme_translation', 'title', + self.gf('django.db.models.fields.CharField')(default='', max_length=255, blank=True), + keep_default=False) - # Deleting field 'Theme.main_page_expo' - db.delete_column(u'theme_theme', 'main_page_expo') + # Adding field 'ThemeTranslation.descriptions' + db.add_column(u'theme_theme_translation', 'descriptions', + self.gf('django.db.models.fields.CharField')(default='', max_length=255, blank=True), + keep_default=False) models = { @@ -69,14 +69,11 @@ class Migration(SchemaMigration): u'theme.themetranslation': { 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ThemeTranslation', 'db_table': "u'theme_theme_translation'", 'index_together': '()'}, 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), 'main_title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['theme.Theme']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) + 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}) } } diff --git a/webinar/__init__.py b/apps/theme/migrations/__init__.py similarity index 100% rename from webinar/__init__.py rename to apps/theme/migrations/__init__.py diff --git a/theme/models.py b/apps/theme/models.py similarity index 93% rename from theme/models.py rename to apps/theme/models.py index d8e1b3c5..3fc7725d 100644 --- a/theme/models.py +++ b/apps/theme/models.py @@ -47,11 +47,7 @@ class Theme(TranslatableModel): translations = TranslatedFields( name = models.CharField(max_length=255), main_title = models.CharField(max_length=255), - description = models.TextField(blank=True), - #-----meta data - title = models.CharField(max_length=255, blank=True), - descriptions = models.CharField(max_length=255, blank=True), - keywords = models.CharField(max_length=255, blank=True), + description = models.TextField(blank=True) ) main_page_conf = models.PositiveIntegerField(default=0, db_index=True) @@ -63,19 +59,19 @@ class Theme(TranslatableModel): def expositions_number(self): - return Exposition.enable.upcoming().filter(theme__id=self.id).count() + return Exposition.enable.upcoming().filter(theme=self).count() def conferences_number(self): - return Conference.enable.upcoming().filter(theme__id=self.id).count() + return Conference.enable.upcoming().filter(theme=self).count() def seminars_number(self): - return Seminar.objects.filter(theme__id=self.id).count() + return Seminar.objects.filter(theme=self).count() def webinars_number(self): - return Webinar.objects.filter(theme__id=self.id).count() + return Webinar.objects.filter(theme=self).count() def events_number(self): return self.expositions_number() + self.conferences_number() + self.seminars_number() + self.webinars_number() diff --git a/theme/search_indexes.py b/apps/theme/search_indexes.py similarity index 98% rename from theme/search_indexes.py rename to apps/theme/search_indexes.py index 273a36c2..8c5bc2c5 100644 --- a/theme/search_indexes.py +++ b/apps/theme/search_indexes.py @@ -112,6 +112,7 @@ class TagIndex(indexes.SearchIndex, indexes.Indexable, ExpoSearchMixin): catalog_name_ru = indexes.CharField() data_begin = indexes.DateField() data_end = indexes.DateField() + theme_id = indexes.IntegerField(model_attr='theme_id') def prepare_data_begin(self, obj): return None diff --git a/theme/signals.py b/apps/theme/signals.py similarity index 100% rename from theme/signals.py rename to apps/theme/signals.py diff --git a/stats_collector/tests.py b/apps/theme/tests.py similarity index 100% rename from stats_collector/tests.py rename to apps/theme/tests.py diff --git a/theme/urls.py b/apps/theme/urls.py similarity index 100% rename from theme/urls.py rename to apps/theme/urls.py diff --git a/theme/views.py b/apps/theme/views.py similarity index 100% rename from theme/views.py rename to apps/theme/views.py diff --git a/wizard/__init__.py b/apps/translator/__init__.py similarity index 100% rename from wizard/__init__.py rename to apps/translator/__init__.py diff --git a/translator/admin.py b/apps/translator/admin.py similarity index 100% rename from translator/admin.py rename to apps/translator/admin.py diff --git a/translator/admin_urls.py b/apps/translator/admin_urls.py similarity index 100% rename from translator/admin_urls.py rename to apps/translator/admin_urls.py diff --git a/translator/forms.py b/apps/translator/forms.py similarity index 100% rename from translator/forms.py rename to apps/translator/forms.py diff --git a/translator/management/__init__.py b/apps/translator/management/__init__.py similarity index 100% rename from translator/management/__init__.py rename to apps/translator/management/__init__.py diff --git a/translator/management/commands/__init__.py b/apps/translator/management/commands/__init__.py similarity index 100% rename from translator/management/commands/__init__.py rename to apps/translator/management/commands/__init__.py diff --git a/translator/management/commands/translator_from_crm.py b/apps/translator/management/commands/translator_from_crm.py similarity index 100% rename from translator/management/commands/translator_from_crm.py rename to apps/translator/management/commands/translator_from_crm.py diff --git a/translator/models.py b/apps/translator/models.py similarity index 100% rename from translator/models.py rename to apps/translator/models.py diff --git a/translator/signals.py b/apps/translator/signals.py similarity index 100% rename from translator/signals.py rename to apps/translator/signals.py diff --git a/theme/tests.py b/apps/translator/tests.py similarity index 100% rename from theme/tests.py rename to apps/translator/tests.py diff --git a/translator/urls.py b/apps/translator/urls.py similarity index 100% rename from translator/urls.py rename to apps/translator/urls.py diff --git a/translator/views.py b/apps/translator/views.py similarity index 100% rename from translator/views.py rename to apps/translator/views.py diff --git a/file/admin.py b/apps/webinar/__init__.py similarity index 100% rename from file/admin.py rename to apps/webinar/__init__.py diff --git a/webinar/admin.py b/apps/webinar/admin.py similarity index 100% rename from webinar/admin.py rename to apps/webinar/admin.py diff --git a/webinar/admin_urls.py b/apps/webinar/admin_urls.py similarity index 100% rename from webinar/admin_urls.py rename to apps/webinar/admin_urls.py diff --git a/webinar/forms.py b/apps/webinar/forms.py similarity index 100% rename from webinar/forms.py rename to apps/webinar/forms.py diff --git a/webinar/models.py b/apps/webinar/models.py similarity index 100% rename from webinar/models.py rename to apps/webinar/models.py diff --git a/webinar/search_indexes.py b/apps/webinar/search_indexes.py similarity index 100% rename from webinar/search_indexes.py rename to apps/webinar/search_indexes.py diff --git a/webinar/signals.py b/apps/webinar/signals.py similarity index 100% rename from webinar/signals.py rename to apps/webinar/signals.py diff --git a/translator/tests.py b/apps/webinar/tests.py similarity index 100% rename from translator/tests.py rename to apps/webinar/tests.py diff --git a/webinar/urls.py b/apps/webinar/urls.py similarity index 100% rename from webinar/urls.py rename to apps/webinar/urls.py diff --git a/webinar/views.py b/apps/webinar/views.py similarity index 100% rename from webinar/views.py rename to apps/webinar/views.py diff --git a/article/migrations/0001_initial.py b/article/migrations/0001_initial.py deleted file mode 100644 index 906dfc53..00000000 --- a/article/migrations/0001_initial.py +++ /dev/null @@ -1,668 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding model 'ArticleTranslation' - db.create_table(u'article_article_translation', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('main_title', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('preview', self.gf('django.db.models.fields.TextField')()), - ('description', self.gf('django.db.models.fields.TextField')()), - ('title', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), - ('descriptions', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), - ('keywords', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), - ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), - ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['article.Article'])), - )) - db.send_create_signal(u'article', ['ArticleTranslation']) - - # Adding unique constraint on 'ArticleTranslation', fields ['language_code', 'master'] - db.create_unique(u'article_article_translation', ['language_code', 'master_id']) - - # Adding model 'Article' - db.create_table(u'article_article', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('slug', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=255)), - ('old_id', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)), - ('logo', self.gf(u'sorl.thumbnail.fields.ImageField')(max_length=100, blank=True)), - ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='articles', on_delete=models.PROTECT, to=orm['accounts.User'])), - ('exposition', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['exposition.Exposition'], null=True, blank=True)), - ('conference', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['conference.Conference'], null=True, blank=True)), - ('type', self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=1, db_index=True)), - ('allow_comments', self.gf('django.db.models.fields.BooleanField')(default=True)), - ('publish_date', self.gf('django.db.models.fields.DateTimeField')(db_index=True, null=True, blank=True)), - ('expiry_date', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('in_sitemap', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('main_page', self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True)), - ('main_page_time', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('gen_description', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), - ('modified', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), - )) - db.send_create_signal(u'article', ['Article']) - - # Adding M2M table for field theme on 'Article' - m2m_table_name = db.shorten_name(u'article_article_theme') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('article', models.ForeignKey(orm[u'article.article'], null=False)), - ('theme', models.ForeignKey(orm[u'theme.theme'], null=False)) - )) - db.create_unique(m2m_table_name, ['article_id', 'theme_id']) - - # Adding M2M table for field blog_theme on 'Article' - m2m_table_name = db.shorten_name(u'article_article_blog_theme') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('article', models.ForeignKey(orm[u'article.article'], null=False)), - ('themeblog', models.ForeignKey(orm[u'theme.themeblog'], null=False)) - )) - db.create_unique(m2m_table_name, ['article_id', 'themeblog_id']) - - # Adding M2M table for field tag on 'Article' - m2m_table_name = db.shorten_name(u'article_article_tag') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('article', models.ForeignKey(orm[u'article.article'], null=False)), - ('tag', models.ForeignKey(orm[u'theme.tag'], null=False)) - )) - db.create_unique(m2m_table_name, ['article_id', 'tag_id']) - - - def backwards(self, orm): - # Removing unique constraint on 'ArticleTranslation', fields ['language_code', 'master'] - db.delete_unique(u'article_article_translation', ['language_code', 'master_id']) - - # Deleting model 'ArticleTranslation' - db.delete_table(u'article_article_translation') - - # Deleting model 'Article' - db.delete_table(u'article_article') - - # Removing M2M table for field theme on 'Article' - db.delete_table(db.shorten_name(u'article_article_theme')) - - # Removing M2M table for field blog_theme on 'Article' - db.delete_table(db.shorten_name(u'article_article_blog_theme')) - - # Removing M2M table for field tag on 'Article' - db.delete_table(db.shorten_name(u'article_article_tag')) - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - u'article.article': { - 'Meta': {'ordering': "['-publish_date']", 'unique_together': '()', 'object_name': 'Article', 'index_together': '()'}, - 'allow_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'on_delete': 'models.PROTECT', 'to': u"orm['accounts.User']"}), - 'blog_theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.ThemeBlog']", 'symmetrical': 'False'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'expiry_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'blank': 'True'}), - 'gen_description': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'in_sitemap': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'logo': (u'sorl.thumbnail.fields.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'main_page_time': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_id': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publish_date': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Theme']", 'symmetrical': 'False'}), - 'type': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}) - }, - u'article.articletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ArticleTranslation', 'db_table': "u'article_article_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['article.Article']"}), - 'preview': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 5, 3, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 5, 3, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.themeblog': { - 'Meta': {'unique_together': '()', 'object_name': 'ThemeBlog', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['article'] \ No newline at end of file diff --git a/article/migrations/0002_auto__add_field_article_draft.py b/article/migrations/0002_auto__add_field_article_draft.py deleted file mode 100644 index 3f741343..00000000 --- a/article/migrations/0002_auto__add_field_article_draft.py +++ /dev/null @@ -1,593 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Article.draft' - db.add_column(u'article_article', 'draft', - self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Article.draft' - db.delete_column(u'article_article', 'draft') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - u'article.article': { - 'Meta': {'ordering': "['-publish_date']", 'unique_together': '()', 'object_name': 'Article', 'index_together': '()'}, - 'allow_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'on_delete': 'models.PROTECT', 'to': u"orm['accounts.User']"}), - 'blog_theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.ThemeBlog']", 'symmetrical': 'False'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'draft': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'expiry_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'blank': 'True'}), - 'gen_description': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'in_sitemap': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'logo': (u'sorl.thumbnail.fields.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'main_page_time': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_id': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publish_date': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Theme']", 'symmetrical': 'False'}), - 'type': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}) - }, - u'article.articletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ArticleTranslation', 'db_table': "u'article_article_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['article.Article']"}), - 'preview': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 5, 3, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 5, 3, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.themeblog': { - 'Meta': {'unique_together': '()', 'object_name': 'ThemeBlog', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['article'] \ No newline at end of file diff --git a/article/migrations/0003_auto.py b/article/migrations/0003_auto.py deleted file mode 100644 index 03d16ed6..00000000 --- a/article/migrations/0003_auto.py +++ /dev/null @@ -1,595 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - depends_on = ( - ("theme", "0003_auto__del_themeblog__del_themeblogtranslation__del_unique_themeblogtra"), - ) - - def forwards(self, orm): - # Removing M2M table for field blog_theme on 'Article' - db.delete_table(db.shorten_name(u'article_article_blog_theme')) - - - def backwards(self, orm): - # Adding M2M table for field blog_theme on 'Article' - m2m_table_name = db.shorten_name(u'article_article_blog_theme') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('article', models.ForeignKey(orm[u'article.article'], null=False)), - ('themeblog', models.ForeignKey(orm[u'theme.themeblog'], null=False)) - )) - db.create_unique(m2m_table_name, ['article_id', 'themeblog_id']) - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - u'article.article': { - 'Meta': {'ordering': "['-publish_date']", 'unique_together': '()', 'object_name': 'Article', 'index_together': '()'}, - 'allow_comments': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'on_delete': 'models.PROTECT', 'to': u"orm['accounts.User']"}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'draft': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'expiry_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'blank': 'True'}), - 'gen_description': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'in_sitemap': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'logo': (u'sorl.thumbnail.fields.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'main_page_time': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_id': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publish_date': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Theme']", 'symmetrical': 'False'}), - 'type': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}) - }, - u'article.articletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ArticleTranslation', 'db_table': "u'article_article_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['article.Article']"}), - 'preview': ('django.db.models.fields.TextField', [], {}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 5, 5, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 5, 5, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['article'] diff --git a/company/migrations/0001_initial.py b/company/migrations/0001_initial.py deleted file mode 100644 index 0af6ace1..00000000 --- a/company/migrations/0001_initial.py +++ /dev/null @@ -1,429 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding model 'CompanyTranslation' - db.create_table(u'company_company_translation', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('specialization', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), - ('description', self.gf('django.db.models.fields.TextField')(blank=True)), - ('address_inf', self.gf('django.db.models.fields.TextField')(blank=True)), - ('title', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('descriptions', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('keywords', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), - ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['company.Company'])), - )) - db.send_create_signal(u'company', ['CompanyTranslation']) - - # Adding unique constraint on 'CompanyTranslation', fields ['language_code', 'master'] - db.create_unique(u'company_company_translation', ['language_code', 'master_id']) - - # Adding model 'Company' - db.create_table(u'company_company', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('url', self.gf('django.db.models.fields.SlugField')(max_length=255)), - ('creator', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='created_company', null=True, to=orm['accounts.User'])), - ('country', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='companies', null=True, on_delete=models.PROTECT, to=orm['country.Country'])), - ('city', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='companies', null=True, on_delete=models.PROTECT, to=orm['city.City'])), - ('address', self.gf('functions.custom_fields.LocationField')(blank=True)), - ('staff_number', self.gf('django.db.models.fields.CharField')(max_length=50, blank=True)), - ('phone', self.gf('django.db.models.fields.BigIntegerField')(null=True, blank=True)), - ('fax', self.gf('django.db.models.fields.BigIntegerField')(null=True, blank=True)), - ('web_page', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), - ('email', self.gf('django.db.models.fields.EmailField')(max_length=75, blank=True)), - ('facebook', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), - ('twitter', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), - ('linkedin', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), - ('vk', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), - ('foundation', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), - ('rating', self.gf('django.db.models.fields.IntegerField')(default=100)), - ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), - ('modified', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), - ('logo', self.gf('django.db.models.fields.files.ImageField')(max_length=100, blank=True)), - )) - db.send_create_signal(u'company', ['Company']) - - # Adding M2M table for field theme on 'Company' - m2m_table_name = db.shorten_name(u'company_company_theme') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('company', models.ForeignKey(orm[u'company.company'], null=False)), - ('theme', models.ForeignKey(orm[u'theme.theme'], null=False)) - )) - db.create_unique(m2m_table_name, ['company_id', 'theme_id']) - - # Adding M2M table for field tag on 'Company' - m2m_table_name = db.shorten_name(u'company_company_tag') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('company', models.ForeignKey(orm[u'company.company'], null=False)), - ('tag', models.ForeignKey(orm[u'theme.tag'], null=False)) - )) - db.create_unique(m2m_table_name, ['company_id', 'tag_id']) - - - def backwards(self, orm): - # Removing unique constraint on 'CompanyTranslation', fields ['language_code', 'master'] - db.delete_unique(u'company_company_translation', ['language_code', 'master_id']) - - # Deleting model 'CompanyTranslation' - db.delete_table(u'company_company_translation') - - # Deleting model 'Company' - db.delete_table(u'company_company') - - # Removing M2M table for field theme on 'Company' - db.delete_table(db.shorten_name(u'company_company_theme')) - - # Removing M2M table for field tag on 'Company' - db.delete_table(db.shorten_name(u'company_company_tag')) - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'company.companytranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'CompanyTranslation', 'db_table': "u'company_company_translation'", 'index_together': '()'}, - 'address_inf': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'specialization': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['company'] \ No newline at end of file diff --git a/company/migrations/0002_auto__add_field_company_blocked.py b/company/migrations/0002_auto__add_field_company_blocked.py deleted file mode 100644 index ed991cb8..00000000 --- a/company/migrations/0002_auto__add_field_company_blocked.py +++ /dev/null @@ -1,362 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Company.blocked' - db.add_column(u'company_company', 'blocked', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Company.blocked' - db.delete_column(u'company_company', 'blocked') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'company.companytranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'CompanyTranslation', 'db_table': "u'company_company_translation'", 'index_together': '()'}, - 'address_inf': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'specialization': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['company'] \ No newline at end of file diff --git a/company/signals.py b/company/signals.py deleted file mode 100644 index 9c1a669c..00000000 --- a/company/signals.py +++ /dev/null @@ -1,6 +0,0 @@ -# -*- coding: utf-8 -*- -from django.db.models.signals import post_save -from models import Company -from functions.signal_handlers import post_save_handler - -#post_save.connect(post_save_handler, sender=Company) diff --git a/conference/migrations/0002_auto__add_field_conference_paid_new.py b/conference/migrations/0002_auto__add_field_conference_paid_new.py deleted file mode 100644 index 3c1e73bf..00000000 --- a/conference/migrations/0002_auto__add_field_conference_paid_new.py +++ /dev/null @@ -1,537 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Conference.paid_new' - db.add_column(u'conference_conference', 'paid_new', - self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.Paid'], null=True, on_delete=models.SET_NULL, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Conference.paid_new' - db.delete_column(u'conference_conference', 'paid_new_id') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conferencetranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ConferenceTranslation', 'db_table': "u'conference_conference_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'discount_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_themes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Conference']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}) - }, - u'conference.statistic': { - 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statistic'", 'to': u"orm['conference.Conference']"}), - 'countries_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'conference.statistictranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'StatisticTranslation', 'db_table': "u'conference_statistic_translation'", 'index_together': '()'}, - 'countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Statistic']"}) - }, - u'conference.timetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'business_program'", 'to': u"orm['conference.Conference']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conf_timetable'", 'null': 'True', 'to': u"orm['organiser.Organiser']"}) - }, - u'conference.timetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TimeTableTranslation', 'db_table': "u'conference_timetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.TimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 5, 10, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - 'blogtheme_linking': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['theme.ThemeBlog']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.themeblog': { - 'Meta': {'unique_together': '()', 'object_name': 'ThemeBlog', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['conference'] \ No newline at end of file diff --git a/conference/migrations/0003_auto__add_field_conference_bad_url.py b/conference/migrations/0003_auto__add_field_conference_bad_url.py deleted file mode 100644 index 1902a1d2..00000000 --- a/conference/migrations/0003_auto__add_field_conference_bad_url.py +++ /dev/null @@ -1,533 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Conference.bad_url' - db.add_column(u'conference_conference', 'bad_url', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Conference.bad_url' - db.delete_column(u'conference_conference', 'bad_url') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conferencetranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ConferenceTranslation', 'db_table': "u'conference_conference_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'discount_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_themes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Conference']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}) - }, - u'conference.statistic': { - 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statistic'", 'to': u"orm['conference.Conference']"}), - 'countries_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'conference.statistictranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'StatisticTranslation', 'db_table': "u'conference_statistic_translation'", 'index_together': '()'}, - 'countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Statistic']"}) - }, - u'conference.timetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'business_program'", 'to': u"orm['conference.Conference']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conf_timetable'", 'null': 'True', 'to': u"orm['organiser.Organiser']"}) - }, - u'conference.timetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TimeTableTranslation', 'db_table': "u'conference_timetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.TimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 7, 1, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['conference'] \ No newline at end of file diff --git a/conference/migrations/0004_auto__add_field_conference_members_choice.py b/conference/migrations/0004_auto__add_field_conference_members_choice.py deleted file mode 100644 index 6584a9b1..00000000 --- a/conference/migrations/0004_auto__add_field_conference_members_choice.py +++ /dev/null @@ -1,561 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Conference.members_choice' - db.add_column(u'conference_conference', 'members_choice', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Conference.visitors_choice' - db.add_column(u'conference_conference', 'visitors_choice', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Conference.price_choice' - db.add_column(u'conference_conference', 'price_choice', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Conference.members_choice' - db.delete_column(u'conference_conference', 'members_choice') - - # Deleting field 'Conference.visitors_choice' - db.delete_column(u'conference_conference', 'visitors_choice') - - # Deleting field 'Conference.price_choice' - db.delete_column(u'conference_conference', 'price_choice') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conferencetranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ConferenceTranslation', 'db_table': "u'conference_conference_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'discount_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_themes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Conference']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}) - }, - u'conference.statistic': { - 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statistic'", 'to': u"orm['conference.Conference']"}), - 'countries_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'conference.statistictranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'StatisticTranslation', 'db_table': "u'conference_statistic_translation'", 'index_together': '()'}, - 'countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Statistic']"}) - }, - u'conference.timetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'business_program'", 'to': u"orm['conference.Conference']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conf_timetable'", 'null': 'True', 'to': u"orm['organiser.Organiser']"}) - }, - u'conference.timetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TimeTableTranslation', 'db_table': "u'conference_timetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.TimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 8, 4, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['conference'] \ No newline at end of file diff --git a/conference/migrations/0005_auto__add_field_conference_price_rub__add_index_conference_data_begin_.py b/conference/migrations/0005_auto__add_field_conference_price_rub__add_index_conference_data_begin_.py deleted file mode 100644 index aec9f7b0..00000000 --- a/conference/migrations/0005_auto__add_field_conference_price_rub__add_index_conference_data_begin_.py +++ /dev/null @@ -1,576 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Conference.price_rub' - db.add_column(u'conference_conference', 'price_rub', - self.gf('django.db.models.fields.FloatField')(null=True, blank=True), - keep_default=False) - - # Adding index on 'Conference', fields ['data_begin'] - db.create_index(u'conference_conference', ['data_begin']) - - # Adding index on 'Conference', fields ['visitors_choice'] - db.create_index(u'conference_conference', ['visitors_choice']) - - # Adding index on 'Conference', fields ['members_choice'] - db.create_index(u'conference_conference', ['members_choice']) - - # Adding index on 'Conference', fields ['price_choice'] - db.create_index(u'conference_conference', ['price_choice']) - - # Adding index on 'Conference', fields ['is_published'] - db.create_index(u'conference_conference', ['is_published']) - - - def backwards(self, orm): - # Removing index on 'Conference', fields ['is_published'] - db.delete_index(u'conference_conference', ['is_published']) - - # Removing index on 'Conference', fields ['price_choice'] - db.delete_index(u'conference_conference', ['price_choice']) - - # Removing index on 'Conference', fields ['members_choice'] - db.delete_index(u'conference_conference', ['members_choice']) - - # Removing index on 'Conference', fields ['visitors_choice'] - db.delete_index(u'conference_conference', ['visitors_choice']) - - # Removing index on 'Conference', fields ['data_begin'] - db.delete_index(u'conference_conference', ['data_begin']) - - # Deleting field 'Conference.price_rub' - db.delete_column(u'conference_conference', 'price_rub') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conferencetranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ConferenceTranslation', 'db_table': "u'conference_conference_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'discount_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_themes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Conference']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}) - }, - u'conference.statistic': { - 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statistic'", 'to': u"orm['conference.Conference']"}), - 'countries_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'conference.statistictranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'StatisticTranslation', 'db_table': "u'conference_statistic_translation'", 'index_together': '()'}, - 'countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Statistic']"}) - }, - u'conference.timetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'business_program'", 'to': u"orm['conference.Conference']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conf_timetable'", 'null': 'True', 'to': u"orm['organiser.Organiser']"}) - }, - u'conference.timetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TimeTableTranslation', 'db_table': "u'conference_timetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.TimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 8, 18, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['conference'] \ No newline at end of file diff --git a/conference/migrations/0006_auto__chg_field_conference_price_rub.py b/conference/migrations/0006_auto__chg_field_conference_price_rub.py deleted file mode 100644 index eefab66d..00000000 --- a/conference/migrations/0006_auto__chg_field_conference_price_rub.py +++ /dev/null @@ -1,544 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Changing field 'Conference.price_rub' - db.alter_column(u'conference_conference', 'price_rub', self.gf('django.db.models.fields.PositiveIntegerField')(null=True)) - - def backwards(self, orm): - - # Changing field 'Conference.price_rub' - db.alter_column(u'conference_conference', 'price_rub', self.gf('django.db.models.fields.FloatField')(null=True)) - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conferencetranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ConferenceTranslation', 'db_table': "u'conference_conference_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'discount_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_themes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Conference']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}) - }, - u'conference.statistic': { - 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statistic'", 'to': u"orm['conference.Conference']"}), - 'countries_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'conference.statistictranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'StatisticTranslation', 'db_table': "u'conference_statistic_translation'", 'index_together': '()'}, - 'countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Statistic']"}) - }, - u'conference.timetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'business_program'", 'to': u"orm['conference.Conference']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conf_timetable'", 'null': 'True', 'to': u"orm['organiser.Organiser']"}) - }, - u'conference.timetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TimeTableTranslation', 'db_table': "u'conference_timetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.TimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 8, 19, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['conference'] \ No newline at end of file diff --git a/conference/migrations/0007_auto__add_field_conference_price_choice_eur__add_field_conference_pric.py b/conference/migrations/0007_auto__add_field_conference_price_choice_eur__add_field_conference_pric.py deleted file mode 100644 index fb33adfd..00000000 --- a/conference/migrations/0007_auto__add_field_conference_price_choice_eur__add_field_conference_pric.py +++ /dev/null @@ -1,556 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Conference.price_choice_eur' - db.add_column(u'conference_conference', 'price_choice_eur', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(db_index=True, null=True, blank=True), - keep_default=False) - - # Adding field 'Conference.price_eur' - db.add_column(u'conference_conference', 'price_eur', - self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Conference.price_choice_eur' - db.delete_column(u'conference_conference', 'price_choice_eur') - - # Deleting field 'Conference.price_eur' - db.delete_column(u'conference_conference', 'price_eur') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conferencetranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ConferenceTranslation', 'db_table': "u'conference_conference_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'discount_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_themes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Conference']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}) - }, - u'conference.statistic': { - 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statistic'", 'to': u"orm['conference.Conference']"}), - 'countries_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'conference.statistictranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'StatisticTranslation', 'db_table': "u'conference_statistic_translation'", 'index_together': '()'}, - 'countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Statistic']"}) - }, - u'conference.timetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'business_program'", 'to': u"orm['conference.Conference']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conf_timetable'", 'null': 'True', 'to': u"orm['organiser.Organiser']"}) - }, - u'conference.timetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TimeTableTranslation', 'db_table': "u'conference_timetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.TimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 8, 29, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['conference'] \ No newline at end of file diff --git a/conference/migrations/0009_auto__add_speaker__add_field_conference_periodic_once__add_field_confe.py b/conference/migrations/0009_auto__add_speaker__add_field_conference_periodic_once__add_field_confe.py deleted file mode 100644 index cac4940a..00000000 --- a/conference/migrations/0009_auto__add_speaker__add_field_conference_periodic_once__add_field_confe.py +++ /dev/null @@ -1,621 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding model 'Speaker' - db.create_table(u'conference_speaker', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('fullname', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('fullname_ru', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - ('fullname_en', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - ('company', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - ('company_ru', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - ('company_en', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - ('position', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - ('position_ru', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - ('position_en', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)), - ('photo', self.gf('django.db.models.fields.files.ImageField')(max_length=100)), - )) - db.send_create_signal(u'conference', ['Speaker']) - - # Adding field 'Conference.periodic_once' - db.add_column(u'conference_conference', 'periodic_once', - self.gf('django.db.models.fields.CharField')(max_length=10, null=True, blank=True), - keep_default=False) - - # Adding field 'Conference.programm_link' - db.add_column(u'conference_conference', 'programm_link', - self.gf('django.db.models.fields.URLField')(default='', max_length=255, blank=True), - keep_default=False) - - # Adding field 'Conference.members_fc' - db.add_column(u'conference_conference', 'members_fc', - self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting model 'Speaker' - db.delete_table(u'conference_speaker') - - # Deleting field 'Conference.periodic_once' - db.delete_column(u'conference_conference', 'periodic_once') - - # Deleting field 'Conference.programm_link' - db.delete_column(u'conference_conference', 'programm_link') - - # Deleting field 'Conference.members_fc' - db.delete_column(u'conference_conference', 'members_fc') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'members_fc': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'periodic_once': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'programm_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conferencetranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ConferenceTranslation', 'db_table': "u'conference_conference_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'discount_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_themes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Conference']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}) - }, - u'conference.speaker': { - 'Meta': {'object_name': 'Speaker'}, - 'company': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'company_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'company_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'fullname': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'fullname_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'fullname_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'conference.statistic': { - 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statistic'", 'to': u"orm['conference.Conference']"}), - 'countries_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'conference.statistictranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'StatisticTranslation', 'db_table': "u'conference_statistic_translation'", 'index_together': '()'}, - 'countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Statistic']"}) - }, - u'conference.timetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'business_program'", 'to': u"orm['conference.Conference']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conf_timetable'", 'null': 'True', 'to': u"orm['organiser.Organiser']"}) - }, - u'conference.timetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TimeTableTranslation', 'db_table': "u'conference_timetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.TimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 26, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 26, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['conference'] \ No newline at end of file diff --git a/conference/migrations/0011_auto__del_field_conference_audience.py b/conference/migrations/0011_auto__del_field_conference_audience.py deleted file mode 100644 index 2d0587fc..00000000 --- a/conference/migrations/0011_auto__del_field_conference_audience.py +++ /dev/null @@ -1,623 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Deleting field 'Conference.audience' - db.delete_column(u'conference_conference', 'audience') - - # Adding M2M table for field audience on 'Conference' - m2m_table_name = db.shorten_name(u'conference_conference_audience') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('conference', models.ForeignKey(orm[u'conference.conference'], null=False)), - ('targetaudience', models.ForeignKey(orm[u'events.targetaudience'], null=False)) - )) - db.create_unique(m2m_table_name, ['conference_id', 'targetaudience_id']) - - - def backwards(self, orm): - - # User chose to not deal with backwards NULL issues for 'Conference.audience' - raise RuntimeError("Cannot reverse this migration. 'Conference.audience' and its values cannot be restored.") - - # The following code is provided here to aid in writing a correct migration # Adding field 'Conference.audience' - db.add_column(u'conference_conference', 'audience', - self.gf('django.db.models.fields.BigIntegerField')(default=None), - keep_default=False) - - # Removing M2M table for field audience on 'Conference' - db.delete_table(db.shorten_name(u'conference_conference_audience')) - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'comments.comment': { - 'Meta': {'object_name': 'Comment'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'hidden': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39', 'null': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['comments.Comment']", 'null': 'True', 'blank': 'True'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['events.TargetAudience']", 'null': 'True', 'symmetrical': 'False'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'members_fc': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'periodic_once': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'programm_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'speakers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['conference.Speaker']", 'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conferencetranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ConferenceTranslation', 'db_table': "u'conference_conference_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'discount_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_themes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Conference']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}) - }, - u'conference.speaker': { - 'Meta': {'object_name': 'Speaker'}, - 'company': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'company_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'company_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'fullname': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'fullname_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'fullname_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'conference.statistic': { - 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statistic'", 'to': u"orm['conference.Conference']"}), - 'countries_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'conference.statistictranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'StatisticTranslation', 'db_table': "u'conference_statistic_translation'", 'index_together': '()'}, - 'countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Statistic']"}) - }, - u'conference.timetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'business_program'", 'to': u"orm['conference.Conference']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conf_timetable'", 'null': 'True', 'to': u"orm['organiser.Organiser']"}) - }, - u'conference.timetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TimeTableTranslation', 'db_table': "u'conference_timetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.TimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'events.targetaudience': { - 'Meta': {'ordering': "['title']", 'object_name': 'TargetAudience'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}), - 'title_en': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'title_ru': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 11, 28, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 11, 28, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['conference'] \ No newline at end of file diff --git a/conference/migrations/0012_auto__add_field_conference_partner.py b/conference/migrations/0012_auto__add_field_conference_partner.py deleted file mode 100644 index ff35069d..00000000 --- a/conference/migrations/0012_auto__add_field_conference_partner.py +++ /dev/null @@ -1,608 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Conference.partner' - db.add_column(u'conference_conference', 'partner', - self.gf('django.db.models.fields.NullBooleanField')(default=False, null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Conference.partner' - db.delete_column(u'conference_conference', 'partner') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'comments.comment': { - 'Meta': {'object_name': 'Comment'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'hidden': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39', 'null': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['comments.Comment']", 'null': 'True', 'blank': 'True'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['events.TargetAudience']", 'null': 'True', 'symmetrical': 'False'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'members_fc': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': 'False', 'null': 'True', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'periodic_once': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'programm_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'speakers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['conference.Speaker']", 'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conferencetranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ConferenceTranslation', 'db_table': "u'conference_conference_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'discount_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_themes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Conference']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}) - }, - u'conference.speaker': { - 'Meta': {'object_name': 'Speaker'}, - 'company': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'company_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'company_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'fullname': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'fullname_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'fullname_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'conference.statistic': { - 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statistic'", 'to': u"orm['conference.Conference']"}), - 'countries_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'conference.statistictranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'StatisticTranslation', 'db_table': "u'conference_statistic_translation'", 'index_together': '()'}, - 'countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.Statistic']"}) - }, - u'conference.timetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'business_program'", 'to': u"orm['conference.Conference']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conf_timetable'", 'null': 'True', 'to': u"orm['organiser.Organiser']"}) - }, - u'conference.timetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TimeTableTranslation', 'db_table': "u'conference_timetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['conference.TimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'events.targetaudience': { - 'Meta': {'ordering': "['title']", 'object_name': 'TargetAudience'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}), - 'title_en': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'title_ru': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 12, 21, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'null': 'True', 'blank': 'True'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 12, 21, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['conference'] \ No newline at end of file diff --git a/conference/signals.py b/conference/signals.py deleted file mode 100644 index 59e8479f..00000000 --- a/conference/signals.py +++ /dev/null @@ -1,6 +0,0 @@ -# -*- coding: utf-8 -*- -from django.db.models.signals import post_save -from models import Conference -from functions.signal_handlers import post_save_handler - -#post_save.connect(post_save_handler, sender=Conference) diff --git a/core/forms.py b/core/forms.py deleted file mode 100644 index fe61cd31..00000000 --- a/core/forms.py +++ /dev/null @@ -1,76 +0,0 @@ -# -*- coding: utf-8 -*- -from django import forms -from django.conf import settings -from django.core.mail import send_mail -from django.utils.translation import ugettext as _ -from place_exposition.models import PlaceExposition -from place_conference.models import PlaceConference -from django.utils.translation import ugettext_lazy as _ -from haystack.query import SearchQuerySet, EmptySearchQuerySet -from hvad.forms import TranslatableModelForm -from models import Page - - -class PlaceSearchForm(forms.Form): - q = forms.CharField(label=_(u'Поиск'), required=False) - w = forms.CharField(label=_(u'Где'), required=False) - - def search(self): - q = self.cleaned_data.get('q') - w = self.cleaned_data.get('w') - - if not q and not w: - return EmptySearchQuerySet() - - sqs = SearchQuerySet().models(PlaceExposition, PlaceConference) - - if q: - sqs = sqs.auto_query(q) - if w: - sqs = sqs.filter(where__contains=w) - - return sqs - -class CallbackForm(forms.Form): - callback_phone = forms.CharField() - - def clean_callback_phone(self): - phone = self.cleaned_data['callback_phone'] - phone_str = self.cleaned_data['callback_phone'] - deduct = ('-','(',')','.',' ') - for elem in deduct: - phone = phone.replace(elem, '') - if phone.isdigit(): - return phone_str - else: - raise forms.ValidationError(_(u'Введите правильный телефон')) - - def send(self): - phone = self.cleaned_data['callback_phone'] - send_mail(phone, phone, None, [settings.CALLBACK_EMAIL]) - - -# ------------------ Page Form ----------------------- - -from django.conf import settings -from django.forms import Textarea -from ckeditor.widgets import CKEditorWidget - - - -class PageForm(TranslatableModelForm): - # language = 'ru' - - class Meta: - model = Page - fields = ['url','title','h1','descriptions','keywords', 'body'] - widgets = { - 'body':CKEditorWidget, - 'keywords':Textarea, - 'descriptions':Textarea, - } - - - - - diff --git a/django_messages/locale/ar/LC_MESSAGES/django.mo b/django_messages/locale/ar/LC_MESSAGES/django.mo deleted file mode 100644 index 5c16012d..00000000 Binary files a/django_messages/locale/ar/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django_messages/locale/ar/LC_MESSAGES/django.po b/django_messages/locale/ar/LC_MESSAGES/django.po deleted file mode 100644 index 027edb1b..00000000 --- a/django_messages/locale/ar/LC_MESSAGES/django.po +++ /dev/null @@ -1,317 +0,0 @@ -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Ossama M. Khayat , 2009. -msgid "" -msgstr "" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-10-14 04:23+0300\n" -"PO-Revision-Date: 2009-11-02 00:41+0300\n" -"Last-Translator: Ossama M. Khayat \n" -"Language-Team: Arabic \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 1.0\n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " -"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" - -#: admin.py:13 forms.py:20 models.py:52 templates/messages/outbox.html:8 -#: templates/messages/view.html:12 -msgid "Recipient" -msgstr "المستلم" - -#: admin.py:15 -msgid "group" -msgstr "مجموعة" - -#: admin.py:16 -msgid "Creates the message optionally for all users or a group of users." -msgstr "ينشئ الرسالة اختياريا لجميع المستخدمين او لمجموعة من المستخدمين." - -#: admin.py:23 -msgid "All users" -msgstr "جميع المستخدمين" - -#: admin.py:38 models.py:88 -msgid "Message" -msgstr "الرسالة" - -#: admin.py:45 -msgid "Date/time" -msgstr "التاريخ/الوقت" - -#: fields.py:53 -#, python-format -msgid "The following usernames are incorrect: %(users)s" -msgstr "أسماء المستخدمين التالي ذكرهم غير صحيحة: %(users)s" - -#: forms.py:21 models.py:49 templates/messages/inbox.html:8 -#: templates/messages/outbox.html:8 templates/messages/trash.html:8 -#: templates/messages/view.html:6 -msgid "Subject" -msgstr "الموضوع" - -#: forms.py:22 models.py:50 -msgid "Body" -msgstr "المحتوى" - -#: management.py:9 -msgid "Message Received" -msgstr "تم استلام الرسالة" - -#: management.py:9 -msgid "you have received a message" -msgstr "وصلتك رسالة" - -#: management.py:10 -msgid "Message Sent" -msgstr "تم إرسال الرسالة" - -#: management.py:10 -msgid "you have sent a message" -msgstr "قمت بإرسال رسالة" - -#: management.py:11 -msgid "Message Replied" -msgstr "تم الرد على الرسالة" - -#: management.py:11 -msgid "you have replied to a message" -msgstr "قمت بالرد على الرسالة" - -#: management.py:12 -msgid "Reply Received" -msgstr "تم استلام الرد" - -#: management.py:12 -msgid "you have received a reply to a message" -msgstr "استملت رداً على رسالة" - -#: management.py:13 -msgid "Message Deleted" -msgstr "تم حذف الرسالة" - -#: management.py:13 -msgid "you have deleted a message" -msgstr "قمت بحذف رسالة" - -#: management.py:14 -msgid "Message Recovered" -msgstr "تم استرجاع الرسالة" - -#: management.py:14 -msgid "you have undeleted a message" -msgstr "قمت باسترجاع رسالة" - -#: models.py:51 templates/messages/inbox.html:8 -#: templates/messages/trash.html:8 templates/messages/view.html:8 -msgid "Sender" -msgstr "المرسل" - -#: models.py:53 -msgid "Parent message" -msgstr "الرسالة الأساسية" - -#: models.py:54 -msgid "sent at" -msgstr "أرسلت في" - -#: models.py:55 -msgid "read at" -msgstr "قُرأت في" - -#: models.py:56 -msgid "replied at" -msgstr "رُدّ عليها في" - -#: models.py:57 -msgid "Sender deleted at" -msgstr "حذفها المُرسل في" - -#: models.py:58 -msgid "Recipient deleted at" -msgstr "حذفها المستلم في" - -#: models.py:89 -msgid "Messages" -msgstr "الرسائل" - -#: utils.py:27 -#, python-format -msgid "New Message: %(subject)s" -msgstr "رسالة جديدة: %(subject)s" - -#: views.py:78 views.py:112 -msgid "Message successfully sent." -msgstr "تم إرسال الرسالة بنجاح." - -#: views.py:118 -#, python-format -msgid "" -"%(sender)s wrote:\n" -"%(body)s" -msgstr "" -"كتب %(sender)s:\n" -"%(body)s" - -#: views.py:122 -#, python-format -msgid "Re: %(subject)s" -msgstr "رد: %(subject)s" - -#: views.py:158 -msgid "Message successfully deleted." -msgstr "تم حذف الرسالة بنجاح." - -#: views.py:185 -msgid "Message successfully recovered." -msgstr "تم استرجاع الرسالة بنجاح." - -#: templates/messages/base.html:8 templates/messages/inbox.html:4 -#: templates/messages/new_message.html:10 -msgid "Inbox" -msgstr "الوارد" - -#: templates/messages/base.html:9 templates/messages/outbox.html:4 -msgid "Sent Messages" -msgstr "الرسائل المرسلة" - -#: templates/messages/base.html:10 -msgid "New Message" -msgstr "رسالة جديدة" - -#: templates/messages/base.html:11 -msgid "Trash" -msgstr "الحاوية" - -#: templates/messages/compose.html:4 -msgid "Compose Message" -msgstr "أكتب رسالة" - -#: templates/messages/compose.html:9 -msgid "Send" -msgstr "أرسل" - -#: templates/messages/inbox.html:8 -msgid "Received" -msgstr "استُلمت" - -#: templates/messages/inbox.html:8 templates/messages/outbox.html:8 -#: templates/messages/trash.html:8 -msgid "Action" -msgstr "إجراء" - -#: templates/messages/inbox.html:20 templates/messages/outbox.html:17 -#: templates/messages/trash.html:17 templates/messages/view.html:11 -msgid "DATETIME_FORMAT" -msgstr "DATETIME_FORMAT" - -#: templates/messages/inbox.html:21 templates/messages/outbox.html:18 -msgid "delete" -msgstr "حذف" - -#: templates/messages/inbox.html:27 templates/messages/outbox.html:24 -#: templates/messages/trash.html:24 -msgid "No messages." -msgstr "لا توجد رسائل." - -#: templates/messages/new_message.html:1 -#, python-format -msgid "" -"Hello %(recipient)s,\n" -"\n" -"you received a private message from %(sender)s with\n" -"the following contents:" -msgstr "" -"مرحباً %(recipient)s،\n" -"\n" -"وصلتك رسالة خاصة من %(sender)s\n" -"تحتوي ما يلي:" - -#: templates/messages/new_message.html:9 -#, python-format -msgid "Sent from %(site_url)s" -msgstr "أرسلت من %(site_url)s" - -#: templates/messages/new_message.html:11 templates/messages/view.html:18 -msgid "Reply" -msgstr "رد" - -#: templates/messages/outbox.html:8 -msgid "Sent" -msgstr "أرسل" - -#: templates/messages/trash.html:4 -msgid "Deleted Messages" -msgstr "الرسائل المحذوفة" - -#: templates/messages/trash.html:8 templates/messages/view.html:10 -msgid "Date" -msgstr "التاريخ" - -#: templates/messages/trash.html:18 -msgid "undelete" -msgstr "استرجاع" - -#: templates/messages/trash.html:27 -msgid "" -"Deleted Messages are removed from the trash at unregular intervals, don't " -"rely on this feature for long-time storage." -msgstr "" -"تتم إزالة الرسائل المحذوفة من الحاوية على فترات زمنيّة متفاوتة، " -"فلا تعتمد على هذه الميزة للتخزين الطويل المدى." - -#: templates/messages/view.html:4 -msgid "View Message" -msgstr "مشاهدة الرسالة" - -#: templates/messages/view.html:20 -msgid "Delete" -msgstr "حذف" - -#: templates/notification/messages_deleted/notice.html:1 -#, python-format -msgid "" -"You have deleted the message %(message)s." -msgstr "قمت بحذف الرسالة %(message)s." - -#: templates/notification/messages_received/notice.html:2 -#, python-format -msgid "" -"You have received the message %(message)s " -"from %(message_sender)s." -msgstr "" -"وصلتك الرسالة %(message)s " -"من %(message_sender)s." - -#: templates/notification/messages_recovered/notice.html:1 -#, python-format -msgid "" -"You have recovered the message %(message)s." -msgstr "قمت باسترجاع الرسالة %(message)s." - -#: templates/notification/messages_replied/notice.html:2 -#, python-format -msgid "" -"You have replied to %(message_parent_msg)s " -"from %(message_recipient)s." -msgstr "" -"قمت بالرد الرسائل %(message_parent_msg)s " -"من %(message_recipient)s." - -#: templates/notification/messages_reply_received/notice.html:2 -#, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "أرسل لك %(message_sender)s رداً على %(message_parent_msg)s." - -#: templates/notification/messages_sent/notice.html:2 -#, python-format -msgid "" -"You have sent the message %(message)s to %" -"(message_recipient)s." -msgstr "" -"قمت بإرسالة الرسالة %(message)s إلى %" -"(message_recipient)s." - diff --git a/django_messages/locale/da/LC_MESSAGES/django.mo b/django_messages/locale/da/LC_MESSAGES/django.mo deleted file mode 100644 index 591819e0..00000000 Binary files a/django_messages/locale/da/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django_messages/locale/da/LC_MESSAGES/django.po b/django_messages/locale/da/LC_MESSAGES/django.po deleted file mode 100644 index 1689cd83..00000000 --- a/django_messages/locale/da/LC_MESSAGES/django.po +++ /dev/null @@ -1,367 +0,0 @@ -# django-messages in Danish. -# django-messages på Dansk. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# Michael Lind Mortensen , 2009. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-09-11 12:31-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:13 forms.py:20 models.py:52 templates/messages/outbox.html:7 -#: templates/messages/view.html:12 -msgid "Recipient" -msgstr "Modtager" - -#: admin.py:15 -msgid "group" -msgstr "gruppe" - -#: admin.py:16 -msgid "Creates the message optionally for all users or a group of users." -msgstr "Skaber beskeden for alle brugere eller en gruppe af brugere." - -#: admin.py:23 -msgid "All users" -msgstr "Alle brugere" - -#: admin.py:38 models.py:88 -msgid "Message" -msgstr "Beskeder" - -#: admin.py:45 -msgid "Date/time" -msgstr "Dato/tid" - -#: fields.py:53 -#, python-format -msgid "The following usernames are incorrect: %(users)s" -msgstr "De følgende brugernavne er forkerte: %(users)s" - -#: forms.py:21 models.py:49 templates/messages/inbox.html:7 -#: templates/messages/outbox.html:7 templates/messages/trash.html:7 -#: templates/messages/view.html:6 -msgid "Subject" -msgstr "Emne" - -#: forms.py:22 models.py:50 -msgid "Body" -msgstr "Indhold" - -#: management.py:9 -msgid "Message Received" -msgstr "Besked Modtaget" - -#: management.py:9 -msgid "you have received a message" -msgstr "du har modtaget en besked" - -#: management.py:10 -msgid "Message Sent" -msgstr "Besked Afsendt" - -#: management.py:10 -msgid "you have sent a message" -msgstr "du har sendt en besked" - -#: management.py:11 -msgid "Message Replied" -msgstr "Besked Besvaret" - -#: management.py:11 -msgid "you have replied to a message" -msgstr "du har besvaret en besked" - -#: management.py:12 -msgid "Reply Received" -msgstr "Svar Modtaget" - -#: management.py:12 -msgid "you have received a reply to a message" -msgstr "du har modtaget en besvarelse på en besked" - -#: management.py:13 -msgid "Message Deleted" -msgstr "Besked Slettet" - -#: management.py:13 -msgid "you have deleted a message" -msgstr "du har slettet en besked" - -#: management.py:14 -msgid "Message Recovered" -msgstr "Besked Genskabt" - -#: management.py:14 -msgid "you have undeleted a message" -msgstr "du har genskabt en besked" - -#: models.py:51 templates/messages/inbox.html:7 -#: templates/messages/trash.html:7 templates/messages/view.html:8 -msgid "Sender" -msgstr "Afsender" - -#: models.py:53 -msgid "Parent message" -msgstr "Stambesked" - -#: models.py:54 -msgid "sent at" -msgstr "sendt" - -#: models.py:55 -msgid "read at" -msgstr "læst" - -#: models.py:56 -msgid "replied at" -msgstr "besvaret" - -#: models.py:57 -msgid "Sender deleted at" -msgstr "Afsender slettet" - -#: models.py:58 -msgid "Recipient deleted at" -msgstr "Modtager slettet" - -#: models.py:89 -msgid "Messages" -msgstr "Beskeder" - -#: utils.py:27 -#, python-format -msgid "New Message: %(subject)s" -msgstr "Ny besked: %(subject)s" - -#: views.py:78 views.py:112 -msgid "Message successfully sent." -msgstr "Besked sendt succesfuldt." - -#: views.py:118 -#, python-format -msgid "" -"%(sender)s wrote:\n" -"%(body)s" -msgstr "" -"%(sender)s skrev:\n" -"%(body)s" - -#: views.py:122 -#, python-format -msgid "Re: %(subject)s" -msgstr "SV: %(subject)s" - -#: views.py:158 -msgid "Message successfully deleted." -msgstr "Besked slettet succesfuldt." - -#: views.py:185 -msgid "Message successfully recovered." -msgstr "Besked genskabt succesfuldt." - -#: templates/messages/base.html:8 templates/messages/inbox.html:4 -#: templates/messages/new_message.html:10 -msgid "Inbox" -msgstr "Indboks" - -#: templates/messages/base.html:9 templates/messages/outbox.html:4 -msgid "Sent Messages" -msgstr "Sendte Beskeder" - -#: templates/messages/base.html:10 -msgid "New Message" -msgstr "Ny Besked" - -#: templates/messages/base.html:11 -msgid "Trash" -msgstr "Papirkurv" - -#: templates/messages/compose.html:4 -msgid "Compose Message" -msgstr "Skriv Ny Besked" - -#: templates/messages/compose.html:9 -msgid "Send" -msgstr "Send" - -#: templates/messages/inbox.html:7 -msgid "Received" -msgstr "Modtaget" - -#: templates/messages/inbox.html:7 templates/messages/outbox.html:7 -#: templates/messages/trash.html:7 -msgid "Action" -msgstr "Handling" - -#: templates/messages/inbox.html:19 templates/messages/outbox.html:16 -#: templates/messages/trash.html:16 templates/messages/view.html:11 -msgid "DATETIME_FORMAT" -msgstr "DATETIME_FORMAT" - -#: templates/messages/inbox.html:20 templates/messages/outbox.html:17 -msgid "delete" -msgstr "slet" - -#: templates/messages/new_message.html:1 -#, python-format -msgid "" -"Hello %(recipient)s,\n" -"\n" -"you received a private message from %(sender)s with\n" -"the following contents:" -msgstr "" -"Goddag %(recipient)s,\n" -"\n" -"du har modtaget en privat besked fra %(sender)s med\n" -"følgende indhold:" - -#: templates/messages/new_message.html:9 -#, python-format -msgid "Sent from %(site_url)s" -msgstr "Sendt fra %(site_url)s" - -#: templates/messages/new_message.html:11 templates/messages/view.html:18 -msgid "Reply" -msgstr "Besvar" - -#: templates/messages/outbox.html:7 -msgid "Sent" -msgstr "Sendt" - -#: templates/messages/trash.html:4 -msgid "Deleted Messages" -msgstr "Slettede Beskeder" - -#: templates/messages/trash.html:7 templates/messages/view.html:10 -msgid "Date" -msgstr "Dato" - -#: templates/messages/trash.html:17 -msgid "undelete" -msgstr "genskab" - -#: templates/messages/trash.html:23 -msgid "" -"Deleted Messages are removed from the trash at unregular intervals, don't " -"rely on this feature for long-time storage." -msgstr "" -"Slettede beskeder fjernes fra papirkurven med jævne mellemrum. Lad være med " -"at regne med denne funktion til langtidslagring." - -#: templates/messages/view.html:4 -msgid "View Message" -msgstr "Læs Besked" - -#: templates/messages/view.html:20 -msgid "Delete" -msgstr "Slet" - -#: templates/notification/messages_deleted/notice.html:1 -#, python-format -msgid "" -"You have deleted the message %(message)s." -msgstr "Du har slettet beskeden %(message)s." - -#: templates/notification/messages_received/notice.html:2 -#, python-format -msgid "" -"You have received the message %(message)s " -"from %(message_sender)s." -msgstr "" -"Du har modtaget beskeden %(message)s fra %" -"(message_sender)s." - -#: templates/notification/messages_recovered/notice.html:1 -#, python-format -msgid "" -"You have recovered the message %(message)s." -msgstr "Du har genskabt beskeden %(message)s." - -#: templates/notification/messages_replied/notice.html:2 -#, python-format -msgid "" -"You have replied to %(message_parent_msg)s " -"from %(message_recipient)s." -msgstr "" -"Du har besvaret %(message_parent_msg)s fra %" -"(message_recipient)s." - -#: templates/notification/messages_reply_received/notice.html:2 -#, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "" -"%(message_sender)s har sendt dig en besvarelse på %(message_parent_msg)s." - -#: templates/notification/messages_sent/notice.html:2 -#, python-format -msgid "" -"You have sent the message %(message)s to %" -"(message_recipient)s." -msgstr "" -"Du har sendt beskeden %(message)s til %" -"(message_recipient)s." - -#, fuzzy -#~ msgid "You have deleted the message '%(message)s'." -#~ msgstr "Du har slettet beskeden '%(message)s'." - -#, fuzzy -#~ msgid "" -#~ "%(message_sender)s has sent you a message:\n" -#~ "\n" -#~ "%(message)s\n" -#~ "\n" -#~ "%(message_body)s\n" -#~ "\n" -#~ "http://%(current_site)s%(message_url)s" -#~ msgstr "" -#~ "%(message_sender)s har sendt dig en besked:\n" -#~ "\n" -#~ "%(message)s\n" -#~ "\n" -#~ "%(message_body)s\n" -#~ "\n" -#~ "http://%(current_site)s%(message_url)s" - -#~ msgid "%(notice)s by %(message_sender)s" -#~ msgstr "%(notice)s af %(message_sender)s" - -#, fuzzy -#~ msgid "You have recovered the message '%(message)s'." -#~ msgstr "Du har genskabt beskeden '%(message)s'." - -#, fuzzy -#~ msgid "" -#~ "You have replied to '%(message_parent_msg)s' from %(message_recipient)s." -#~ msgstr "Du har besvaret '%(message_parent_msg)s' fra %(message_recipient)s." - -#~ msgid "" -#~ "%(message_sender)s replied to '%(message_parent_msg)s':\n" -#~ "\n" -#~ "%(message)s\n" -#~ "\n" -#~ "%(message_body)s\n" -#~ "\n" -#~ "http://%(current_site)s%(message_url)s" -#~ msgstr "" -#~ "%(message_sender)s besvarede '%(message_parent_msg)s':\n" -#~ "\n" -#~ "%(message)s\n" -#~ "\n" -#~ "%(message_body)s\n" -#~ "\n" -#~ "http://%(current_site)s%(message_url)s" - -#, fuzzy -#~ msgid "You have sent the message '%(message)s' to %(message_recipient)s." -#~ msgstr "Du har sendt beskeden '%(message)s' til %(message_recipient)s." diff --git a/django_messages/locale/de/LC_MESSAGES/django.mo b/django_messages/locale/de/LC_MESSAGES/django.mo deleted file mode 100644 index 1e4e5c86..00000000 Binary files a/django_messages/locale/de/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django_messages/locale/de/LC_MESSAGES/django.po b/django_messages/locale/de/LC_MESSAGES/django.po deleted file mode 100644 index 29ec6151..00000000 --- a/django_messages/locale/de/LC_MESSAGES/django.po +++ /dev/null @@ -1,321 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-09-11 12:31-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:13 forms.py:20 models.py:52 templates/messages/outbox.html:7 -#: templates/messages/view.html:12 -msgid "Recipient" -msgstr "Empfänger" - -#: admin.py:15 -msgid "group" -msgstr "Gruppe" - -#: admin.py:16 -msgid "Creates the message optionally for all users or a group of users." -msgstr "" -"Fügt die Nachricht wahlweise für jeden Benutzer der ausgewählten Gruppe " -"hinzu." - -#: admin.py:23 -msgid "All users" -msgstr "Alle Benutzer" - -#: admin.py:38 models.py:88 -msgid "Message" -msgstr "Nachricht" - -#: admin.py:45 -msgid "Date/time" -msgstr "Datum/Zeit" - -#: fields.py:53 -#, python-format -msgid "The following usernames are incorrect: %(users)s" -msgstr "Die folgenden Benutzernamen sind nicht korrekt: %(users)s" - -#: forms.py:21 models.py:49 templates/messages/inbox.html:7 -#: templates/messages/outbox.html:7 templates/messages/trash.html:7 -#: templates/messages/view.html:6 -msgid "Subject" -msgstr "Betreff" - -#: forms.py:22 models.py:50 -msgid "Body" -msgstr "Inhalt" - -#: management.py:9 -msgid "Message Received" -msgstr "Nachricht erhalten" - -#: management.py:9 -msgid "you have received a message" -msgstr "Du hast eine Nachricht erhalten" - -#: management.py:10 -msgid "Message Sent" -msgstr "Nachricht gesendet" - -#: management.py:10 -msgid "you have sent a message" -msgstr "Du hast eine Nachricht gesendet" - -#: management.py:11 -msgid "Message Replied" -msgstr "Nachricht beantwortet" - -#: management.py:11 -msgid "you have replied to a message" -msgstr "Du hast eine Nachricht beantwortet" - -#: management.py:12 -msgid "Reply Received" -msgstr "Antwort erhalten" - -#: management.py:12 -msgid "you have received a reply to a message" -msgstr "Du hast eine Antwort auf eine Nachricht erhalten" - -#: management.py:13 -msgid "Message Deleted" -msgstr "Nachricht gelöscht" - -#: management.py:13 -msgid "you have deleted a message" -msgstr "Du hast eine Nachricht gelöscht" - -#: management.py:14 -msgid "Message Recovered" -msgstr "Nachricht wiederhergestellt" - -#: management.py:14 -msgid "you have undeleted a message" -msgstr "Du hast eine Nachricht wiederhergestellt" - -#: models.py:51 templates/messages/inbox.html:7 -#: templates/messages/trash.html:7 templates/messages/view.html:8 -msgid "Sender" -msgstr "Absender" - -#: models.py:53 -msgid "Parent message" -msgstr "Übergeordnete Nachricht" - -#: models.py:54 -msgid "sent at" -msgstr "gesendet am" - -#: models.py:55 -msgid "read at" -msgstr "gelesen am" - -#: models.py:56 -msgid "replied at" -msgstr "beantwortet am" - -#: models.py:57 -msgid "Sender deleted at" -msgstr "Vom Absender gelöscht" - -#: models.py:58 -msgid "Recipient deleted at" -msgstr "Vom Empfänger gelöscht" - -#: models.py:89 -msgid "Messages" -msgstr "Nachrichten" - -#: utils.py:27 -#, python-format -msgid "New Message: %(subject)s" -msgstr "Neue Nachricht: %(subject)s" - -#: views.py:78 views.py:112 -msgid "Message successfully sent." -msgstr "Nachricht erfolgreich gesendet." - -#: views.py:118 -#, python-format -msgid "" -"%(sender)s wrote:\n" -"%(body)s" -msgstr "" -"%(sender)s schrieb:\n" -"%(body)s" - -#: views.py:122 -#, python-format -msgid "Re: %(subject)s" -msgstr "Re: %(subject)s" - -#: views.py:158 -msgid "Message successfully deleted." -msgstr "Nachricht erfolgreich gelöscht." - -#: views.py:185 -msgid "Message successfully recovered." -msgstr "Nachricht erfolgreich wiederhergestellt." - -#: templates/messages/base.html:8 templates/messages/inbox.html:4 -#: templates/messages/new_message.html:10 -msgid "Inbox" -msgstr "Posteingang" - -#: templates/messages/base.html:9 templates/messages/outbox.html:4 -msgid "Sent Messages" -msgstr "Gesendete Nachrichten" - -#: templates/messages/base.html:10 -msgid "New Message" -msgstr "Neue Nachricht" - -#: templates/messages/base.html:11 -msgid "Trash" -msgstr "Papierkorb" - -#: templates/messages/compose.html:4 -msgid "Compose Message" -msgstr "Nachricht verfassen" - -#: templates/messages/compose.html:9 -msgid "Send" -msgstr "Senden" - -#: templates/messages/inbox.html:7 -msgid "Received" -msgstr "Erhalten" - -#: templates/messages/inbox.html:7 templates/messages/outbox.html:7 -#: templates/messages/trash.html:7 -msgid "Action" -msgstr "Aktion" - -#: templates/messages/inbox.html:19 templates/messages/outbox.html:16 -#: templates/messages/trash.html:16 templates/messages/view.html:11 -msgid "DATETIME_FORMAT" -msgstr "j. N Y, H:i" - -#: templates/messages/inbox.html:20 templates/messages/outbox.html:17 -msgid "delete" -msgstr "löschen" - -#: templates/messages/inbox.html:27 templates/messages/outbox.html:24 -#: templates/messages/trash.html:24 -msgid "No messages." -msgstr "Keine Nachrichten." - -#: templates/messages/new_message.html:1 -#, python-format -msgid "" -"Hello %(recipient)s,\n" -"\n" -"you received a private message from %(sender)s with\n" -"the following contents:" -msgstr "" -"Hallo %(recipient)s,\n" -"\n" -"du hast eine private Nachricht von %(sender)s mit\n" -"dem folgenden Inhalt erhalten:" - -#: templates/messages/new_message.html:9 -#, python-format -msgid "Sent from %(site_url)s" -msgstr "Gesendet von %(site_url)s" - -#: templates/messages/new_message.html:11 templates/messages/view.html:18 -msgid "Reply" -msgstr "Antworten" - -#: templates/messages/outbox.html:7 -msgid "Sent" -msgstr "Gesendet" - -#: templates/messages/trash.html:4 -msgid "Deleted Messages" -msgstr "Gelöschte Nachrichten" - -#: templates/messages/trash.html:7 templates/messages/view.html:10 -msgid "Date" -msgstr "Datum" - -#: templates/messages/trash.html:17 -msgid "undelete" -msgstr "wiederherstellen" - -#: templates/messages/trash.html:23 -msgid "" -"Deleted Messages are removed from the trash at unregular intervals, don't " -"rely on this feature for long-time storage." -msgstr "" -"Gelöschte Nachrichten werden in unregelmäßigen Intervallen entfernt, verlass " -"dich nicht drauf, dass diese Nachrichten hier lange gespeichert werden." - -#: templates/messages/view.html:4 -msgid "View Message" -msgstr "Nachrichtendetails" - -#: templates/messages/view.html:20 -msgid "Delete" -msgstr "Löschen" - -#: templates/notification/messages_deleted/notice.html:1 -#, python-format -msgid "" -"You have deleted the message %(message)s." -msgstr "" -"Du hast die Nachricht %(message)s gelöscht." - -#: templates/notification/messages_received/notice.html:2 -#, python-format -msgid "" -"You have received the message %(message)s " -"from %(message_sender)s." -msgstr "" -"Du hast die Nachricht %(message)s von %" -"(message_sender)s erhalten." - -#: templates/notification/messages_recovered/notice.html:1 -#, python-format -msgid "" -"You have recovered the message %(message)s." -msgstr "" -"Du hast die Nachricht %(message)s " -"wiederhergestellt." - -#: templates/notification/messages_replied/notice.html:2 -#, python-format -msgid "" -"You have replied to %(message_parent_msg)s " -"from %(message_recipient)s." -msgstr "" -"Du hast auf die Nachricht %(message_parent_msg)" -"s von %(message_recipient)s geantwortet." - -#: templates/notification/messages_reply_received/notice.html:2 -#, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "" -"%(message_sender)s hat dir eine Antwort auf %(message_parent_msg)s gesendet." - -#: templates/notification/messages_sent/notice.html:2 -#, python-format -msgid "" -"You have sent the message %(message)s to %" -"(message_recipient)s." -msgstr "" -"Du hast die Nachricht %(message)s an %" -"(message_recipient)s gesendet." diff --git a/django_messages/locale/el/LC_MESSAGES/django.mo b/django_messages/locale/el/LC_MESSAGES/django.mo deleted file mode 100644 index cecfd01e..00000000 Binary files a/django_messages/locale/el/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django_messages/locale/el/LC_MESSAGES/django.po b/django_messages/locale/el/LC_MESSAGES/django.po deleted file mode 100644 index fe210146..00000000 --- a/django_messages/locale/el/LC_MESSAGES/django.po +++ /dev/null @@ -1,291 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-09-11 12:31-0700\n" -"PO-Revision-Date: 2009-09-08 15:50+0200\n" -"Last-Translator: markos \n" -"Language-Team: Markos Gogoulos \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:13 forms.py:20 models.py:52 templates/messages/outbox.html:7 -#: templates/messages/view.html:12 -msgid "Recipient" -msgstr "Αποδέκτης" - -#: admin.py:15 -msgid "group" -msgstr "ομάδα" - -#: admin.py:16 -msgid "Creates the message optionally for all users or a group of users." -msgstr "Δημιουργεί το μήνυμα προαιρετικά για όλους τους χρήστες ή για ομάδα χρηστών." - -#: admin.py:23 -msgid "All users" -msgstr "Όλοι οι χρήστες" - -#: admin.py:38 models.py:88 -msgid "Message" -msgstr "Μήνυμα" - -#: admin.py:45 -msgid "Date/time" -msgstr "Ημερομηνία/Ώρα" - -#: fields.py:53 -#, python-format -msgid "The following usernames are incorrect: %(users)s" -msgstr "Τα παρακάτω usernames δεν είναι σωστά: %(users)s" - -#: forms.py:21 models.py:49 templates/messages/inbox.html:7 -#: templates/messages/outbox.html:7 templates/messages/trash.html:7 -#: templates/messages/view.html:6 -msgid "Subject" -msgstr "Θέμα" - -#: forms.py:22 models.py:50 -msgid "Body" -msgstr "Κυρίως μέρος" - -#: management.py:9 -msgid "Message Received" -msgstr "Το μήνυμα ελήφθη " - -#: management.py:9 -msgid "you have received a message" -msgstr "έχετε λάβει ένα μήνυμα" - -#: management.py:10 -msgid "Message Sent" -msgstr "Το μήνυμα εστάλει" - -#: management.py:10 -msgid "you have sent a message" -msgstr "έχετε στείλει ένα μήνυμα" - -#: management.py:11 -msgid "Message Replied" -msgstr "Το μήνυμα έχει απαντηθεί" - -#: management.py:11 -msgid "you have replied to a message" -msgstr "έχετε απαντήσει σε ένα μήνυμα" - -#: management.py:12 -msgid "Reply Received" -msgstr "Η απάντηση ελήφθη" - -#: management.py:12 -msgid "you have received a reply to a message" -msgstr "έχετε λάβει μια απάντηση σε ένα μήνυμα" - -#: management.py:13 -msgid "Message Deleted" -msgstr "Το μήνυμα έχει διαγραφεί" - -#: management.py:13 -msgid "you have deleted a message" -msgstr "διαγράψατε ένα μήνυμα" - -#: management.py:14 -msgid "Message Recovered" -msgstr "Το μήνυμα έχει ανακληθεί" - -#: management.py:14 -msgid "you have undeleted a message" -msgstr "έχετε ανακτήσει ένα μήνυμα" - -#: models.py:51 templates/messages/inbox.html:7 -#: templates/messages/trash.html:7 templates/messages/view.html:8 -msgid "Sender" -msgstr "Αποστολέας" - -#: models.py:53 -msgid "Parent message" -msgstr "Μήνυμα Γονέας" - -#: models.py:54 -msgid "sent at" -msgstr "εστάλει στις" - -#: models.py:55 -msgid "read at" -msgstr "αναγνώστηκε στις" - -#: models.py:56 -msgid "replied at" -msgstr "απαντήθηκε στις" - -#: models.py:57 -msgid "Sender deleted at" -msgstr "Ο αποστολέας το διέγραψε στις" - -#: models.py:58 -msgid "Recipient deleted at" -msgstr "Ο αποδέκτης το διέγραψε στις" - -#: models.py:89 -msgid "Messages" -msgstr "Μηνύματα" - -#: utils.py:27 -#, python-format -msgid "New Message: %(subject)s" -msgstr "καινούργιο μήνυμα: %(subject)s" - -#: views.py:78 views.py:112 -msgid "Message successfully sent." -msgstr "Το μήνυμα έχει αποσταλεί με επιτυχία." - -#: views.py:118 -#, python-format -msgid "" -"%(sender)s wrote:\n" -"%(body)s" -msgstr "" -"%(sender)s έγραψε:\n" -"%(body)s" - -#: views.py:122 -#, python-format -msgid "Re: %(subject)s" -msgstr "Re: %(subject)s" - -#: views.py:158 -msgid "Message successfully deleted." -msgstr "Το μήνυμα διεγράφει." - -#: views.py:185 -msgid "Message successfully recovered." -msgstr "Το μήνυμα έχει ανακληθεί επιτυχημένα" - -#: templates/messages/base.html:8 templates/messages/inbox.html:4 -#: templates/messages/new_message.html:10 -msgid "Inbox" -msgstr "Εισερχόμενα" - -#: templates/messages/base.html:9 templates/messages/outbox.html:4 -msgid "Sent Messages" -msgstr "Σταλμένα μηνύματα" - -#: templates/messages/base.html:10 -msgid "New Message" -msgstr "Νέο μήνυμα" - -#: templates/messages/base.html:11 -msgid "Trash" -msgstr "Άχρηστα" - -#: templates/messages/compose.html:4 -msgid "Compose Message" -msgstr "Συντάξτε μήνυμα" - -#: templates/messages/compose.html:9 -msgid "Send" -msgstr "Στείλτε" - -#: templates/messages/inbox.html:7 -msgid "Received" -msgstr "Ελήφθη" - -#: templates/messages/inbox.html:7 templates/messages/outbox.html:7 -#: templates/messages/trash.html:7 -msgid "Action" -msgstr "Ενέργεια" - -#: templates/messages/inbox.html:19 templates/messages/outbox.html:16 -#: templates/messages/trash.html:16 templates/messages/view.html:11 -msgid "DATETIME_FORMAT" -msgstr "DATETIME_FORMAT" - -#: templates/messages/inbox.html:20 templates/messages/outbox.html:17 -msgid "delete" -msgstr "διαγράφω" - -#: templates/messages/new_message.html:1 -#, python-format -msgid "" -"Hello %(recipient)s,\n" -"\n" -"you received a private message from %(sender)s with\n" -"the following contents:" -msgstr "" -"Γειά χαρά %(recipient)s,\n" -"\n" -"έχετε λάβει ένα προσωπικό μήνυμα από τον/την %(sender)s με\n" -"το ακόλουθο περιεχόμενο:" - -#: templates/messages/new_message.html:9 -#, python-format -msgid "Sent from %(site_url)s" -msgstr "Εστάλει απο %(site_url)s" - -#: templates/messages/new_message.html:11 templates/messages/view.html:18 -msgid "Reply" -msgstr "Απαντήστε" - -#: templates/messages/outbox.html:7 -msgid "Sent" -msgstr "Απεσταλμένα" - -#: templates/messages/trash.html:4 -msgid "Deleted Messages" -msgstr "Διαγραμμένα μηνύματα" - -#: templates/messages/trash.html:7 templates/messages/view.html:10 -msgid "Date" -msgstr "Ημερομηνία" - -#: templates/messages/trash.html:17 -msgid "undelete" -msgstr "ξεδιαγράψτε" - -#: templates/messages/trash.html:23 -msgid "Deleted Messages are removed from the trash at unregular intervals, don't rely on this feature for long-time storage." -msgstr "Τα διαγραμμένα μηνύματα απομακρύνονται απο τα Άχρηστα σε μη τακτά διαστήματα, μη βασίζεστε σε αυτά για μακροχρόνια αποθήκευση." - -#: templates/messages/view.html:4 -msgid "View Message" -msgstr "Προβολή Μηνύματος" - -#: templates/messages/view.html:20 -msgid "Delete" -msgstr "Διαγραφή" - -#: templates/notification/messages_deleted/notice.html:1 -#, python-format -msgid "You have deleted the message %(message)s." -msgstr "Έχετε διαγράψει το μήνυμα %(message)s." - -#: templates/notification/messages_received/notice.html:2 -#, python-format -msgid "You have received the message %(message)s from %(message_sender)s." -msgstr "Έχετε λάβει το μήνυμα %(message)s από τον/την %(message_sender)s." - -#: templates/notification/messages_recovered/notice.html:1 -#, python-format -msgid "You have recovered the message %(message)s." -msgstr "Έχετε ανακτήσει το μήνυμα %(message)s." - -#: templates/notification/messages_replied/notice.html:2 -#, python-format -msgid "You have replied to %(message_parent_msg)s from %(message_recipient)s." -msgstr "Έχετε απαντήσει στο %(message_parent_msg)sαπό τον/την %(message_recipient)s." - -#: templates/notification/messages_reply_received/notice.html:2 -#, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "Ο/η %(message_sender)s σας έστειλε μια απάντηση στο %(message_parent_msg)s." - -#: templates/notification/messages_sent/notice.html:2 -#, python-format -msgid "You have sent the message %(message)s to %(message_recipient)s." -msgstr "Έχετε στείλει το μήνυμα %(message)s στον/στην %(message_recipient)s." diff --git a/django_messages/locale/en/LC_MESSAGES/django.po b/django_messages/locale/en/LC_MESSAGES/django.po deleted file mode 100644 index 5831c0f2..00000000 --- a/django_messages/locale/en/LC_MESSAGES/django.po +++ /dev/null @@ -1,374 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-08 13:44+0300\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: django_messages/admin.py:21 -msgid "group" -msgstr "" - -#: django_messages/admin.py:22 -msgid "Creates the message optionally for all users or a group of users." -msgstr "" - -#: django_messages/admin.py:30 -msgid "All users" -msgstr "" - -#: django_messages/admin.py:48 django_messages/models.py:94 -msgid "Message" -msgstr "" - -#: django_messages/admin.py:55 -msgid "Date/time" -msgstr "" - -#: django_messages/apps.py:6 django_messages/models.py:95 -msgid "Messages" -msgstr "" - -#: django_messages/fields.py:56 -#, python-format -msgid "The following usernames are incorrect: %(users)s" -msgstr "" - -#: django_messages/forms.py:17 django_messages/forms.py:66 -#: django_messages/models.py:55 -#: django_messages/templates/django_messages/inbox.html:10 -#: django_messages/templates/django_messages/outbox.html:10 -#: django_messages/templates/django_messages/trash.html:10 -#: django_messages/templates/django_messages/view.html:8 -msgid "Subject" -msgstr "" - -#: django_messages/forms.py:18 django_messages/forms.py:46 -#: django_messages/forms.py:67 django_messages/models.py:56 -msgid "Body" -msgstr "" - -#: django_messages/forms.py:65 django_messages/models.py:58 -#: django_messages/templates/django_messages/outbox.html:10 -#: django_messages/templates/django_messages/view.html:14 -msgid "Recipient" -msgstr "" - -#: django_messages/management.py:9 -msgid "Message Received" -msgstr "" - -#: django_messages/management.py:9 -msgid "you have received a message" -msgstr "" - -#: django_messages/management.py:10 -msgid "Message Sent" -msgstr "" - -#: django_messages/management.py:10 -msgid "you have sent a message" -msgstr "" - -#: django_messages/management.py:11 -msgid "Message Replied" -msgstr "" - -#: django_messages/management.py:11 -msgid "you have replied to a message" -msgstr "" - -#: django_messages/management.py:12 -msgid "Reply Received" -msgstr "" - -#: django_messages/management.py:12 -msgid "you have received a reply to a message" -msgstr "" - -#: django_messages/management.py:13 -msgid "Message Deleted" -msgstr "" - -#: django_messages/management.py:13 -msgid "you have deleted a message" -msgstr "" - -#: django_messages/management.py:14 -msgid "Message Recovered" -msgstr "" - -#: django_messages/management.py:14 -msgid "you have undeleted a message" -msgstr "" - -#: django_messages/models.py:57 -#: django_messages/templates/django_messages/inbox.html:10 -#: django_messages/templates/django_messages/trash.html:10 -#: django_messages/templates/django_messages/view.html:10 -msgid "Sender" -msgstr "" - -#: django_messages/models.py:59 -msgid "Parent message" -msgstr "" - -#: django_messages/models.py:60 -msgid "sent at" -msgstr "" - -#: django_messages/models.py:61 -msgid "read at" -msgstr "" - -#: django_messages/models.py:62 -msgid "replied at" -msgstr "" - -#: django_messages/models.py:63 -msgid "Sender deleted at" -msgstr "" - -#: django_messages/models.py:64 -msgid "Recipient deleted at" -msgstr "" - -#: django_messages/templates/django_messages/base.html:9 -#: django_messages/templates/django_messages/inbox.html:6 -#: django_messages/templates/django_messages/new_message.html:13 -msgid "Inbox" -msgstr "" - -#: django_messages/templates/django_messages/base.html:10 -#: django_messages/templates/django_messages/outbox.html:6 -msgid "Sent Messages" -msgstr "" - -#: django_messages/templates/django_messages/base.html:11 -msgid "New Message" -msgstr "" - -#: django_messages/templates/django_messages/base.html:12 -msgid "Trash" -msgstr "" - -#: django_messages/templates/django_messages/compose.html:4 -msgid "Compose Message" -msgstr "" - -#: django_messages/templates/django_messages/compose.html:10 -msgid "Send" -msgstr "" - -#: django_messages/templates/django_messages/inbox.html:10 -msgid "Received" -msgstr "" - -#: django_messages/templates/django_messages/inbox.html:10 -#: django_messages/templates/django_messages/outbox.html:10 -#: django_messages/templates/django_messages/trash.html:10 -msgid "Action" -msgstr "" - -#: django_messages/templates/django_messages/inbox.html:22 -#: django_messages/templates/django_messages/outbox.html:19 -#: django_messages/templates/django_messages/trash.html:19 -#: django_messages/templates/django_messages/view.html:13 -msgid "DATETIME_FORMAT" -msgstr "" - -#: django_messages/templates/django_messages/inbox.html:23 -#: django_messages/templates/django_messages/outbox.html:20 -msgid "delete" -msgstr "" - -#: django_messages/templates/django_messages/inbox.html:29 -#: django_messages/templates/django_messages/outbox.html:26 -#: django_messages/templates/django_messages/trash.html:26 -msgid "No messages." -msgstr "" - -#: django_messages/templates/django_messages/new_message.html:4 -#, python-format -msgid "" -"Hello %(recipient)s,\n" -"\n" -"you received a private message from %(sender)s with\n" -"the following contents:" -msgstr "" - -#: django_messages/templates/django_messages/new_message.html:12 -#, python-format -msgid "Sent from %(site_url)s" -msgstr "" - -#: django_messages/templates/django_messages/new_message.html:14 -#: django_messages/templates/django_messages/view.html:20 -msgid "Reply" -msgstr "" - -#: django_messages/templates/django_messages/outbox.html:10 -msgid "Sent" -msgstr "" - -#: django_messages/templates/django_messages/trash.html:6 -msgid "Deleted Messages" -msgstr "" - -#: django_messages/templates/django_messages/trash.html:10 -#: django_messages/templates/django_messages/view.html:12 -msgid "Date" -msgstr "" - -#: django_messages/templates/django_messages/trash.html:20 -msgid "undelete" -msgstr "" - -#: django_messages/templates/django_messages/trash.html:29 -msgid "" -"Deleted Messages are removed from the trash at unregular intervals, don't " -"rely on this feature for long-time storage." -msgstr "" - -#: django_messages/templates/django_messages/view.html:6 -msgid "View Message" -msgstr "" - -#: django_messages/templates/django_messages/view.html:22 -msgid "Delete" -msgstr "" - -#: django_messages/templates/notification/messages_deleted/full.txt:1 -#, python-format -msgid "You have deleted the message '%(message)s'." -msgstr "" - -#: django_messages/templates/notification/messages_deleted/notice.html:1 -#, python-format -msgid "" -"You have deleted the message %(message)s." -msgstr "" - -#: django_messages/templates/notification/messages_received/full.txt:1 -#, python-format -msgid "" -"%(message_sender)s has sent you a message:\n" -"\n" -"%(message)s\n" -"\n" -"%(message_body)s\n" -"\n" -"http://%(current_site)s%(message_url)s" -msgstr "" - -#: django_messages/templates/notification/messages_received/notice.html:2 -#, python-format -msgid "" -"You have received the message %(message)s " -"from %(message_sender)s." -msgstr "" - -#: django_messages/templates/notification/messages_received/short.txt:1 -#: django_messages/templates/notification/messages_reply_received/short.txt:1 -#, python-format -msgid "%(notice)s by %(message_sender)s" -msgstr "" - -#: django_messages/templates/notification/messages_recovered/full.txt:1 -#, python-format -msgid "You have recovered the message '%(message)s'." -msgstr "" - -#: django_messages/templates/notification/messages_recovered/notice.html:1 -#, python-format -msgid "" -"You have recovered the message %(message)s." -msgstr "" - -#: django_messages/templates/notification/messages_replied/full.txt:1 -#, python-format -msgid "" -"You have replied to '%(message_parent_msg)s' from %(message_recipient)s." -msgstr "" - -#: django_messages/templates/notification/messages_replied/notice.html:2 -#, python-format -msgid "" -"You have replied to %(message_parent_msg)s " -"from %(message_recipient)s." -msgstr "" - -#: django_messages/templates/notification/messages_reply_received/full.txt:1 -#, python-format -msgid "" -"%(message_sender)s replied to '%(message_parent_msg)s':\n" -"\n" -"%(message)s\n" -"\n" -"%(message_body)s\n" -"\n" -"http://%(current_site)s%(message_url)s" -msgstr "" - -#: django_messages/templates/notification/messages_reply_received/notice.html:2 -#, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "" - -#: django_messages/templates/notification/messages_sent/full.txt:1 -#, python-format -msgid "You have sent the message '%(message)s' to %(message_recipient)s." -msgstr "" - -#: django_messages/templates/notification/messages_sent/notice.html:2 -#, python-format -msgid "" -"You have sent the message %(message)s to " -"%(message_recipient)s." -msgstr "" - -#: django_messages/utils.py:26 -#, python-format -msgid "" -"%(sender)s wrote:\n" -"%(body)s" -msgstr "" - -#: django_messages/utils.py:54 -#, python-format -msgid "Re%(prefix)s: %(subject)s" -msgstr "" - -#: django_messages/utils.py:60 -#, python-format -msgid "New Message: %(subject)s" -msgstr "" - -#: django_messages/views.py:78 django_messages/views.py:114 -msgid "Message successfully sent." -msgstr "" - -#: django_messages/views.py:121 -#, python-format -msgid "Re: %(subject)s" -msgstr "" - -#: django_messages/views.py:157 -msgid "Message successfully deleted." -msgstr "" - -#: django_messages/views.py:184 -msgid "Message successfully recovered." -msgstr "" diff --git a/django_messages/locale/es/LC_MESSAGES/django.mo b/django_messages/locale/es/LC_MESSAGES/django.mo deleted file mode 100644 index 78057902..00000000 Binary files a/django_messages/locale/es/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django_messages/locale/es/LC_MESSAGES/django.po b/django_messages/locale/es/LC_MESSAGES/django.po deleted file mode 100644 index 49d27b39..00000000 --- a/django_messages/locale/es/LC_MESSAGES/django.po +++ /dev/null @@ -1,314 +0,0 @@ -# django-messages in Spanish. -# django-messages en Español. -# Copyright (C) 2008 -# This file is distributed under the same license as the django-messages package. -# Maria Guadalupe Paz Urrea , 2008. -# Alfonso Bernardo Harita Rascón , 2008. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-09-11 12:31-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:13 forms.py:20 models.py:52 templates/messages/outbox.html:7 -#: templates/messages/view.html:12 -msgid "Recipient" -msgstr "Destinatario" - -#: admin.py:15 -msgid "group" -msgstr "" - -#: admin.py:16 -msgid "Creates the message optionally for all users or a group of users." -msgstr "" - -#: admin.py:23 -msgid "All users" -msgstr "" - -#: admin.py:38 models.py:88 -msgid "Message" -msgstr "Mensaje" - -#: admin.py:45 -#, fuzzy -msgid "Date/time" -msgstr "Fecha" - -#: fields.py:53 -#, python-format -msgid "The following usernames are incorrect: %(users)s" -msgstr "Los siguientes usuarios son incorrectos: %(users)s" - -#: forms.py:21 models.py:49 templates/messages/inbox.html:7 -#: templates/messages/outbox.html:7 templates/messages/trash.html:7 -#: templates/messages/view.html:6 -msgid "Subject" -msgstr "Asunto" - -#: forms.py:22 models.py:50 -msgid "Body" -msgstr "Cuerpo" - -#: management.py:9 -msgid "Message Received" -msgstr "Mensaje Recibido" - -#: management.py:9 -msgid "you have received a message" -msgstr "ha recibido un mensaje" - -#: management.py:10 -msgid "Message Sent" -msgstr "Mensaje Enviado" - -#: management.py:10 -msgid "you have sent a message" -msgstr "ha enviado un mensaje" - -#: management.py:11 -msgid "Message Replied" -msgstr "Mensaje Respondido" - -#: management.py:11 -msgid "you have replied to a message" -msgstr "ha respondido un mensaje" - -#: management.py:12 -msgid "Reply Received" -msgstr "Respuesta Recibida" - -#: management.py:12 -msgid "you have received a reply to a message" -msgstr "ha recibido una respuesta a un mensaje" - -#: management.py:13 -msgid "Message Deleted" -msgstr "Mensaje Eliminado" - -#: management.py:13 -msgid "you have deleted a message" -msgstr "ha eliminado un mensaje" - -#: management.py:14 -msgid "Message Recovered" -msgstr "Mensaje Recuperado" - -#: management.py:14 -msgid "you have undeleted a message" -msgstr "ha recuperado un mensaje" - -#: models.py:51 templates/messages/inbox.html:7 -#: templates/messages/trash.html:7 templates/messages/view.html:8 -msgid "Sender" -msgstr "Emisor" - -#: models.py:53 -msgid "Parent message" -msgstr "Mensaje padre" - -#: models.py:54 -msgid "sent at" -msgstr "enviado" - -#: models.py:55 -msgid "read at" -msgstr "leído" - -#: models.py:56 -msgid "replied at" -msgstr "respondido" - -#: models.py:57 -msgid "Sender deleted at" -msgstr "Emisor borrado" - -#: models.py:58 -msgid "Recipient deleted at" -msgstr "Destinatario borrado" - -#: models.py:89 -msgid "Messages" -msgstr "Mensajes" - -#: utils.py:27 -#, python-format -msgid "New Message: %(subject)s" -msgstr "Nuevo Mensaje: %(subject)s" - -#: views.py:78 views.py:112 -msgid "Message successfully sent." -msgstr "Se envió con éxito el mensaje." - -#: views.py:118 -#, python-format -msgid "" -"%(sender)s wrote:\n" -"%(body)s" -msgstr "" -"%(sender)s escribió:\n" -"%(body)s" - -#: views.py:122 -#, python-format -msgid "Re: %(subject)s" -msgstr "Re: %(subject)s" - -#: views.py:158 -msgid "Message successfully deleted." -msgstr "Se eliminó con éxito el mensaje." - -#: views.py:185 -msgid "Message successfully recovered." -msgstr "Se recuperó con éxito el mensaje." - -#: templates/messages/base.html:8 templates/messages/inbox.html:4 -#: templates/messages/new_message.html:10 -msgid "Inbox" -msgstr "Bandeja de entrada" - -#: templates/messages/base.html:9 templates/messages/outbox.html:4 -msgid "Sent Messages" -msgstr "Mensajes Enviados" - -#: templates/messages/base.html:10 -msgid "New Message" -msgstr "Nuevo Mensaje" - -#: templates/messages/base.html:11 -msgid "Trash" -msgstr "Papelera" - -#: templates/messages/compose.html:4 -msgid "Compose Message" -msgstr "Redactar Mensaje" - -#: templates/messages/compose.html:9 -msgid "Send" -msgstr "Enviar" - -#: templates/messages/inbox.html:7 -msgid "Received" -msgstr "Recibido" - -#: templates/messages/inbox.html:7 templates/messages/outbox.html:7 -#: templates/messages/trash.html:7 -msgid "Action" -msgstr "Acción" - -#: templates/messages/inbox.html:19 templates/messages/outbox.html:16 -#: templates/messages/trash.html:16 templates/messages/view.html:11 -msgid "DATETIME_FORMAT" -msgstr "" - -#: templates/messages/inbox.html:20 templates/messages/outbox.html:17 -msgid "delete" -msgstr "eliminar" - -#: templates/messages/new_message.html:1 -#, python-format -msgid "" -"Hello %(recipient)s,\n" -"\n" -"you received a private message from %(sender)s with\n" -"the following contents:" -msgstr "" -"Hola %(recipient)s,\n" -"\n" -"ha recibido un mensaje de %(sender)s con\n" -"el siguiente contenido:" - -#: templates/messages/new_message.html:9 -#, python-format -msgid "Sent from %(site_url)s" -msgstr "Enviado desde %(site_url)s" - -#: templates/messages/new_message.html:11 templates/messages/view.html:18 -msgid "Reply" -msgstr "Responder" - -#: templates/messages/outbox.html:7 -msgid "Sent" -msgstr "Enviado" - -#: templates/messages/trash.html:4 -msgid "Deleted Messages" -msgstr "Mensajes Eliminados" - -#: templates/messages/trash.html:7 templates/messages/view.html:10 -msgid "Date" -msgstr "Fecha" - -#: templates/messages/trash.html:17 -msgid "undelete" -msgstr "recuperar" - -#: templates/messages/trash.html:23 -msgid "" -"Deleted Messages are removed from the trash at unregular intervals, don't " -"rely on this feature for long-time storage." -msgstr "" -"Los Mensajes Eliminados son borrados de la Papelera a intérvalos irregulares," -"no se confíe en esta característica para almacenamiento a largo plazo." - -#: templates/messages/view.html:4 -msgid "View Message" -msgstr "Ver Mensaje" - -#: templates/messages/view.html:20 -msgid "Delete" -msgstr "Eliminar" - -#: templates/notification/messages_deleted/notice.html:1 -#, python-format -msgid "" -"You have deleted the message %(message)s." -msgstr "ha borrado el mensaje %(message)s." - -#: templates/notification/messages_received/notice.html:2 -#, python-format -msgid "" -"You have received the message %(message)s " -"from %(message_sender)s." -msgstr "" -"ha recibido el mensaje %(message)s de %" -"(message_sender)s." - -#: templates/notification/messages_recovered/notice.html:1 -#, python-format -msgid "" -"You have recovered the message %(message)s." -msgstr "ha recuperado el mensaje %(message)s." - -#: templates/notification/messages_replied/notice.html:2 -#, python-format -msgid "" -"You have replied to %(message_parent_msg)s " -"from %(message_recipient)s." -msgstr "" -"ha respondido a %(message_parent_msg)s de %" -"(message_recipient)s." - -#: templates/notification/messages_reply_received/notice.html:2 -#, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "" -"%(message_sender)s le ha enviado una respuesta a %(message_parent_msg)s." - -#: templates/notification/messages_sent/notice.html:2 -#, python-format -msgid "" -"You have sent the message %(message)s to %" -"(message_recipient)s." -msgstr "" -"ha enviado el mensaje %(message)s a %" -"(message_recipient)s." diff --git a/django_messages/locale/es_AR/LC_MESSAGES/django.mo b/django_messages/locale/es_AR/LC_MESSAGES/django.mo deleted file mode 100644 index d0d9df8f..00000000 Binary files a/django_messages/locale/es_AR/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django_messages/locale/es_AR/LC_MESSAGES/django.po b/django_messages/locale/es_AR/LC_MESSAGES/django.po deleted file mode 100644 index 6de0f0f9..00000000 --- a/django_messages/locale/es_AR/LC_MESSAGES/django.po +++ /dev/null @@ -1,312 +0,0 @@ -# django-messages in Spanish Argentina. -# django-messages en Español Argentina. -# Copyright (C) 2008 -# This file is distributed under the same license as the django-messages package. -# Cecilia Lorena Puccinelli , 2008. -# Juan José Conti , 2008. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-09-11 12:31-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:13 forms.py:20 models.py:52 templates/messages/outbox.html:7 -#: templates/messages/view.html:12 -msgid "Recipient" -msgstr "Destinatario" - -#: admin.py:15 -msgid "group" -msgstr "" - -#: admin.py:16 -msgid "Creates the message optionally for all users or a group of users." -msgstr "" - -#: admin.py:23 -msgid "All users" -msgstr "" - -#: admin.py:38 models.py:88 -msgid "Message" -msgstr "Mensaje" - -#: admin.py:45 -#, fuzzy -msgid "Date/time" -msgstr "Fecha" - -#: fields.py:53 -#, python-format -msgid "The following usernames are incorrect: %(users)s" -msgstr "" - -#: forms.py:21 models.py:49 templates/messages/inbox.html:7 -#: templates/messages/outbox.html:7 templates/messages/trash.html:7 -#: templates/messages/view.html:6 -msgid "Subject" -msgstr "Asunto" - -#: forms.py:22 models.py:50 -msgid "Body" -msgstr "Cuerpo" - -#: management.py:9 -msgid "Message Received" -msgstr "Mensaje Recibido" - -#: management.py:9 -msgid "you have received a message" -msgstr "ha recibido un mensaje" - -#: management.py:10 -msgid "Message Sent" -msgstr "Mensaje Enviado" - -#: management.py:10 -msgid "you have sent a message" -msgstr "ha enviado un mensaje" - -#: management.py:11 -msgid "Message Replied" -msgstr "Mensaje Respondido" - -#: management.py:11 -msgid "you have replied to a message" -msgstr "ha respondido un mensaje" - -#: management.py:12 -msgid "Reply Received" -msgstr "Respuesta Recibida" - -#: management.py:12 -msgid "you have received a reply to a message" -msgstr "ha recibido una respuesta a un mensaje" - -#: management.py:13 -msgid "Message Deleted" -msgstr "Mensaje Eliminado" - -#: management.py:13 -msgid "you have deleted a message" -msgstr "ha eliminado un mensaje" - -#: management.py:14 -msgid "Message Recovered" -msgstr "Mensaje Recuperado" - -#: management.py:14 -msgid "you have undeleted a message" -msgstr "ha recuperado un mensaje" - -#: models.py:51 templates/messages/inbox.html:7 -#: templates/messages/trash.html:7 templates/messages/view.html:8 -msgid "Sender" -msgstr "Emisor" - -#: models.py:53 -msgid "Parent message" -msgstr "Mensaje padre" - -#: models.py:54 -msgid "sent at" -msgstr "enviado" - -#: models.py:55 -msgid "read at" -msgstr "leído" - -#: models.py:56 -msgid "replied at" -msgstr "respondido" - -#: models.py:57 -msgid "Sender deleted at" -msgstr "Emisor borrado" - -#: models.py:58 -msgid "Recipient deleted at" -msgstr "Destinatario borrado" - -#: models.py:89 -msgid "Messages" -msgstr "Mensajes" - -#: utils.py:27 -#, fuzzy, python-format -msgid "New Message: %(subject)s" -msgstr "Re: %(subject)s" - -#: views.py:78 views.py:112 -msgid "Message successfully sent." -msgstr "Se envió con éxito el mensaje." - -#: views.py:118 -#, python-format -msgid "" -"%(sender)s wrote:\n" -"%(body)s" -msgstr "" -"%(sender)s escribió:\n" -"%(body)s" - -#: views.py:122 -#, python-format -msgid "Re: %(subject)s" -msgstr "Re: %(subject)s" - -#: views.py:158 -msgid "Message successfully deleted." -msgstr "Se eliminó con éxito el mensaje." - -#: views.py:185 -msgid "Message successfully recovered." -msgstr "Se recuperó con éxito el mensaje." - -#: templates/messages/base.html:8 templates/messages/inbox.html:4 -#: templates/messages/new_message.html:10 -msgid "Inbox" -msgstr "Bandeja de entrada" - -#: templates/messages/base.html:9 templates/messages/outbox.html:4 -msgid "Sent Messages" -msgstr "Mensajes Enviados" - -#: templates/messages/base.html:10 -msgid "New Message" -msgstr "Nuevo Mensaje" - -#: templates/messages/base.html:11 -msgid "Trash" -msgstr "Papelera" - -#: templates/messages/compose.html:4 -msgid "Compose Message" -msgstr "Redactar Mensaje" - -#: templates/messages/compose.html:9 -msgid "Send" -msgstr "Enviar" - -#: templates/messages/inbox.html:7 -msgid "Received" -msgstr "Recibido" - -#: templates/messages/inbox.html:7 templates/messages/outbox.html:7 -#: templates/messages/trash.html:7 -msgid "Action" -msgstr "Acción" - -#: templates/messages/inbox.html:19 templates/messages/outbox.html:16 -#: templates/messages/trash.html:16 templates/messages/view.html:11 -msgid "DATETIME_FORMAT" -msgstr "" - -#: templates/messages/inbox.html:20 templates/messages/outbox.html:17 -msgid "delete" -msgstr "eliminar" - -#: templates/messages/new_message.html:1 -#, python-format -msgid "" -"Hello %(recipient)s,\n" -"\n" -"you received a private message from %(sender)s with\n" -"the following contents:" -msgstr "" - -#: templates/messages/new_message.html:9 -#, python-format -msgid "Sent from %(site_url)s" -msgstr "Enviado desde %(site_url)s" - -#: templates/messages/new_message.html:11 templates/messages/view.html:18 -msgid "Reply" -msgstr "Responder" - -#: templates/messages/outbox.html:7 -msgid "Sent" -msgstr "Enviado" - -#: templates/messages/trash.html:4 -msgid "Deleted Messages" -msgstr "Mensajes Eliminados" - -#: templates/messages/trash.html:7 templates/messages/view.html:10 -msgid "Date" -msgstr "Fecha" - -#: templates/messages/trash.html:17 -msgid "undelete" -msgstr "recuperar" - -#: templates/messages/trash.html:23 -msgid "" -"Deleted Messages are removed from the trash at unregular intervals, don't " -"rely on this feature for long-time storage." -msgstr "" -"Los Mensajes Eliminados son borrados de la Papelera a intérvalos irregulares," -"no se confíe en esta característica para almacenamiento a largo plazo." - -#: templates/messages/view.html:4 -msgid "View Message" -msgstr "Ver Mensaje" - -#: templates/messages/view.html:20 -msgid "Delete" -msgstr "Eliminar" - -#: templates/notification/messages_deleted/notice.html:1 -#, fuzzy, python-format -msgid "" -"You have deleted the message %(message)s." -msgstr "ha eliminado el mensaje %(message)s." - -#: templates/notification/messages_received/notice.html:2 -#, fuzzy, python-format -msgid "" -"You have received the message %(message)s " -"from %(message_sender)s." -msgstr "ha recibido un mensaje de %(sender)s." - -#: templates/notification/messages_recovered/notice.html:1 -#, fuzzy, python-format -msgid "" -"You have recovered the message %(message)s." -msgstr "ha recuperado el mensaje %(message)s." - -#: templates/notification/messages_replied/notice.html:2 -#, fuzzy, python-format -msgid "" -"You have replied to %(message_parent_msg)s " -"from %(message_recipient)s." -msgstr "ha respondido a %(message)s de %(recipient)s." - -#: templates/notification/messages_reply_received/notice.html:2 -#, fuzzy, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "%(sender)s le ha enviado una respuesta a %(message)s." - -#: templates/notification/messages_sent/notice.html:2 -#, python-format -msgid "" -"You have sent the message %(message)s to %" -"(message_recipient)s." -msgstr "" - -#~ msgid "There is no user with this username." -#~ msgstr "No hay ningún usuario con ese nombre." - -#~ msgid "you have sent a message to %(recipient)s." -#~ msgstr "ha enviado un mensaje a %(recipient)s." - -#~ msgid "New Message:" -#~ msgstr "Mensaje Nuevo" diff --git a/django_messages/locale/fa/LC_MESSAGES/django.mo b/django_messages/locale/fa/LC_MESSAGES/django.mo deleted file mode 100644 index a61d8844..00000000 Binary files a/django_messages/locale/fa/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django_messages/locale/fa/LC_MESSAGES/django.po b/django_messages/locale/fa/LC_MESSAGES/django.po deleted file mode 100644 index b7932d4a..00000000 --- a/django_messages/locale/fa/LC_MESSAGES/django.po +++ /dev/null @@ -1,357 +0,0 @@ -# django-messages fari translations -# Copyright (C) 2012 Hassan Zamani -# This file is distributed under the same license as the djagno-messages package. -# Hassan Zamani , 2012. -# -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-06-27 12:44+0430\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"First-Translator: Mohammad Hamidi Esfahani" -"Last-Translator: Hassan Zamani \n" -"Language-Team: LANGUAGE \n" -"Language: fa\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0\n" - -#: admin.py:19 forms.py:20 models.py:52 -#: templates/django_messages/outbox.html:8 -#: templates/django_messages/view.html:12 -msgid "Recipient" -msgstr "گیرنده" - -#: admin.py:21 -msgid "group" -msgstr "گروه" - -#: admin.py:22 -msgid "Creates the message optionally for all users or a group of users." -msgstr "ارسال پیام به همه کاربران یا گروهی از آن‌ها." - -#: admin.py:29 -msgid "All users" -msgstr "تمامی کاربران" - -#: admin.py:44 models.py:88 -msgid "Message" -msgstr "پیام" - -#: admin.py:51 -msgid "Date/time" -msgstr "تاریخ/ساعت" - -#: fields.py:53 -#, python-format -msgid "The following usernames are incorrect: %(users)s" -msgstr "این کاربرها صحیح نمی‌باشند: %(users)s" - -#: forms.py:21 models.py:49 templates/django_messages/inbox.html:8 -#: templates/django_messages/outbox.html:8 -#: templates/django_messages/trash.html:8 -#: templates/django_messages/view.html:6 -msgid "Subject" -msgstr "موضوع" - -#: forms.py:22 models.py:50 -msgid "Body" -msgstr "متن" - - -#: management.py:9 -msgid "Message Received" -msgstr "پیام دریافت‌شد" - -#: management.py:9 -msgid "you have received a message" -msgstr "شما یک پیام دریافت کرده‌اید" - -#: management.py:10 -msgid "Message Sent" -msgstr "پیام ارسال‌شد" - -#: management.py:10 -msgid "you have sent a message" -msgstr "شما یک پیام ارسال کرده‌اید" - -#: management.py:11 -msgid "Message Replied" -msgstr "پیام پاسخ داده‌شد" - -#: management.py:11 -msgid "you have replied to a message" -msgstr "شما به یک پیام پاسخ دادید" - -#: management.py:12 -msgid "Reply Received" -msgstr "پاسخ دریافت‌شد" - -#: management.py:12 -msgid "you have received a reply to a message" -msgstr "شما پاسخی به یک پیام دریافت کرده‌اید" - -#: management.py:13 -msgid "Message Deleted" -msgstr "پیام حذف گردید" - -#: management.py:13 -msgid "you have deleted a message" -msgstr "شما یک پیام حذف کردید" - -#: management.py:14 -msgid "Message Recovered" -msgstr "پیام بازیابی‌شد" - -#: management.py:14 -msgid "you have undeleted a message" -msgstr "شما یک پیام را بازیابی کردید" - -#: models.py:51 templates/django_messages/inbox.html:8 -#: templates/django_messages/trash.html:8 -#: templates/django_messages/view.html:8 -msgid "Sender" -msgstr "فرستنده" - -#: models.py:53 -msgid "Parent message" -msgstr "پیام مرجع" - -#: models.py:54 -msgid "sent at" -msgstr "ارسال شده در" - -#: models.py:55 -msgid "read at" -msgstr "خوانده شده در" - -#: models.py:56 -msgid "replied at" -msgstr "پاسخ داده شده در" - -#: models.py:57 -msgid "Sender deleted at" -msgstr "فرستنده حذف‌شده در" - -#: models.py:58 -msgid "Recipient deleted at" -msgstr "گیرنده خذف‌شده در" - -#: models.py:89 -msgid "Messages" -msgstr "پیام ها" - -#: utils.py:26 -#, python-format -msgid "" -"%(sender)s wrote:\n" -"%(body)s" -msgstr "" -"%(sender)s گفت:\n" -"%(body)s" - -#: utils.py:54 -#, python-format -msgid "Re%(prefix)s: %(subject)s" -msgstr "پاسخ%(prefix)s: %(subject)s" - -#: utils.py:60 -#, python-format -msgid "New Message: %(subject)s" -msgstr "پیام جدید: %(subject)s" - -#: views.py:78 views.py:114 -msgid "Message successfully sent." -msgstr "پیام با موفقیت ارسال‌شد." - -#: views.py:121 -#, python-format -msgid "Re: %(subject)s" -msgstr "پاسخ: %(subject)s" - -#: views.py:157 -msgid "Message successfully deleted." -msgstr "پیام با موفقیت حذف‌شد." - -#: views.py:184 -msgid "Message successfully recovered." -msgstr "پیام با موفقیت بازیابی‌شد." - -#: templates/django_messages/base.html:8 -#: templates/django_messages/inbox.html:4 -#: templates/django_messages/new_message.html:10 -msgid "Inbox" -msgstr "صندوق دریافتی" - -#: templates/django_messages/base.html:9 -#: templates/django_messages/outbox.html:4 -msgid "Sent Messages" -msgstr "پیام‌های ارسال‌شده" - -#: templates/django_messages/base.html:10 -msgid "New Message" -msgstr "پیام جدید" - -#: templates/django_messages/base.html:11 -msgid "Trash" -msgstr "پیام‌های حذف‌شده" - -#: templates/django_messages/compose.html:4 -msgid "Compose Message" -msgstr "ایجاد پیام جدید" - -#: templates/django_messages/compose.html:10 -msgid "Send" -msgstr "بفرست" - -#: templates/django_messages/inbox.html:8 -msgid "Received" -msgstr "دریافت‌شد" - -#: templates/django_messages/inbox.html:8 -#: templates/django_messages/outbox.html:8 -#: templates/django_messages/trash.html:8 -msgid "Action" -msgstr "عمل" - -#: templates/django_messages/inbox.html:20 -#: templates/django_messages/outbox.html:17 -#: templates/django_messages/trash.html:17 -#: templates/django_messages/view.html:11 -msgid "DATETIME_FORMAT" -msgstr "" - -#: templates/django_messages/inbox.html:21 -#: templates/django_messages/outbox.html:18 -msgid "delete" -msgstr "حذف" - -#: templates/django_messages/inbox.html:27 -#: templates/django_messages/outbox.html:24 -#: templates/django_messages/trash.html:24 -msgid "No messages." -msgstr "پیامی وجود ندارد." - -#: templates/django_messages/new_message.html:1 -#, python-format -msgid "" -"Hello %(recipient)s,\n" -"\n" -"you received a private message from %(sender)s with\n" -"the following contents:" -msgstr "سلام %(recipient)s,\n" -"\n" -"شما یک پیام خصوصی از %(sender)s دریافت کرده‌اید:" - -#: templates/django_messages/new_message.html:9 -#, python-format -msgid "Sent from %(site_url)s" -msgstr "ارسال شده از %(site_url)s" - -#: templates/django_messages/new_message.html:11 -#: templates/django_messages/view.html:18 -msgid "Reply" -msgstr "پاسخ" - -#: templates/django_messages/outbox.html:8 -msgid "Sent" -msgstr "ارسال‌شد" - -#: templates/django_messages/trash.html:4 -msgid "Deleted Messages" -msgstr "پیام های حذف‌شده" - -#: templates/django_messages/trash.html:8 -#: templates/django_messages/view.html:10 -msgid "Date" -msgstr "تاریخ" - -#: templates/django_messages/trash.html:18 -msgid "undelete" -msgstr "بازیابی" - -#: templates/django_messages/trash.html:27 -msgid "" -"Deleted Messages are removed from the trash at unregular intervals, don't " -"rely on this feature for long-time storage." -msgstr "" -"پیام‌های حذف‌شده در بازه‌های زمانی مشخصی از اینجا حذف می‌شوند، بنابراین برای نگهداری طولانی مدت از این‌جا استفاده نکنید." - -#: templates/django_messages/view.html:4 -msgid "View Message" -msgstr "نمایش پیام" - -#: templates/django_messages/view.html:20 -msgid "Delete" -msgstr "حذف" - -#: templates/notification/messages_deleted/notice.html:1 -#, python-format -msgid "" -"You have deleted the message %(message)s." -msgstr "شما پیام %(message)s را حذف کردید." - -#: templates/notification/messages_received/notice.html:2 -#, python-format -msgid "" -"You have received the message %(message)s " -"from %(message_sender)s." -msgstr "شما پیام جدید %(message)s را از %(message_sender)s دریافت کردید." - -#: templates/notification/messages_recovered/notice.html:1 -#, python-format -msgid "" -"You have recovered the message %(message)s." -msgstr "شما پیام %(message)s را بازیابی کردید." - -#: templates/notification/messages_replied/notice.html:2 -#, python-format -msgid "" -"You have replied to %(message_parent_msg)s " -"from %(message_recipient)s." -msgstr "شما به پیام %(message_parent_msg)s از %(message_recipient)s پاسخ‌دادید." - -#: templates/notification/messages_reply_received/notice.html:2 -#, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "%(message_sender)s پاسخی به %(message_parent_msg)s برای شما ارسال کرده." - -#: templates/notification/messages_sent/notice.html:2 -#, python-format -msgid "" -"You have sent the message %(message)s to " -"%(message_recipient)s." -msgstr "شما پیام %(message)s را به %(message_recipient)s ارسال‌کردید." - -#~ msgid "context" -#~ msgstr "متن پیام" - -#~ msgid "received at" -#~ msgstr "دریافت شده در" - -#~ msgid "deleted by sender at" -#~ msgstr "حذف شده توسط فرستنده در" - -#~ msgid "deleted by receiver at" -#~ msgstr "حذف شده توسط گیرنده در" - -#~ msgid "Message revert successfully" -#~ msgstr "پیام با موفقیت بازگردانی شد" - -#~ msgid "send message" -#~ msgstr "ارسال پیام" - -#~ msgid "date" -#~ msgstr "تاریخ" - -#~ msgid "revert" -#~ msgstr "بازگردانی" - -#~ msgid "deleted Messages will remove from trash step by step" -#~ msgstr "پیام های حذف شده در فواصل نامنظم از سطل زباله حذف می گردند" - -#~ msgid "not replied yet" -#~ msgstr "هنوز پاسخ داده نشده است" diff --git a/django_messages/locale/fr/LC_MESSAGES/django.mo b/django_messages/locale/fr/LC_MESSAGES/django.mo deleted file mode 100644 index 66d34a43..00000000 Binary files a/django_messages/locale/fr/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django_messages/locale/fr/LC_MESSAGES/django.po b/django_messages/locale/fr/LC_MESSAGES/django.po deleted file mode 100644 index a30b8708..00000000 --- a/django_messages/locale/fr/LC_MESSAGES/django.po +++ /dev/null @@ -1,316 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: messages\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-09-11 12:31-0700\n" -"PO-Revision-Date: 2008-08-09 21:58+0100\n" -"Last-Translator: Roland Frédéric \n" -"Language-Team: Frédéric Roland \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-Language: French\n" - -#: admin.py:13 forms.py:20 models.py:52 templates/messages/outbox.html:7 -#: templates/messages/view.html:12 -msgid "Recipient" -msgstr "Destinataire" - -#: admin.py:38 models.py:88 -msgid "Message" -msgstr "Message" - -#: forms.py:21 models.py:49 templates/messages/inbox.html:7 -#: templates/messages/outbox.html:7 templates/messages/trash.html:7 -#: templates/messages/view.html:6 -msgid "Subject" -msgstr "Sujet" - -#: forms.py:22 models.py:50 -msgid "Body" -msgstr "Message" - -#: management.py:9 -msgid "Message Received" -msgstr "Message Reçu" - -#: management.py:9 -msgid "you have received a message" -msgstr "vous avez reçu un message" - -#: management.py:10 -msgid "Message Sent" -msgstr "Message Envoyé" - -#: management.py:10 -msgid "you have sent a message" -msgstr "vous avez envoyé un message" - -#: management.py:11 -msgid "Message Replied" -msgstr "Message Répondu" - -#: management.py:11 -msgid "you have replied to a message" -msgstr "vous avez répondu à un message" - -#: management.py:12 -msgid "Reply Received" -msgstr "Réponse Reçue" - -#: management.py:12 -msgid "you have received a reply to a message" -msgstr "vous avez reçu une réponse à un message" - -#: management.py:13 -msgid "Message Deleted" -msgstr "Message Effacé" - -#: management.py:13 -msgid "you have deleted a message" -msgstr "vous avez effacé un message" - -#: management.py:14 -msgid "Message Recovered" -msgstr "Message Récupéré" - -#: management.py:14 -msgid "you have undeleted a message" -msgstr "vous avez récupéré un message" - -#: models.py:51 templates/messages/inbox.html:7 -#: templates/messages/trash.html:7 templates/messages/view.html:8 -msgid "Sender" -msgstr "Expéditeur" - -#: models.py:53 -msgid "Parent message" -msgstr "Message parent" - -#: models.py:54 -msgid "sent at" -msgstr "envoyé à" - -#: models.py:55 -msgid "read at" -msgstr "lu à" - -#: models.py:56 -msgid "replied at" -msgstr "répondu à" - -#: models.py:57 -msgid "Sender deleted at" -msgstr "Expéditeur effacé à" - -#: models.py:58 -msgid "Recipient deleted at" -msgstr "Destinataire effacé à" - -#: models.py:89 -msgid "Messages" -msgstr "Messages" - -#: views.py:78 views.py:112 -msgid "Message successfully sent." -msgstr "Message envoyé avec succès." - -#: views.py:118 -#, python-format -msgid "" -"%(sender)s wrote:\n" -"%(body)s" -msgstr "" -"%(sender)s a écrit:\n" -"%(body)s" - -#: views.py:122 -#, python-format -msgid "Re: %(subject)s" -msgstr "Re: %(subject)s" - -#: views.py:158 -msgid "Message successfully deleted." -msgstr "Message effacé avec succès." - -#: views.py:185 -msgid "Message successfully recovered." -msgstr "Message récupéré avec succès." - -#: templates/messages/base.html:8 templates/messages/inbox.html:4 -#: templates/messages/new_message.html:10 -msgid "Inbox" -msgstr "Boîte de réception" - -#: templates/messages/base.html:9 templates/messages/outbox.html:4 -msgid "Sent Messages" -msgstr "Messages envoyés" - -#: templates/messages/base.html:10 -msgid "New Message" -msgstr "Nouveau Message" - -#: templates/messages/base.html:11 -msgid "Trash" -msgstr "Poubelle" - -#: templates/messages/compose.html:4 -msgid "Compose Message" -msgstr "Composer Message" - -#: templates/messages/compose.html:9 -msgid "Send" -msgstr "Envoyer" - -#: templates/messages/inbox.html:7 -msgid "Received" -msgstr "Reçu" - -#: templates/messages/inbox.html:7 templates/messages/outbox.html:7 -#: templates/messages/trash.html:7 -msgid "Action" -msgstr "Action" - -#: templates/messages/inbox.html:19 templates/messages/outbox.html:16 -#: templates/messages/trash.html:16 templates/messages/view.html:11 -msgid "DATETIME_FORMAT" -msgstr "j F Y, G:i" - -#: templates/messages/inbox.html:20 templates/messages/outbox.html:17 -msgid "delete" -msgstr "effacer" - -#: templates/messages/new_message.html:9 -#, python-format -msgid "Sent from %(site_url)s" -msgstr "Envoyé depuis %(site_url)s" - -#: templates/messages/new_message.html:11 templates/messages/view.html:18 -msgid "Reply" -msgstr "Répondre" - -#: templates/messages/outbox.html:7 -msgid "Sent" -msgstr "Envoyé" - -#: templates/messages/trash.html:4 -msgid "Deleted Messages" -msgstr "Messages Effacés" - -#: templates/messages/trash.html:7 templates/messages/view.html:10 -msgid "Date" -msgstr "Date" - -#: templates/messages/trash.html:17 -msgid "undelete" -msgstr "restaurer" - -#: templates/messages/trash.html:23 -msgid "Deleted Messages are removed from the trash at unregular intervals, don't rely on this feature for long-time storage." -msgstr "Les Messages Effacés sont enlevé de la poubelle a intervalles irréguliers, ne comptez pas sur cette fonctionnalité pour du stockage à long terme." - -#: templates/messages/view.html:4 -msgid "View Message" -msgstr "Voir Message" - -#: templates/messages/view.html:20 -msgid "Delete" -msgstr "Effacer" - -#: templates/notification/messages_deleted/notice.html:1 -#, python-format -msgid "You have deleted the message %(message)s." -msgstr "Vous avez effacé le message %(message)s." - -#: templates/notification/messages_recovered/notice.html:1 -#, python-format -msgid "You have recovered the message %(message)s." -msgstr "Vous avez récupéré le message %(message)s." - -#: templates/notification/messages_received/notice.html:2 -#, python-format -msgid "You have received the message %(message)s from %(message_sender)s." -msgstr "Vous avez reçu le message %(message)s de %(message_sender)s." - -#: templates/notification/messages_reply_received/notice.html:2 -#, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "%(message_sender)s vous a envoyé une réponse à %(message_parent_msg)s." - -#: templates/notification/messages_sent/notice.html:2 -#, python-format -msgid "You have sent the message %(message)s to %(message_recipient)s." -msgstr "Vous avez envoyé le message %(message)s à %(message_recipient)s." - -#: templates/notification/messages_replied/notice.html:2 -#, python-format -msgid "You have replied to %(message_parent_msg)s from %(message_recipient)s." -msgstr "Vous avez répondu à %(message_parent_msg)s de %(message_recipient)s." - -#: templates/messages/new_message.html:1 -#, python-format -msgid "" -"Hello %(recipient)s,\n" -"\n" -"you received a private message from %(sender)s with\n" -"the following contents:" -msgstr "" -"Bonjour %(recipient)s,\n" -"\n" -"vous avez reçu un message privé de %(sender)s avec\n" -"le contenu suivant :" - -#: admin.py:16 -msgid "Creates the message optionally for all users or a group of users." -msgstr "Créé le message en option pour tous les utilisateurs ou un groupe d'utilisateurs." - -#: admin.py:15 -msgid "group" -msgstr "groupe" - -#: admin.py:23 -msgid "All users" -msgstr "Tous les utilisateurs" - -#: fields.py:53 -#, python-format -msgid "The following usernames are incorrect: %(users)s" -msgstr "Les noms d'utilisateurs suivants sont incorrects : %(users)s" - -#: admin.py:45 -msgid "Date/time" -msgstr "Date/heure" - -#: utils.py:27 -#, python-format -msgid "New Message: %(subject)s" -msgstr "Nouveau message: %(subject)s" - -#~ msgid "There is no user with this username." -#~ msgstr "Il n'y a pas d'utilisateur avec ce nom d'utilisateur." - -#~ msgid "New Message:" -#~ msgstr "Nouveau Message:" - -#~ msgid "You have deleted the message '%(message)s'." -#~ msgstr "Vous avez effacé le message '%(message)s'." - -#~ msgid "You have received a message from %(message_sender)s." -#~ msgstr "Vous avez reçu un message de %(message_sender)s." - -#~ msgid "You have recovered the message '%(message)s'." -#~ msgstr "vous avez récupéré le message '%(message)s'." - -#~ msgid "You have replied to '%(message_parent_msg)s' from %(message_recipient)s." -#~ msgstr "Vous avez répondu à '%(message_parent_msg)s' de %(message_recipient)s." - -#~ msgid "%(message_sender)s has sent you a reply to '%(message_parent_msg)s'." -#~ msgstr "%(message_sender)s vous a envoyé une réponse à '%(message_parent_msg)s'." - -#~ msgid "You have sent the message '%(message)s' to %(message_recipient)s." -#~ msgstr "Vous avez envoyé le message '%(message)s' à %(message_recipient)s." diff --git a/django_messages/locale/it/LC_MESSAGES/django.mo b/django_messages/locale/it/LC_MESSAGES/django.mo deleted file mode 100644 index 451a8aac..00000000 Binary files a/django_messages/locale/it/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django_messages/locale/it/LC_MESSAGES/django.po b/django_messages/locale/it/LC_MESSAGES/django.po deleted file mode 100644 index caf7f9d4..00000000 --- a/django_messages/locale/it/LC_MESSAGES/django.po +++ /dev/null @@ -1,317 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# Sergio Morstabilini , 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: messages\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-03-03 12:31-0700\n" -"PO-Revision-Date: 2010-03-03 21:58+0100\n" -"Last-Translator: Sergio Morstabilini \n" -"Language-Team: Sergio Morstabilini \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-Language: Italian\n" - -#: admin.py:13 forms.py:20 models.py:52 templates/messages/outbox.html:7 -#: templates/messages/view.html:12 -msgid "Recipient" -msgstr "Destinatario" - -#: admin.py:38 models.py:88 -msgid "Message" -msgstr "Messaggio" - -#: forms.py:21 models.py:49 templates/messages/inbox.html:7 -#: templates/messages/outbox.html:7 templates/messages/trash.html:7 -#: templates/messages/view.html:6 -msgid "Subject" -msgstr "Oggetto" - -#: forms.py:22 models.py:50 -msgid "Body" -msgstr "Messaggio" - -#: management.py:9 -msgid "Message Received" -msgstr "Messaggio Ricevuto" - -#: management.py:9 -msgid "you have received a message" -msgstr "hai ricevuto un messaggio" - -#: management.py:10 -msgid "Message Sent" -msgstr "Messaggio Inviato" - -#: management.py:10 -msgid "you have sent a message" -msgstr "hai inviato un messaggio" - -#: management.py:11 -msgid "Message Replied" -msgstr "Risposta Inviata" - -#: management.py:11 -msgid "you have replied to a message" -msgstr "hai risposto ad un messaggio" - -#: management.py:12 -msgid "Reply Received" -msgstr "Risposta Ricevuta" - -#: management.py:12 -msgid "you have received a reply to a message" -msgstr "hai ricevuto una risposta ad un messaggio" - -#: management.py:13 -msgid "Message Deleted" -msgstr "Messaggio Cancellato" - -#: management.py:13 -msgid "you have deleted a message" -msgstr "hai cancellato un messaggio" - -#: management.py:14 -msgid "Message Recovered" -msgstr "Messaggio Ripristinato" - -#: management.py:14 -msgid "you have undeleted a message" -msgstr "hai ripristinato un messaggio" - -#: models.py:51 templates/messages/inbox.html:7 -#: templates/messages/trash.html:7 templates/messages/view.html:8 -msgid "Sender" -msgstr "Mittente" - -#: models.py:53 -msgid "Parent message" -msgstr "In risposta a" - -#: models.py:54 -msgid "sent at" -msgstr "inviato il" - -#: models.py:55 -msgid "read at" -msgstr "letto il" - -#: models.py:56 -msgid "replied at" -msgstr "risposto il" - -#: models.py:57 -msgid "Sender deleted at" -msgstr "Mittente cancellato il" - -#: models.py:58 -msgid "Recipient deleted at" -msgstr "Destinatario cancellato il" - -#: models.py:89 -msgid "Messages" -msgstr "Messaggi" - -#: views.py:78 views.py:112 -msgid "Message successfully sent." -msgstr "Messaggio inviato con successo." - -#: views.py:118 -#, python-format -msgid "" -"%(sender)s wrote:\n" -"%(body)s" -msgstr "" -"%(sender)s ha scritto:\n" -"%(body)s" - -#: views.py:122 -#, python-format -msgid "Re: %(subject)s" -msgstr "Re: %(subject)s" - -#: views.py:158 -msgid "Message successfully deleted." -msgstr "Messaggio cancellato con successo." - -#: views.py:185 -msgid "Message successfully recovered." -msgstr "Messaggio recuperato con successo." - -#: templates/messages/base.html:8 templates/messages/inbox.html:4 -#: templates/messages/new_message.html:10 -msgid "Inbox" -msgstr "Messaggi Ricevuti" - -#: templates/messages/base.html:9 templates/messages/outbox.html:4 -msgid "Sent Messages" -msgstr "Messaggi Inviati" - -#: templates/messages/base.html:10 -msgid "New Message" -msgstr "Nuovo Messaggio" - -#: templates/messages/base.html:11 -msgid "Trash" -msgstr "Cestino" - -#: templates/messages/compose.html:4 -msgid "Compose Message" -msgstr "Scrivi Messaggio" - -#: templates/messages/compose.html:9 -msgid "Send" -msgstr "Invia" - -#: templates/messages/inbox.html:7 -msgid "Received" -msgstr "Ricevuto" - -#: templates/messages/inbox.html:7 templates/messages/outbox.html:7 -#: templates/messages/trash.html:7 -msgid "Action" -msgstr "Azione" - -#: templates/messages/inbox.html:19 templates/messages/outbox.html:16 -#: templates/messages/trash.html:16 templates/messages/view.html:11 -msgid "DATETIME_FORMAT" -msgstr "j F Y, G:i" - -#: templates/messages/inbox.html:20 templates/messages/outbox.html:17 -msgid "delete" -msgstr "cancella" - -#: templates/messages/new_message.html:9 -#, python-format -msgid "Sent from %(site_url)s" -msgstr "Spedito da %(site_url)s" - -#: templates/messages/new_message.html:11 templates/messages/view.html:18 -msgid "Reply" -msgstr "Rispondi" - -#: templates/messages/outbox.html:7 -msgid "Sent" -msgstr "Spedito" - -#: templates/messages/trash.html:4 -msgid "Deleted Messages" -msgstr "Messaggi Cancellati" - -#: templates/messages/trash.html:7 templates/messages/view.html:10 -msgid "Date" -msgstr "Data" - -#: templates/messages/trash.html:17 -msgid "undelete" -msgstr "ripristina" - -#: templates/messages/trash.html:23 -msgid "Deleted Messages are removed from the trash at unregular intervals, don't rely on this feature for long-time storage." -msgstr "I messaggi cancellati sono rimossi dal cestino ad intervalli irregolari, non affidatevi a questa cartella per salvare messaggi a lungo termine." - -#: templates/messages/view.html:4 -msgid "View Message" -msgstr "Vedi Messaggio" - -#: templates/messages/view.html:20 -msgid "Delete" -msgstr "Cancella" - -#: templates/notification/messages_deleted/notice.html:1 -#, python-format -msgid "You have deleted the message %(message)s." -msgstr "Hai cancellato il messaggio %(message)s." - -#: templates/notification/messages_recovered/notice.html:1 -#, python-format -msgid "You have recovered the message %(message)s." -msgstr "Hai ripristinato il messaggio %(message)s." - -#: templates/notification/messages_received/notice.html:2 -#, python-format -msgid "You have received the message %(message)s from %(message_sender)s." -msgstr "Hai ricevuto il messaggio %(message)s da %(message_sender)s." - -#: templates/notification/messages_reply_received/notice.html:2 -#, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "%(message_sender)s ha mandato una risposta a %(message_parent_msg)s." - -#: templates/notification/messages_sent/notice.html:2 -#, python-format -msgid "You have sent the message %(message)s to %(message_recipient)s." -msgstr "Hai inviato il messaggio %(message)s a %(message_recipient)s." - -#: templates/notification/messages_replied/notice.html:2 -#, python-format -msgid "You have replied to %(message_parent_msg)s from %(message_recipient)s." -msgstr "Hai risposto a %(message_parent_msg)s ricevuto da %(message_recipient)s." - -#: templates/messages/new_message.html:1 -#, python-format -msgid "" -"Hello %(recipient)s,\n" -"\n" -"you received a private message from %(sender)s with\n" -"the following contents:" -msgstr "" -"Ciao %(recipient)s,\n" -"\n" -"hai ricevuto un messaggio privato da %(sender)s con\n" -"il seguente contenuto:" - -#: admin.py:16 -msgid "Creates the message optionally for all users or a group of users." -msgstr "Crea il messaggio facoltativamente per tutti gli utenti o per un gruppo di utenti." - -#: admin.py:15 -msgid "group" -msgstr "gruppo" - -#: admin.py:23 -msgid "All users" -msgstr "Tutti gli utenti" - -#: fields.py:53 -#, python-format -msgid "The following usernames are incorrect: %(users)s" -msgstr "I seguenti nomi utente sono incorretti: %(users)s" - -#: admin.py:45 -msgid "Date/time" -msgstr "Data/ora" - -#: utils.py:27 -#, python-format -msgid "New Message: %(subject)s" -msgstr "Nuovo Messaggio: %(subject)s" - -#~ msgid "There is no user with this username." -#~ msgstr "Non esiste un utente con questo nome." - -#~ msgid "New Message:" -#~ msgstr "Nuovo Messaggio:" - -#~ msgid "You have deleted the message '%(message)s'." -#~ msgstr "Hai cancellato il messaggio '%(message)s'." - -#~ msgid "You have received a message from %(message_sender)s." -#~ msgstr "Hai ricevuto un messaggio da %(message_sender)s." - -#~ msgid "You have recovered the message '%(message)s'." -#~ msgstr "Hai ripristinato il messaggio '%(message)s'." - -#~ msgid "You have replied to '%(message_parent_msg)s' from %(message_recipient)s." -#~ msgstr "Hai risposto a '%(message_parent_msg)s' ricevuto da %(message_recipient)s." - -#~ msgid "%(message_sender)s has sent you a reply to '%(message_parent_msg)s'." -#~ msgstr "%(message_sender)s ha risposto a '%(message_parent_msg)s'." - -#~ msgid "You have sent the message '%(message)s' to %(message_recipient)s." -#~ msgstr "Hai spedito il messaggio '%(message)s' a %(message_recipient)s." diff --git a/django_messages/locale/ko/LC_MESSAGES/django.mo b/django_messages/locale/ko/LC_MESSAGES/django.mo deleted file mode 100644 index 1660a887..00000000 Binary files a/django_messages/locale/ko/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django_messages/locale/ko/LC_MESSAGES/django.po b/django_messages/locale/ko/LC_MESSAGES/django.po deleted file mode 100644 index 4e810c71..00000000 --- a/django_messages/locale/ko/LC_MESSAGES/django.po +++ /dev/null @@ -1,292 +0,0 @@ -# django-messages translation for Korean. -# Copyright (C) 2012 Jeong YunWon -# This file is distributed under the same license as the django-messages package. -# Jeong YunWon , 2012. -# -msgid "" -msgstr "" -"Project-Id-Version: messages\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-09-11 12:31-0700\n" -"PO-Revision-Date: 2012-02-04 10:58+0900\n" -"Last-Translator: Jeong YunWon \n" -"Language-Team: Jeong YunWon \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-Language: Korean\n" - -#: admin.py:13 forms.py:20 models.py:52 templates/messages/outbox.html:7 -#: templates/messages/view.html:12 -msgid "Recipient" -msgstr "받는이" - -#: admin.py:38 models.py:88 -msgid "Message" -msgstr "쪽지" - -#: forms.py:21 models.py:49 templates/messages/inbox.html:7 -#: templates/messages/outbox.html:7 templates/messages/trash.html:7 -#: templates/messages/view.html:6 -msgid "Subject" -msgstr "제목" - -#: forms.py:22 models.py:50 -msgid "Body" -msgstr "내용" - -#: management.py:9 -msgid "Message Received" -msgstr "받은 시각" - -#: management.py:9 -msgid "you have received a message" -msgstr "쪽지를 받았습니다" - -#: management.py:10 -msgid "Message Sent" -msgstr "쪽지 보냄" - -#: management.py:10 -msgid "you have sent a message" -msgstr "쪽지를 보냈습니다" - -#: management.py:11 -msgid "Message Replied" -msgstr "쪽지 답장" - -#: management.py:11 -msgid "you have replied to a message" -msgstr "쪽지에 답장하였습니다" - -#: management.py:12 -msgid "Reply Received" -msgstr "답장 받음" - -#: management.py:12 -msgid "you have received a reply to a message" -msgstr "쪽지에 답장을 받았습니다" - -#: management.py:13 -msgid "Message Deleted" -msgstr "쪽지 지움" - -#: management.py:13 -msgid "you have deleted a message" -msgstr "쪽지를 지웠습니다" - -#: management.py:14 -msgid "Message Recovered" -msgstr "쪽지 되살림" - -#: management.py:14 -msgid "you have undeleted a message" -msgstr "쪽지를 되살렸습니다" - -#: models.py:51 templates/messages/inbox.html:7 -#: templates/messages/trash.html:7 templates/messages/view.html:8 -msgid "Sender" -msgstr "보낸이" - -#: models.py:53 -msgid "Parent message" -msgstr "이전 쪽지" - -#: models.py:54 -msgid "sent at" -msgstr "보낸 시각:" - -#: models.py:55 -msgid "read at" -msgstr "읽은 시각:" - -#: models.py:56 -msgid "replied at" -msgstr "답장 시각:" - -#: models.py:57 -msgid "Sender deleted at" -msgstr "보낸이가 지운 시각:" - -#: models.py:58 -msgid "Recipient deleted at" -msgstr "받는이가 지운 시각:" - -#: models.py:89 -msgid "Messages" -msgstr "쪽지" - -#: views.py:78 views.py:112 -msgid "Message successfully sent." -msgstr "쪽지를 보냈습니다." - -#: views.py:118 -#, python-format -msgid "" -"%(sender)s wrote:\n" -"%(body)s" -msgstr "" -"%(sender)s 님의 글:\n" -"%(body)s" - -#: views.py:122 -#, python-format -msgid "Re: %(subject)s" -msgstr "Re: %(subject)s" - -#: views.py:158 -msgid "Message successfully deleted." -msgstr "쪽지를 지웠습니다." - -#: views.py:185 -msgid "Message successfully recovered." -msgstr "쪽지를 되살렸습니다." - -#: templates/messages/base.html:8 templates/messages/inbox.html:4 -#: templates/messages/new_message.html:10 -msgid "Inbox" -msgstr "받은 편지함" - -#: templates/messages/base.html:9 templates/messages/outbox.html:4 -msgid "Sent Messages" -msgstr "보낸 편지함" - -#: templates/messages/base.html:10 -msgid "New Message" -msgstr "새 쪽지" - -#: templates/messages/base.html:11 -msgid "Trash" -msgstr "휴지통" - -#: templates/messages/compose.html:4 -msgid "Compose Message" -msgstr "새 쪽지 쓰기" - -#: templates/messages/compose.html:9 -msgid "Send" -msgstr "보내기" - -#: templates/messages/inbox.html:7 -msgid "Received" -msgstr "받은 시각" - -#: templates/messages/inbox.html:7 templates/messages/outbox.html:7 -#: templates/messages/trash.html:7 -msgid "Action" -msgstr "할일" - -#: templates/messages/inbox.html:19 templates/messages/outbox.html:16 -#: templates/messages/trash.html:16 templates/messages/view.html:11 -msgid "DATETIME_FORMAT" -msgstr "Y-m-d G:i" - -#: templates/messages/inbox.html:20 templates/messages/outbox.html:17 -msgid "delete" -msgstr "지우기" - -#: templates/messages/new_message.html:9 -#, python-format -msgid "Sent from %(site_url)s" -msgstr "%(site_url)s 에서 보냄" - -#: templates/messages/new_message.html:11 templates/messages/view.html:18 -msgid "Reply" -msgstr "답장" - -#: templates/messages/outbox.html:7 -msgid "Sent" -msgstr "보낸 시각" - -#: templates/messages/trash.html:4 -msgid "Deleted Messages" -msgstr "지운 쪽지" - -#: templates/messages/trash.html:7 templates/messages/view.html:10 -msgid "Date" -msgstr "날짜" - -#: templates/messages/trash.html:17 -msgid "undelete" -msgstr "되살리기" - -#: templates/messages/trash.html:23 -msgid "Deleted Messages are removed from the trash at unregular intervals, don't rely on this feature for long-time storage." -msgstr "지운 쪽지는 비정기적으로 휴지통에서 완전히 삭제됩니다. 오래 보관해야 하는 쪽지에 이 기능을 사용하지 마세요." - -#: templates/messages/view.html:4 -msgid "View Message" -msgstr "쪽지 보기" - -#: templates/messages/view.html:20 -msgid "Delete" -msgstr "지우기" - -#: templates/notification/messages_deleted/notice.html:1 -#, python-format -msgid "You have deleted the message %(message)s." -msgstr "%(message)s 지윘습니다." - -#: templates/notification/messages_recovered/notice.html:1 -#, python-format -msgid "You have recovered the message %(message)s." -msgstr "%(message)s 되살렸습니다." - -#: templates/notification/messages_received/notice.html:2 -#, python-format -msgid "You have received the message %(message)s from %(message_sender)s." -msgstr "%(message_sender)s 님에게 %(message)s 받았습니다." - -#: templates/notification/messages_reply_received/notice.html:2 -#, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "%(message_sender)s 님이 %(message_parent_msg)s 에 답장을 보냈습니다." - -#: templates/notification/messages_sent/notice.html:2 -#, python-format -msgid "You have sent the message %(message)s to %(message_recipient)s." -msgstr "%(message_recipient)s 님에게 %(message)s 보냈습니다." - -#: templates/notification/messages_replied/notice.html:2 -#, python-format -msgid "You have replied to %(message_parent_msg)s from %(message_recipient)s." -msgstr "%(message_recipient)s 님의 %(message_parent_msg)s 에 답장하였습니다." - -#: templates/messages/new_message.html:1 -#, python-format -msgid "" -"Hello %(recipient)s,\n" -"\n" -"you received a private message from %(sender)s with\n" -"the following contents:" -msgstr "" -"%(recipient)s 님\n" -"\n" -"%(sender)s 님께 다음 내용으로 쪽지를 받았습니다:" - -#: admin.py:16 -msgid "Creates the message optionally for all users or a group of users." -msgstr "Creates the message optionally for all users or a group of users." - -#: admin.py:15 -msgid "group" -msgstr "그룹" - -#: admin.py:23 -msgid "All users" -msgstr "모든 사용자" - -#: fields.py:53 -#, python-format -msgid "The following usernames are incorrect: %(users)s" -msgstr "올바르지 않은 사용자 이름을 입력하였습니다: %(users)s" - -#: admin.py:45 -msgid "Date/time" -msgstr "날짜/시각" - -#: utils.py:27 -#, python-format -msgid "New Message: %(subject)s" -msgstr "새 쪽지: %(subject)s" - diff --git a/django_messages/locale/nl/LC_MESSAGES/django.mo b/django_messages/locale/nl/LC_MESSAGES/django.mo deleted file mode 100644 index cc71ed89..00000000 Binary files a/django_messages/locale/nl/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django_messages/locale/nl/LC_MESSAGES/django.po b/django_messages/locale/nl/LC_MESSAGES/django.po deleted file mode 100644 index c5b7981a..00000000 --- a/django_messages/locale/nl/LC_MESSAGES/django.po +++ /dev/null @@ -1,314 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: django-messages-0.4.1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-09-11 12:31-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: krisje8 \n" -"Language-Team: krisje8 %(message)s." -msgstr "" -"Je hebt het bericht %(message)s verwijderd." - -#: templates/notification/messages_received/notice.html:2 -#, python-format -msgid "" -"You have received the message %(message)s " -"from %(message_sender)s." -msgstr "" -"Je hebt het bericht %(message)s ontvangen " -"van %(message_sender)s." - -#: templates/notification/messages_recovered/notice.html:1 -#, python-format -msgid "" -"You have recovered the message %(message)s." -msgstr "" -"Je hebt het bericht %(message)s hersteld." - -#: templates/notification/messages_replied/notice.html:2 -#, python-format -msgid "" -"You have replied to %(message_parent_msg)s " -"from %(message_recipient)s." -msgstr "" -"Je hebt op %(message_parent_msg)s van %" -"(message_recipient)s geantwoord." - -#: templates/notification/messages_reply_received/notice.html:2 -#, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "" -"%(message_sender)s heeft je een antwoord op %(message_parent_msg)s gestuurd." - -#: templates/notification/messages_sent/notice.html:2 -#, python-format -msgid "" -"You have sent the message %(message)s to %" -"(message_recipient)s." -msgstr "" -"Je hebt het bericht %(message)s naar %" -"(message_recipient)s gestuurd." diff --git a/django_messages/locale/pl/LC_MESSAGES/django.mo b/django_messages/locale/pl/LC_MESSAGES/django.mo deleted file mode 100644 index 22792544..00000000 Binary files a/django_messages/locale/pl/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django_messages/locale/pl/LC_MESSAGES/django.po b/django_messages/locale/pl/LC_MESSAGES/django.po deleted file mode 100644 index bb15d5bb..00000000 --- a/django_messages/locale/pl/LC_MESSAGES/django.po +++ /dev/null @@ -1,305 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-09-11 12:31-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:13 forms.py:20 models.py:52 templates/messages/outbox.html:7 -#: templates/messages/view.html:12 -msgid "Recipient" -msgstr "Odbiorca" - -#: admin.py:15 -msgid "group" -msgstr "" - -#: admin.py:16 -msgid "Creates the message optionally for all users or a group of users." -msgstr "" - -#: admin.py:23 -msgid "All users" -msgstr "" - -#: admin.py:38 models.py:88 -msgid "Message" -msgstr "Wiadomość" - -#: admin.py:45 -#, fuzzy -msgid "Date/time" -msgstr "Data" - -#: fields.py:53 -#, python-format -msgid "The following usernames are incorrect: %(users)s" -msgstr "Te nazwy użytkowników są niewłaściwe: %(users)s" - -#: forms.py:21 models.py:49 templates/messages/inbox.html:7 -#: templates/messages/outbox.html:7 templates/messages/trash.html:7 -#: templates/messages/view.html:6 -msgid "Subject" -msgstr "Temat" - -#: forms.py:22 models.py:50 -msgid "Body" -msgstr "Treść" - -#: management.py:9 -msgid "Message Received" -msgstr "Wiadomość otrzymana" - -#: management.py:9 -msgid "you have received a message" -msgstr "otrzymałeś wiadomość" - -#: management.py:10 -msgid "Message Sent" -msgstr "Wiadomość wysłana" - -#: management.py:10 -msgid "you have sent a message" -msgstr "wysłałeś wiadomość" - -#: management.py:11 -msgid "Message Replied" -msgstr "Odpowiedź wysłana" - -#: management.py:11 -msgid "you have replied to a message" -msgstr "odpowiedziałeś na wiadomość" - -#: management.py:12 -msgid "Reply Received" -msgstr "Odpowiedź otrzymana" - -#: management.py:12 -msgid "you have received a reply to a message" -msgstr "Dostałeś odpowiedź na wiadomość" - -#: management.py:13 -msgid "Message Deleted" -msgstr "Wiadomość skasowana" - -#: management.py:13 -msgid "you have deleted a message" -msgstr "skasowałeś wiadomość" - -#: management.py:14 -msgid "Message Recovered" -msgstr "Wiadomość odzyskana" - -#: management.py:14 -msgid "you have undeleted a message" -msgstr "Odzyskałeś skasowaną wiadomość" - -#: models.py:51 templates/messages/inbox.html:7 -#: templates/messages/trash.html:7 templates/messages/view.html:8 -msgid "Sender" -msgstr "Nadawca" - -#: models.py:53 -msgid "Parent message" -msgstr "Poprzednia wiadomość" - -#: models.py:54 -msgid "sent at" -msgstr "wysłano" - -#: models.py:55 -msgid "read at" -msgstr "przeczytano" - -#: models.py:56 -msgid "replied at" -msgstr "odpowiedziano" - -#: models.py:57 -msgid "Sender deleted at" -msgstr "Nadawcę skasowano" - -#: models.py:58 -msgid "Recipient deleted at" -msgstr "Adresata skasowano" - -#: models.py:89 -msgid "Messages" -msgstr "Wiadomości" - -#: utils.py:27 -#, python-format -msgid "New Message: %(subject)s" -msgstr "Nowa wiadomość: %(subject)s" - -#: views.py:78 views.py:112 -msgid "Message successfully sent." -msgstr "Wiadomość wysłana" - -#: views.py:118 -#, python-format -msgid "" -"%(sender)s wrote:\n" -"%(body)s" -msgstr "" -"%(sender)s napisał:\n" -"%(body)s" - -#: views.py:122 -#, python-format -msgid "Re: %(subject)s" -msgstr "Odp: %(subject)s" - -#: views.py:158 -msgid "Message successfully deleted." -msgstr "Wiadomość skasowana" - -#: views.py:185 -msgid "Message successfully recovered." -msgstr "Wiadomość odzyskana" - -#: templates/messages/base.html:8 templates/messages/inbox.html:4 -#: templates/messages/new_message.html:10 -msgid "Inbox" -msgstr "Wiadomości otrzymane" - -#: templates/messages/base.html:9 templates/messages/outbox.html:4 -msgid "Sent Messages" -msgstr "Wiadomości wysłane" - -#: templates/messages/base.html:10 -msgid "New Message" -msgstr "Nowa wiadomość" - -#: templates/messages/base.html:11 -msgid "Trash" -msgstr "Kosz" - -#: templates/messages/compose.html:4 -msgid "Compose Message" -msgstr "Stwórz wiadomość" - -#: templates/messages/compose.html:9 -msgid "Send" -msgstr "Wyślij" - -#: templates/messages/inbox.html:7 -msgid "Received" -msgstr "Otrzymane" - -#: templates/messages/inbox.html:7 templates/messages/outbox.html:7 -#: templates/messages/trash.html:7 -msgid "Action" -msgstr "akcja" - -#: templates/messages/inbox.html:19 templates/messages/outbox.html:16 -#: templates/messages/trash.html:16 templates/messages/view.html:11 -msgid "DATETIME_FORMAT" -msgstr "" - -#: templates/messages/inbox.html:20 templates/messages/outbox.html:17 -msgid "delete" -msgstr "usuń" - -#: templates/messages/new_message.html:1 -#, python-format -msgid "" -"Hello %(recipient)s,\n" -"\n" -"you received a private message from %(sender)s with\n" -"the following contents:" -msgstr "" -"Witaj, %(recipient)s,\n" -"\n" -"otrzymałeś od użytkownika %(sender)s wiadomość\n" -"o następującej treści:" - -#: templates/messages/new_message.html:9 -#, python-format -msgid "Sent from %(site_url)s" -msgstr "Wysłane z adresu %(site_url)s" - -#: templates/messages/new_message.html:11 templates/messages/view.html:18 -msgid "Reply" -msgstr "Odpowiedz" - -#: templates/messages/outbox.html:7 -msgid "Sent" -msgstr "Wiadomości wysłane" - -#: templates/messages/trash.html:4 -msgid "Deleted Messages" -msgstr "Wiadomości skasowane" - -#: templates/messages/trash.html:7 templates/messages/view.html:10 -msgid "Date" -msgstr "Data" - -#: templates/messages/trash.html:17 -msgid "undelete" -msgstr "odzyskaj" - -#: templates/messages/trash.html:23 -msgid "" -"Deleted Messages are removed from the trash at unregular intervals, don't " -"rely on this feature for long-time storage." -msgstr "" -"Wiadomości są usuwane z Kosza nieregularnie. Nie licz, że zastaniesz je " -"tutaj po dłuższym czasie" - -#: templates/messages/view.html:4 -msgid "View Message" -msgstr "Zobacz wiadomość" - -#: templates/messages/view.html:20 -msgid "Delete" -msgstr "Usuń" - -#: templates/notification/messages_deleted/notice.html:1 -#, python-format -msgid "" -"You have deleted the message %(message)s." -msgstr "" - -#: templates/notification/messages_received/notice.html:2 -#, python-format -msgid "" -"You have received the message %(message)s " -"from %(message_sender)s." -msgstr "" - -#: templates/notification/messages_recovered/notice.html:1 -#, python-format -msgid "" -"You have recovered the message %(message)s." -msgstr "" - -#: templates/notification/messages_replied/notice.html:2 -#, python-format -msgid "" -"You have replied to %(message_parent_msg)s " -"from %(message_recipient)s." -msgstr "" - -#: templates/notification/messages_reply_received/notice.html:2 -#, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "" - -#: templates/notification/messages_sent/notice.html:2 -#, python-format -msgid "" -"You have sent the message %(message)s to %" -"(message_recipient)s." -msgstr "" diff --git a/django_messages/locale/pt_BR/LC_MESSAGES/django.mo b/django_messages/locale/pt_BR/LC_MESSAGES/django.mo deleted file mode 100644 index 83e57045..00000000 Binary files a/django_messages/locale/pt_BR/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django_messages/locale/pt_BR/LC_MESSAGES/django.po b/django_messages/locale/pt_BR/LC_MESSAGES/django.po deleted file mode 100644 index ef36d4fe..00000000 --- a/django_messages/locale/pt_BR/LC_MESSAGES/django.po +++ /dev/null @@ -1,314 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# Diego Martins , 2009. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-02-01 10:24+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:19 forms.py:20 models.py:52 templates/messages/outbox.html:8 -#: templates/messages/view.html:12 -msgid "Recipient" -msgstr "Usuário" - -#: admin.py:21 -msgid "group" -msgstr "grupo" - -#: admin.py:22 -msgid "Creates the message optionally for all users or a group of users." -msgstr "Cria a mensagem para todos os usuários ou para um grupo de usuários." - -#: admin.py:29 -msgid "All users" -msgstr "Todos os usuários" - -#: admin.py:44 models.py:88 -msgid "Message" -msgstr "Mensagem" - -#: admin.py:51 -msgid "Date/time" -msgstr "Data/Hora" - -#: fields.py:53 -#, python-format -msgid "The following usernames are incorrect: %(users)s" -msgstr "Os seguintes nome de usuário estão incorretos: %(users)s" - -#: forms.py:21 models.py:49 templates/messages/inbox.html:8 -#: templates/messages/outbox.html:8 templates/messages/trash.html:8 -#: templates/messages/view.html:6 -msgid "Subject" -msgstr "Assunto" - -#: forms.py:22 models.py:50 -msgid "Body" -msgstr "Mensagem" - -#: management.py:9 -msgid "Message Received" -msgstr "Mensagem Recebida" - -#: management.py:9 -msgid "you have received a message" -msgstr "Você recebeu uma mensagem" - -#: management.py:10 -msgid "Message Sent" -msgstr "Mensagem Enviada" - -#: management.py:10 -msgid "you have sent a message" -msgstr "Você enviou uma mensagem" - -#: management.py:11 -msgid "Message Replied" -msgstr "Mensagem Respondida" - -#: management.py:11 -msgid "you have replied to a message" -msgstr "Você respondeu uma mensagem" - -#: management.py:12 -msgid "Reply Received" -msgstr "Resposta Recebida" - -#: management.py:12 -msgid "you have received a reply to a message" -msgstr "Você recebeu uma resposta de uma mensagem" - -#: management.py:13 -msgid "Message Deleted" -msgstr "Mensagem excluída" - -#: management.py:13 -msgid "you have deleted a message" -msgstr "Você excluiu uma mensagem" - -#: management.py:14 -msgid "Message Recovered" -msgstr "Mensagem Recuperada" - -#: management.py:14 -msgid "you have undeleted a message" -msgstr "Você recuperou uma mensagem" - -#: models.py:51 templates/messages/inbox.html:8 -#: templates/messages/trash.html:8 templates/messages/view.html:8 -msgid "Sender" -msgstr "Remetente" - -#: models.py:53 -msgid "Parent message" -msgstr "Mensagem pai" - -#: models.py:54 -msgid "sent at" -msgstr "enviado à" - -#: models.py:55 -msgid "read at" -msgstr "lido à" - -#: models.py:56 -msgid "replied at" -msgstr "respondido à" - -#: models.py:57 -msgid "Sender deleted at" -msgstr "Remetente excluiu à" - -#: models.py:58 -msgid "Recipient deleted at" -msgstr "Destinatário excluiu à" - -#: models.py:89 -msgid "Messages" -msgstr "Mensagens" - -#: utils.py:27 -#, python-format -msgid "New Message: %(subject)s" -msgstr "Nova Mensagem: %(subject)s" - -#: views.py:78 views.py:112 -msgid "Message successfully sent." -msgstr "Mensagem enviada com sucesso." - -#: views.py:118 -#, python-format -msgid "" -"%(sender)s wrote:\n" -"%(body)s" -msgstr "" -"%(sender)s escreveu:\n" -"%(body)s" - -#: views.py:122 -#, python-format -msgid "Re: %(subject)s" -msgstr "Re: %(subject)s" - -#: views.py:158 -msgid "Message successfully deleted." -msgstr "Mensagem excluida com sucesso." - -#: views.py:185 -msgid "Message successfully recovered." -msgstr "Mensagem recuperada com sucesso." - -#: templates/messages/base.html:8 templates/messages/inbox.html:4 -#: templates/messages/new_message.html:10 -msgid "Inbox" -msgstr "Caixa de Entrada" - -#: templates/messages/base.html:9 templates/messages/outbox.html:4 -msgid "Sent Messages" -msgstr "Mensagens Enviadas" - -#: templates/messages/base.html:10 -msgid "New Message" -msgstr "Nova Mensagem" - -#: templates/messages/base.html:11 -msgid "Trash" -msgstr "Lixeira" - -#: templates/messages/compose.html:4 -msgid "Compose Message" -msgstr "Escrever Mensagem" - -#: templates/messages/compose.html:9 -msgid "Send" -msgstr "Enviar" - -#: templates/messages/inbox.html:8 -msgid "Received" -msgstr "Recebida" - -#: templates/messages/inbox.html:8 templates/messages/outbox.html:8 -#: templates/messages/trash.html:8 -msgid "Action" -msgstr "Ação" - -#: templates/messages/inbox.html:20 templates/messages/outbox.html:17 -#: templates/messages/trash.html:17 templates/messages/view.html:11 -msgid "DATETIME_FORMAT" -msgstr "DATETIME_FORMAT" - -#: templates/messages/inbox.html:21 templates/messages/outbox.html:18 -msgid "delete" -msgstr "excluir" - -#: templates/messages/inbox.html:27 templates/messages/outbox.html:24 -#: templates/messages/trash.html:24 -msgid "No messages." -msgstr "" - -#: templates/messages/new_message.html:1 -#, python-format -msgid "" -"Hello %(recipient)s,\n" -"\n" -"you received a private message from %(sender)s with\n" -"the following contents:" -msgstr "" -"Ola %(recipient)s,\n" -"\n" -"Você recebeu uma mensagem privada de %(sender)s com\n" -"o seguinte conteúdo:" - -#: templates/messages/new_message.html:9 -#, python-format -msgid "Sent from %(site_url)s" -msgstr "Enviado de %(site_url)s" - -#: templates/messages/new_message.html:11 templates/messages/view.html:18 -msgid "Reply" -msgstr "Responder" - -#: templates/messages/outbox.html:8 -msgid "Sent" -msgstr "Enviada" - -#: templates/messages/trash.html:4 -msgid "Deleted Messages" -msgstr "Mensagens Excluidas" - -#: templates/messages/trash.html:8 templates/messages/view.html:10 -msgid "Date" -msgstr "Data" - -#: templates/messages/trash.html:18 -msgid "undelete" -msgstr "recuperar" - -#: templates/messages/trash.html:27 -msgid "" -"Deleted Messages are removed from the trash at unregular intervals, don't " -"rely on this feature for long-time storage." -msgstr "" -"Mensagens excluidas são removidas da lixeira em intervalos de tempo não " -"regulares,não use a lixeira para armazenar mensagens por muito tempo." - -#: templates/messages/view.html:4 -msgid "View Message" -msgstr "Ver Mensagem" - -#: templates/messages/view.html:20 -msgid "Delete" -msgstr "Excluir" - -#: templates/notification/messages_deleted/notice.html:1 -#, python-format -msgid "" -"You have deleted the message %(message)s." -msgstr "Você excluiu a mensagem %(message)s." - -#: templates/notification/messages_received/notice.html:2 -#, python-format -msgid "" -"You have received the message %(message)s " -"from %(message_sender)s." -msgstr "" -"Você recebeu a mensagem %(message)s de %" -"(message_sender)s." - -#: templates/notification/messages_recovered/notice.html:1 -#, python-format -msgid "" -"You have recovered the message %(message)s." -msgstr "Você recuperou a mensagem %(message)s." - -#: templates/notification/messages_replied/notice.html:2 -#, python-format -msgid "" -"You have replied to %(message_parent_msg)s " -"from %(message_recipient)s." -msgstr "" -"Você respondeu a mensagem %(message_parent_msg)" -"s de %(message_recipient)s." - -#: templates/notification/messages_reply_received/notice.html:2 -#, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "%(message_sender)s lhe enviou uma resposta a %(message_parent_msg)s." - -#: templates/notification/messages_sent/notice.html:2 -#, python-format -msgid "" -"You have sent the message %(message)s to %" -"(message_recipient)s." -msgstr "" -"Você enviou a mensagem %(message)s para %" -"(message_recipient)s." diff --git a/django_messages/locale/ru/LC_MESSAGES/django.mo b/django_messages/locale/ru/LC_MESSAGES/django.mo deleted file mode 100644 index 90aeca47..00000000 Binary files a/django_messages/locale/ru/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django_messages/locale/ru/LC_MESSAGES/django.po b/django_messages/locale/ru/LC_MESSAGES/django.po deleted file mode 100644 index 34b76b65..00000000 --- a/django_messages/locale/ru/LC_MESSAGES/django.po +++ /dev/null @@ -1,315 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# Michail Sychev m.sychev@axion-rti.ru, 2009 -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-09-11 12:31-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:13 forms.py:20 models.py:52 templates/messages/outbox.html:7 -#: templates/messages/view.html:12 -msgid "Recipient" -msgstr "Получатель" - -#: admin.py:15 -msgid "group" -msgstr "Группа" - -#: admin.py:16 -msgid "Creates the message optionally for all users or a group of users." -msgstr "Создать сообщения опционально для всех пользователей или группы" - -#: admin.py:23 -msgid "All users" -msgstr "Все пользователи" - -#: admin.py:38 models.py:88 -msgid "Message" -msgstr "Сообщение" - -#: admin.py:45 -msgid "Date/time" -msgstr "Дата/Время" - -#: fields.py:53 -#, python-format -msgid "The following usernames are incorrect: %(users)s" -msgstr "Некорректные имена пользователей: %(users)s" - -#: forms.py:21 models.py:49 templates/messages/inbox.html:7 -#: templates/messages/outbox.html:7 templates/messages/trash.html:7 -#: templates/messages/view.html:6 -msgid "Subject" -msgstr "Тема" - -#: forms.py:22 models.py:50 -msgid "Body" -msgstr "Сообщение" - -#: management.py:9 -msgid "Message Received" -msgstr "Сообщение получено" - -#: management.py:9 -msgid "you have received a message" -msgstr "вы получили сообщение" - -#: management.py:10 -msgid "Message Sent" -msgstr "Сообщение отправлено" - -#: management.py:10 -msgid "you have sent a message" -msgstr "Вы отправили сообщение" - -#: management.py:11 -msgid "Message Replied" -msgstr "Сообщение отвечено" - -#: management.py:11 -msgid "you have replied to a message" -msgstr "вы ответили на сообщение" - -#: management.py:12 -msgid "Reply Received" -msgstr "Ответ получен" - -#: management.py:12 -msgid "you have received a reply to a message" -msgstr "вы получили ответ на сообщение" - -#: management.py:13 -msgid "Message Deleted" -msgstr "Сообщение удалено" - -#: management.py:13 -msgid "you have deleted a message" -msgstr "вы удалили сообщение" - -#: management.py:14 -msgid "Message Recovered" -msgstr "Сообщение восстановлено" - -#: management.py:14 -msgid "you have undeleted a message" -msgstr "вы восстановили сообщение" - -#: models.py:51 templates/messages/inbox.html:7 -#: templates/messages/trash.html:7 templates/messages/view.html:8 -msgid "Sender" -msgstr "Отправитель" - -#: models.py:53 -msgid "Parent message" -msgstr "Родительское сообщение" - -#: models.py:54 -msgid "sent at" -msgstr "отправлено" - -#: models.py:55 -msgid "read at" -msgstr "прочитано" - -#: models.py:56 -msgid "replied at" -msgstr "отвечено" - -#: models.py:57 -msgid "Sender deleted at" -msgstr "Отправитель удалил" - -#: models.py:58 -msgid "Recipient deleted at" -msgstr "Получатель удалил" - -#: models.py:89 -msgid "Messages" -msgstr "Сообщения" - -#: utils.py:27 -#, python-format -msgid "New Message: %(subject)s" -msgstr "Новое сообщение: %(subject)s" - -#: views.py:78 views.py:112 -msgid "Message successfully sent." -msgstr "Сообщение успешно отправлено." - -#: views.py:118 -#, python-format -msgid "" -"%(sender)s wrote:\n" -"%(body)s" -msgstr "" -"%(sender)s написал:\n" -"%(body)s" - -#: views.py:122 -#, python-format -msgid "Re: %(subject)s" -msgstr "Re: %(subject)s" - -#: views.py:158 -msgid "Message successfully deleted." -msgstr "Сообщение успешно удалено." - -#: views.py:185 -msgid "Message successfully recovered." -msgstr "Сообщение успешно восстановлено." - -#: templates/messages/base.html:8 templates/messages/inbox.html:4 -#: templates/messages/new_message.html:10 -msgid "Inbox" -msgstr "Входящие" - -#: templates/messages/base.html:9 templates/messages/outbox.html:4 -msgid "Sent Messages" -msgstr "Исходящие" - -#: templates/messages/base.html:10 -msgid "New Message" -msgstr "Новое сообщение" - -#: templates/messages/base.html:11 -msgid "Trash" -msgstr "Удалённые" - -#: templates/messages/compose.html:4 -msgid "Compose Message" -msgstr "Новое сообщение" - -#: templates/messages/compose.html:9 -msgid "Send" -msgstr "Отправить" - -#: templates/messages/inbox.html:7 -msgid "Received" -msgstr "Получено" - -#: templates/messages/inbox.html:7 templates/messages/outbox.html:7 -#: templates/messages/trash.html:7 -msgid "Action" -msgstr "Действия" - -#: templates/messages/inbox.html:19 templates/messages/outbox.html:16 -#: templates/messages/trash.html:16 templates/messages/view.html:11 -msgid "DATETIME_FORMAT" -msgstr "j. N Y, H:i" - -#: templates/messages/inbox.html:20 templates/messages/outbox.html:17 -msgid "delete" -msgstr "удалить" - -#: templates/messages/inbox.html:27 templates/messages/outbox.html:24 -#: templates/messages/trash.html:24 -msgid "No messages." -msgstr "Сообщений нет." - -#: templates/messages/new_message.html:1 -#, python-format -msgid "" -"Hello %(recipient)s,\n" -"\n" -"you received a private message from %(sender)s with\n" -"the following contents:" -msgstr "" -"Hallo %(recipient)s,\n" -"\n" -"Вы получили сообщение от %(sender)s\n" -"со следующим содержанием:" - -#: templates/messages/new_message.html:9 -#, python-format -msgid "Sent from %(site_url)s" -msgstr "Отправлено %(site_url)s" - -#: templates/messages/new_message.html:11 templates/messages/view.html:18 -msgid "Reply" -msgstr "Ответить" - -#: templates/messages/outbox.html:7 -msgid "Sent" -msgstr "Отправлено" - -#: templates/messages/trash.html:4 -msgid "Deleted Messages" -msgstr "Удалённые сообщения" - -#: templates/messages/trash.html:7 templates/messages/view.html:10 -msgid "Date" -msgstr "Дата" - -#: templates/messages/trash.html:17 -msgid "undelete" -msgstr "восстановить" - -#: templates/messages/trash.html:23 -msgid "" -"Deleted Messages are removed from the trash at unregular intervals, don't " -"rely on this feature for long-time storage." -msgstr "" -"Удалённые сообщения очищаются из корзины через произвольные интервалы,не " -"используйте эту возможность как долгосрочное хранилище." - -#: templates/messages/view.html:4 -msgid "View Message" -msgstr "Просмотр сообщений" - -#: templates/messages/view.html:20 -msgid "Delete" -msgstr "Удалить" - -#: templates/notification/messages_deleted/notice.html:1 -#, python-format -msgid "" -"You have deleted the message %(message)s." -msgstr "Вы удалили сообщение %(message)s." - -#: templates/notification/messages_received/notice.html:2 -#, python-format -msgid "" -"You have received the message %(message)s " -"from %(message_sender)s." -msgstr "" -"Вы получили сообщение %(message)s от %" -"(message_sender)s." - -#: templates/notification/messages_recovered/notice.html:1 -#, python-format -msgid "" -"You have recovered the message %(message)s." -msgstr "Вы восстановили сообщение %(message)s." - -#: templates/notification/messages_replied/notice.html:2 -#, python-format -msgid "" -"You have replied to %(message_parent_msg)s " -"from %(message_recipient)s." -msgstr "" -"Вы ответили на %(message_parent_msg)s от %" -"(message_recipient)s." - -#: templates/notification/messages_reply_received/notice.html:2 -#, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "%(message_sender)s ответил на %(message_parent_msg)s." - -#: templates/notification/messages_sent/notice.html:2 -#, python-format -msgid "" -"You have sent the message %(message)s to %" -"(message_recipient)s." -msgstr "" -"Вы отправили сообщение %(message)s " -"получателям %(message_recipient)s." diff --git a/django_messages/locale/zh_CN/LC_MESSAGES/django.mo b/django_messages/locale/zh_CN/LC_MESSAGES/django.mo deleted file mode 100644 index 455e489d..00000000 Binary files a/django_messages/locale/zh_CN/LC_MESSAGES/django.mo and /dev/null differ diff --git a/django_messages/locale/zh_CN/LC_MESSAGES/django.po b/django_messages/locale/zh_CN/LC_MESSAGES/django.po deleted file mode 100644 index 6d917388..00000000 --- a/django_messages/locale/zh_CN/LC_MESSAGES/django.po +++ /dev/null @@ -1,299 +0,0 @@ -# django-messages in Simplify Chinese. -# django-messages 简体中文. -# Copyright (C) 2008 -# This file is distributed under the same license as the django-messages package. -# Gene Wu , 2008. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-10-04 12:00-0000\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: GENE WU \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: fields.py:39 -#, python-format -msgid "The following usernames are incorrect: %(users)s" -msgstr "以下用户名不正确: %(users)s" - -#: forms.py:23 models.py:53 templates\messages\outbox.html.py:7 -#: templates\messages\view.html.py:12 -msgid "Recipient" -msgstr "收信人" - -#: forms.py:24 models.py:50 templates\messages\inbox.html.py:7 -#: templates\messages\outbox.html.py:7 templates\messages\trash.html.py:7 -#: templates\messages\view.html.py:6 -msgid "Subject" -msgstr "主题" - -#: forms.py:25 models.py:51 -msgid "Body" -msgstr "消息主体" - -#: management.py:10 -msgid "Message Received" -msgstr "收到的消息" - -#: management.py:10 -msgid "you have received a message" -msgstr "你受到了一条消息" - -#: management.py:11 -msgid "Message Sent" -msgstr "消息已发出" - -#: management.py:11 -msgid "you have sent a message" -msgstr "你已发出了一条消息" - -#: management.py:12 -msgid "Message Replied" -msgstr "消息已回复" - -#: management.py:12 -msgid "you have replied to a message" -msgstr "你已回复了一条消息" - -#: management.py:13 -msgid "Reply Received" -msgstr "回复已收到" - -#: management.py:13 -msgid "you have received a reply to a message" -msgstr "你已收到了消息的一条回复" - -#: management.py:14 -msgid "Message Deleted" -msgstr "消息已删除" - -#: management.py:14 -msgid "you have deleted a message" -msgstr "你已删除了一条消息" - -#: management.py:15 -msgid "Message Recovered" -msgstr "消息已恢复" - -#: management.py:15 -msgid "you have undelete a message" -msgstr "你已恢复了一条消息" - -#: models.py:52 templates\messages\inbox.html.py:7 -#: templates\messages\trash.html.py:7 templates\messages\view.html.py:8 -msgid "Sender" -msgstr "发信人" - -#: models.py:54 -msgid "Parent message" -msgstr "原消息" - -#: models.py:55 -msgid "sent at" -msgstr "发送于" - -#: models.py:56 -msgid "read at" -msgstr "阅读于" - -#: models.py:57 -msgid "replied at" -msgstr "回复于" - -#: models.py:58 -msgid "Sender deleted at" -msgstr "发信人删除于" - -#: models.py:59 -msgid "Recipient deleted at" -msgstr "收件人删除于" - -#: models.py:89 -msgid "Message" -msgstr "消息" - -#: models.py:90 -msgid "Messages" -msgstr "消息" - -#: utils.py:29 -#, python-format -msgid "New Message: %(subject)s" -msgstr "新消息: %(subject)s" - -#: views.py:80 views.py:108 -msgid "Message successfully sent." -msgstr "消息已成功发送。" - -#: views.py:114 -#, python-format -msgid "" -"%(sender)s wrote:\n" -"%(body)s" -msgstr "" -"%(sender)s 写道:\n" -"%(body)s" - -#: views.py:118 -#, python-format -msgid "Re: %(subject)s" -msgstr "回复: %(subject)s" - -#: views.py:154 -msgid "Message successfully deleted." -msgstr "消息已成功删除。" - -#: views.py:181 -msgid "Message successfully recovered." -msgstr "消息已成功恢复。" - -#: templates\messages\base.html.py:8 templates\messages\inbox.html.py:4 -#: templates\messages\new_message.html.py:10 -msgid "Inbox" -msgstr "收件箱" - -#: templates\messages\base.html.py:9 templates\messages\outbox.html.py:4 -msgid "Sent Messages" -msgstr "发送的消息" - -#: templates\messages\base.html.py:10 -msgid "New Message" -msgstr "新消息" - -#: templates\messages\base.html.py:11 -msgid "Trash" -msgstr "回收站" - -#: templates\messages\compose.html.py:4 -msgid "Compose Message" -msgstr "撰写消息" - -#: templates\messages\compose.html.py:9 -msgid "Send" -msgstr "发送" - -#: templates\messages\inbox.html.py:7 -msgid "Received" -msgstr "受到于" - -#: templates\messages\inbox.html.py:7 templates\messages\outbox.html.py:7 -#: templates\messages\trash.html.py:7 -msgid "Action" -msgstr "动作" - -#: templates\messages\inbox.html.py:19 -#: templates\messages\outbox.html.py:16 -#: templates\messages\trash.html.py:16 templates\messages\view.html.py:11 -msgid "DATETIME_FORMAT" -msgstr "" - -#: templates\messages\inbox.html.py:20 -#: templates\messages\outbox.html.py:17 -msgid "delete" -msgstr "删除" - -#: templates\messages\new_message.html.py:1 -#, python-format -msgid "" -"Hello %(recipient)s,\n" -"\n" -"you received a private message from %(sender)s with\n" -"the following contents:" -msgstr "" -"%(recipient)s:\n" -"\n" -"你受到一条从%(sender)s发出的私人信息有\n" -"以下内容:" - -#: templates\messages\new_message.html.py:9 -#, python-format -msgid "Sent from %(site_url)s" -msgstr "消息已从%(site_url)s发出" - -#: templates\messages\new_message.html.py:11 -#: templates\messages\view.html.py:18 -msgid "Reply" -msgstr "回复" - -#: templates\messages\outbox.html.py:7 -msgid "Sent" -msgstr "已发出" - -#: templates\messages\trash.html.py:4 -msgid "Deleted Messages" -msgstr "删除的消息" - -#: templates\messages\trash.html.py:7 templates\messages\view.html.py:10 -msgid "Date" -msgstr "日期" - -#: templates\messages\trash.html.py:17 -msgid "undelete" -msgstr "恢复" - -#: templates\messages\trash.html.py:23 -msgid "" -"Deleted Messages are removed from the trash at unregular intervals, don't " -"rely on this feature for long-time storage." -msgstr "" -"删除的消息将定期删除,不要依赖此功能作为长期存储。" -"" - -#: templates\messages\view.html.py:4 -msgid "View Message" -msgstr "浏览消息" - -#: templates\messages\view.html.py:20 -msgid "Delete" -msgstr "删除" - -#: templates\notification\messages_deleted\notice.html.py:1 -#, python-format -msgid "" -"You have deleted the message %(message)s." -msgstr "你已删除了消息%(message)s." - -#: templates\notification\messages_received\notice.html.py:2 -#, python-format -msgid "" -"You have received the message %(message)s " -"from %(message_sender)s." -msgstr "" -"你已收到%(message_sender)s的消息%(message)s。" -"" - -#: templates\notification\messages_recovered\notice.html.py:1 -#, python-format -msgid "" -"You have recovered the message %(message)s." -msgstr "你已恢复了消息%(message)s." - -#: templates\notification\messages_replied\notice.html.py:2 -#, python-format -msgid "" -"You have replied to %(message_parent_msg)s " -"from %(message_recipient)s." -msgstr "" -"你已回复了%(message_recipient)s.发出的消息%(message_parent_msg)s" -"" - -#: templates\notification\messages_reply_received\notice.html.py:2 -#, python-format -msgid "%(message_sender)s has sent you a reply to %(message_parent_msg)s." -msgstr "" -"%(message_sender)s已回复你发出的消息:%(message_parent_msg)s." - -#: templates\notification\messages_sent\notice.html.py:2 -#, python-format -msgid "" -"You have sent the message %(message)s to %" -"(message_recipient)s." -msgstr "" -"你已发送消息%(message)s到%" -"(message_recipient)s." diff --git a/emencia/django/newsletter/locale/cs/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/cs/LC_MESSAGES/django.mo deleted file mode 100644 index 1a36c84a..00000000 Binary files a/emencia/django/newsletter/locale/cs/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/cs/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/cs/LC_MESSAGES/django.po deleted file mode 100644 index e9210bec..00000000 --- a/emencia/django/newsletter/locale/cs/LC_MESSAGES/django.po +++ /dev/null @@ -1,856 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# , 2011. -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2011-11-08 09:01+0000\n" -"Last-Translator: xaralis \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: cs\n" -"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2\n" - -#: forms.py:20 -msgid "Email" -msgstr "Email" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "Mailing listy" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "Jméno" - -#: models.py:40 -msgid "server host" -msgstr "Server" - -#: models.py:41 -msgid "server user" -msgstr "Uživatelské jméno" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "Pokud je server veřejný, ponechte prázdné." - -#: models.py:43 -msgid "server password" -msgstr "Heslo" - -#: models.py:45 -msgid "server port" -msgstr "Port" - -#: models.py:46 -msgid "server use TLS" -msgstr "Server používá TLS" - -#: models.py:48 -msgid "custom headers" -msgstr "vlastní hlavičky" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" -"klíč1: hodnota1, klíč2: hodnota2, odděleno novým řádkem.\n" -"Užitečné pro trackovací hlavičky, pokud to umožňuje váš provider." - -#: models.py:51 -msgid "mails per hour" -msgstr "počet emailů za hodinu" - -#: models.py:93 -msgid "SMTP server" -msgstr "SMTP server" - -#: models.py:94 -msgid "SMTP servers" -msgstr "SMTP servery" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "E-mail" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "Křestní jméno" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "Příjmení" - -#: models.py:103 -msgid "subscriber" -msgstr "Odebíratel" - -#: models.py:104 -msgid "valid email" -msgstr "Platný e-mail" - -#: models.py:105 -msgid "contact tester" -msgstr "Testovací kontakt" - -#: models.py:106 -msgid "tags" -msgstr "Tagy" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "Datum vytvoření" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "Datum úpravy" - -#: models.py:132 -msgid "mail format" -msgstr "Formát e-mailu" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "kontakt" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "kontakty" - -#: models.py:157 -msgid "description" -msgstr "Popis" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "Odebíratelé" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "Zrušené odběry" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "Mailing list" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "mailing listy" - -#: models.py:198 -msgid "draft" -msgstr "Návrh" - -#: models.py:199 -msgid "waiting sending" -msgstr "Čeká na odeslání" - -#: models.py:200 -msgid "sending" -msgstr "Odesílá se" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "Odesláno" - -#: models.py:202 -msgid "canceled" -msgstr "Zrušeno" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "Titulek" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "V titulku můžete použít proměnnou \"{{ UNIQUE_KEY }}\"" - -#: models.py:208 -msgid "content" -msgstr "Obsah" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "Nebo vložte URL." - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "" - -#: models.py:212 -msgid "test contacts" -msgstr "Testovací kontakty" - -#: models.py:215 -msgid "smtp server" -msgstr "SMTP server" - -#: models.py:217 -msgid "sender" -msgstr "Odesílatel" - -#: models.py:219 -msgid "reply to" -msgstr "Odpovědět komu" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "Stav" - -#: models.py:223 -msgid "sending date" -msgstr "Bude odesláno v" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "Použito pro zobrazení newsletteru na stránkách." - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "newsletter" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "newslettery" - -#: models.py:258 -msgid "url" -msgstr "URL" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "odkaz" - -#: models.py:271 -msgid "links" -msgstr "odkaz" - -#: models.py:283 -msgid "file to attach" -msgstr "příloha" - -#: models.py:287 -msgid "attachment" -msgstr "příloha" - -#: models.py:288 -msgid "attachments" -msgstr "přílohy" - -#: models.py:308 -msgid "sent in test" -msgstr "Odeslán testovací e-mail" - -#: models.py:310 -msgid "error" -msgstr "Při odesílání došlo k chybě" - -#: models.py:311 -msgid "invalid email" -msgstr "Neplatný e-mail" - -#: models.py:312 -msgid "opened" -msgstr "Zobrazil e-mail" - -#: models.py:313 -msgid "opened on site" -msgstr "Zobrazil e-mail na stránkách" - -#: models.py:314 -msgid "link opened" -msgstr "Odkaz otevřen" - -#: models.py:315 -msgid "unsubscription" -msgstr "Zrušil odběr" - -#: models.py:333 -msgid "contact mailing status" -msgstr "Stav zasílání" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "Stav zasílání" - -#: models.py:340 -msgid "permissions group" -msgstr "Skupina oprávnění" - -#: models.py:353 -msgid "workgroup" -msgstr "Pracovní skupina" - -#: models.py:354 -msgid "workgroups" -msgstr "Pracovní skupiny" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "Stav" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "Pokročilé" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "Žádný související objekt" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "Související objekt" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "Celkem přihlášek k odběru" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "Exportovat kontakty jako VCard" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "Exportovat kontakty jako VCard" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "Nový mailing list ze dne %s" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "Nový mailing list vytvořený v administraci dne %s" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "%s byl úspěšně vytvořen." - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "Vytvořit mailing list" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "%s kontaktů bylo úspěšně importováno." - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "Importovat kontakty" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "Prosím zvolte alespoň 2 mailing listy." - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "Sloučený mailing list z %s" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "Mailing list vytvořený sloučením v %s." - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "%s byl úspěšně vytvořen sloučením." - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "Sloučit vybrané mailing listy." - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "Exportovat odběratele" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "Exportovat" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "Příjemci" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "Odesílání" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "Další nastavení" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "Výchozí" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "Nelze stáhnout HTML kvůli interní chybě." - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "Prosím nainstalujte lxml pro parsování URL." - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "Zobrazit historii" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "v tuto chvíli nedostupné" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "Historie" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "Zobrazit statistiky" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "Statistiky" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "Nelze odeslat newsletter kvůli interní HTML chybě." - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "%s úspěšně odeslán." - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "K %s nejsou přiřazeny žádné kontakty." - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "Odeslat testovací e-mail" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "%s newsletterů je připraveno k odeslání" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "Změnit na \"připraveno k odeslání\"" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "%s newsletterů bylo zrušeno" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "Zrušit odesílání" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "Neplatná syntaxe, nezapomeňte na \":\"." - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "Neplatná syntaxe: více přiřazení na řádku." - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "Konfigurace" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "Zkontrolovat připojení" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "Počet kontaktů" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "Počet mailing listů" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "Počet newsletterů" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "Přihlašovací formulář" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "Zobrazit popis" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "Zobrazit popis mailing listu." - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "Mailing list pro přihlášení." - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "Přidat %(name)s" - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "Akce" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "Importovat %(name)s" - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "Přidat do mailing listu" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "Exportovat %(name)s jako VCard" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "Exportovat %(name)s jako Excel" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "Domů" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "Import" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "Excel" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "Soubor Excelu (.xls)" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "Importovat kontakty z Excelu" - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "Sloupce jsou [email][příjmení][křestní jméno][tagy]." - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "Všechny sloupce jsou volitelné kromě e-mailu." - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "Import" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "Text" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "Textový soubor (.txt, .csv)" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "Importovat kontakty z textového souboru, nebo CSV." - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "" -"Sloupce jsou [email][příjmení][křestní jméno][tagy] oddělené středníkem." - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "VCard" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "Soubor elektronické vizitky VCard (.cvf)" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "" -"Importovat kontakty z vašeho oblíbeného mailového klienta poskytnutím " -"elektronické vizitky VCard." - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "Prostý text" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "Přihlášení do mailing listu" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "Děkujeme za vaši prihlášku!" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "Vyplňte tento formulář pro přihlášení do mailing listu." - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "Přiíhlásit se k odběru" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "Odhlášení od odběru" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "Jste odhlášen od odběru tohoto newsletteru." - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "Vyplňte tento formulář pro odhlášení od oběru." - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "Odhlásit se od odběru" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "Administrátor" - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "Datu" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "Kontakt" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "Akce" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "Pokud nevidíte tento e-mail" - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "klikněte zde" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "Pro odhlášení z tohoto mailing listu" - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "Histogram konzultací" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "Období" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "Statistiky" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "Celkový počet zobrazení" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "Počet zobrazení na webu" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "Počet unikátních zobrazení" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "Doručení nepotvrzeno" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "Počet odhlášení od odběru" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "Průměrný počet zobrazení" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "Statistiky odkazů" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "Počet kliků celkem" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "Počet unikátních kliků na odkazy" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "Počet kliků v poměru k otevření" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "Počet kliků na odkazy průměrně" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "Výkaz" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "Stáhnout CSV výkaz" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "Informace" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "Příjemci" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "Zobrazit" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "Datum odeslání" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "Testů odesláno" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "Nejžhavější odkazy" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "Mapa hustoty" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "Informace nedostupné." - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "Byl jste odhlášen od odběru." - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "Mailing list vytvořený import v %s" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "Kontakty importovány %s." - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "Statistiky %s" - -#: views/statistics.py:76 -msgid "openings" -msgstr "počet zobrazení" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "#val# zobrazení" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "#val# kliků" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "Historie %s" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/locale/de/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/de/LC_MESSAGES/django.mo deleted file mode 100644 index 60ab673e..00000000 Binary files a/emencia/django/newsletter/locale/de/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/de/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/de/LC_MESSAGES/django.po deleted file mode 100644 index e205e4bb..00000000 --- a/emencia/django/newsletter/locale/de/LC_MESSAGES/django.po +++ /dev/null @@ -1,856 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# Marc Dierckx , 2011. -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2011-11-04 16:00+0000\n" -"Last-Translator: felarov \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: de\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" - -#: forms.py:20 -msgid "Email" -msgstr "Email" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "Verteilerliste" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "Name" - -#: models.py:40 -msgid "server host" -msgstr "Server Host" - -#: models.py:41 -msgid "server user" -msgstr "Server Benutzer" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "Leer lassen wenn Ihr Server öffentlich ist" - -#: models.py:43 -msgid "server password" -msgstr "Server Passwort" - -#: models.py:45 -msgid "server port" -msgstr "Server Port" - -#: models.py:46 -msgid "server use TLS" -msgstr "Server benutzt TLS" - -#: models.py:48 -msgid "custom headers" -msgstr "Benutzerdefinierte Kopfzeile" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" -"key1: value1 key2: value2, splitted by return line.Useful for passing some " -"tracking headers if your provider allows it" - -#: models.py:51 -msgid "mails per hour" -msgstr "Mails pro Stunde" - -#: models.py:93 -msgid "SMTP server" -msgstr "SMTP-Server" - -#: models.py:94 -msgid "SMTP servers" -msgstr "SMTP-Server" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "E-Mail" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "Vorname" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "Nachname" - -#: models.py:103 -msgid "subscriber" -msgstr "Abonnent" - -#: models.py:104 -msgid "valid email" -msgstr "gültige E-Mail" - -#: models.py:105 -msgid "contact tester" -msgstr "Kontaktversuchsperson" - -#: models.py:106 -msgid "tags" -msgstr "Tags" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "Erstellungsdatum" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "Geändert am" - -#: models.py:132 -msgid "mail format" -msgstr "Email Format" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "Kontakt" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "Kontakte" - -#: models.py:157 -msgid "description" -msgstr "Beschreibung" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "Abonnenten" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "Mit gekündigtem Abonnement" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "Verteilerliste" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "Verteilerlisten" - -#: models.py:198 -msgid "draft" -msgstr "Entwurf" - -#: models.py:199 -msgid "waiting sending" -msgstr "Warte bis Sendung" - -#: models.py:200 -msgid "sending" -msgstr "Senden" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "Gesendet" - -#: models.py:202 -msgid "canceled" -msgstr "Abgebrochen" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "Titel" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." - -#: models.py:208 -msgid "content" -msgstr "Inhalt" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "oder kleb die URL" - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "Editiere Ihre Newsletter hier" - -#: models.py:212 -msgid "test contacts" -msgstr "Versuchskontakte" - -#: models.py:215 -msgid "smtp server" -msgstr "Mail Server" - -#: models.py:217 -msgid "sender" -msgstr "Versender" - -#: models.py:219 -msgid "reply to" -msgstr "Antwort an" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "Status" - -#: models.py:223 -msgid "sending date" -msgstr "Senddatum" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "Newsletter Name auf der Seite" - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "Newsletter" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "Newsletters" - -#: models.py:258 -msgid "url" -msgstr "Url" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "Link" - -#: models.py:271 -msgid "links" -msgstr "Links" - -#: models.py:283 -msgid "file to attach" -msgstr "Datei hinzufügen" - -#: models.py:287 -msgid "attachment" -msgstr "Datei anbei" - -#: models.py:288 -msgid "attachments" -msgstr "D" - -#: models.py:308 -msgid "sent in test" -msgstr "Versuchsversand" - -#: models.py:310 -msgid "error" -msgstr "Fehler" - -#: models.py:311 -msgid "invalid email" -msgstr "ungültige E-Mail" - -#: models.py:312 -msgid "opened" -msgstr "Geöffnet" - -#: models.py:313 -msgid "opened on site" -msgstr "Geöffnet auf der Seite" - -#: models.py:314 -msgid "link opened" -msgstr "Link geöffnet" - -#: models.py:315 -msgid "unsubscription" -msgstr "Abonnement abbestellt" - -#: models.py:333 -msgid "contact mailing status" -msgstr "Versandstatus" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "Versandstatus" - -#: models.py:340 -msgid "permissions group" -msgstr "Berechtigungsgruppe" - -#: models.py:353 -msgid "workgroup" -msgstr "Arbeitsgruppe" - -#: models.py:354 -msgid "workgroups" -msgstr "Arbeitsgruppen" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "Status" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "Erweitert" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "Keine relatives Objekt" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "Verwantes Objekt" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "Anzahl Abonnenten" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "Kontakte als VCard exportieren" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "Kontakte als VCard exportieren" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "Neue Verteilerliste bei %s" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "Neue Verteilerliste würde angelegt bei %s" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "%s erfolgreich angelegt" - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "Lege eine Verteilerliste an" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "%s Kontakte erfolgreich importiert" - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "Import" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "MIndestens 2 Verteilerlisten selektieren" - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "Verteilerliste als %s zusammenlegen" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "Verteilerliste angelegt durch Zusammenlegen bei %s" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "%s erfolgreich angelegt durch Zusammenlegen" - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "Lege den selektierten Verteilerlisten zusammen" - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "Exportiere Abonnenten" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "Export" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "Empfänger" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "Senden" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "Sonstiges" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "Standard" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "Runterladen ist leider nicht möglich" - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "Python package lxml ist notwendig" - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "Historie" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "Nicht verfügbar" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "Historie" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "Statistiken ansehen" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "Statistiken" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "Versand nicht möglich wegen vorhandene HTML Fehler" - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "Versand %s erfolgreich" - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "Kein Versuchskontakt an %s zugeordnet" - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "Sende ein Versuchsmail" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "%s Newsletters sind fertig für Versand" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "Änder Status in Fertig für Versand" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "%s Newsletters sind annuliert" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "Abbrechen" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "Ungültige Grammatik" - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "Ungültige Grammatik" - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "Konfiguration" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "Verbindung ungültig" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "Anzahl Kontakte" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "Anzahl Verteilerlisten" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "Anzahl Newsletters" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "Abonnement abbestellen" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "Bescrhreibung" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "Bescreibung der Verteilerliste" - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "Anzahl Verteilerlisten" - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "Füge %(name)s hinzu" - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "Aktion" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "Importiere %(name)s" - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "Neue Verteilerliste" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "Exportier Kontakte im VCard Format" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "Exportiere %(name)s" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "Startseite" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "Import" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "EXCEL" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "EXCEL Datei (.xls)" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "Exportiere Kontakte als VCard" - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "Verfügbare Kollome sind [email][last name][first name][tags]." - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "Alle Kollome sind optional,ausser Email" - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "Import" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "Tekst" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "Tekst Datei (.txt, .csv)" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "Importiere die Kontakte von einer Tekstdatei oder csv Datei" - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "" -"Columns are [email][last name][first name][tags] getrennt durch Kommas" - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "VCard" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "Vcard Datei (.cvf)" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "Importier Kontakte (VCard Datei)" - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "Rohe Tekst" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "Neue Verteilerliste" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "Anzahl Teilnehmer" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "Bestätig dieses Formular für eine erfolgreiche Abmeldung" - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "Teilnehmer" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "Abmeldung" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "Sie sind erfolgreich abgemeldet" - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "Bestätig dieses Formular für eine erfolgreiche Abmeldung" - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "Abonnement abbestellen" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "Admin" - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "Datum" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "Kontakt" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "Aktion" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "When Sie dieses Mail nicht sehen," - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "Klick hier" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "Sie haben sich erfolgreich abgemeldet" - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "Histogram" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "Periode" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "Statistiken" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "Anzahl Abonnenten" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "Geöffnet auf der Webseite" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "Gesammt einfache Öffnungen" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "Lieferung unbekannt" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "Abmeldung" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "Anzahl Abonnenten" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "Statistiken" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "Anzahl Abonnenten" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "Anzahl einfach angeklickte Links" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "angeklickte Links pro Versand" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "Anzahl von Abonnenten" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "Exportiere Zusammenfassung" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "CSV Zusammenfassung runterladen" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "Import" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "Empfänger" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "Ansicht" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "Versanndatum" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "Versuche abgeschickt" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "Top links" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "Dichtheit" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "Keine Top Links vorhanden" - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "Sie haben sich erfolgreich abgemeldet" - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "Verteilerliste wurde angelegt durch Zusammenfügen bei %s" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "Import" - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "Statistiken von %s" - -#: views/statistics.py:76 -msgid "openings" -msgstr "Anzahl Teilnehmer" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "Anzahl Teilnehmer" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "\"val\" Klicks" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "Historie von %s" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/locale/en/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/en/LC_MESSAGES/django.mo deleted file mode 100644 index f1443358..00000000 Binary files a/emencia/django/newsletter/locale/en/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/en/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/en/LC_MESSAGES/django.po deleted file mode 100644 index 60101f15..00000000 --- a/emencia/django/newsletter/locale/en/LC_MESSAGES/django.po +++ /dev/null @@ -1,886 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2010-01-21 10:54+0100\n" -"Last-Translator: Fantomas \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forms.py:20 -#, fuzzy -msgid "Email" -msgstr "Email" - -#: forms.py:44 -#, fuzzy -msgid "Mailing lists" -msgstr "mailing lists" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "Name" - -#: models.py:40 -msgid "server host" -msgstr "Server host" - -#: models.py:41 -msgid "server user" -msgstr "Server user" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "Leave it empty if the host is public." - -#: models.py:43 -msgid "server password" -msgstr "Server password" - -#: models.py:45 -msgid "server port" -msgstr "Server port" - -#: models.py:46 -msgid "server use TLS" -msgstr "Server use TLS" - -#: models.py:48 -msgid "custom headers" -msgstr "custom headers" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" - -#: models.py:51 -msgid "mails per hour" -msgstr "mails per hour" - -#: models.py:93 -#, fuzzy -msgid "SMTP server" -msgstr "SMTP Server" - -#: models.py:94 -#, fuzzy -msgid "SMTP servers" -msgstr "SMTP Servers" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "Email" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "First name" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "Last name" - -#: models.py:103 -msgid "subscriber" -msgstr "Subscriber" - -#: models.py:104 -msgid "valid email" -msgstr "Valid email" - -#: models.py:105 -msgid "contact tester" -msgstr "Contact tester" - -#: models.py:106 -msgid "tags" -msgstr "Tags" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "Date of creation" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "Date of modification" - -#: models.py:132 -msgid "mail format" -msgstr "Mail format" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "contact" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "contacts" - -#: models.py:157 -msgid "description" -msgstr "Description" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "Subscribers" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "Unsubscribers" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "Mailing list" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "mailing lists" - -#: models.py:198 -msgid "draft" -msgstr "Draft" - -#: models.py:199 -msgid "waiting sending" -msgstr "Waiting sending" - -#: models.py:200 -msgid "sending" -msgstr "Sending" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "Sent" - -#: models.py:202 -msgid "canceled" -msgstr "Canceled" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "Title" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "" - -#: models.py:208 -msgid "content" -msgstr "Content" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "Or paste an URL." - -#: models.py:209 -#, fuzzy -msgid "" -"\n" -"\n" -"" -msgstr "Edit your newsletter here" - -#: models.py:212 -msgid "test contacts" -msgstr "Test contacts" - -#: models.py:215 -msgid "smtp server" -msgstr "Smtp server" - -#: models.py:217 -msgid "sender" -msgstr "Sender" - -#: models.py:219 -msgid "reply to" -msgstr "Reply to" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "Status" - -#: models.py:223 -msgid "sending date" -msgstr "Sending date" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "Used for displaying the newsletter on the site." - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "newsletter" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "newsletters" - -#: models.py:258 -msgid "url" -msgstr "url" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "link" - -#: models.py:271 -#, fuzzy -msgid "links" -msgstr "link" - -#: models.py:283 -msgid "file to attach" -msgstr "" - -#: models.py:287 -msgid "attachment" -msgstr "" - -#: models.py:288 -msgid "attachments" -msgstr "" - -#: models.py:308 -msgid "sent in test" -msgstr "Sent in test" - -#: models.py:310 -msgid "error" -msgstr "Error" - -#: models.py:311 -msgid "invalid email" -msgstr "Invalid email" - -#: models.py:312 -msgid "opened" -msgstr "Opened" - -#: models.py:313 -msgid "opened on site" -msgstr "Opened on site" - -#: models.py:314 -msgid "link opened" -msgstr "Link opened" - -#: models.py:315 -#, fuzzy -msgid "unsubscription" -msgstr "Unsubscription" - -#: models.py:333 -#, fuzzy -msgid "contact mailing status" -msgstr "Mailing Status" - -#: models.py:334 -#, fuzzy -msgid "contact mailing statuses" -msgstr "Mailing Status" - -#: models.py:340 -msgid "permissions group" -msgstr "Permission group" - -#: models.py:353 -#, fuzzy -msgid "workgroup" -msgstr "Work Group" - -#: models.py:354 -#, fuzzy -msgid "workgroups" -msgstr "Work Groups" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "Status" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "Advanced" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "No relative object" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "Related object" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "Total Subscriptions" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "Export contacts as VCard" - -#: admin/contact.py:90 -#, fuzzy -msgid "Export contacts in Excel" -msgstr "Export contacts as VCard" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "New mailing list at %s" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "New mailing list created in admin at %s" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "%s successfully created." - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "Create a mailing list" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "%s contacts successfully imported." - -#: admin/contact.py:128 -#, fuzzy -msgid "Contact importation" -msgstr "Import" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "Please select a least 2 mailing list." - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "Merging list at %s" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "Mailing list created by merging at %s" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "%s successfully created by merging." - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "Merge selected mailing lists" - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "Export Subscribers" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "Export" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "Receivers" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "Sending" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "Miscellaneous" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "Default" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "Unable to download HTML, due to internal errors." - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "" - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "View historic" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "Not available" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "Historic" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "View statistics" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "Statistics" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "Unable to send the newsletter, due to internal HTML errors." - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "%s successfully sent." - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "No contact test assigned for %s." - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "Send email test" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "%s newsletters are ready to send" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "Make it \"ready to send\"" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "%s newsletters are cancelled" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "Cancel the sending" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "" - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "" - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "Configuration" - -#: admin/smtpserver.py:57 -#, fuzzy -msgid "Check connection" -msgstr "Connection valid" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "Number of contacts" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "Number of mailing List " - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "Number of newsletter " - -#: cmsplugin_newsletter/cms_plugins.py:15 -#, fuzzy -msgid "Subscription Form" -msgstr "Unsubscription" - -#: cmsplugin_newsletter/models.py:13 -#, fuzzy -msgid "show description" -msgstr "Description" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "" - -#: cmsplugin_newsletter/models.py:16 -#, fuzzy -msgid "Mailing List to subscribe to." -msgstr "Number of mailing List " - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "Add %(name)s" - -#: templates/admin/newsletter/contact/change_list.html:42 -#, fuzzy -msgid "Actions" -msgstr "Action" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, fuzzy, python-format -msgid "Import %(name)ss" -msgstr "Import %(name)s" - -#: templates/admin/newsletter/contact/change_list.html:58 -#, fuzzy -msgid "Add to a mailing list" -msgstr "Create a mailing list" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, fuzzy, python-format -msgid "Export %(name)s as VCard" -msgstr "Export contacts as VCard" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, fuzzy, python-format -msgid "Export %(name)s as Excel" -msgstr "Export %(name)s" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "Home" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "Import" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "" - -#: templates/newsletter/contact_import.html:31 -#, fuzzy -msgid "Import contacts from a Excel file." -msgstr "Export contacts as VCard" - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "" - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "" - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -#, fuzzy -msgid "Import" -msgstr "Import" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "" - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "" - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "" - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -#, fuzzy -msgid "Subscription to mailing list" -msgstr "Create a mailing list" - -#: templates/newsletter/mailing_list_subscribe.html:10 -#, fuzzy -msgid "Thanks for your subscription!" -msgstr "Total Subscriptions" - -#: templates/newsletter/mailing_list_subscribe.html:16 -#, fuzzy -msgid "Validate this form to subscribe to the mailing lists." -msgstr "Validate this form to unsubscribe to this mailing list." - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -#, fuzzy -msgid "Subscribe" -msgstr "Subscriber" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "Unsubscription" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "You are unsubscribed to this mailing list." - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "Validate this form to unsubscribe to this mailing list." - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "Unsubscribe" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "Admin" - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "Date" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "Contact" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "Action" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "" - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -#, fuzzy -msgid "For unsubscribing to this mailing list," -msgstr "You are unsubscribed to this mailing list." - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "Consultation histogram" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "Period" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -#, fuzzy -msgid "Broadcasting statistics" -msgstr "View statistics" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -#, fuzzy -msgid "Total openings" -msgstr "Total Subscriptions" - -#: templates/newsletter/newsletter_statistics.html:120 -#, fuzzy -msgid "Openings on site" -msgstr "Opened on site" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "Total single opening" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "Unknown delivery" - -#: templates/newsletter/newsletter_statistics.html:135 -#, fuzzy -msgid "Unsubscriptions" -msgstr "Unsubscription" - -#: templates/newsletter/newsletter_statistics.html:140 -#, fuzzy -msgid "Openings average" -msgstr "Total Subscriptions" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -#, fuzzy -msgid "Links statistics" -msgstr "View statistics" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -#, fuzzy -msgid "Total clicked links" -msgstr "Total Subscriptions" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "Total of single clicked links" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "Clicked links per opening" - -#: templates/newsletter/newsletter_statistics.html:166 -#, fuzzy -msgid "Clicked links average" -msgstr "Total Subscriptions" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "Export Report" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "Download CSV report" - -#: templates/newsletter/newsletter_statistics.html:185 -#, fuzzy -msgid "Informations" -msgstr "Import" - -#: templates/newsletter/newsletter_statistics.html:186 -#, fuzzy -msgid "Recipients" -msgstr "Receivers" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "View" - -#: templates/newsletter/newsletter_statistics.html:190 -#, fuzzy -msgid "Sending date" -msgstr "Sending date" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "Tests sent" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "Top Links" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "Density map" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "There is no Top links yet available" - -#: templates/newsletter/cms/subscription_form.html:8 -#, fuzzy -msgid "You have successfully subscribed to the mailing list!" -msgstr "You are unsubscribed to this mailing list." - -#: utils/importation.py:52 -#, fuzzy, python-format -msgid "Mailing list created by importation at %s" -msgstr "Mailing list created by merging at %s" - -#: utils/importation.py:53 -#, fuzzy, python-format -msgid "Contacts imported by %s." -msgstr "Import" - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "Statistics of %s" - -#: views/statistics.py:76 -#, fuzzy -msgid "openings" -msgstr "Total Subscriptions" - -#: views/statistics.py:139 -#, fuzzy -msgid "#val# openings" -msgstr "Total Subscriptions" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "Historic of %s" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" diff --git a/emencia/django/newsletter/locale/es/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/es/LC_MESSAGES/django.mo deleted file mode 100644 index ac4c2f61..00000000 Binary files a/emencia/django/newsletter/locale/es/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/es/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/es/LC_MESSAGES/django.po deleted file mode 100644 index 71e20dcc..00000000 --- a/emencia/django/newsletter/locale/es/LC_MESSAGES/django.po +++ /dev/null @@ -1,861 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# , 2011. -# sergiodlc , 2011. -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2011-09-22 11:01+0000\n" -"Last-Translator: Fantomas42 \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: es\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" - -#: forms.py:20 -msgid "Email" -msgstr "Correo" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "Listas de correo" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "nombre" - -#: models.py:40 -msgid "server host" -msgstr "dirección del servidor" - -#: models.py:41 -msgid "server user" -msgstr "usuario del servidor" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "Dejar en blanco si el servidor es público" - -#: models.py:43 -msgid "server password" -msgstr "contraseña del servidor" - -#: models.py:45 -msgid "server port" -msgstr "puerto del servidor" - -#: models.py:46 -msgid "server use TLS" -msgstr "el servidor utiliza TLS" - -#: models.py:48 -msgid "custom headers" -msgstr "cabeceras personalizadas" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" -"clave1: valor1 clave2: valor2, separados por un salto de línea.\n" -"Sirve para pasar algunos encabezados de rastreo si tu proveedor los permite." - -#: models.py:51 -msgid "mails per hour" -msgstr "emails por hora" - -#: models.py:93 -msgid "SMTP server" -msgstr "Servidor SMTP" - -#: models.py:94 -msgid "SMTP servers" -msgstr "Servidores SMTP" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "email" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "nombre" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "apellido" - -#: models.py:103 -msgid "subscriber" -msgstr "suscriptor" - -#: models.py:104 -msgid "valid email" -msgstr "email válido" - -#: models.py:105 -msgid "contact tester" -msgstr "contacto de prueba" - -#: models.py:106 -msgid "tags" -msgstr "etiquetas" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "fecha de creación" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "fecha de modificación" - -#: models.py:132 -msgid "mail format" -msgstr "formato de email" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "contacto" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "contactos" - -#: models.py:157 -msgid "description" -msgstr "descripción" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "suscriptores" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "desuscritos" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "lista de correo" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "listas de correo" - -#: models.py:198 -msgid "draft" -msgstr "borrador" - -#: models.py:199 -msgid "waiting sending" -msgstr "en cola para enviar" - -#: models.py:200 -msgid "sending" -msgstr "enviando" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "enviado" - -#: models.py:202 -msgid "canceled" -msgstr "cancelado" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "título" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "" -"Puedes usar la variable \"{{ UNIQUE_KEY }} para identificar de forma única " -"el título del newsletter" - -#: models.py:208 -msgid "content" -msgstr "contenido" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "O pega una URL." - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "Edita tu newsletter aqui" - -#: models.py:212 -msgid "test contacts" -msgstr "probar contactos" - -#: models.py:215 -msgid "smtp server" -msgstr "servidor smtp" - -#: models.py:217 -msgid "sender" -msgstr "emisor" - -#: models.py:219 -msgid "reply to" -msgstr "responder a" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "estado" - -#: models.py:223 -msgid "sending date" -msgstr "fecha de envío" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "Utilizado para mostrar el boletín de noticias en el sitio web." - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "boletín de noticias" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "boletines de noticias" - -#: models.py:258 -msgid "url" -msgstr "url" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "enlace" - -#: models.py:271 -msgid "links" -msgstr "enlaces" - -#: models.py:283 -msgid "file to attach" -msgstr "archivo a adjuntar" - -#: models.py:287 -msgid "attachment" -msgstr "adjunto" - -#: models.py:288 -msgid "attachments" -msgstr "adjuntos" - -#: models.py:308 -msgid "sent in test" -msgstr "envío en prueba" - -#: models.py:310 -msgid "error" -msgstr "error" - -#: models.py:311 -msgid "invalid email" -msgstr "email inválido" - -#: models.py:312 -msgid "opened" -msgstr "abierto" - -#: models.py:313 -msgid "opened on site" -msgstr "abierto en sitio web" - -#: models.py:314 -msgid "link opened" -msgstr "enlace abierto" - -#: models.py:315 -msgid "unsubscription" -msgstr "desuscripción" - -#: models.py:333 -msgid "contact mailing status" -msgstr "Estado del envío" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "Estado de los envíos" - -#: models.py:340 -msgid "permissions group" -msgstr "grupo de permisos" - -#: models.py:353 -msgid "workgroup" -msgstr "Grupo de Trabajo" - -#: models.py:354 -msgid "workgroups" -msgstr "Grupos de Trabajo" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "Estado" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "Avanzado" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "Sin objetos relacionados" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "Objetos relacionados" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "Suscriptores totales" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "Exportar contactos como VCard" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "Exportar contactos a Excel" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "Nueva lista de correo en %s" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "Nueva lista de correo creada en %s utilizando la administración" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "%s creados con éxito." - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "Crear una lista de correo" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "%s contactos importados satisfactoriamente." - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "importar" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "Por favor selecciona al menos 2 listas de correo." - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "Uniendo lista en %s" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "Lista de correo creada al unir %s" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "%s creado exitosamente tras la unión." - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "Unir las listas de correo seleccionadas" - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "Exportar Suscriptores" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "Exportar" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "Receptores" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "Enviando" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "Miscelánea" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "Por defecto" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "Imposible descargar el HTML dado que contiene errores." - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "Por favor instala lxml para parsear una URL." - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "Ver Historial" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "No están disponibles" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "Historial" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "Ver estadísticas" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "Estadísticas" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "" -"Imposible enviar el boletin de noticias dado que el HTML contiene errores." - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "%s enviado correctamente." - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "Sin contactos de prueba asignados a %s." - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "Enviar email de prueba" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "%s boletines de noticias listos para ser enviados" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "Preparar para envío" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "%s boletines de noticias cancelados" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "Cancelar el envío" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "Sintax incorrecto, no te olvides los \":\"." - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "Sintax incorrecto, demasiadas asignaciones por linea." - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "Configuración" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "Probar conexión" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "Número de Contactos" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "Número de listas de correo" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "Número de boletines de noticias" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "Desuscripción" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "Descripción" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "Ver descripción de la lista." - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "Número de lista de mailing" - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "Añadir %(name)s" - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "Acciones" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "Importar %(name)s" - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "Añadir a la lista de correo" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "Exportar %(name)s como VCard" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "Exportar %(name)s como Excel" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "Inicio" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "Importación" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "Excel" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "Archivo de Excel (.xls)" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "Exportar contactos como VCard" - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "Las columnas son [email][last name][first name][tags]." - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "Todas las columnas son opcionales excepto el correo." - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "Importar" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "Texto" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "Archivo de texto (.txt, .csv)" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "Importar contactos desde un archivo de texto o desde un archivo CSV." - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "" -"Las Columnas son [email][last name][first name][tags], separadas por un " -"punto y coma" - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "VCard" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "Archivo VCard (.cvf)" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "" -"Importa contactos desde tu cliente de correo preferido, proveyendo un " -"archivo VCard." - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "Subscripción a la lista de correo" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "Total de suscripciones" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "Complete este formulario para suscribirse a la lista de correo." - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "Suscribirse" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "Desuscripción" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "Has sido desuscrito de la lista de correo." - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "Complete este formulario para desuscribirse de esta lista de correo." - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "Desuscribir" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "Administración" - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "Fecha" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "Contacto" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "Acción" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "Si no puedes ver este correo," - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "pincha aqui" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "Has sido desuscrito de la lista de correo." - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "Histograma de consultas" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "Período" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "Estadísticas de difusión" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "Total abiertos" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "Abierto en sitio web" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "Total de los abiertos únicos" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "Entregas no conocidas" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "Desuscripción" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "Aperturas medias" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "Estadísticas de enlaces" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "Total de enlaces pulsados" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "Total de enlaces únicos pulsados" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "Enlaces pulsados por apertura" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "Media de enlaces pulsados" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "Informe" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "Descargar el informe en CSV" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "Informaciones" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "Receptores" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "Ver" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "Fecha de envío" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "Envio de prueba" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "Principales enlaces" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "Mapa de la densidad" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "Ninguna tapa liga todavía." - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "Has sido desuscrito de la lista de correo." - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "Lista de correo creada uniendola con %s" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "" - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "Estadísticas de %s" - -#: views/statistics.py:76 -msgid "openings" -msgstr "abiertos" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "#val# abiertos" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "#val# clicks" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "Historial de %s" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/locale/es_DO/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/es_DO/LC_MESSAGES/django.mo deleted file mode 100644 index 40e1ca6d..00000000 Binary files a/emencia/django/newsletter/locale/es_DO/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/es_DO/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/es_DO/LC_MESSAGES/django.po deleted file mode 100644 index b5278e5b..00000000 --- a/emencia/django/newsletter/locale/es_DO/LC_MESSAGES/django.po +++ /dev/null @@ -1,851 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# , 2011. -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2011-09-22 11:01+0000\n" -"Last-Translator: Fantomas42 \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: es_DO\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" - -#: forms.py:20 -msgid "Email" -msgstr "Correo Electrónico" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "Listas de correos" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "Nombre" - -#: models.py:40 -msgid "server host" -msgstr "Servidor" - -#: models.py:41 -msgid "server user" -msgstr "Usuario del servidor" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "Déje en blanco si el servidor es público" - -#: models.py:43 -msgid "server password" -msgstr "Contraseña del servidor" - -#: models.py:45 -msgid "server port" -msgstr "Puerto del servidor" - -#: models.py:46 -msgid "server use TLS" -msgstr "User servidor TLS" - -#: models.py:48 -msgid "custom headers" -msgstr "Encabezados personalizados" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" - -#: models.py:51 -msgid "mails per hour" -msgstr "Correos por hora" - -#: models.py:93 -msgid "SMTP server" -msgstr "Servidor SMTP" - -#: models.py:94 -msgid "SMTP servers" -msgstr "Servidores SMTP" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "Correo electrónico" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "Nombre" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "Apellido" - -#: models.py:103 -msgid "subscriber" -msgstr "Suscribirse" - -#: models.py:104 -msgid "valid email" -msgstr "Email válido" - -#: models.py:105 -msgid "contact tester" -msgstr "Probar contacto" - -#: models.py:106 -msgid "tags" -msgstr "Etiquetas" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "Fecha de creación" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "Fecha de modificación" - -#: models.py:132 -msgid "mail format" -msgstr "Formato de correo" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "Contacto" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "Contactos" - -#: models.py:157 -msgid "description" -msgstr "Descripción" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "Suscriptores" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "Lista de correo" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "Listas de correos" - -#: models.py:198 -msgid "draft" -msgstr "Borrador" - -#: models.py:199 -msgid "waiting sending" -msgstr "Esperando el envio" - -#: models.py:200 -msgid "sending" -msgstr "Enviando" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "Enviado" - -#: models.py:202 -msgid "canceled" -msgstr "Cancelado" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "Título" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "" - -#: models.py:208 -msgid "content" -msgstr "Contenido" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "O pegue una URL" - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "" - -#: models.py:212 -msgid "test contacts" -msgstr "Prueba de contactos" - -#: models.py:215 -msgid "smtp server" -msgstr "Servidor SMTP" - -#: models.py:217 -msgid "sender" -msgstr "Remitente" - -#: models.py:219 -msgid "reply to" -msgstr "Responder a" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "Estatus" - -#: models.py:223 -msgid "sending date" -msgstr "Fecha de envío" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "Usado para mostrar el boletín en otro website" - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "boletín" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "boletines" - -#: models.py:258 -msgid "url" -msgstr "url" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "enlace" - -#: models.py:271 -msgid "links" -msgstr "enlace" - -#: models.py:283 -msgid "file to attach" -msgstr "archivo para adjuntar" - -#: models.py:287 -msgid "attachment" -msgstr "adjunto" - -#: models.py:288 -msgid "attachments" -msgstr "adjuntos" - -#: models.py:308 -msgid "sent in test" -msgstr "Pueba enviada" - -#: models.py:310 -msgid "error" -msgstr "Error" - -#: models.py:311 -msgid "invalid email" -msgstr "Correo electrónico inválido" - -#: models.py:312 -msgid "opened" -msgstr "Abierto" - -#: models.py:313 -msgid "opened on site" -msgstr "Abierto en el website" - -#: models.py:314 -msgid "link opened" -msgstr "Enlace abierto" - -#: models.py:315 -msgid "unsubscription" -msgstr "" - -#: models.py:333 -msgid "contact mailing status" -msgstr "" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "" - -#: models.py:340 -msgid "permissions group" -msgstr "" - -#: models.py:353 -msgid "workgroup" -msgstr "Grupo de trabajo" - -#: models.py:354 -msgid "workgroups" -msgstr "Grupos de trabajo" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "Estatus" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "Avanzado" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "Sin objecto relacionado" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "Objecto relacionado" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "Total de suscriptores" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "Exportar contactos como VCard" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "Exportar contactos como VCard" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "Nueva lista de correo como %s" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "" - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "Crear lista de correo" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "" - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "Importar" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "Por favor seleccione por lo menos 2 listas de correo" - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "" - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "" - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "" - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "" - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "" - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "" - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "" - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "" - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "" - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "" - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "" - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "" - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "" - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "" - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "" - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "" - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "" - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "" - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "" - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "" - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "" - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "" - -#: views/statistics.py:76 -msgid "openings" -msgstr "" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/locale/fo/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/fo/LC_MESSAGES/django.mo deleted file mode 100644 index 36c75321..00000000 Binary files a/emencia/django/newsletter/locale/fo/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/fo/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/fo/LC_MESSAGES/django.po deleted file mode 100644 index 1f60e871..00000000 --- a/emencia/django/newsletter/locale/fo/LC_MESSAGES/django.po +++ /dev/null @@ -1,851 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# Gunleif Joensen , 2011. -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2011-09-22 11:01+0000\n" -"Last-Translator: Fantomas42 \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: fo\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" - -#: forms.py:20 -msgid "Email" -msgstr "T-postur" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "Postlistar" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "Navn" - -#: models.py:40 -msgid "server host" -msgstr "ambætara vertur" - -#: models.py:41 -msgid "server user" -msgstr "ambætara brúkari" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "Lat verða tómt, um verturin er almennur." - -#: models.py:43 -msgid "server password" -msgstr "ambætara atlát" - -#: models.py:45 -msgid "server port" -msgstr "ambætara portur" - -#: models.py:46 -msgid "server use TLS" -msgstr "ambætarin nýtur TLS" - -#: models.py:48 -msgid "custom headers" -msgstr "tillagað teksthøvd" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" - -#: models.py:51 -msgid "mails per hour" -msgstr "t-postar um tíman" - -#: models.py:93 -msgid "SMTP server" -msgstr "SMTP ambætari" - -#: models.py:94 -msgid "SMTP servers" -msgstr "SMTP ambætarir" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "t-postur" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "fornavn" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "eftirnavn" - -#: models.py:103 -msgid "subscriber" -msgstr "haldari" - -#: models.py:104 -msgid "valid email" -msgstr "gildur t-postur" - -#: models.py:105 -msgid "contact tester" -msgstr "" - -#: models.py:106 -msgid "tags" -msgstr "spjøldur" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "stovningardagur" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "broytingardagur" - -#: models.py:132 -msgid "mail format" -msgstr "t-post snið" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "" - -#: models.py:157 -msgid "description" -msgstr "lýsing" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "haldarir" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "givnir haldarir" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "postlisti" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "postlistar" - -#: models.py:198 -msgid "draft" -msgstr "útkast" - -#: models.py:199 -msgid "waiting sending" -msgstr "bíði sendi" - -#: models.py:200 -msgid "sending" -msgstr "sendi" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "sent" - -#: models.py:202 -msgid "canceled" -msgstr "avlýst" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "heiti" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "" - -#: models.py:208 -msgid "content" -msgstr "innihald" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "Ella set eina URLu inn." - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "" - -#: models.py:212 -msgid "test contacts" -msgstr "" - -#: models.py:215 -msgid "smtp server" -msgstr "smtp ambætari" - -#: models.py:217 -msgid "sender" -msgstr "avsendari" - -#: models.py:219 -msgid "reply to" -msgstr "aftursvara" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "støða" - -#: models.py:223 -msgid "sending date" -msgstr "sendidagur" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "Nýtt til at sýna tíðindaskrivið í staðnum." - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "tíðindaskriv" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "tíðindaskriv" - -#: models.py:258 -msgid "url" -msgstr "url" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "leinkja" - -#: models.py:271 -msgid "links" -msgstr "leinkjur" - -#: models.py:283 -msgid "file to attach" -msgstr "fíla at viðfesta" - -#: models.py:287 -msgid "attachment" -msgstr "viðfesti" - -#: models.py:288 -msgid "attachments" -msgstr "viðfesti" - -#: models.py:308 -msgid "sent in test" -msgstr "" - -#: models.py:310 -msgid "error" -msgstr "villa" - -#: models.py:311 -msgid "invalid email" -msgstr "ógildigur t-postur" - -#: models.py:312 -msgid "opened" -msgstr "upplatin" - -#: models.py:313 -msgid "opened on site" -msgstr "" - -#: models.py:314 -msgid "link opened" -msgstr "" - -#: models.py:315 -msgid "unsubscription" -msgstr "" - -#: models.py:333 -msgid "contact mailing status" -msgstr "" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "" - -#: models.py:340 -msgid "permissions group" -msgstr "" - -#: models.py:353 -msgid "workgroup" -msgstr "arbeiðsbólkur" - -#: models.py:354 -msgid "workgroups" -msgstr "arbeiðsbólkar" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "Standur" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "Framkomið" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "Eingin skyldur lutur" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "Skyldir lutir" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "Haldarir í alt" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "" - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "Stovna ein postlista" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "" - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "" - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "" - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "" - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "Flyt haldarar út" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "Flyt út" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "Móttakarir" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "Sendi" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "Ymiskt" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "Forsett" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "" - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "" - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "Sýn hagfrøði" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "Hagfrøði" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "Ikki før fyri at senda tíðindaskrivið, vegna villur inni í HTML." - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "%s er væleydnað sent." - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "" - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "Senda royndar t-post" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "%s tíðindaskriv eru til reiðar at senda" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "Gerð til reiðar at senda" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "%s tíðindaskriv eru avlýst" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "Avlýs sendingina" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "" - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "" - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "Samanseting" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "Kanna sambinding" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "Postlista-longd" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "Longd á tíðindaskrivi" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "" - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "Legg %(name)s til" - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "Atgerðir" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "Flyt %(name)s inn" - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "Legg afturat einum postlista" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "Flyt út %(name)s sum VCard" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "Flyt út %(name)s sum Excel" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "Heim" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "Excel" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "Excel fíla (.xls)" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "" - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "Teigar eru [t-postur][eftirnavn][fornavn][spjældur]." - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "Allir teigar eru sjálvbodnir, uttan t-postadressan." - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "Flyta inn" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "Tekstur" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "Tekstfíla (.txt, .csv)" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "" - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "" - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "VCard" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "VCard fíla (.cvf)" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "" - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "Takk fyri títt hald!" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "Gerst haldari" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "Gevst við haldi" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "Tú er givin at halda hendan postlistan." - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "Gevst at halda" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "" - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "Dato" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "Atgerð" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "" - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "Tíðarskeið" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "Upplatingar í alt" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "Upplatingar á staðnum" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "Einskildar upplatingar í alt " - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "Givnir haldarir" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "Upplatingar í meðal" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "Leinkju hagfrøði" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "Frásøgn" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "Tak CSV frásøgn niður" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "Upplýsingar" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "Móttakarir" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "Sýn" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "sendidagur" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "Royndir sendar" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "" - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "" - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "" - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "" - -#: views/statistics.py:76 -msgid "openings" -msgstr "" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/locale/fr/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/fr/LC_MESSAGES/django.mo deleted file mode 100644 index aaa1b615..00000000 Binary files a/emencia/django/newsletter/locale/fr/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/fr/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/fr/LC_MESSAGES/django.po deleted file mode 100644 index ad6e952e..00000000 --- a/emencia/django/newsletter/locale/fr/LC_MESSAGES/django.po +++ /dev/null @@ -1,861 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# Julien Fache , 2011. -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2011-09-23 15:07+0000\n" -"Last-Translator: Fantomas42 \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: fr\n" -"Plural-Forms: nplurals=2; plural=(n > 1)\n" - -#: forms.py:20 -msgid "Email" -msgstr "Email" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "Listes de diffusion" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "Nom" - -#: models.py:40 -msgid "server host" -msgstr "Hôte" - -#: models.py:41 -msgid "server user" -msgstr "Utilisateur" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "Laissez ce champs vide, si aucune authentification n'est nécessaire." - -#: models.py:43 -msgid "server password" -msgstr "Mot de passe" - -#: models.py:45 -msgid "server port" -msgstr "Port" - -#: models.py:46 -msgid "server use TLS" -msgstr "Chiffrement TLS" - -#: models.py:48 -msgid "custom headers" -msgstr "Entêtes personnalisées " - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" -"clef1: valeur1 clef2: valeur2, séparés par un retour à la ligne.\n" -"Utile pour passer des en-têtes de suivi si votre fournisseur le permet." - -#: models.py:51 -msgid "mails per hour" -msgstr "Envois/Heure" - -#: models.py:93 -msgid "SMTP server" -msgstr "serveur SMTP" - -#: models.py:94 -msgid "SMTP servers" -msgstr "serveurs SMTP" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "Email" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "Prénom" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "Nom" - -#: models.py:103 -msgid "subscriber" -msgstr "Opt-in Newsletter" - -#: models.py:104 -msgid "valid email" -msgstr "Email valide" - -#: models.py:105 -msgid "contact tester" -msgstr "Testeur" - -#: models.py:106 -msgid "tags" -msgstr "Tags" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "Date de création" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "Date de modification" - -#: models.py:132 -msgid "mail format" -msgstr "Contact" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "contact" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "contacts" - -#: models.py:157 -msgid "description" -msgstr "Description" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "Inscrits" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "Désinscrits" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "Liste de diffusion" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "listes de diffusion" - -#: models.py:198 -msgid "draft" -msgstr "Brouillon" - -#: models.py:199 -msgid "waiting sending" -msgstr "Prête à envoyer" - -#: models.py:200 -msgid "sending" -msgstr "En cours d'envois" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "Envoyée" - -#: models.py:202 -msgid "canceled" -msgstr "Annulée" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "Titre" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "" -"Vous pouvez utiliser la variable \"{{ UNIQUE_KEY }}\" pour avoir un " -"identifiant unique dans le titre de la newsletter." - -#: models.py:208 -msgid "content" -msgstr "Contenu" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "Ou collez simplement une URL." - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "" -"\n" -"\n" -"" - -#: models.py:212 -msgid "test contacts" -msgstr "Contacts de test" - -#: models.py:215 -msgid "smtp server" -msgstr "Serveur d'envois" - -#: models.py:217 -msgid "sender" -msgstr "Expéditeur" - -#: models.py:219 -msgid "reply to" -msgstr "Répondre à" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "Statut" - -#: models.py:223 -msgid "sending date" -msgstr "Date d'envois" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "Utilisé pour construire le lien vers le site." - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "Newsletter" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "newsletters" - -#: models.py:258 -msgid "url" -msgstr "url" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "lien" - -#: models.py:271 -msgid "links" -msgstr "liens" - -#: models.py:283 -msgid "file to attach" -msgstr "fichier à attacher" - -#: models.py:287 -msgid "attachment" -msgstr "pièce jointe" - -#: models.py:288 -msgid "attachments" -msgstr "pièces jointes" - -#: models.py:308 -msgid "sent in test" -msgstr "Envois en test" - -#: models.py:310 -msgid "error" -msgstr "Erreur lors de l'envois" - -#: models.py:311 -msgid "invalid email" -msgstr "Email Invalide" - -#: models.py:312 -msgid "opened" -msgstr "Réception OK" - -#: models.py:313 -msgid "opened on site" -msgstr "Ouvert sur le site" - -#: models.py:314 -msgid "link opened" -msgstr "Lien ouvert" - -#: models.py:315 -msgid "unsubscription" -msgstr "désabonnement" - -#: models.py:333 -msgid "contact mailing status" -msgstr "statut d'envoi" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "statuts d'envoi" - -#: models.py:340 -msgid "permissions group" -msgstr "groupe de permissions" - -#: models.py:353 -msgid "workgroup" -msgstr "groupe de travail" - -#: models.py:354 -msgid "workgroups" -msgstr "groupes de travail" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "Statut" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "Avancé" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "Pas de relations" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "Objet relatif" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "Abonnements" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "Exporter les contacts en VCard" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "Exporter les contacts dans Excel" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "Nouvelle liste de diffusion du %s" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "Nouvelle de liste de diffusion créée depuis la table contact le %s" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "%s créée avec succès." - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "Créer une liste de diffusion" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "%s contacts importés avec succès." - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "Importation de contacts" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "Veuillez sélectionner au moins 2 listes de diffusions." - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "Liste de diffusion fusionnée du %s" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "Liste de diffusion créée par fusion le %s" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "%s créée avec succès." - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "Fusionner les listes de diffusions sélectionnées." - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "Export des inscrits" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "Exportation" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "Destinataires" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "Expédition" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "Divers" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "Par défault" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "Impossible de télécharger le HTML, il contient des erreurs." - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "Veuillez installer lxml pour récupérer une URL." - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "Historique d'envois" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "Non disponible" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "Historique" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "Statistiques" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "Statistiques" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "Impossible d'envoyer la newsletter, le HTML est mal formaté." - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "%s envoyée en test avec succès." - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "Pas de contacts de test assignés pour %s." - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "Effectuer un test d'envois" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "%s newsletters sont prêtes à être envoyées." - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "Passer en attente d'expédition" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "%s newsletters ont été annulées." - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "Annuler les envois" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "Syntaxe invalide, n'oubliez pas les \":\"." - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "Syntaxe invalide, plusieurs assignations par ligne." - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "Configuration" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "Tester la connection" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "Nombre de contacts" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "Nombre de listes de diffusion" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "Nombre de newsletters" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "Formulaire d'abonnement" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "description visible" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "Affiche la description de la liste de diffusion." - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "Listes de diffusions disponible à l'abonnement." - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "Ajouter %(name)s" - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "Actions" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "Importer %(name)ss" - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "Ajouter à une liste de diffusion" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "Exporter %(name)s en VCard" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "Exporter %(name)s dans Excel" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "Accueil" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "Importation" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "Excel" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "Fichier Excel (.xls)" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "Importez vos contacts depuis un fichier Excel." - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "Les colonnes sont [email][prénom][nom][tags]." - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "Toutes les colonnes sont optionnels à l'exception de l'email." - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "Importation" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "Texte" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "Fichier texte (.txt, .csv)" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "Importez vos contacts depuis un fichier texte ou un fichier CSV." - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "" -"Les colonnes sont [email][prénom][nom][tags], séparées par un point virgule." - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "VCard" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "Fichier VCard (.cvf)" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "" -"Importez vos contacts depuis votre client mail favoris en fournissant un " -"fichier VCard." - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "Texte brut" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "Inscription aux listes de diffusions" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "Merci pour votre inscription à la liste de diffusion !" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "Validez ce formulaire pour vous inscrire aux listes de diffusion." - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "S'inscrire" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "Désabonnements" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "Vous êtes désinscrit de cette liste de diffusion." - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "Validez ce formulaire pour vous désinscrire de la liste de diffusion." - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "Désinscription" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "Admin." - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "Date" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "Contact" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "Action" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "Si vous ne pouvez voir cet e-mail," - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "cliquez ici" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "Pour vous désinscrire de cette liste de diffusion," - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "Histogramme des consultations" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "Période" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "Statistiques de diffusion" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "Ouvertures" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "Ouvertures sur le site" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "Destinataires ayant ouvert" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "Réceptions inconnues" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "Désabonnements" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "Nombre moyen d'ouvertures" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "Statistiques sur les liens" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "Clics" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "Destinataires ayant cliqué" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "Taux de réactivité (clics/ouvertures)" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "Nombre moyen de clics" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "Rapport" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "Télécharger le rapport CSV" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "Informations" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "Destinataires" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "Voir" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "Date d'envoi" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "Envois en test" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "Top Liens" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "Carte de densité" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "Pas de Top Liens pour l'instant." - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "Vous êtes inscrit avec succès à cette liste de diffusion." - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "Liste de diffusion créée par importation le %s" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "Contacts importés par %s." - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "Statistiques de %s" - -#: views/statistics.py:76 -msgid "openings" -msgstr "Ouvertures" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "#val# ouvertures" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "#val# clics" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "Historique de %s" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/locale/it/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/it/LC_MESSAGES/django.mo deleted file mode 100644 index 947bf1e4..00000000 Binary files a/emencia/django/newsletter/locale/it/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/it/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/it/LC_MESSAGES/django.po deleted file mode 100644 index 15c483ac..00000000 --- a/emencia/django/newsletter/locale/it/LC_MESSAGES/django.po +++ /dev/null @@ -1,854 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# Denis Darii , 2011. -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2011-09-22 11:01+0000\n" -"Last-Translator: Fantomas42 \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: it\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" - -#: forms.py:20 -msgid "Email" -msgstr "E-mail" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "Elenchi email" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "nome" - -#: models.py:40 -msgid "server host" -msgstr "host" - -#: models.py:41 -msgid "server user" -msgstr "user" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "Lascia vuoto se il server è pubblico" - -#: models.py:43 -msgid "server password" -msgstr "password" - -#: models.py:45 -msgid "server port" -msgstr "porta" - -#: models.py:46 -msgid "server use TLS" -msgstr "utilizza TLS" - -#: models.py:48 -msgid "custom headers" -msgstr "header personalizzati" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" - -#: models.py:51 -msgid "mails per hour" -msgstr "mail all'ora" - -#: models.py:93 -msgid "SMTP server" -msgstr "Server SMTP" - -#: models.py:94 -msgid "SMTP servers" -msgstr "Server SMTP" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "email" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "nome" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "cognome" - -#: models.py:103 -msgid "subscriber" -msgstr "sottoscrittore" - -#: models.py:104 -msgid "valid email" -msgstr "email valida" - -#: models.py:105 -msgid "contact tester" -msgstr "contatto di prova" - -#: models.py:106 -msgid "tags" -msgstr "tag" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "data di creazione" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "data di modifica" - -#: models.py:132 -msgid "mail format" -msgstr "formato messaggio" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "contatto" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "contatti" - -#: models.py:157 -msgid "description" -msgstr "descrizione" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "sottoscrittori" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "sottoscrizione rimossa" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "lista di distribuzione" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "liste di distribuzione" - -#: models.py:198 -msgid "draft" -msgstr "bozza" - -#: models.py:199 -msgid "waiting sending" -msgstr "in attesa di invio" - -#: models.py:200 -msgid "sending" -msgstr "invio in corso" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "inviata" - -#: models.py:202 -msgid "canceled" -msgstr "annullata" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "titolo" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "" - -#: models.py:208 -msgid "content" -msgstr "contenuto" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "Oppure incolla un URL." - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "" - -#: models.py:212 -msgid "test contacts" -msgstr "contatti di prova" - -#: models.py:215 -msgid "smtp server" -msgstr "server smtp" - -#: models.py:217 -msgid "sender" -msgstr "mittente" - -#: models.py:219 -msgid "reply to" -msgstr "rispondi a" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "stato" - -#: models.py:223 -msgid "sending date" -msgstr "data di invio" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "Usato per mostrare la newsletter sul sito." - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "newsletter" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "newsletter" - -#: models.py:258 -msgid "url" -msgstr "url" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "collegamento" - -#: models.py:271 -msgid "links" -msgstr "collegamenti" - -#: models.py:283 -msgid "file to attach" -msgstr "file da allegare" - -#: models.py:287 -msgid "attachment" -msgstr "allegato" - -#: models.py:288 -msgid "attachments" -msgstr "allegati" - -#: models.py:308 -msgid "sent in test" -msgstr "inviata in prova" - -#: models.py:310 -msgid "error" -msgstr "errore" - -#: models.py:311 -msgid "invalid email" -msgstr "email non valida" - -#: models.py:312 -msgid "opened" -msgstr "aperta" - -#: models.py:313 -msgid "opened on site" -msgstr "aperta sul sito" - -#: models.py:314 -msgid "link opened" -msgstr "collegamento seguito" - -#: models.py:315 -msgid "unsubscription" -msgstr "annullamento sottoscrizione" - -#: models.py:333 -msgid "contact mailing status" -msgstr "stato del contatto" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "stati del contatto" - -#: models.py:340 -msgid "permissions group" -msgstr "permessi del gruppo" - -#: models.py:353 -msgid "workgroup" -msgstr "gruppo di lavoro" - -#: models.py:354 -msgid "workgroups" -msgstr "gruppi di lavoro" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "Stato" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "Avanzate" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "Nessun oggetto correlato" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "Oggetto correlato" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "Sottoscrizioni totali" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "Esporta i contatti come VCard" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "Esporta i contatti come Excel" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "Nuova lista di distribuzione per %s" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "Nuova lista di distribuzione creata in amministrazione per %s" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "%s creata con successo." - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "Crea una lista di distribuzione" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "%s contatti importati con successo." - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "Importazione contatti" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "Seleziona almento 2 liste di distribuzione." - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "Unione delle liste per %s" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "Lista di distribuzione creata per unione per %s" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "%s creata con successo per unione." - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "Unisci le liste di distribuzione selezionate" - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "Esporta i sottoscrittori" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "Esporta" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "Destinatari" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "Invio in corso" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "Varie" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "Predefinito" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "Impossibile scaricare l'HTML, a causa di errori nel codice." - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "Si prega di installare LXML per il parsing di URL." - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "Mostra storico" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "Non disponibile" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "Storico" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "Mostra statistiche" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "Statistiche" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "Impossibile inviare la newsletter, per errori nel codice HTML." - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "%s inviata con successo." - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "Nessun contatto assegnato a %s." - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "Invia email di test" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "%s newsletter sono pronte per l'invio" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "Prepara per l'invio" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "%s newsletter sono annullate" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "Annulla l'invio" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "" - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "" - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "Configurazione" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "Verifica connessione" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "Lunghezza contatti" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "Lunghezza lista di distribuzione" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "Lunghezza newsletter" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "Modulo di abbonamento" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "mostra descrizione" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "" - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "Mailing List per abbonarsi." - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "Aggiungi %(name)s" - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "Azioni" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "Importazione %(name)ss" - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "Aggiungi ad una lista" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "Esporta %(name)s come VCard" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "Esporta %(name)s come Excel" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "Pagina iniziale" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "Importazione" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "Excel" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "File excel (. xls)" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "Importa contatti da un file Excel." - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "" - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "" - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "Importa" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "Testo" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "File di testo (.txt, .csv)" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "" - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "" - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "VCard" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "File VCard (.cvf)" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "" - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "Abbonati alla mailing list" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "Grazie per il vostro abbonamento!" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "Convalida questo form per abbonarti alla mailing list." - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "Abbonati" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "Annullamento sottoscrizione" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "" -"La tua sottoscrizione a questa lista di distribuzione è stata rimossa." - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "" -"Conferma questo indirizzo per rimuovere la sottoscrizione a questa lista di " -"distribuzione." - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "Rimuovi la sottoscrizione" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "Pagina iniziale" - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "Data" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "Contatto" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "Azione" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "Se non riesci a vedere questa e-mail," - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "clicca qui" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "Per annullare l'iscrizione a questa mailing list," - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "Grafico consultazione" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "Periodo" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "Statistiche di diffusione" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "Totale aperture" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "Aperture sul sito" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "Totale aperture univoche" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "Stato di recapito sconosciuto" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "Annullamento sottoscrizioni" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "Media aperture" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "Statistiche collegamenti" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "Totale collegamenti seguiti" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "Totale collegamenti univoci seguiti " - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "Collegamenti seguiti per apertura" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "Media collegamenti seguiti" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "Report" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "Scarica report in CSV" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "Informazioni" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "Destinatari" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "Mostra" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "Data di invio" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "Prove inviate" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "Collegamenti popolari" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "Mappa densità" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "Nessun collegamento popolare." - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "Ti sei iscritto correttamente alla mailing list!" - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "" - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "Statistiche di %s" - -#: views/statistics.py:76 -msgid "openings" -msgstr "aperture" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "#val# aperture" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "#val# click" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "Storico di %s" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/locale/ja/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/ja/LC_MESSAGES/django.mo deleted file mode 100644 index a6b8e964..00000000 Binary files a/emencia/django/newsletter/locale/ja/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/ja/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/ja/LC_MESSAGES/django.po deleted file mode 100644 index 00d47cb4..00000000 --- a/emencia/django/newsletter/locale/ja/LC_MESSAGES/django.po +++ /dev/null @@ -1,850 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2010-11-30 00:55+0000\n" -"Last-Translator: Fantomas \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ja\n" -"Plural-Forms: nplurals=1; plural=0\n" - -#: forms.py:20 -msgid "Email" -msgstr "" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "" - -#: models.py:40 -msgid "server host" -msgstr "" - -#: models.py:41 -msgid "server user" -msgstr "" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "" - -#: models.py:43 -msgid "server password" -msgstr "" - -#: models.py:45 -msgid "server port" -msgstr "" - -#: models.py:46 -msgid "server use TLS" -msgstr "" - -#: models.py:48 -msgid "custom headers" -msgstr "" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" - -#: models.py:51 -msgid "mails per hour" -msgstr "" - -#: models.py:93 -msgid "SMTP server" -msgstr "" - -#: models.py:94 -msgid "SMTP servers" -msgstr "" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "" - -#: models.py:103 -msgid "subscriber" -msgstr "" - -#: models.py:104 -msgid "valid email" -msgstr "" - -#: models.py:105 -msgid "contact tester" -msgstr "" - -#: models.py:106 -msgid "tags" -msgstr "" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "" - -#: models.py:132 -msgid "mail format" -msgstr "" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "" - -#: models.py:157 -msgid "description" -msgstr "" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "" - -#: models.py:198 -msgid "draft" -msgstr "" - -#: models.py:199 -msgid "waiting sending" -msgstr "" - -#: models.py:200 -msgid "sending" -msgstr "" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "" - -#: models.py:202 -msgid "canceled" -msgstr "" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "" - -#: models.py:208 -msgid "content" -msgstr "" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "" - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "" - -#: models.py:212 -msgid "test contacts" -msgstr "" - -#: models.py:215 -msgid "smtp server" -msgstr "" - -#: models.py:217 -msgid "sender" -msgstr "" - -#: models.py:219 -msgid "reply to" -msgstr "" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "" - -#: models.py:223 -msgid "sending date" -msgstr "" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "" - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "" - -#: models.py:258 -msgid "url" -msgstr "" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "" - -#: models.py:271 -msgid "links" -msgstr "" - -#: models.py:283 -msgid "file to attach" -msgstr "" - -#: models.py:287 -msgid "attachment" -msgstr "" - -#: models.py:288 -msgid "attachments" -msgstr "" - -#: models.py:308 -msgid "sent in test" -msgstr "" - -#: models.py:310 -msgid "error" -msgstr "" - -#: models.py:311 -msgid "invalid email" -msgstr "" - -#: models.py:312 -msgid "opened" -msgstr "" - -#: models.py:313 -msgid "opened on site" -msgstr "" - -#: models.py:314 -msgid "link opened" -msgstr "" - -#: models.py:315 -msgid "unsubscription" -msgstr "" - -#: models.py:333 -msgid "contact mailing status" -msgstr "" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "" - -#: models.py:340 -msgid "permissions group" -msgstr "" - -#: models.py:353 -msgid "workgroup" -msgstr "" - -#: models.py:354 -msgid "workgroups" -msgstr "" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "" - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "" - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "" - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "" - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "" - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "" - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "" - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "" - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "" - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "" - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "" - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "" - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "" - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "" - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "" - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "" - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "" - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "" - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "" - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "" - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "" - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "" - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "" - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "" - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "" - -#: views/statistics.py:76 -msgid "openings" -msgstr "" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/locale/nl/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/nl/LC_MESSAGES/django.mo deleted file mode 100644 index ded6b2f9..00000000 Binary files a/emencia/django/newsletter/locale/nl/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/nl/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/nl/LC_MESSAGES/django.po deleted file mode 100644 index cdc38e74..00000000 --- a/emencia/django/newsletter/locale/nl/LC_MESSAGES/django.po +++ /dev/null @@ -1,853 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# Marc Dierckx , 2011. -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2011-11-05 09:20+0000\n" -"Last-Translator: felarov \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: nl\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" - -#: forms.py:20 -msgid "Email" -msgstr "Email" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "Mailing Lijst" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "Naam" - -#: models.py:40 -msgid "server host" -msgstr "Server host" - -#: models.py:41 -msgid "server user" -msgstr "Server gebruiker" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "Leeg laten voor een publieke host" - -#: models.py:43 -msgid "server password" -msgstr "Server paswoord" - -#: models.py:45 -msgid "server port" -msgstr "Server port" - -#: models.py:46 -msgid "server use TLS" -msgstr "Server gebruikt TLS" - -#: models.py:48 -msgid "custom headers" -msgstr "Eigen headers" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" - -#: models.py:51 -msgid "mails per hour" -msgstr "Mails per uur" - -#: models.py:93 -msgid "SMTP server" -msgstr "SMTP Server" - -#: models.py:94 -msgid "SMTP servers" -msgstr "SMTP Servers" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "Email" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "Voornaam" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "Familienaam" - -#: models.py:103 -msgid "subscriber" -msgstr "Abonnent" - -#: models.py:104 -msgid "valid email" -msgstr "Geldig email" - -#: models.py:105 -msgid "contact tester" -msgstr "Contact tester" - -#: models.py:106 -msgid "tags" -msgstr "Tags" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "Creatiedatum" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "Veranderingsdatum" - -#: models.py:132 -msgid "mail format" -msgstr "Mail formaat" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "Contact" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "Contacten" - -#: models.py:157 -msgid "description" -msgstr "Beschrijving" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "Abonnenten" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "Afgemeld" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "Mailing lijst" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "Mailing lijsten" - -#: models.py:198 -msgid "draft" -msgstr "Klad" - -#: models.py:199 -msgid "waiting sending" -msgstr "Wacht tot zending" - -#: models.py:200 -msgid "sending" -msgstr "Zenden" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "Gezonden" - -#: models.py:202 -msgid "canceled" -msgstr "Geannuleerd" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "Titel" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "" - -#: models.py:208 -msgid "content" -msgstr "Inhoud" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "of kleef een URL" - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "Bewerk hier uw nieuwsbrief" - -#: models.py:212 -msgid "test contacts" -msgstr "Testcontacten" - -#: models.py:215 -msgid "smtp server" -msgstr "smtp Server" - -#: models.py:217 -msgid "sender" -msgstr "Zender" - -#: models.py:219 -msgid "reply to" -msgstr "Antwoord aan" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "Status" - -#: models.py:223 -msgid "sending date" -msgstr "Zenddatum" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "Naam die wordt getoond op de website" - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "nieuwsbrief" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "nieuwsbrieven" - -#: models.py:258 -msgid "url" -msgstr "URL" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "link" - -#: models.py:271 -msgid "links" -msgstr "link" - -#: models.py:283 -msgid "file to attach" -msgstr "file voor de annex" - -#: models.py:287 -msgid "attachment" -msgstr "annex" - -#: models.py:288 -msgid "attachments" -msgstr "annex" - -#: models.py:308 -msgid "sent in test" -msgstr "zend als test" - -#: models.py:310 -msgid "error" -msgstr "fout" - -#: models.py:311 -msgid "invalid email" -msgstr "ongeldig email" - -#: models.py:312 -msgid "opened" -msgstr "geopend" - -#: models.py:313 -msgid "opened on site" -msgstr "geopend op de website" - -#: models.py:314 -msgid "link opened" -msgstr "link geopend" - -#: models.py:315 -msgid "unsubscription" -msgstr "afgemeld" - -#: models.py:333 -msgid "contact mailing status" -msgstr "mailing status" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "mailing status" - -#: models.py:340 -msgid "permissions group" -msgstr "groep met rechten" - -#: models.py:353 -msgid "workgroup" -msgstr "werkgroep" - -#: models.py:354 -msgid "workgroups" -msgstr "werkgroepen" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "status" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "Gevorderd" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "Geen relatief object" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "Verwant object" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "Totaal aantal abonnentenl " - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "Contactpersonen exporteren als vCard" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "Contactpersonen exporteren als vCard" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "Nieuwe mailing lijst op %s" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "Nieuwe mailinglijst gemaakt in admin at %s" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "%s met succes aangemaakt." - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "Maak een mailing lijst" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "%s contacten met success geïmporteerd." - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "Import" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "Selecteer ten minste 2 mailinglijsten." - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "Samenvoegen van de lijst op %s" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "Mailing lijst gemaakt door het samenvoegen op %s" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "%s met succes aangemaakt door tesamenvoeging." - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "Tesamenvoegen van de geselecteerde mailinglijsten" - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "Export Abonnenten" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "Export" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "Ontvangers" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "Verzenden" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "Diversen" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "Standaard" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "Interne fouten tijdens het downloaden." - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "" - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "Bekijk de historiek" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "Niet beschikbaar" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "Historiek" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "Bekijk de statistieken" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "Statistiek" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "nterne HTML-fouten verhinderen de verzending" - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "%s succesvol verstuurd." - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "Geen testcontact toegewezen voor %s." - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "Stuur e-mail-test" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "%s nieuwsbrieven zijn klaar om te verzenden" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "Maak het \"klaar om te verzenden\"" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "%s nieuwsbrieven werden geannuleerd" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "Annuleer de verzending" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "" - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "" - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "Configuratie" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "Geldige verbinding" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "Aantal contacten" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "Aantal mailinglijsten" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "Aantal nieuwsbrieven" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "Uitschrijven" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "Beschrijving" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "Beschrijving van de mailing lijst" - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "Aantal mailinglijsten" - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "Voeg %(name)s toe" - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "Actie" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "Import %(name)s " - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "Maak een mailing list" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "Contactpersonen exporteren als vCard" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "Export %(name)s " - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "Startpagina" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "Import" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "Excel" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "Excel-bestand (.xls)" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "Contactpersonen exporteren als vCard" - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "Kolommen beschikbaar zijn [email] [achternaam] [voornaam] [tags]." - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "Alle kolommen zijn optionaal behalve e-mail." - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "Import" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "Tekst" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "Tekstbestand (.txt,.csv)" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "Contactpersonen importeren uit een tekstbestand of een CSV-bestand." - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "" -"Kolommen beschikbaar zijn [email] [achternaam] [voornaam] [tags], gesplitst " -"door een punt coma." - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "VCard" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "VCard-bestand (.cvf)" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "" - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "Basis text" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "Maak een mailing lijst" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "Totaal Abonnementen" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "Abonnent" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "Uitschrijven" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "" - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "Indien deze e-mail niet zichtbaar is," - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "Klik hier" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "Je bent van deze mailing lijst afgemeld." - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "" - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "Je bent een lid van deze mailing lijst" - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "Mailing lijst gemaakt door het samenvoegen van %s" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "Import" - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "" - -#: views/statistics.py:76 -msgid "openings" -msgstr "Totaal aantal abonnementen" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "Totaal aantal abonnementen" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "#val# klikken" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "Historiek van %s" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/locale/pt/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/pt/LC_MESSAGES/django.mo deleted file mode 100644 index 8a9e4c23..00000000 Binary files a/emencia/django/newsletter/locale/pt/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/pt/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/pt/LC_MESSAGES/django.po deleted file mode 100644 index 55d82bad..00000000 --- a/emencia/django/newsletter/locale/pt/LC_MESSAGES/django.po +++ /dev/null @@ -1,850 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2010-11-30 00:55+0000\n" -"Last-Translator: Fantomas \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: pt\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" - -#: forms.py:20 -msgid "Email" -msgstr "" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "" - -#: models.py:40 -msgid "server host" -msgstr "" - -#: models.py:41 -msgid "server user" -msgstr "" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "" - -#: models.py:43 -msgid "server password" -msgstr "" - -#: models.py:45 -msgid "server port" -msgstr "" - -#: models.py:46 -msgid "server use TLS" -msgstr "" - -#: models.py:48 -msgid "custom headers" -msgstr "" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" - -#: models.py:51 -msgid "mails per hour" -msgstr "" - -#: models.py:93 -msgid "SMTP server" -msgstr "" - -#: models.py:94 -msgid "SMTP servers" -msgstr "" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "" - -#: models.py:103 -msgid "subscriber" -msgstr "" - -#: models.py:104 -msgid "valid email" -msgstr "" - -#: models.py:105 -msgid "contact tester" -msgstr "" - -#: models.py:106 -msgid "tags" -msgstr "" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "" - -#: models.py:132 -msgid "mail format" -msgstr "" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "" - -#: models.py:157 -msgid "description" -msgstr "" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "" - -#: models.py:198 -msgid "draft" -msgstr "" - -#: models.py:199 -msgid "waiting sending" -msgstr "" - -#: models.py:200 -msgid "sending" -msgstr "" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "" - -#: models.py:202 -msgid "canceled" -msgstr "" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "" - -#: models.py:208 -msgid "content" -msgstr "" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "" - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "" - -#: models.py:212 -msgid "test contacts" -msgstr "" - -#: models.py:215 -msgid "smtp server" -msgstr "" - -#: models.py:217 -msgid "sender" -msgstr "" - -#: models.py:219 -msgid "reply to" -msgstr "" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "" - -#: models.py:223 -msgid "sending date" -msgstr "" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "" - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "" - -#: models.py:258 -msgid "url" -msgstr "" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "" - -#: models.py:271 -msgid "links" -msgstr "" - -#: models.py:283 -msgid "file to attach" -msgstr "" - -#: models.py:287 -msgid "attachment" -msgstr "" - -#: models.py:288 -msgid "attachments" -msgstr "" - -#: models.py:308 -msgid "sent in test" -msgstr "" - -#: models.py:310 -msgid "error" -msgstr "" - -#: models.py:311 -msgid "invalid email" -msgstr "" - -#: models.py:312 -msgid "opened" -msgstr "" - -#: models.py:313 -msgid "opened on site" -msgstr "" - -#: models.py:314 -msgid "link opened" -msgstr "" - -#: models.py:315 -msgid "unsubscription" -msgstr "" - -#: models.py:333 -msgid "contact mailing status" -msgstr "" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "" - -#: models.py:340 -msgid "permissions group" -msgstr "" - -#: models.py:353 -msgid "workgroup" -msgstr "" - -#: models.py:354 -msgid "workgroups" -msgstr "" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "" - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "" - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "" - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "" - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "" - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "" - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "" - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "" - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "" - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "" - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "" - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "" - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "" - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "" - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "" - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "" - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "" - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "" - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "" - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "" - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "" - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "" - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "" - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "" - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "" - -#: views/statistics.py:76 -msgid "openings" -msgstr "" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/locale/pt_BR/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/pt_BR/LC_MESSAGES/django.mo deleted file mode 100644 index 1539a65d..00000000 Binary files a/emencia/django/newsletter/locale/pt_BR/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/pt_BR/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/pt_BR/LC_MESSAGES/django.po deleted file mode 100644 index b7d2cddb..00000000 --- a/emencia/django/newsletter/locale/pt_BR/LC_MESSAGES/django.po +++ /dev/null @@ -1,852 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# Fábio , 2011. -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2011-09-22 11:01+0000\n" -"Last-Translator: Fantomas42 \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: pt_BR\n" -"Plural-Forms: nplurals=2; plural=(n > 1)\n" - -#: forms.py:20 -msgid "Email" -msgstr "Email" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "Nome" - -#: models.py:40 -msgid "server host" -msgstr "Host do servidor" - -#: models.py:41 -msgid "server user" -msgstr "Usuário do servidor" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "Deixar vazio se o host é público." - -#: models.py:43 -msgid "server password" -msgstr "Senha do servidor" - -#: models.py:45 -msgid "server port" -msgstr "Porta do servidor" - -#: models.py:46 -msgid "server use TLS" -msgstr "Servidor usa TLS" - -#: models.py:48 -msgid "custom headers" -msgstr "cabeçalhos personalizados" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" - -#: models.py:51 -msgid "mails per hour" -msgstr "mensagens por hora" - -#: models.py:93 -msgid "SMTP server" -msgstr "Servidor de SMTP" - -#: models.py:94 -msgid "SMTP servers" -msgstr "Servidores de SMTP" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "Email" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "Primeiro nome" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "Sobrenome" - -#: models.py:103 -msgid "subscriber" -msgstr "Assinante" - -#: models.py:104 -msgid "valid email" -msgstr "E-mail válido" - -#: models.py:105 -msgid "contact tester" -msgstr "Testador de contato" - -#: models.py:106 -msgid "tags" -msgstr "Tags" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "Data de criação" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "Data de modificação" - -#: models.py:132 -msgid "mail format" -msgstr "Formato de mensagem" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "contato" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "contatos" - -#: models.py:157 -msgid "description" -msgstr "Descrição" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "Assinantes" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "" - -#: models.py:198 -msgid "draft" -msgstr "Rascunho" - -#: models.py:199 -msgid "waiting sending" -msgstr "Aguardando o envio" - -#: models.py:200 -msgid "sending" -msgstr "Enviando" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "Enviado" - -#: models.py:202 -msgid "canceled" -msgstr "Cancelado" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "Título" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "" - -#: models.py:208 -msgid "content" -msgstr "Conteúdo" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "" - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "Edite seu boletim informativo aqui" - -#: models.py:212 -msgid "test contacts" -msgstr "" - -#: models.py:215 -msgid "smtp server" -msgstr "Servidor SMTP" - -#: models.py:217 -msgid "sender" -msgstr "Remetente" - -#: models.py:219 -msgid "reply to" -msgstr "Responder para" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "Estado" - -#: models.py:223 -msgid "sending date" -msgstr "Data de envio" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "Usado para exibir o boletim informativo no site." - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "boletim informativo" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "boletins informativos" - -#: models.py:258 -msgid "url" -msgstr "url" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "link" - -#: models.py:271 -msgid "links" -msgstr "link" - -#: models.py:283 -msgid "file to attach" -msgstr "arquivo para anexar" - -#: models.py:287 -msgid "attachment" -msgstr "anexo" - -#: models.py:288 -msgid "attachments" -msgstr "anexos" - -#: models.py:308 -msgid "sent in test" -msgstr "Enviado em teste" - -#: models.py:310 -msgid "error" -msgstr "Erro" - -#: models.py:311 -msgid "invalid email" -msgstr "E-mail inválido" - -#: models.py:312 -msgid "opened" -msgstr "Aberto" - -#: models.py:313 -msgid "opened on site" -msgstr "" - -#: models.py:314 -msgid "link opened" -msgstr "Link abriu" - -#: models.py:315 -msgid "unsubscription" -msgstr "" - -#: models.py:333 -msgid "contact mailing status" -msgstr "" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "" - -#: models.py:340 -msgid "permissions group" -msgstr "Grupo de permissões" - -#: models.py:353 -msgid "workgroup" -msgstr "Grupo de Trabalho" - -#: models.py:354 -msgid "workgroups" -msgstr "Grupos de Trabalho" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "Estado" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "Avançado" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "Total de Assinaturas" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "Exportar contatos para formato VCard" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "Exportar contatos para formato VCard" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "%s criado com sucesso." - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "%s contatos importados com êxito." - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "Importar" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "" - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "" - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "" - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "Exportar Assinantes" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "Exportar" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "Enviando" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "Diversos" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "Padrão" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "Não é possível baixar HTML, devido a erros internos." - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "Por favor, instale lxml para analisar uma URL." - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "Visualizar histórico" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "Não disponível" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "Visualizar estatísticas" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "Estatísticas" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "" -"Não foi possível enviar o boletim informativo, devido a erros HTML internos." - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "%s enviado com sucesso." - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "" - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "Torná-lo \"pronto para enviar\"" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "Cancelar o envio" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "" - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "" - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "Configuração" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "Conexão válida" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "Número de contatos" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "Número do boletim informativos" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "Descrição" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "" - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "Adicionar %(name)s " - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "Ação" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "Importar %(name)s" - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "Início" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "Importar" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "" - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "" - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "Todas as colunas são opcionais com exceção da coluna e-mail." - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "Importar" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "Texto" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "Arquivo de texto (.txt, .csv)" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "Importar contatos de um arquivo de texto ou um arquivo CSV." - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "" - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "" - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "" - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "Data" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "Contato" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "Ação" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "" - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "clique aqui" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "Consultar Histograma" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "Período" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "Visualizar estatísticas" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "Total de Assinaturas" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "Visualizar estatísticas" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "Total de Assinaturas" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "Total de links clicados um única vez" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "Total de Assinaturas" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "Exportar relatório" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "Download relatório em CSV" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "Importar" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "Visualizar" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "Data de envio" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "Top Links" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "Mapa de densidade" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "" - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "" - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "" - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "Estatísticas de %s" - -#: views/statistics.py:76 -msgid "openings" -msgstr "Total de Assinaturas" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "Total de Assinaturas" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "Histórico de %s" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/locale/ro/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/ro/LC_MESSAGES/django.mo deleted file mode 100644 index d989bebc..00000000 Binary files a/emencia/django/newsletter/locale/ro/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/ro/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/ro/LC_MESSAGES/django.po deleted file mode 100644 index af7117db..00000000 --- a/emencia/django/newsletter/locale/ro/LC_MESSAGES/django.po +++ /dev/null @@ -1,851 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# Denis Darii , 2011. -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2011-09-22 11:01+0000\n" -"Last-Translator: Fantomas42 \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ro\n" -"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1))\n" - -#: forms.py:20 -msgid "Email" -msgstr "E-mail" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "Listele de corespondenţă" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "numele" - -#: models.py:40 -msgid "server host" -msgstr "server gazdă" - -#: models.py:41 -msgid "server user" -msgstr "utilizatorul serverului" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "Lăsaţi-l gol în cazul în care hostul este public." - -#: models.py:43 -msgid "server password" -msgstr "parola server" - -#: models.py:45 -msgid "server port" -msgstr "poartă server" - -#: models.py:46 -msgid "server use TLS" -msgstr "serverul folosește TLS" - -#: models.py:48 -msgid "custom headers" -msgstr "antetele personalizate" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" - -#: models.py:51 -msgid "mails per hour" -msgstr "mailuri pe oră" - -#: models.py:93 -msgid "SMTP server" -msgstr "SMTP server" - -#: models.py:94 -msgid "SMTP servers" -msgstr "servere SMTP" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "e-mail" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "prenume" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "nume" - -#: models.py:103 -msgid "subscriber" -msgstr "abonat" - -#: models.py:104 -msgid "valid email" -msgstr "email valid" - -#: models.py:105 -msgid "contact tester" -msgstr "contactează tester" - -#: models.py:106 -msgid "tags" -msgstr "tag-uri" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "data creării" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "data modificării" - -#: models.py:132 -msgid "mail format" -msgstr "formatul emailului" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "contact" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "contacte" - -#: models.py:157 -msgid "description" -msgstr "descriere" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "abonaţi" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "dez" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "listele de corespondenţă" - -#: models.py:198 -msgid "draft" -msgstr "draft" - -#: models.py:199 -msgid "waiting sending" -msgstr "aşteptare trimiterea" - -#: models.py:200 -msgid "sending" -msgstr "trimitere" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "trimis" - -#: models.py:202 -msgid "canceled" -msgstr "anulat" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "titlu" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "" - -#: models.py:208 -msgid "content" -msgstr "conţinut" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "" - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "" - -#: models.py:212 -msgid "test contacts" -msgstr "" - -#: models.py:215 -msgid "smtp server" -msgstr "smtp server" - -#: models.py:217 -msgid "sender" -msgstr "expeditor" - -#: models.py:219 -msgid "reply to" -msgstr "răspuns la" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "statutul" - -#: models.py:223 -msgid "sending date" -msgstr "data trimiterii" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "" - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "buletin de ştiri" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "buletine de ştiri" - -#: models.py:258 -msgid "url" -msgstr "url" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "link-ul" - -#: models.py:271 -msgid "links" -msgstr "Link-uri" - -#: models.py:283 -msgid "file to attach" -msgstr "fişier de ataşat" - -#: models.py:287 -msgid "attachment" -msgstr "ataşament" - -#: models.py:288 -msgid "attachments" -msgstr "ataşamente" - -#: models.py:308 -msgid "sent in test" -msgstr "trimis în test" - -#: models.py:310 -msgid "error" -msgstr "eroare" - -#: models.py:311 -msgid "invalid email" -msgstr "email nevalid" - -#: models.py:312 -msgid "opened" -msgstr "deschis" - -#: models.py:313 -msgid "opened on site" -msgstr "" - -#: models.py:314 -msgid "link opened" -msgstr "" - -#: models.py:315 -msgid "unsubscription" -msgstr "" - -#: models.py:333 -msgid "contact mailing status" -msgstr "" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "" - -#: models.py:340 -msgid "permissions group" -msgstr "" - -#: models.py:353 -msgid "workgroup" -msgstr "" - -#: models.py:354 -msgid "workgroups" -msgstr "grupuri de lucru" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "Status" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "Avansat" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "Total abonați" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "" - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "Creaţi o lista de emailuri" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "" - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "Importarea contactelor" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "" - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "" - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "" - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "Exportați abonații" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "Export" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "Beneficiarii" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "Trimitere" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "Implicit" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "" - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "" - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "Vezi istoric" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "Istoric" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "Vezi statistici" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "Statistici" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "" - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "" - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "" - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "" - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "" - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "" - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "" - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "" - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "" - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "" - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "" - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "" - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "" - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "" - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "" - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "" - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "" - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "" - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "" - -#: views/statistics.py:76 -msgid "openings" -msgstr "" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/locale/ru/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/ru/LC_MESSAGES/django.mo deleted file mode 100644 index b97ca5dd..00000000 Binary files a/emencia/django/newsletter/locale/ru/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/ru/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/ru/LC_MESSAGES/django.po deleted file mode 100644 index 4fc9ce2a..00000000 --- a/emencia/django/newsletter/locale/ru/LC_MESSAGES/django.po +++ /dev/null @@ -1,858 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# Oleg Prans , 2011. -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2011-09-22 11:01+0000\n" -"Last-Translator: Fantomas42 \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: ru\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" - -#: forms.py:20 -msgid "Email" -msgstr "Е-мейл" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "Список рассылки" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "наименование" - -#: models.py:40 -msgid "server host" -msgstr "хост сервера" - -#: models.py:41 -msgid "server user" -msgstr "пользователь сервера" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "Оставить незаполненным если хост публичный." - -#: models.py:43 -msgid "server password" -msgstr "пароль сервера" - -#: models.py:45 -msgid "server port" -msgstr "порт сервера" - -#: models.py:46 -msgid "server use TLS" -msgstr "сервер использует TLS" - -#: models.py:48 -msgid "custom headers" -msgstr "собственные заголовки" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" -"ключ1: значение1 ключ2: значение2, все с новой строки.\n" -"Используется для изменения хидеров, если ваш провайдер разрешает это." - -#: models.py:51 -msgid "mails per hour" -msgstr "мейлов в час" - -#: models.py:93 -msgid "SMTP server" -msgstr "SMTP сервер" - -#: models.py:94 -msgid "SMTP servers" -msgstr "SMTP серверы" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "е-мейл" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "имя" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "фамилия" - -#: models.py:103 -msgid "subscriber" -msgstr "посписчик" - -#: models.py:104 -msgid "valid email" -msgstr "валидный е-мейл" - -#: models.py:105 -msgid "contact tester" -msgstr "контакт тестер" - -#: models.py:106 -msgid "tags" -msgstr "тэги" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "дата создания" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "дата изменения" - -#: models.py:132 -msgid "mail format" -msgstr "формат е-мейла" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "контакт" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "контакты" - -#: models.py:157 -msgid "description" -msgstr "описание" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "подписчики" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "отказавшиеся от подписки" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "список рассылки" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "списки рассылки" - -#: models.py:198 -msgid "draft" -msgstr "черновик" - -#: models.py:199 -msgid "waiting sending" -msgstr "ожидание отправки" - -#: models.py:200 -msgid "sending" -msgstr "отправка" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "отправлено" - -#: models.py:202 -msgid "canceled" -msgstr "отменено" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "заголовок" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "" -"Вы можете использовать \"{{ UNIQUE_KEY }}\" переменную для уникальной " -"идентификации внутри заголовка рассылки новостей." - -#: models.py:208 -msgid "content" -msgstr "контент" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "Или вставьте УРЛ." - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "" -"\n" -"\n" -"" - -#: models.py:212 -msgid "test contacts" -msgstr "тестовые контакты" - -#: models.py:215 -msgid "smtp server" -msgstr "smtp сервер" - -#: models.py:217 -msgid "sender" -msgstr "отправитель" - -#: models.py:219 -msgid "reply to" -msgstr "копия для" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "статус" - -#: models.py:223 -msgid "sending date" -msgstr "дата отправки" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "Используется для показа текста рассылки на сайте." - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "текст рассылки" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "тексты рассылок" - -#: models.py:258 -msgid "url" -msgstr "урл" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "линк" - -#: models.py:271 -msgid "links" -msgstr "линки" - -#: models.py:283 -msgid "file to attach" -msgstr "прикрепленный файл" - -#: models.py:287 -msgid "attachment" -msgstr "включение" - -#: models.py:288 -msgid "attachments" -msgstr "включения" - -#: models.py:308 -msgid "sent in test" -msgstr "отпралено для теста" - -#: models.py:310 -msgid "error" -msgstr "ошибка" - -#: models.py:311 -msgid "invalid email" -msgstr "неправильный е-мейл" - -#: models.py:312 -msgid "opened" -msgstr "открыт" - -#: models.py:313 -msgid "opened on site" -msgstr "открыт на сайте" - -#: models.py:314 -msgid "link opened" -msgstr "линк открыт" - -#: models.py:315 -msgid "unsubscription" -msgstr "отказ от подписки" - -#: models.py:333 -msgid "contact mailing status" -msgstr "статус отправки е-мейла подписчику" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "статусы отправок е-мейлов подписчикам" - -#: models.py:340 -msgid "permissions group" -msgstr "разрешения групп" - -#: models.py:353 -msgid "workgroup" -msgstr "рабочая группа" - -#: models.py:354 -msgid "workgroups" -msgstr "рабочие группы" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "Статус" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "Дополнительно" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "Нет родительского объекта" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "Родительский объект" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "Всего подписок" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "Экспорт контактов из VCard" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "Экспорт контактов из Excel" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "Новый список рассыки на %s" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "Новый список рассыки создан в админке на %s" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "%s успешно создано." - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "Создать список рассылки" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "%s контактов успешно импортировано." - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "Импорт контакта" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "Пожалуйста выберите как минимум 2 списка рассылок." - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "Добавить список к %s" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "Список рассылки добавлен к %s" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "%s успешно добавлен." - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "Добавить выбранные списки рассылок" - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "Экспорт подписчиков" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "Экспорт" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "Получатели" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "Отправка" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "Прочее" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "По-умолчанию" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "Невозможно загрузить HTML, есть ошибки." - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "Пожалуйста установите lxml для парсинга урлов." - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "Посмотреть историю" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "Недоступно" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "История" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "Посмотреть статистику" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "Статистика" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "Невозможно отправить рассылку, есть ошибки HTML." - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "%s успешно отправлено." - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "Нет тестовых контактов относящихся к %s." - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "Отпрака тестового е-мейла" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "%s рассылка готова к отправке" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "Подготовить к отправке" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "%s рассылки отмененены" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "Отмена отправки" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "Неверный синтаксис, не забывайте использовать \":\"." - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "Неверный синтаксис, несколько условий в строке" - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "Конфигурация" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "Проверка подключения" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "Количество контактов" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "Количество списков рассылок" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "Количество рассылок новостей" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "Форма подписки" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "показ описания" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "Содержание списка рассылки." - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "Список рассылки для подписки." - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "Добавить %(name)s" - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "Акции" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "Импорт %(name)ss" - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "Добавить к списку рассылки" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "Экспорт %(name)s как VCard" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "Экспорт %(name)s как Excel" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "Главная" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "Импорт" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "Excel" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "Excel файл (.xls)" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "Импорт контактов из Excel файла." - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "Колонки [е-мейл][фамилия][имя][теги]." - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "Колонки, кроме е-мейл, не обязательны." - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "Импорт" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "Текст" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "Текстовый файл (.txt, .csv)" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "Импорт контактов из текстового или CSV файлa." - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "Колонки [е-мейл][фамиля][имя][теги] разделяются точкой с запятой." - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "VCard" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "VCard файл (.cvf)" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "Импорт контактов из вашего е-мейл клиента, посредством VCard файла." - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "Подписка на е-мейл рассылку" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "Спасибо за вашу подписку!" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "Проверка этой формы для подписки на рассылку." - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "Подписка" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "Отказ от подписки" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "Ваш отказ от подписки на рассылку." - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "Проверка этой формы для отказа от подписки на рассылку." - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "Отказ от подписки" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "Админ." - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "Дата" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "Контакт" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "Акция" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "Если вы не можете видеть этот е-мейл," - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "кликните здесь" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "Для отказа от подписки на эту рассылку," - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "Гистограмма" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "Период" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "Статистика публикаций" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "Всего открыто" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "Открыто на сайте" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "Всего уникальных открытий" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "Доставка по-умолчанию" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "Отказы от подписки" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "Открывалось в среднем" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "Линки статистики" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "Всего кликов на линки" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "Всего уникальных кликов на линки" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "Клинкнуто открытых линков" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "Кликнуто линков в среднем" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "Отчет" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "Загрузка CSV отчета" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "Информация" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "Пользователи" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "Просмотр" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "Дата рассылки" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "Тестовая рассылка" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "Популярные линки" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "Карта нагрузки" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "Пока непопулярные линки." - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "Вы успешно подписались на е-мейл рассылку!" - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "Список рассылки создан с помощью импорта %s" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "Контакты импортированы из %s." - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "Статистика %s" - -#: views/statistics.py:76 -msgid "openings" -msgstr "открыто" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "#val# открыто" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "#val# кликов" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "История %s" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/locale/sk_SK/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/sk_SK/LC_MESSAGES/django.mo deleted file mode 100644 index ed388c16..00000000 Binary files a/emencia/django/newsletter/locale/sk_SK/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/sk_SK/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/sk_SK/LC_MESSAGES/django.po deleted file mode 100644 index 65f02779..00000000 --- a/emencia/django/newsletter/locale/sk_SK/LC_MESSAGES/django.po +++ /dev/null @@ -1,853 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# , 2011. -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2011-09-22 11:01+0000\n" -"Last-Translator: Fantomas42 \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: sk_SK\n" -"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2\n" - -#: forms.py:20 -msgid "Email" -msgstr "Email" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "zoznamy emailov" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "Názov" - -#: models.py:40 -msgid "server host" -msgstr "Adresa servera" - -#: models.py:41 -msgid "server user" -msgstr "Konto na serveri" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "Nechajte prázdne, ak je server verejný." - -#: models.py:43 -msgid "server password" -msgstr "Heslo" - -#: models.py:45 -msgid "server port" -msgstr "Port servera" - -#: models.py:46 -msgid "server use TLS" -msgstr "Server používa TLS" - -#: models.py:48 -msgid "custom headers" -msgstr "vlastné hlavičky" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" - -#: models.py:51 -msgid "mails per hour" -msgstr "maily za hodinu" - -#: models.py:93 -msgid "SMTP server" -msgstr "SMTP Server" - -#: models.py:94 -msgid "SMTP servers" -msgstr "SMTP Servery" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "Email" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "Krstné meno" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "Priezvisko" - -#: models.py:103 -msgid "subscriber" -msgstr "Odberateľ" - -#: models.py:104 -msgid "valid email" -msgstr "Platný email" - -#: models.py:105 -msgid "contact tester" -msgstr "Testovací kontakt" - -#: models.py:106 -msgid "tags" -msgstr "Tagy" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "Dátum vytvorenia" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "Dátum zmeny" - -#: models.py:132 -msgid "mail format" -msgstr "Formát mailu" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "kontakt" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "kontakty" - -#: models.py:157 -msgid "description" -msgstr "Popis" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "Odberatelia" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "Ex-odberatelia" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "Zoznam emailov" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "zoznamy emailov" - -#: models.py:198 -msgid "draft" -msgstr "Koncept" - -#: models.py:199 -msgid "waiting sending" -msgstr "Čaká na odoslanie" - -#: models.py:200 -msgid "sending" -msgstr "Posiela sa" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "Odoslaný" - -#: models.py:202 -msgid "canceled" -msgstr "Zrušený" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "Názov" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "" - -#: models.py:208 -msgid "content" -msgstr "Obsah" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "Alebo vložte URL" - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "" - -#: models.py:212 -msgid "test contacts" -msgstr "Testovacie kontakty" - -#: models.py:215 -msgid "smtp server" -msgstr "Smtp server" - -#: models.py:217 -msgid "sender" -msgstr "Odosielateľ" - -#: models.py:219 -msgid "reply to" -msgstr "Odpovedať na" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "Stav" - -#: models.py:223 -msgid "sending date" -msgstr "Dátum odoslania" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "Používa sa na zobrazenie newslettera na stránke." - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "newsletter" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "newsletters" - -#: models.py:258 -msgid "url" -msgstr "url" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "odkaz" - -#: models.py:271 -msgid "links" -msgstr "odkaz" - -#: models.py:283 -msgid "file to attach" -msgstr "súbor na priloženie" - -#: models.py:287 -msgid "attachment" -msgstr "príloha" - -#: models.py:288 -msgid "attachments" -msgstr "prílohy" - -#: models.py:308 -msgid "sent in test" -msgstr "Odoslané v teste" - -#: models.py:310 -msgid "error" -msgstr "Chyba" - -#: models.py:311 -msgid "invalid email" -msgstr "Nesprávny email" - -#: models.py:312 -msgid "opened" -msgstr "Otvorený" - -#: models.py:313 -msgid "opened on site" -msgstr "Otvorený na stránke" - -#: models.py:314 -msgid "link opened" -msgstr "Odkaz otvorený" - -#: models.py:315 -msgid "unsubscription" -msgstr "Odhlásenie" - -#: models.py:333 -msgid "contact mailing status" -msgstr "Stav korešpondencie" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "Stav korešpondencie" - -#: models.py:340 -msgid "permissions group" -msgstr "Skupina oprávnení" - -#: models.py:353 -msgid "workgroup" -msgstr "Pracovná skupina" - -#: models.py:354 -msgid "workgroups" -msgstr "Pracovné skupiny" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "Stav" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "Pokročilý" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "Žiaden súvisiaci objekt" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "Súvisiaci objekt" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "Odberateľov celkom" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "Exportovať kontakty ako VCard" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "Exportovať kontakty ako VCard" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "Nový zoznam emailov pre %s" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "Nový zoznam emailov vytvorená v administrácii %s" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "%s úspešne vytvorený." - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "Vytvoriť zoznam emailov" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "%s kontaktov úspešne importovaných." - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "Import" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "Prosím zvoľte aspoň 2 zoznamy emailov." - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "Zlučujem zoznam na %s" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "Zoznam emailov vytvorený zlúčením na %s" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "%s úspešne vytvorený zlúčením." - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "Zlúčiť vybrané zoznamy emailov" - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "Exportovať odberateľov" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "Export" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "Príjemcovia" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "Odosielanie" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "Rôzne" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "Základné" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "Nie je možné stiahnuť HTML, kvôli interným chybám." - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "" - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "Pozrieť históriu" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "Nie je k dispozícii" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "História" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "Pozrieť štatistiky" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "Štatistiky" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "Nie je možné odoslať newsletter, kvôli interným chybám." - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "%s úspešne odoslané." - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "Nebol priradený žiaden testovací kontakt ku %s" - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "Poslať testovací email" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "%s newletterov je pripravených na odoslanie" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "Nastaviť \"pripravené na odoslanie\"" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "%s newsletterov zrušených" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "Zrušit odosielanie" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "" - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "" - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "Nastavenia" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "Pripojenie funguje" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "Počet kontaktov" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "Počet zoznamov emailov" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "Počet newsletterov" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "" - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "" - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "Pridať %(name)s" - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "Akcia" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "Importovať %(name)s" - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "Vytvoriť zoznam mailov" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "Exportovať %(name)s ako VCard" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "Exportovať %(name)s ako Excel" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "Úvod" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "Import" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "Excel" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "Excel súbor (.xls)" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "Exportovať kontakty ako VCard" - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "Stĺpce sú [email][priezvisko][meno][tagy]" - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "Všetky stĺpce sú nepovinné okrem emailu." - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "Import" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "Text" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "Textový súbor (.txt, .csv)" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "Importovať kontakty z textového alebo CSV súboru." - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "Stĺpce sú [email][priezvisko][meno][tagy], oddelené bodkočiarkou." - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "VCard" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "VCard súbor (.csv)" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "" -"Importovať kontakty z Vášho obľúbeného emailového klienta použitím VCard " -"súboru." - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "Vytvoriť zoznam mailov" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "Spolu odberateľov" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "Overte tento formulár pre odstránenie odberateľa zo zoznamu." - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "Odberateľ" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "Odhlásenie z odoberania" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "Boli ste odhlásený z odoberania." - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "Overte tento formulár pre odstránenie odberateľa zo zoznamu." - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "Odhlásiť odoberanie" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "Admin" - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "Dátum" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "Kontakt" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "Akcia" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "" - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "Zobraziť štatistiky" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "Spolu odberateľov" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "Otvorené na stránke" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "Jednotlivé otvorenia celkovo" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "Neznáme doručenie" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "Odhlásenie z odoberania" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "Spolu odberateľov" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "Zobraziť štatistiky" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "Spolu odberateľov" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "" - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "" - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "" - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "" - -#: views/statistics.py:76 -msgid "openings" -msgstr "" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/locale/sl/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/sl/LC_MESSAGES/django.mo deleted file mode 100644 index 2a050d9a..00000000 Binary files a/emencia/django/newsletter/locale/sl/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/sl/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/sl/LC_MESSAGES/django.po deleted file mode 100644 index 7244c4fa..00000000 --- a/emencia/django/newsletter/locale/sl/LC_MESSAGES/django.po +++ /dev/null @@ -1,856 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# Primož Verdnik , 2011. -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2011-09-22 11:01+0000\n" -"Last-Translator: Fantomas42 \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3)\n" - -#: forms.py:20 -msgid "Email" -msgstr "E-pošta" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "E-poštni seznami" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "ime" - -#: models.py:40 -msgid "server host" -msgstr "naslov strežnika" - -#: models.py:41 -msgid "server user" -msgstr "uporabniško ime" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "Pustite prazno, če je strežnik javni." - -#: models.py:43 -msgid "server password" -msgstr "geslo strežnika" - -#: models.py:45 -msgid "server port" -msgstr "vrata strežnika" - -#: models.py:46 -msgid "server use TLS" -msgstr "server uporablja TLS" - -#: models.py:48 -msgid "custom headers" -msgstr "glava po meri" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "" -"ključ1: vrednost1 ključ2: vrednost2, ločeno z novo vrstico.\n" -"Uporabno za podajanje nekaterih sledilnih podatkov, če to vaš ponudnik omogoča." - -#: models.py:51 -msgid "mails per hour" -msgstr "število e-poštnih sporočil na uro" - -#: models.py:93 -msgid "SMTP server" -msgstr "SMTP strežnik" - -#: models.py:94 -msgid "SMTP servers" -msgstr "SMTP strežniki" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "e-pošta" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "ime" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "priimek" - -#: models.py:103 -msgid "subscriber" -msgstr "naročnik" - -#: models.py:104 -msgid "valid email" -msgstr "veljavni e-poštni naslov" - -#: models.py:105 -msgid "contact tester" -msgstr "testni kontakt" - -#: models.py:106 -msgid "tags" -msgstr "značke" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "ustvarjeno" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "spremenjeno" - -#: models.py:132 -msgid "mail format" -msgstr "format e-poštnega sporočila" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "kontakt" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "kontakti" - -#: models.py:157 -msgid "description" -msgstr "opis" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "naročniki" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "nenaročniki" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "e-poštni seznam" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "e-poštni seznami" - -#: models.py:198 -msgid "draft" -msgstr "osnutek" - -#: models.py:199 -msgid "waiting sending" -msgstr "pošiljanje na čakanju" - -#: models.py:200 -msgid "sending" -msgstr "pošiljanje v teku" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "poslano" - -#: models.py:202 -msgid "canceled" -msgstr "preklicano" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "naslov" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "" -"Za unikatne identifikatorje znotraj naslova lahk uporabite spremenljivko " -"\"{{ UNIQUE_KEY }}\"." - -#: models.py:208 -msgid "content" -msgstr "vsebina" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "Ali prilepite URL." - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "uredite svoje glasilo tukaj" - -#: models.py:212 -msgid "test contacts" -msgstr "testni kontakt" - -#: models.py:215 -msgid "smtp server" -msgstr "smtp strežnik" - -#: models.py:217 -msgid "sender" -msgstr "pošiljatelj" - -#: models.py:219 -msgid "reply to" -msgstr "naslov za odgovor" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "stanje" - -#: models.py:223 -msgid "sending date" -msgstr "datum pošiljanja" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "Se uporablja za prikaz glasila na spletni strani." - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "glasilo" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "glasila" - -#: models.py:258 -msgid "url" -msgstr "url" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "povezava" - -#: models.py:271 -msgid "links" -msgstr "povezava" - -#: models.py:283 -msgid "file to attach" -msgstr "datoteka za pripenjanje" - -#: models.py:287 -msgid "attachment" -msgstr "priponka" - -#: models.py:288 -msgid "attachments" -msgstr "priponke" - -#: models.py:308 -msgid "sent in test" -msgstr "poslano v sklopu testa" - -#: models.py:310 -msgid "error" -msgstr "napaka" - -#: models.py:311 -msgid "invalid email" -msgstr "neveljavna e-pošta" - -#: models.py:312 -msgid "opened" -msgstr "odprto" - -#: models.py:313 -msgid "opened on site" -msgstr "odprto na strani" - -#: models.py:314 -msgid "link opened" -msgstr "povezava obiskana" - -#: models.py:315 -msgid "unsubscription" -msgstr "odjava" - -#: models.py:333 -msgid "contact mailing status" -msgstr "stanje pošiljanja za kontakt" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "stanje pošiljanja za kontakte" - -#: models.py:340 -msgid "permissions group" -msgstr "skupina s pravicami" - -#: models.py:353 -msgid "workgroup" -msgstr "Delovna skupina" - -#: models.py:354 -msgid "workgroups" -msgstr "delovne skupine" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "Status" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "Napredno" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "Ni povezanega objekta" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "Povezan objekt" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "Vseh naročnikov" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "Izvozi kontakte kot VCard" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "Izvozi kontakte kot VCard" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "Nov e-poštni seznam na %s" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "Nov e-poštni seznam ustvarjen v admin ob %s" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "%s uspešno ustvarjen." - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "Naredi e-poštni seznam" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "%s kontaktov uspešno uvoženih." - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "Uvozi" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "Prosim izberite vsaj 2 e-poštna seznama." - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "Spajam seznam na %s" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "E-poštni seznam ustvarjen s spajanjem na %s" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "%s uspešno ustvarjen s spajanjem." - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "Spoji izbrane e-poštne sezname" - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "Izvozi naročnike" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "Izvozi" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "Prejemniki" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "Pošiljanje" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "Razno" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "Privzeto" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "HTML-ja ni bilo moč presneti, zaradi interne napake." - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "Prosim namestite lxml za parsanje URLjev." - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "Poglej zgodovino" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "Ni na voljo" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "Zgodovina" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "Poglej statistiko" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "Statistika" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "Glasila ni bilo moč poslati, zaradi notranjih HTML napak." - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "%s uspešno poslan." - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "Noben testni račun ni dodeljen %s." - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "Pošlji testno e-pošto" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "%s glasil je pripravljenih na pošiljanje" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "Pripravi za pošiljanje" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "%s glasil je preklicanih" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "Prekliči pošiljanje" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "Neveljavna sintaksa, ne pozabite na \":\"." - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "Neveljavna sintaksa, preveč dodelitev na vrstico." - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "Konfiguracija" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "Preveri povezavo" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "Dolžina kontaktov" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "Dolžina e-poštnega seznama" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "Dolžina glasila" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "Naročnina na e-poštni seznam" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "prikaži opis" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "Prikaži opis e-poštnega seznama." - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "E-poštni seznam." - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "Dodaj %(name)s" - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "Akcije" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "Uvozi %(name)s" - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "Ustvari e-poštni seznam" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "Izvozi %(name)s kot VCard" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "Izvozi %(name)s kot Excelovo datoteko" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "Domov" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "Uvoz" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "Excel" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "Datoteka Excel (.xls)" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "Uvozi kontakte iz Excelove datoteke." - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "Stoplci so [e-pošta][priimek][ime][značke]." - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "Noben stolpec razen e-pošte ni obvezen." - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "Uvozi" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "Besedil" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "Datoteka z besedilom (.txt, .csv)" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "Uvozi kontakte iz datoteke z besedilom ali datoteke tipa CSV." - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "Stoplci so [e-pošta][priimek][ime][značke], ločeni s podpičjem." - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "Vcard" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "Datoteka tipa VCard (.cvf)" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "Uvozi kontakte iz e-poštnega programa, s pomočjo datoteke tipa VCard." - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "Ustvari e-poštni seznam" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "Hvala za prijavo!" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "Potrdite odjavo iz tega e-poštnega seznama." - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "Naroči se" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "Odjava iz e-poštnega seznama" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "Iz tega e-poštnega seznama ste odjavljeni." - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "Potrdite odjavo iz tega e-poštnega seznama." - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "Odjavi se" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "Admin" - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "Datum" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "Kontakt" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "Akcija" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "Če te e-pošte ne morete videti," - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "kliknite tukaj" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "" -"Za odjavo iz tega e-poštnega seznama,Za odjavo iz tega e-poštnega seznama" - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "Informativni histogram" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "Obdobje" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "Statistika pošiljanja" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "Vseh pogledov" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "Odprto na strani" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "Skupaj posameznih ogledov" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "Podatek o dostavi neznan" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "Odjava naročnine" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "Povprečno pogledov" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "Statistika povezav" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "Vseh klikanih povezav" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "Skupno število enkrat obiskanih povezav" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "Obiskanih povezav med ogledom" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "Povprečje klikanih povezav" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "Poročilo" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "Presnami poročilo CSV" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "Imformacije" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "Prejemniki" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "Poglej" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "Datum pošiljanja" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "Poslanih testov" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "Naj povezave" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "Mapa gostote" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "Zaenkrat naj povezav ni na voljo" - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "Na ta e-poštni seznam niste več naročeni." - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "E-poštni seznam ustvarjen s spajanjem na %s" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "Kontakte uvozil %s." - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "Statistika %s" - -#: views/statistics.py:76 -msgid "openings" -msgstr "pogledov" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "#val# pogledov" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "#val# klikov" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "Zgodovina %s" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/locale/zh_CN/LC_MESSAGES/django.mo b/emencia/django/newsletter/locale/zh_CN/LC_MESSAGES/django.mo deleted file mode 100644 index 92cb1fca..00000000 Binary files a/emencia/django/newsletter/locale/zh_CN/LC_MESSAGES/django.mo and /dev/null differ diff --git a/emencia/django/newsletter/locale/zh_CN/LC_MESSAGES/django.po b/emencia/django/newsletter/locale/zh_CN/LC_MESSAGES/django.po deleted file mode 100644 index e1b031da..00000000 --- a/emencia/django/newsletter/locale/zh_CN/LC_MESSAGES/django.po +++ /dev/null @@ -1,851 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# aaffdd11 , 2011. -msgid "" -msgstr "" -"Project-Id-Version: Emencia Django Newsletter\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-09-22 06:00-0500\n" -"PO-Revision-Date: 2011-09-22 11:01+0000\n" -"Last-Translator: Fantomas42 \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: zh_CN\n" -"Plural-Forms: nplurals=1; plural=0\n" - -#: forms.py:20 -msgid "Email" -msgstr "电子邮件" - -#: forms.py:44 -msgid "Mailing lists" -msgstr "邮件表" - -#: models.py:39 models.py:156 models.py:339 -msgid "name" -msgstr "姓名" - -#: models.py:40 -msgid "server host" -msgstr "服务器主机" - -#: models.py:41 -msgid "server user" -msgstr "服务器用户" - -#: models.py:42 models.py:44 -msgid "Leave it empty if the host is public." -msgstr "如果主机是公用的则清空" - -#: models.py:43 -msgid "server password" -msgstr "服务器密码" - -#: models.py:45 -msgid "server port" -msgstr "服务器端口" - -#: models.py:46 -msgid "server use TLS" -msgstr "服务器使用的传输层协议" - -#: models.py:48 -msgid "custom headers" -msgstr "自定义页头" - -#: models.py:49 -msgid "" -"key1: value1 key2: value2, splitted by return line.\n" -"Useful for passing some tracking headers if your provider allows it." -msgstr "键1:值1 键2:值2,通过换行分隔。提供商允许的话可以用于传递一些有用的跟踪头。" - -#: models.py:51 -msgid "mails per hour" -msgstr "每小时邮件数" - -#: models.py:93 -msgid "SMTP server" -msgstr "电子邮件传输服务器" - -#: models.py:94 -msgid "SMTP servers" -msgstr "电子邮件传输服务器群" - -#: models.py:99 views/statistics.py:76 -msgid "email" -msgstr "电子邮件" - -#: models.py:100 views/statistics.py:75 -msgid "first name" -msgstr "名" - -#: models.py:101 views/statistics.py:75 -msgid "last name" -msgstr "姓" - -#: models.py:103 -msgid "subscriber" -msgstr "用户" - -#: models.py:104 -msgid "valid email" -msgstr "有效的电子邮件" - -#: models.py:105 -msgid "contact tester" -msgstr "接触试验" - -#: models.py:106 -msgid "tags" -msgstr "标记" - -#: models.py:112 models.py:165 models.py:227 models.py:260 models.py:324 -msgid "creation date" -msgstr "建立日期" - -#: models.py:113 models.py:166 models.py:228 -msgid "modification date" -msgstr "更改日期" - -#: models.py:132 -msgid "mail format" -msgstr "邮件格式" - -#: models.py:150 models.py:319 -msgid "contact" -msgstr "联系" - -#: models.py:151 models.py:342 -msgid "contacts" -msgstr "联系" - -#: models.py:157 -msgid "description" -msgstr "描述" - -#: models.py:159 models.py:170 -msgid "subscribers" -msgstr "订购" - -#: models.py:161 models.py:174 -msgid "unsubscribers" -msgstr "无效订购" - -#: models.py:186 models.py:211 cmsplugin_newsletter/models.py:15 -msgid "mailing list" -msgstr "邮件清单" - -#: models.py:187 models.py:344 -msgid "mailing lists" -msgstr "邮件表" - -#: models.py:198 -msgid "draft" -msgstr "草稿" - -#: models.py:199 -msgid "waiting sending" -msgstr "正在等待发送" - -#: models.py:200 -msgid "sending" -msgstr "正在发送" - -#: models.py:201 models.py:309 -msgid "sent" -msgstr "已发送" - -#: models.py:202 -msgid "canceled" -msgstr "已取消" - -#: models.py:205 models.py:257 models.py:282 cmsplugin_newsletter/models.py:12 -msgid "title" -msgstr "标题" - -#: models.py:206 -msgid "" -"You can use the \"{{ UNIQUE_KEY }}\" variable for unique identifier within " -"the newsletter's title." -msgstr "你可以在简讯标题种使用{{UNIQUE_KEY}}来确保唯一性。" - -#: models.py:208 -msgid "content" -msgstr "内容" - -#: models.py:208 -msgid "Or paste an URL." -msgstr "或粘帖一个互联网地址" - -#: models.py:209 -msgid "" -"\n" -"\n" -"" -msgstr "在这里编辑您的简讯" - -#: models.py:212 -msgid "test contacts" -msgstr "测试接触" - -#: models.py:215 -msgid "smtp server" -msgstr "邮件传输协议服务" - -#: models.py:217 -msgid "sender" -msgstr "发送人" - -#: models.py:219 -msgid "reply to" -msgstr "回复" - -#: models.py:222 models.py:320 -msgid "status" -msgstr "状态" - -#: models.py:223 -msgid "sending date" -msgstr "发送日期" - -#: models.py:225 -msgid "Used for displaying the newsletter on the site." -msgstr "用于在这个位置显示简报" - -#: models.py:250 models.py:281 models.py:318 -#: cmsplugin_newsletter/cms_plugins.py:13 -msgid "newsletter" -msgstr "通迅;简报" - -#: models.py:251 models.py:346 -msgid "newsletters" -msgstr "通迅;简报" - -#: models.py:258 -msgid "url" -msgstr "互联网地址" - -#: models.py:270 models.py:321 -msgid "link" -msgstr "连接" - -#: models.py:271 -msgid "links" -msgstr "链接" - -#: models.py:283 -msgid "file to attach" -msgstr "附上文件" - -#: models.py:287 -msgid "attachment" -msgstr "附件" - -#: models.py:288 -msgid "attachments" -msgstr "附件" - -#: models.py:308 -msgid "sent in test" -msgstr "发送试验" - -#: models.py:310 -msgid "error" -msgstr "错误" - -#: models.py:311 -msgid "invalid email" -msgstr "无效邮件" - -#: models.py:312 -msgid "opened" -msgstr "已打开的" - -#: models.py:313 -msgid "opened on site" -msgstr "访问于" - -#: models.py:314 -msgid "link opened" -msgstr "打开的链接" - -#: models.py:315 -msgid "unsubscription" -msgstr "取消订阅" - -#: models.py:333 -msgid "contact mailing status" -msgstr "邮件状态" - -#: models.py:334 -msgid "contact mailing statuses" -msgstr "邮件状态" - -#: models.py:340 -msgid "permissions group" -msgstr "权限组" - -#: models.py:353 -msgid "workgroup" -msgstr "工作组" - -#: models.py:354 -msgid "workgroups" -msgstr "工作组" - -#: admin/contact.py:36 templates/newsletter/newsletter_statistics.html:188 -msgid "Status" -msgstr "状态" - -#: admin/contact.py:37 -msgid "Advanced" -msgstr "高级的" - -#: admin/contact.py:69 -msgid "No relative object" -msgstr "没有相关对象" - -#: admin/contact.py:71 -msgid "Related object" -msgstr "相关对象" - -#: admin/contact.py:78 -msgid "Total subscriptions" -msgstr "总订阅数" - -#: admin/contact.py:83 -msgid "Export contacts as VCard" -msgstr "以VCard导出联系人" - -#: admin/contact.py:90 -msgid "Export contacts in Excel" -msgstr "以VCard导出联系人" - -#: admin/contact.py:95 -#, python-format -msgid "New mailinglist at %s" -msgstr "于%s创建的新邮件列表" - -#: admin/contact.py:96 -#, python-format -msgid "New mailing list created in admin at %s" -msgstr "于%s创建的新邮件列表" - -#: admin/contact.py:104 -#, python-format -msgid "%s succesfully created." -msgstr "%s发送成功." - -#: admin/contact.py:107 -msgid "Create a mailinglist" -msgstr "创建一个邮件列表" - -#: admin/contact.py:126 -#, python-format -msgid "%s contacts succesfully imported." -msgstr "%s联系人成功导入。" - -#: admin/contact.py:128 -msgid "Contact importation" -msgstr "导入" - -#: admin/mailinglist.py:65 -msgid "Please select a least 2 mailing list." -msgstr "请至少选择2个邮件列表。" - -#: admin/mailinglist.py:77 -#, python-format -msgid "Merging list at %s" -msgstr "于%s创建的合并列表" - -#: admin/mailinglist.py:78 -#, python-format -msgid "Mailing list created by merging at %s" -msgstr "于%s合并创建的邮件列表" - -#: admin/mailinglist.py:87 -#, python-format -msgid "%s succesfully created by merging." -msgstr "%s创建成功" - -#: admin/mailinglist.py:90 -msgid "Merge selected mailinglists" -msgstr "选择合并的邮件列表" - -#: admin/mailinglist.py:96 -msgid "Export Subscribers" -msgstr "导出订阅人" - -#: admin/mailinglist.py:98 -msgid "Export" -msgstr "导出" - -#: admin/newsletter.py:41 -msgid "Receivers" -msgstr "接收人" - -#: admin/newsletter.py:42 -msgid "Sending" -msgstr "正在发送" - -#: admin/newsletter.py:43 admin/smtpserver.py:36 -msgid "Miscellaneous" -msgstr "杂项" - -#: admin/newsletter.py:79 -msgid "Default" -msgstr "默认" - -#: admin/newsletter.py:106 -msgid "Unable to download HTML, due to errors within." -msgstr "由于内部HTML错误无法发送的新闻" - -#: admin/newsletter.py:108 -msgid "Please install lxml for parsing an URL." -msgstr "请安装用于解析URL的lxml。" - -#: admin/newsletter.py:120 -msgid "View historic" -msgstr "查看历史" - -#: admin/newsletter.py:121 admin/newsletter.py:130 -msgid "Not available" -msgstr "不可用" - -#: admin/newsletter.py:123 -msgid "Historic" -msgstr "历史" - -#: admin/newsletter.py:129 -msgid "View statistics" -msgstr "查看统计" - -#: admin/newsletter.py:132 -msgid "Statistics" -msgstr "统计" - -#: admin/newsletter.py:142 -msgid "Unable send newsletter, due to errors within HTML." -msgstr "由于内部HTML错误无法发送的新闻。" - -#: admin/newsletter.py:144 -#, python-format -msgid "%s succesfully sent." -msgstr "%s发送成功." - -#: admin/newsletter.py:146 -#, python-format -msgid "No test contacts assigned for %s." -msgstr "%s没有测试人。" - -#: admin/newsletter.py:147 -msgid "Send test email" -msgstr "发送邮件测试" - -#: admin/newsletter.py:155 -#, python-format -msgid "%s newletters are ready to send" -msgstr "%s简讯已准备好发送" - -#: admin/newsletter.py:156 -msgid "Make ready to send" -msgstr "设为“准备发送”" - -#: admin/newsletter.py:165 -#, python-format -msgid "%s newletters are cancelled" -msgstr "%s通讯被取消" - -#: admin/newsletter.py:166 -msgid "Cancel the sending" -msgstr "取消发送" - -#: admin/smtpserver.py:18 -msgid "Invalid syntax, do not forget the \":\"." -msgstr "无效的语法,不要忘了“:”。" - -#: admin/smtpserver.py:20 -msgid "Invalid syntax, several assignments by line." -msgstr "无效的语法,一行有太多的赋值。" - -#: admin/smtpserver.py:34 -msgid "Configuration" -msgstr "配置" - -#: admin/smtpserver.py:57 -msgid "Check connection" -msgstr "有效的连接" - -#: admin/workgroup.py:18 -msgid "Contacts length" -msgstr "联系人数量" - -#: admin/workgroup.py:22 -msgid "Mailing List length" -msgstr "邮件列表数量" - -#: admin/workgroup.py:26 -msgid "Newsletter length" -msgstr "读物数量" - -#: cmsplugin_newsletter/cms_plugins.py:15 -msgid "Subscription Form" -msgstr "取消订阅" - -#: cmsplugin_newsletter/models.py:13 -msgid "show description" -msgstr "介绍" - -#: cmsplugin_newsletter/models.py:14 -msgid "Show the mailing list's description." -msgstr "显示邮件列表的描述。" - -#: cmsplugin_newsletter/models.py:16 -msgid "Mailing List to subscribe to." -msgstr "邮件列表数量" - -#: templates/admin/newsletter/contact/change_list.html:36 -#, python-format -msgid "Add %(name)s" -msgstr "添加%(name)s" - -#: templates/admin/newsletter/contact/change_list.html:42 -msgid "Actions" -msgstr "行为" - -#: templates/admin/newsletter/contact/change_list.html:51 -#, python-format -msgid "Import %(name)ss" -msgstr "导入%(name)s" - -#: templates/admin/newsletter/contact/change_list.html:58 -msgid "Add to a mailing list" -msgstr "创建一个邮件列表" - -#: templates/admin/newsletter/contact/change_list.html:65 -#, python-format -msgid "Export %(name)s as VCard" -msgstr "以VCard导出联系人%(name)s" - -#: templates/admin/newsletter/contact/change_list.html:70 -#, python-format -msgid "Export %(name)s as Excel" -msgstr "导出%(name)s" - -#: templates/newsletter/contact_import.html:7 -msgid "Home" -msgstr "首页" - -#: templates/newsletter/contact_import.html:10 -msgid "Importation" -msgstr "导入" - -#: templates/newsletter/contact_import.html:24 -msgid "Excel" -msgstr "Excel" - -#: templates/newsletter/contact_import.html:27 -msgid "Excel file (.xls)" -msgstr "导出文件(.xls)" - -#: templates/newsletter/contact_import.html:31 -msgid "Import contacts from a Excel file." -msgstr "以VCard导出联系人" - -#: templates/newsletter/contact_import.html:32 -msgid "Columns are [email][last name][first name][tags]." -msgstr "列表含[电子邮件] [姓氏] [名字] [标签]。" - -#: templates/newsletter/contact_import.html:33 -#: templates/newsletter/contact_import.html:56 -#: templates/newsletter/contact_import.html:98 -msgid "All columns are optionnal excepting the email." -msgstr "除电子邮件外所有列皆为可选。" - -#: templates/newsletter/contact_import.html:38 -#: templates/newsletter/contact_import.html:61 -#: templates/newsletter/contact_import.html:81 -#: templates/newsletter/contact_import.html:103 -msgid "Import" -msgstr "导入" - -#: templates/newsletter/contact_import.html:47 -msgid "Text" -msgstr "文本" - -#: templates/newsletter/contact_import.html:50 -msgid "Text file (.txt, .csv)" -msgstr "文本文件(.txt,.csv格式)" - -#: templates/newsletter/contact_import.html:54 -msgid "Import contacts from a text file, or a CSV file." -msgstr "从文本文件或CSV文件导入联系人。" - -#: templates/newsletter/contact_import.html:55 -#: templates/newsletter/contact_import.html:97 -msgid "" -"Columns are [email][last name][first name][tags], splitted by a dot coma." -msgstr "列表含[电子邮件] [姓氏] [名字] [标签],由逗号分隔。" - -#: templates/newsletter/contact_import.html:70 -msgid "VCard" -msgstr "VCard" - -#: templates/newsletter/contact_import.html:73 -msgid "VCard file (.cvf)" -msgstr "VCard文件(.cvf)" - -#: templates/newsletter/contact_import.html:77 -msgid "" -"Import contacts from your favorite mail client, by providing a VCard file." -msgstr "用VCard文件导入您最喜欢的邮件客户端联系人。" - -#: templates/newsletter/contact_import.html:90 -#: templates/newsletter/contact_import.html:93 -msgid "Raw text" -msgstr "" - -#: templates/newsletter/mailing_list_subscribe.html:4 -#: templates/newsletter/mailing_list_subscribe.html:7 -msgid "Subscription to mailing list" -msgstr "创建一个邮件列表" - -#: templates/newsletter/mailing_list_subscribe.html:10 -msgid "Thanks for your subscription!" -msgstr "总订阅数" - -#: templates/newsletter/mailing_list_subscribe.html:16 -msgid "Validate this form to subscribe to the mailing lists." -msgstr "验证此表以取消订阅本邮件列表。" - -#: templates/newsletter/mailing_list_subscribe.html:21 -#: templates/newsletter/cms/subscription_form.html:20 -msgid "Subscribe" -msgstr "订户" - -#: templates/newsletter/mailing_list_unsubscribe.html:4 -#: templates/newsletter/mailing_list_unsubscribe.html:7 -msgid "Unsubscription" -msgstr "取消订阅" - -#: templates/newsletter/mailing_list_unsubscribe.html:9 -msgid "You are unsubscribed for this mailing list." -msgstr "你已退订这个邮件列表。" - -#: templates/newsletter/mailing_list_unsubscribe.html:11 -msgid "Validate this form to unsubscribe to this mailing list." -msgstr "验证此表以取消订阅本邮件列表。" - -#: templates/newsletter/mailing_list_unsubscribe.html:15 -msgid "Unsubscribe" -msgstr "取消订阅" - -#: templates/newsletter/newsletter_historic.html:9 -#: templates/newsletter/newsletter_statistics.html:68 -msgid "Admin." -msgstr "管理" - -#: templates/newsletter/newsletter_historic.html:23 -msgid "Date" -msgstr "日期" - -#: templates/newsletter/newsletter_historic.html:24 -msgid "Contact" -msgstr "联系" - -#: templates/newsletter/newsletter_historic.html:25 -msgid "Action" -msgstr "行为" - -#: templates/newsletter/newsletter_link_site.html:5 -msgid "If you cannot see this email," -msgstr "如果你不能看到这封电子邮件," - -#: templates/newsletter/newsletter_link_site.html:6 -#: templates/newsletter/newsletter_link_unsubscribe.html:6 -msgid "click here" -msgstr "点击这里" - -#: templates/newsletter/newsletter_link_unsubscribe.html:5 -msgid "For unsubscribing to this mailing list," -msgstr "你已退订这个邮件列表。" - -#: templates/newsletter/newsletter_statistics.html:86 views/statistics.py:147 -msgid "Consultation histogram" -msgstr "参考直方图" - -#: templates/newsletter/newsletter_statistics.html:89 -msgid "Period" -msgstr "周期" - -#: templates/newsletter/newsletter_statistics.html:112 -#: templates/newsletter/newsletter_statistics.html:113 -msgid "Broadcasting statistics" -msgstr "查看统计" - -#: templates/newsletter/newsletter_statistics.html:115 views/statistics.py:139 -msgid "Total openings" -msgstr "总订阅数" - -#: templates/newsletter/newsletter_statistics.html:120 -msgid "Openings on site" -msgstr "访问于" - -#: templates/newsletter/newsletter_statistics.html:125 -msgid "Total openings unique" -msgstr "总访问数" - -#: templates/newsletter/newsletter_statistics.html:130 -msgid "Unknow delivery" -msgstr "未知邮件" - -#: templates/newsletter/newsletter_statistics.html:135 -msgid "Unsubscriptions" -msgstr "取消订阅" - -#: templates/newsletter/newsletter_statistics.html:140 -msgid "Openings average" -msgstr "总订阅数" - -#: templates/newsletter/newsletter_statistics.html:148 -#: templates/newsletter/newsletter_statistics.html:149 -msgid "Links statistics" -msgstr "查看统计" - -#: templates/newsletter/newsletter_statistics.html:151 views/statistics.py:143 -msgid "Total clicked links" -msgstr "总订阅数" - -#: templates/newsletter/newsletter_statistics.html:156 -msgid "Total clicked links unique" -msgstr "总点击次数" - -#: templates/newsletter/newsletter_statistics.html:161 -msgid "Clicked links by openings" -msgstr "每次访问的点击数" - -#: templates/newsletter/newsletter_statistics.html:166 -msgid "Clicked links average" -msgstr "总订阅数" - -#: templates/newsletter/newsletter_statistics.html:178 -msgid "Report" -msgstr "导出报告" - -#: templates/newsletter/newsletter_statistics.html:180 -msgid "Download CSV report" -msgstr "下载CSV报告" - -#: templates/newsletter/newsletter_statistics.html:185 -msgid "Informations" -msgstr "导入" - -#: templates/newsletter/newsletter_statistics.html:186 -msgid "Recipients" -msgstr "接收人" - -#: templates/newsletter/newsletter_statistics.html:187 -msgid "View" -msgstr "查看" - -#: templates/newsletter/newsletter_statistics.html:190 -msgid "Sending date" -msgstr "发送日期" - -#: templates/newsletter/newsletter_statistics.html:193 -msgid "Tests sent" -msgstr "发送测试" - -#: templates/newsletter/newsletter_statistics.html:198 -msgid "Top Links" -msgstr "受欢迎的链接" - -#: templates/newsletter/newsletter_statistics.html:199 -msgid "Density map" -msgstr "密度图" - -#: templates/newsletter/newsletter_statistics.html:208 -msgid "No Top Links yet." -msgstr "目前尚未有任何的受欢迎链接" - -#: templates/newsletter/cms/subscription_form.html:8 -msgid "You have successfully subscribed to the mailing list!" -msgstr "你已退订这个邮件列表。" - -#: utils/importation.py:52 -#, python-format -msgid "Mailing list created by importation at %s" -msgstr "于%s合并创建的邮件列表" - -#: utils/importation.py:53 -#, python-format -msgid "Contacts imported by %s." -msgstr "联系人由%s导入。" - -#: views/statistics.py:54 -#, python-format -msgid "Statistics of %s" -msgstr "%s统计" - -#: views/statistics.py:76 -msgid "openings" -msgstr "总订阅数" - -#: views/statistics.py:139 -msgid "#val# openings" -msgstr "总订阅数" - -#: views/statistics.py:143 -msgid "#val# clicks" -msgstr "点击数" - -#: views/tracking.py:67 -#, python-format -msgid "Historic of %s" -msgstr "%s的历史" - -#~ msgid "key1: value1 key2: value2, splitted by return line." -#~ msgstr "key1: value1 key2: value2, splitted by return line." - -#~ msgid "Can change status" -#~ msgstr "Can change status" - -#~ msgid "VCard import" -#~ msgstr "VCard import" - -#~ msgid "Contacts" -#~ msgstr "Contacts" - -#~ msgid "Mailing List" -#~ msgstr "Mailing List" - -#~ msgid "Mailing Lists" -#~ msgstr "Mailing Lists" - -#~ msgid "Newsletter" -#~ msgstr "Newsletter" - -#~ msgid "Newsletters" -#~ msgstr "Newsletters" - -#~ msgid "Link" -#~ msgstr "Link" - -#~ msgid "Links" -#~ msgstr "Links" - -#~ msgid "group" -#~ msgstr "group" - -#~ msgid "Connection valid" -#~ msgstr "Connection valid" - -#~ msgid "Double openings" -#~ msgstr "Total Subscriptions" - - diff --git a/emencia/django/newsletter/migrations/0001_initial.py b/emencia/django/newsletter/migrations/0001_initial.py deleted file mode 100644 index ae20d7b0..00000000 --- a/emencia/django/newsletter/migrations/0001_initial.py +++ /dev/null @@ -1,725 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding model 'SMTPServer' - db.create_table(u'newsletter_smtpserver', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('host', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('user', self.gf('django.db.models.fields.CharField')(max_length=128, blank=True)), - ('password', self.gf('django.db.models.fields.CharField')(max_length=128, blank=True)), - ('port', self.gf('django.db.models.fields.IntegerField')(default=25)), - ('tls', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('headers', self.gf('django.db.models.fields.TextField')(blank=True)), - ('mails_hour', self.gf('django.db.models.fields.IntegerField')(default=0)), - )) - db.send_create_signal(u'newsletter', ['SMTPServer']) - - # Adding model 'Contact' - db.create_table(u'newsletter_contact', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['accounts.User'], null=True)), - ('email', self.gf('django.db.models.fields.EmailField')(unique=True, max_length=75)), - ('first_name', self.gf('django.db.models.fields.CharField')(max_length=50, blank=True)), - ('last_name', self.gf('django.db.models.fields.CharField')(max_length=50, blank=True)), - ('subscriber', self.gf('django.db.models.fields.BooleanField')(default=True)), - ('valid', self.gf('django.db.models.fields.BooleanField')(default=True)), - ('tester', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('activation_code', self.gf('django.db.models.fields.CharField')(default='84446db444d7b77c2f054627e77a9ef92fb6f6b8', max_length=40)), - ('activated', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'], null=True, blank=True)), - ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), - ('creation_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), - ('modification_date', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), - )) - db.send_create_signal(u'newsletter', ['Contact']) - - # Adding model 'ContactSettings' - db.create_table(u'newsletter_contactsettings', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('contact', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['newsletter.Contact'], unique=True)), - ('periodic', self.gf('django.db.models.fields.PositiveIntegerField')(default=1)), - ('exponent_practicum', self.gf('django.db.models.fields.BooleanField')(default=True)), - ('organiser_practicum', self.gf('django.db.models.fields.BooleanField')(default=False)), - )) - db.send_create_signal(u'newsletter', ['ContactSettings']) - - # Adding M2M table for field theme on 'ContactSettings' - m2m_table_name = db.shorten_name(u'newsletter_contactsettings_theme') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('contactsettings', models.ForeignKey(orm[u'newsletter.contactsettings'], null=False)), - ('theme', models.ForeignKey(orm[u'theme.theme'], null=False)) - )) - db.create_unique(m2m_table_name, ['contactsettings_id', 'theme_id']) - - # Adding M2M table for field area on 'ContactSettings' - m2m_table_name = db.shorten_name(u'newsletter_contactsettings_area') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('contactsettings', models.ForeignKey(orm[u'newsletter.contactsettings'], null=False)), - ('area', models.ForeignKey(orm[u'country.area'], null=False)) - )) - db.create_unique(m2m_table_name, ['contactsettings_id', 'area_id']) - - # Adding M2M table for field country on 'ContactSettings' - m2m_table_name = db.shorten_name(u'newsletter_contactsettings_country') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('contactsettings', models.ForeignKey(orm[u'newsletter.contactsettings'], null=False)), - ('country', models.ForeignKey(orm[u'country.country'], null=False)) - )) - db.create_unique(m2m_table_name, ['contactsettings_id', 'country_id']) - - # Adding M2M table for field city on 'ContactSettings' - m2m_table_name = db.shorten_name(u'newsletter_contactsettings_city') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('contactsettings', models.ForeignKey(orm[u'newsletter.contactsettings'], null=False)), - ('city', models.ForeignKey(orm[u'city.city'], null=False)) - )) - db.create_unique(m2m_table_name, ['contactsettings_id', 'city_id']) - - # Adding model 'MailingList' - db.create_table(u'newsletter_mailinglist', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('description', self.gf('django.db.models.fields.TextField')(blank=True)), - ('announce', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('announce_public_day', self.gf('django.db.models.fields.IntegerField')(default=2)), - ('creation_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), - ('modification_date', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), - )) - db.send_create_signal(u'newsletter', ['MailingList']) - - # Adding M2M table for field subscribers on 'MailingList' - m2m_table_name = db.shorten_name(u'newsletter_mailinglist_subscribers') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('mailinglist', models.ForeignKey(orm[u'newsletter.mailinglist'], null=False)), - ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)) - )) - db.create_unique(m2m_table_name, ['mailinglist_id', 'contact_id']) - - # Adding M2M table for field unsubscribers on 'MailingList' - m2m_table_name = db.shorten_name(u'newsletter_mailinglist_unsubscribers') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('mailinglist', models.ForeignKey(orm[u'newsletter.mailinglist'], null=False)), - ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)) - )) - db.create_unique(m2m_table_name, ['mailinglist_id', 'contact_id']) - - # Adding model 'Newsletter' - db.create_table(u'newsletter_newsletter', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('title', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('content', self.gf('django.db.models.fields.TextField')(default=u'\n\n')), - ('mailing_list', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['newsletter.MailingList'])), - ('server', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['newsletter.SMTPServer'])), - ('header_sender', self.gf('django.db.models.fields.CharField')(default='Expomap', max_length=255)), - ('header_reply', self.gf('django.db.models.fields.CharField')(default='Expomap', max_length=255)), - ('status', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('sending_date', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('slug', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=50)), - ('creation_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), - ('modification_date', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), - )) - db.send_create_signal(u'newsletter', ['Newsletter']) - - # Adding M2M table for field test_contacts on 'Newsletter' - m2m_table_name = db.shorten_name(u'newsletter_newsletter_test_contacts') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('newsletter', models.ForeignKey(orm[u'newsletter.newsletter'], null=False)), - ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)) - )) - db.create_unique(m2m_table_name, ['newsletter_id', 'contact_id']) - - # Adding model 'Link' - db.create_table(u'newsletter_link', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('title', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('url', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('creation_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), - )) - db.send_create_signal(u'newsletter', ['Link']) - - # Adding model 'Attachment' - db.create_table(u'newsletter_attachment', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('newsletter', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['newsletter.Newsletter'])), - ('title', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('file_attachment', self.gf('django.db.models.fields.files.FileField')(max_length=255)), - )) - db.send_create_signal(u'newsletter', ['Attachment']) - - # Adding model 'ContactMailingStatus' - db.create_table(u'newsletter_contactmailingstatus', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('newsletter', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['newsletter.Newsletter'])), - ('contact', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['newsletter.Contact'])), - ('status', self.gf('django.db.models.fields.IntegerField')()), - ('link', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['newsletter.Link'], null=True, blank=True)), - ('creation_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), - )) - db.send_create_signal(u'newsletter', ['ContactMailingStatus']) - - # Adding model 'WorkGroup' - db.create_table(u'newsletter_workgroup', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('group', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.Group'])), - )) - db.send_create_signal(u'newsletter', ['WorkGroup']) - - # Adding M2M table for field contacts on 'WorkGroup' - m2m_table_name = db.shorten_name(u'newsletter_workgroup_contacts') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('workgroup', models.ForeignKey(orm[u'newsletter.workgroup'], null=False)), - ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)) - )) - db.create_unique(m2m_table_name, ['workgroup_id', 'contact_id']) - - # Adding M2M table for field mailinglists on 'WorkGroup' - m2m_table_name = db.shorten_name(u'newsletter_workgroup_mailinglists') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('workgroup', models.ForeignKey(orm[u'newsletter.workgroup'], null=False)), - ('mailinglist', models.ForeignKey(orm[u'newsletter.mailinglist'], null=False)) - )) - db.create_unique(m2m_table_name, ['workgroup_id', 'mailinglist_id']) - - # Adding M2M table for field newsletters on 'WorkGroup' - m2m_table_name = db.shorten_name(u'newsletter_workgroup_newsletters') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('workgroup', models.ForeignKey(orm[u'newsletter.workgroup'], null=False)), - ('newsletter', models.ForeignKey(orm[u'newsletter.newsletter'], null=False)) - )) - db.create_unique(m2m_table_name, ['workgroup_id', 'newsletter_id']) - - # Adding model 'PopupCount' - db.create_table(u'newsletter_popupcount', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('date', self.gf('django.db.models.fields.DateField')()), - ('theme', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['theme.Theme'], null=True)), - ('cnt', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), - )) - db.send_create_signal(u'newsletter', ['PopupCount']) - - # Adding unique constraint on 'PopupCount', fields ['theme', 'date'] - db.create_unique(u'newsletter_popupcount', ['theme_id', 'date']) - - - def backwards(self, orm): - # Removing unique constraint on 'PopupCount', fields ['theme', 'date'] - db.delete_unique(u'newsletter_popupcount', ['theme_id', 'date']) - - # Deleting model 'SMTPServer' - db.delete_table(u'newsletter_smtpserver') - - # Deleting model 'Contact' - db.delete_table(u'newsletter_contact') - - # Deleting model 'ContactSettings' - db.delete_table(u'newsletter_contactsettings') - - # Removing M2M table for field theme on 'ContactSettings' - db.delete_table(db.shorten_name(u'newsletter_contactsettings_theme')) - - # Removing M2M table for field area on 'ContactSettings' - db.delete_table(db.shorten_name(u'newsletter_contactsettings_area')) - - # Removing M2M table for field country on 'ContactSettings' - db.delete_table(db.shorten_name(u'newsletter_contactsettings_country')) - - # Removing M2M table for field city on 'ContactSettings' - db.delete_table(db.shorten_name(u'newsletter_contactsettings_city')) - - # Deleting model 'MailingList' - db.delete_table(u'newsletter_mailinglist') - - # Removing M2M table for field subscribers on 'MailingList' - db.delete_table(db.shorten_name(u'newsletter_mailinglist_subscribers')) - - # Removing M2M table for field unsubscribers on 'MailingList' - db.delete_table(db.shorten_name(u'newsletter_mailinglist_unsubscribers')) - - # Deleting model 'Newsletter' - db.delete_table(u'newsletter_newsletter') - - # Removing M2M table for field test_contacts on 'Newsletter' - db.delete_table(db.shorten_name(u'newsletter_newsletter_test_contacts')) - - # Deleting model 'Link' - db.delete_table(u'newsletter_link') - - # Deleting model 'Attachment' - db.delete_table(u'newsletter_attachment') - - # Deleting model 'ContactMailingStatus' - db.delete_table(u'newsletter_contactmailingstatus') - - # Deleting model 'WorkGroup' - db.delete_table(u'newsletter_workgroup') - - # Removing M2M table for field contacts on 'WorkGroup' - db.delete_table(db.shorten_name(u'newsletter_workgroup_contacts')) - - # Removing M2M table for field mailinglists on 'WorkGroup' - db.delete_table(db.shorten_name(u'newsletter_workgroup_mailinglists')) - - # Removing M2M table for field newsletters on 'WorkGroup' - db.delete_table(db.shorten_name(u'newsletter_workgroup_newsletters')) - - # Deleting model 'PopupCount' - db.delete_table(u'newsletter_popupcount') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'dfcfa04440c050dcc912d8db824058afe8d75e11'", 'max_length': '40'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'content': ('django.db.models.fields.TextField', [], {'default': "u'\\n\\n'"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']"}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/migrations/0002_auto__add_field_newsletter_theme_for_filter.py b/emencia/django/newsletter/migrations/0002_auto__add_field_newsletter_theme_for_filter.py deleted file mode 100644 index 23d2baec..00000000 --- a/emencia/django/newsletter/migrations/0002_auto__add_field_newsletter_theme_for_filter.py +++ /dev/null @@ -1,473 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding M2M table for field theme_for_filter on 'MailingList' - m2m_table_name = db.shorten_name(u'newsletter_mailinglist_theme_for_filter') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('mailinglist', models.ForeignKey(orm[u'newsletter.mailinglist'], null=False)), - ('theme', models.ForeignKey(orm[u'theme.theme'], null=False)) - )) - db.create_unique(m2m_table_name, ['mailinglist_id', 'theme_id']) - - # Adding field 'Newsletter.theme_for_filter' - db.add_column(u'newsletter_newsletter', 'theme_for_filter', - self.gf('django.db.models.fields.related.ForeignKey')(to=orm['theme.Theme'], null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Removing M2M table for field theme_for_filter on 'MailingList' - db.delete_table(db.shorten_name(u'newsletter_mailinglist_theme_for_filter')) - - # Deleting field 'Newsletter.theme_for_filter' - db.delete_column(u'newsletter_newsletter', 'theme_for_filter_id') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'018d00351873c1a8f23734cdbf9a620dfb81b477'", 'max_length': '40'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'content': ('django.db.models.fields.TextField', [], {'default': "u'\\n\\n'"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']"}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/migrations/0003_auto__add_field_newsletter_content2.py b/emencia/django/newsletter/migrations/0003_auto__add_field_newsletter_content2.py deleted file mode 100644 index 41d662fb..00000000 --- a/emencia/django/newsletter/migrations/0003_auto__add_field_newsletter_content2.py +++ /dev/null @@ -1,471 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Newsletter.content2' - db.add_column(u'newsletter_newsletter', 'content2', - self.gf('django.db.models.fields.TextField')(default=''), - keep_default=False) - - # Adding field 'Newsletter.ab_testing' - db.add_column(u'newsletter_newsletter', 'ab_testing', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Newsletter.content2' - db.delete_column(u'newsletter_newsletter', 'content2') - - # Deleting field 'Newsletter.ab_testing' - db.delete_column(u'newsletter_newsletter', 'ab_testing') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'e4d8c29b24dba38f1b799747cda5014999a49ff7'", 'max_length': '40'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'ab_testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'content': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'content2': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']"}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/migrations/0004_auto__add_field_newsletter_title2.py b/emencia/django/newsletter/migrations/0004_auto__add_field_newsletter_title2.py deleted file mode 100644 index 0982ab13..00000000 --- a/emencia/django/newsletter/migrations/0004_auto__add_field_newsletter_title2.py +++ /dev/null @@ -1,464 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Newsletter.title2' - db.add_column(u'newsletter_newsletter', 'title2', - self.gf('django.db.models.fields.CharField')(max_length=255, null=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Newsletter.title2' - db.delete_column(u'newsletter_newsletter', 'title2') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'2366691c74ef7a580d76f294d65222290f75bc2f'", 'max_length': '40'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'ab_testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'content': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'content2': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']"}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'title2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/migrations/0005_auto__add_field_newsletter_pre_header.py b/emencia/django/newsletter/migrations/0005_auto__add_field_newsletter_pre_header.py deleted file mode 100644 index a8c9938e..00000000 --- a/emencia/django/newsletter/migrations/0005_auto__add_field_newsletter_pre_header.py +++ /dev/null @@ -1,465 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Newsletter.preheader' - db.add_column(u'newsletter_newsletter', 'preheader', - self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Newsletter.preheader' - db.delete_column(u'newsletter_newsletter', 'preheader') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'4ef9664e95dbfa157ffb0f7e079083cf9f1be80c'", 'max_length': '40'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'ab_testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'content': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'content2': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']"}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'preheader': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'title2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/migrations/0006_auto__add_field_newsletter_ab_final_stage__add_field_newsletter_ab_fin.py b/emencia/django/newsletter/migrations/0006_auto__add_field_newsletter_ab_final_stage__add_field_newsletter_ab_fin.py deleted file mode 100644 index 0dc86d9c..00000000 --- a/emencia/django/newsletter/migrations/0006_auto__add_field_newsletter_ab_final_stage__add_field_newsletter_ab_fin.py +++ /dev/null @@ -1,493 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Newsletter.ab_first_stage' - db.add_column(u'newsletter_newsletter', 'ab_first_stage', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Newsletter.ab_final_stage' - db.add_column(u'newsletter_newsletter', 'ab_final_stage', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) - - # Adding field 'Newsletter.ab_final_choice' - db.add_column(u'newsletter_newsletter', 'ab_final_choice', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True, blank=True), - keep_default=False) - - # Adding field 'ContactMailingStatus.ab' - db.add_column(u'newsletter_contactmailingstatus', 'ab', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Newsletter.ab_first_stage' - db.delete_column(u'newsletter_newsletter', 'ab_first_stage') - - # Deleting field 'Newsletter.ab_final_stage' - db.delete_column(u'newsletter_newsletter', 'ab_final_stage') - - # Deleting field 'Newsletter.ab_final_choice' - db.delete_column(u'newsletter_newsletter', 'ab_final_choice') - - # Deleting field 'ContactMailingStatus.ab' - db.delete_column(u'newsletter_contactmailingstatus', 'ab') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'b1d62cc2afaa88cff340ab0fd455bab5a5a6b23c'", 'max_length': '40'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'ab': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'ab_final_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_final_stage': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'ab_first_stage': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'content': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'content2': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']"}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'preheader': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'title2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/migrations/0007_auto__add_field_newsletter_preheader2.py b/emencia/django/newsletter/migrations/0007_auto__add_field_newsletter_preheader2.py deleted file mode 100644 index af589ba9..00000000 --- a/emencia/django/newsletter/migrations/0007_auto__add_field_newsletter_preheader2.py +++ /dev/null @@ -1,470 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Newsletter.preheader2' - db.add_column(u'newsletter_newsletter', 'preheader2', - self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Newsletter.preheader2' - db.delete_column(u'newsletter_newsletter', 'preheader2') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'aa8780f57d03906d3efc31303458860e40042a4b'", 'max_length': '40'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'ab': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'ab_final_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_final_stage': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'ab_first_stage': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'content': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'content2': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']"}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'preheader': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'preheader2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'title2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/migrations/0008_auto__add_field_contact_from_users.py b/emencia/django/newsletter/migrations/0008_auto__add_field_contact_from_users.py deleted file mode 100644 index 82debc57..00000000 --- a/emencia/django/newsletter/migrations/0008_auto__add_field_contact_from_users.py +++ /dev/null @@ -1,471 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Contact.from_users' - db.add_column(u'newsletter_contact', 'from_users', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Contact.from_users' - db.delete_column(u'newsletter_contact', 'from_users') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'73ae6bae26f51a8cc2af59746245be743fa339f7'", 'max_length': '40'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'from_users': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'ab': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'ab_final_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_final_stage': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'ab_first_stage': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'content': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'content2': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']"}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'preheader': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'preheader2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'title2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/migrations/0009_auto__chg_field_contact_email.py b/emencia/django/newsletter/migrations/0009_auto__chg_field_contact_email.py deleted file mode 100644 index 58cc8adc..00000000 --- a/emencia/django/newsletter/migrations/0009_auto__chg_field_contact_email.py +++ /dev/null @@ -1,469 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Changing field 'Contact.email' - db.alter_column(u'newsletter_contact', 'email', self.gf('django.db.models.fields.EmailField')(unique=True, max_length=255)) - - def backwards(self, orm): - - # Changing field 'Contact.email' - db.alter_column(u'newsletter_contact', 'email', self.gf('django.db.models.fields.EmailField')(max_length=75, unique=True)) - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'8d066f412400944deea4e60830852c4236fc8945'", 'max_length': '40'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '255'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'from_users': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'ab': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'ab_final_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_final_stage': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'ab_first_stage': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'content': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'content2': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']"}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'preheader': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'preheader2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'title2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/migrations/0010_auto__add_field_contact_moscow__add_field_contact_russia__add_field_co.py b/emencia/django/newsletter/migrations/0010_auto__add_field_contact_moscow__add_field_contact_russia__add_field_co.py deleted file mode 100644 index 8dffbd73..00000000 --- a/emencia/django/newsletter/migrations/0010_auto__add_field_contact_moscow__add_field_contact_russia__add_field_co.py +++ /dev/null @@ -1,587 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Contact.moscow' - db.add_column(u'newsletter_contact', 'moscow', - self.gf('django.db.models.fields.BooleanField')(default=True), - keep_default=False) - - # Adding field 'Contact.russia' - db.add_column(u'newsletter_contact', 'russia', - self.gf('django.db.models.fields.BooleanField')(default=True), - keep_default=False) - - # Adding field 'Contact.foreign' - db.add_column(u'newsletter_contact', 'foreign', - self.gf('django.db.models.fields.BooleanField')(default=True), - keep_default=False) - - # Adding field 'Contact.periodic' - db.add_column(u'newsletter_contact', 'periodic', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=1), - keep_default=False) - - # Adding field 'Contact.periodic_day' - db.add_column(u'newsletter_contact', 'periodic_day', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=1), - keep_default=False) - - # Adding field 'Contact.content_news' - db.add_column(u'newsletter_contact', 'content_news', - self.gf('django.db.models.fields.BooleanField')(default=True), - keep_default=False) - - # Adding field 'Contact.content_overview' - db.add_column(u'newsletter_contact', 'content_overview', - self.gf('django.db.models.fields.BooleanField')(default=True), - keep_default=False) - - # Adding field 'Contact.content_articles' - db.add_column(u'newsletter_contact', 'content_articles', - self.gf('django.db.models.fields.BooleanField')(default=True), - keep_default=False) - - # Adding M2M table for field r_cities on 'Contact' - m2m_table_name = db.shorten_name(u'newsletter_contact_r_cities') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)), - ('city', models.ForeignKey(orm[u'city.city'], null=False)) - )) - db.create_unique(m2m_table_name, ['contact_id', 'city_id']) - - # Adding M2M table for field f_countries on 'Contact' - m2m_table_name = db.shorten_name(u'newsletter_contact_f_countries') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)), - ('country', models.ForeignKey(orm[u'country.country'], null=False)) - )) - db.create_unique(m2m_table_name, ['contact_id', 'country_id']) - - # Adding M2M table for field tags on 'Contact' - m2m_table_name = db.shorten_name(u'newsletter_contact_tags') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)), - ('tag', models.ForeignKey(orm[u'theme.tag'], null=False)) - )) - db.create_unique(m2m_table_name, ['contact_id', 'tag_id']) - - # Adding M2M table for field themes on 'Contact' - m2m_table_name = db.shorten_name(u'newsletter_contact_themes') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)), - ('theme', models.ForeignKey(orm[u'theme.theme'], null=False)) - )) - db.create_unique(m2m_table_name, ['contact_id', 'theme_id']) - - - def backwards(self, orm): - # Deleting field 'Contact.moscow' - db.delete_column(u'newsletter_contact', 'moscow') - - # Deleting field 'Contact.russia' - db.delete_column(u'newsletter_contact', 'russia') - - # Deleting field 'Contact.foreign' - db.delete_column(u'newsletter_contact', 'foreign') - - # Deleting field 'Contact.periodic' - db.delete_column(u'newsletter_contact', 'periodic') - - # Deleting field 'Contact.periodic_day' - db.delete_column(u'newsletter_contact', 'periodic_day') - - # Deleting field 'Contact.content_news' - db.delete_column(u'newsletter_contact', 'content_news') - - # Deleting field 'Contact.content_overview' - db.delete_column(u'newsletter_contact', 'content_overview') - - # Deleting field 'Contact.content_articles' - db.delete_column(u'newsletter_contact', 'content_articles') - - # Removing M2M table for field r_cities on 'Contact' - db.delete_table(db.shorten_name(u'newsletter_contact_r_cities')) - - # Removing M2M table for field f_countries on 'Contact' - db.delete_table(db.shorten_name(u'newsletter_contact_f_countries')) - - # Removing M2M table for field tags on 'Contact' - db.delete_table(db.shorten_name(u'newsletter_contact_tags')) - - # Removing M2M table for field themes on 'Contact' - db.delete_table(db.shorten_name(u'newsletter_contact_themes')) - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'404e9e2e6a068956fdf24415e02e93bdb89b009f'", 'max_length': '40'}), - 'content_articles': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_news': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_overview': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '255'}), - 'f_countries': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'foreign': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'from_users': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moscow': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'periodic_day': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'r_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'russia': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'themes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'ab': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'ab_final_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_final_stage': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'ab_first_stage': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'content': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'content2': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']"}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'preheader': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'preheader2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'title2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/migrations/0011_update_contact.py b/emencia/django/newsletter/migrations/0011_update_contact.py deleted file mode 100644 index 50aa40f3..00000000 --- a/emencia/django/newsletter/migrations/0011_update_contact.py +++ /dev/null @@ -1,517 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models, transaction -from django.conf import settings - -from city.models import City -from country.models import Country -from emencia.django.newsletter.models import Contact -# from theme.models import Theme - - -class Migration(DataMigration): - - def forwards(self, orm): - "Write your forwards methods here." - # Note: Don't use "from appname.models import ModelName". - # Use orm.ModelName to refer to models in this application, - # and orm['appname.ModelName'] for models in other applications. - # Contact = orm['newsletter.Contact'] - moscow = settings.MOSCOW_PK - russia = settings.RUSSIA_PK - r_cities = set(City.objects.filter(country_id=russia).values_list('pk', flat=True)) - # with transaction.commit_manually(): - for contact in Contact.objects.prefetch_related('contactsettings').all(): - try: - cities = set(contact.contactsettings.city.values_list('pk', flat=True)) - countries = set(contact.contactsettings.country.values_list('pk', flat=True)) - themes = set(contact.contactsettings.theme.values_list('pk', flat=True)) - - # moscow - contact.moscow = True if moscow in cities else False - cities.discard(moscow) - # cities russia - _r_cities = cities.intersection(r_cities) - contact.r_cities = _r_cities - # russia - contact.russia = True if russia in countries else False - countries.discard(russia) - # countries - contact.f_countries = countries - # themes - contact.themes = themes - contact.save() - except Exception as e: - print('Exception') - print(e) - # transaction.commit() - - def backwards(self, orm): - "Write your backwards methods here." - pass - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'fea8c6c582cf1413b71249e3fe82a8e6e665ba13'", 'max_length': '40'}), - 'content_articles': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_news': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_overview': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '255'}), - 'f_countries': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'foreign': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'from_users': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moscow': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'periodic_day': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'r_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'russia': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'themes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'ab': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'ab_final_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_final_stage': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'ab_first_stage': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'content': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'content2': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']"}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'preheader': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'preheader2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'title2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] - symmetrical = True diff --git a/emencia/django/newsletter/migrations/0012_auto__add_field_contact_last_mailing_date.py b/emencia/django/newsletter/migrations/0012_auto__add_field_contact_last_mailing_date.py deleted file mode 100644 index ecf5ec24..00000000 --- a/emencia/django/newsletter/migrations/0012_auto__add_field_contact_last_mailing_date.py +++ /dev/null @@ -1,484 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Contact.last_mailing_date' - db.add_column(u'newsletter_contact', 'last_mailing_date', - self.gf('django.db.models.fields.DateField')(null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Contact.last_mailing_date' - db.delete_column(u'newsletter_contact', 'last_mailing_date') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'ef84ad15b8926224ef3ce9662ad71382cc61f985'", 'max_length': '40'}), - 'content_articles': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_news': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_overview': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '255'}), - 'f_countries': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'foreign': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'from_users': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_mailing_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moscow': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'periodic_day': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'r_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'russia': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'themes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'ab': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'ab_final_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_final_stage': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'ab_first_stage': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'content': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'content2': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']"}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'preheader': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'preheader2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'title2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/migrations/0013_auto__add_field_newsletter_dailymail.py b/emencia/django/newsletter/migrations/0013_auto__add_field_newsletter_dailymail.py deleted file mode 100644 index 492e82f6..00000000 --- a/emencia/django/newsletter/migrations/0013_auto__add_field_newsletter_dailymail.py +++ /dev/null @@ -1,495 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Newsletter.dailymail' - db.add_column(u'newsletter_newsletter', 'dailymail', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) - - - # Changing field 'Newsletter.mailing_list' - db.alter_column(u'newsletter_newsletter', 'mailing_list_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['newsletter.MailingList'], null=True)) - - def backwards(self, orm): - # Deleting field 'Newsletter.dailymail' - db.delete_column(u'newsletter_newsletter', 'dailymail') - - - # User chose to not deal with backwards NULL issues for 'Newsletter.mailing_list' - raise RuntimeError("Cannot reverse this migration. 'Newsletter.mailing_list' and its values cannot be restored.") - - # The following code is provided here to aid in writing a correct migration - # Changing field 'Newsletter.mailing_list' - db.alter_column(u'newsletter_newsletter', 'mailing_list_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['newsletter.MailingList'])) - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'42d10805f84324042ab63874362754c93d3d207a'", 'max_length': '40'}), - 'content_articles': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_news': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_overview': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '255'}), - 'f_countries': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'foreign': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'from_users': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_mailing_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moscow': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'periodic_day': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'r_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'russia': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'themes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'ab': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'ab_final_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_final_stage': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'ab_first_stage': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'content': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'content2': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'dailymail': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'preheader': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'preheader2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'title2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/migrations/0014_auto__add_newsletterrecommend.py b/emencia/django/newsletter/migrations/0014_auto__add_newsletterrecommend.py deleted file mode 100644 index bbb60357..00000000 --- a/emencia/django/newsletter/migrations/0014_auto__add_newsletterrecommend.py +++ /dev/null @@ -1,740 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding model 'NewsletterRecommend' - db.create_table(u'newsletter_newsletterrecommend', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('exposition', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['exposition.Exposition'], null=True)), - ('conference', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['conference.Conference'], null=True)), - ('fr', self.gf('django.db.models.fields.DateField')(default=datetime.datetime(2016, 10, 3, 0, 0))), - ('to', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), - ('creation_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), - )) - db.send_create_signal(u'newsletter', ['NewsletterRecommend']) - - # Adding M2M table for field theme on 'NewsletterRecommend' - m2m_table_name = db.shorten_name(u'newsletter_newsletterrecommend_theme') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('newsletterrecommend', models.ForeignKey(orm[u'newsletter.newsletterrecommend'], null=False)), - ('theme', models.ForeignKey(orm[u'theme.theme'], null=False)) - )) - db.create_unique(m2m_table_name, ['newsletterrecommend_id', 'theme_id']) - - - def backwards(self, orm): - # Deleting model 'NewsletterRecommend' - db.delete_table(u'newsletter_newsletterrecommend') - - # Removing M2M table for field theme on 'NewsletterRecommend' - db.delete_table(db.shorten_name(u'newsletter_newsletterrecommend_theme')) - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 3, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 3, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'015a0e600e850b35c88bbc0086dd2c2da13bb165'", 'max_length': '40'}), - 'content_articles': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_news': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_overview': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '255'}), - 'f_countries': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'foreign': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'from_users': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_mailing_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moscow': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'periodic_day': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'r_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'russia': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'themes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'ab': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'ab_final_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_final_stage': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'ab_first_stage': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'content': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'content2': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'dailymail': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'preheader': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'preheader2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'title2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.newsletterrecommend': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'NewsletterRecommend'}, - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 3, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'symmetrical': 'False'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/migrations/0015_auto.py b/emencia/django/newsletter/migrations/0015_auto.py deleted file mode 100644 index 335652cf..00000000 --- a/emencia/django/newsletter/migrations/0015_auto.py +++ /dev/null @@ -1,728 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding M2M table for field area on 'Contact' - m2m_table_name = db.shorten_name(u'newsletter_contact_area') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)), - ('area', models.ForeignKey(orm[u'country.area'], null=False)) - )) - db.create_unique(m2m_table_name, ['contact_id', 'area_id']) - - - def backwards(self, orm): - # Removing M2M table for field area on 'Contact' - db.delete_table(db.shorten_name(u'newsletter_contact_area')) - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 6, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 6, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'51002731d62b4b9d107ba642cc1d516f235353b4'", 'max_length': '40'}), - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'content_articles': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_news': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_overview': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '255'}), - 'f_countries': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'foreign': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'from_users': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_mailing_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moscow': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'periodic_day': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'r_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'russia': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'themes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'ab': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'ab_final_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_final_stage': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'ab_first_stage': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'content': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'content2': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'dailymail': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'preheader': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'preheader2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'title2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.newsletterrecommend': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'NewsletterRecommend'}, - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 6, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'symmetrical': 'False'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/migrations/0016_auto__add_field_contact_from_events.py b/emencia/django/newsletter/migrations/0016_auto__add_field_contact_from_events.py deleted file mode 100644 index bec0080f..00000000 --- a/emencia/django/newsletter/migrations/0016_auto__add_field_contact_from_events.py +++ /dev/null @@ -1,784 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Contact.dailymailing' - db.add_column(u'newsletter_contact', 'dailymailing', - self.gf('django.db.models.fields.BooleanField')(default=True), - keep_default=False) - - # Adding M2M table for field conferences on 'Contact' - m2m_table_name = db.shorten_name(u'newsletter_contact_conferences') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)), - ('conference', models.ForeignKey(orm[u'conference.conference'], null=False)) - )) - db.create_unique(m2m_table_name, ['contact_id', 'conference_id']) - - # Adding M2M table for field expositions on 'Contact' - m2m_table_name = db.shorten_name(u'newsletter_contact_expositions') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('contact', models.ForeignKey(orm[u'newsletter.contact'], null=False)), - ('exposition', models.ForeignKey(orm[u'exposition.exposition'], null=False)) - )) - db.create_unique(m2m_table_name, ['contact_id', 'exposition_id']) - - - def backwards(self, orm): - # Deleting field 'Contact.dailymailing' - db.delete_column(u'newsletter_contact', 'dailymailing') - - # Removing M2M table for field conferences on 'Contact' - db.delete_table(db.shorten_name(u'newsletter_contact_conferences')) - - # Removing M2M table for field expositions on 'Contact' - db.delete_table(db.shorten_name(u'newsletter_contact_expositions')) - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'comments.comment': { - 'Meta': {'object_name': 'Comment'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'hidden': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39', 'null': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['comments.Comment']", 'null': 'True', 'blank': 'True'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'members_fc': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'periodic_once': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'programm_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'speakers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['conference.Speaker']", 'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.speaker': { - 'Meta': {'object_name': 'Speaker'}, - 'company': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'company_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'company_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'fullname': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'fullname_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'fullname_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 11, 23, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 11, 23, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'a1d2fb1379a544e39c9d2ff60f931eef3bf850de'", 'max_length': '40'}), - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'conferences': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['conference.Conference']", 'null': 'True', 'symmetrical': 'False'}), - 'content_articles': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_news': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_overview': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'dailymailing': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '255'}), - 'expositions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'symmetrical': 'False'}), - 'f_countries': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'foreign': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'from_users': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_mailing_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moscow': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'periodic_day': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '3'}), - 'r_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'russia': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'themes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'ab': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'ab_final_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_final_stage': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'ab_first_stage': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'content': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'content2': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'dailymail': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'preheader': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'preheader2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'title2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.newsletterrecommend': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'NewsletterRecommend'}, - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 11, 23, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'symmetrical': 'False'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/migrations/0017_auto__add_field_newsletter_banner.py b/emencia/django/newsletter/migrations/0017_auto__add_field_newsletter_banner.py deleted file mode 100644 index 515790a9..00000000 --- a/emencia/django/newsletter/migrations/0017_auto__add_field_newsletter_banner.py +++ /dev/null @@ -1,769 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Newsletter.banner' - db.add_column(u'newsletter_newsletter', 'banner', - self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Newsletter.banner' - db.delete_column(u'newsletter_newsletter', 'banner') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'readonly': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'comments.comment': { - 'Meta': {'object_name': 'Comment'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'hidden': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39', 'null': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['comments.Comment']", 'null': 'True', 'blank': 'True'}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['events.TargetAudience']", 'null': 'True', 'symmetrical': 'False'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'members_fc': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'periodic_once': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'programm_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'speakers': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['conference.Speaker']", 'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.speaker': { - 'Meta': {'object_name': 'Speaker'}, - 'company': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'company_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'company_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'fullname': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'fullname_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'fullname_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'photo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position_ru': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'events.targetaudience': { - 'Meta': {'ordering': "['title']", 'object_name': 'TargetAudience'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}), - 'title_en': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'title_ru': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 12, 7, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 12, 7, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.contact': { - 'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, - 'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'activation_code': ('django.db.models.fields.CharField', [], {'default': "'c0be133883fd306cc3847005c083cc2831c8814e'", 'max_length': '40'}), - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'conferences': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['conference.Conference']", 'null': 'True', 'symmetrical': 'False'}), - 'content_articles': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_news': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_overview': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'dailymailing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '255'}), - 'expositions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'symmetrical': 'False'}), - 'f_countries': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'foreign': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'from_users': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_mailing_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moscow': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'periodic_day': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '3'}), - 'r_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'russia': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'themes': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']", 'null': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - u'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'ab': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - u'newsletter.contactsettings': { - 'Meta': {'object_name': 'ContactSettings'}, - 'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'contact': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['newsletter.Contact']", 'unique': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'exponent_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'organiser_practicum': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'periodic': ('django.db.models.fields.PositiveIntegerField', [], {'default': '1'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.link': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'newsletter.mailinglist': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'MailingList'}, - 'announce': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'announce_public_day': ('django.db.models.fields.IntegerField', [], {'default': '2'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}), - 'theme_for_filter': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['newsletter.Contact']"}) - }, - u'newsletter.newsletter': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'Newsletter'}, - 'ab_final_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_final_stage': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'ab_first_stage': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'ab_testing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'banner': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'content': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'content2': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'dailymail': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Expomap'", 'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'preheader': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'preheader2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'theme_for_filter': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'title2': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - u'newsletter.newsletterrecommend': { - 'Meta': {'ordering': "('-creation_date',)", 'object_name': 'NewsletterRecommend'}, - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 12, 7, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'symmetrical': 'False'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}) - }, - u'newsletter.popupcount': { - 'Meta': {'ordering': "['-date']", 'unique_together': "(('theme', 'date'),)", 'object_name': 'PopupCount'}, - 'cnt': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True'}) - }, - u'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - u'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.Group']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['newsletter'] \ No newline at end of file diff --git a/emencia/django/newsletter/south_migrations_old(27.06.16)/0001_initial.py b/emencia/django/newsletter/south_migrations_old(27.06.16)/0001_initial.py deleted file mode 100644 index d5b2e548..00000000 --- a/emencia/django/newsletter/south_migrations_old(27.06.16)/0001_initial.py +++ /dev/null @@ -1,272 +0,0 @@ -from south.db import db -from django.db import models -from emencia.django.newsletter.models import * - - -class Migration: - - def forwards(self, orm): - - # Adding model 'MailingList' - db.create_table('newsletter_mailinglist', ( - ('id', orm['newsletter.MailingList:id']), - ('name', orm['newsletter.MailingList:name']), - ('description', orm['newsletter.MailingList:description']), - ('creation_date', orm['newsletter.MailingList:creation_date']), - ('modification_date', orm['newsletter.MailingList:modification_date']), - )) - db.send_create_signal('newsletter', ['MailingList']) - - # Adding model 'ContactMailingStatus' - db.create_table('newsletter_contactmailingstatus', ( - ('id', orm['newsletter.ContactMailingStatus:id']), - ('newsletter', orm['newsletter.ContactMailingStatus:newsletter']), - ('contact', orm['newsletter.ContactMailingStatus:contact']), - ('status', orm['newsletter.ContactMailingStatus:status']), - ('link', orm['newsletter.ContactMailingStatus:link']), - ('creation_date', orm['newsletter.ContactMailingStatus:creation_date']), - )) - db.send_create_signal('newsletter', ['ContactMailingStatus']) - - # Adding model 'WorkGroup' - db.create_table('newsletter_workgroup', ( - ('id', orm['newsletter.WorkGroup:id']), - ('name', orm['newsletter.WorkGroup:name']), - ('group', orm['newsletter.WorkGroup:group']), - )) - db.send_create_signal('newsletter', ['WorkGroup']) - - # Adding model 'Link' - db.create_table('newsletter_link', ( - ('id', orm['newsletter.Link:id']), - ('title', orm['newsletter.Link:title']), - ('url', orm['newsletter.Link:url']), - ('creation_date', orm['newsletter.Link:creation_date']), - )) - db.send_create_signal('newsletter', ['Link']) - - # Adding model 'Newsletter' - db.create_table('newsletter_newsletter', ( - ('id', orm['newsletter.Newsletter:id']), - ('title', orm['newsletter.Newsletter:title']), - ('content', orm['newsletter.Newsletter:content']), - ('mailing_list', orm['newsletter.Newsletter:mailing_list']), - ('server', orm['newsletter.Newsletter:server']), - ('header_sender', orm['newsletter.Newsletter:header_sender']), - ('header_reply', orm['newsletter.Newsletter:header_reply']), - ('status', orm['newsletter.Newsletter:status']), - ('sending_date', orm['newsletter.Newsletter:sending_date']), - ('slug', orm['newsletter.Newsletter:slug']), - ('creation_date', orm['newsletter.Newsletter:creation_date']), - ('modification_date', orm['newsletter.Newsletter:modification_date']), - )) - db.send_create_signal('newsletter', ['Newsletter']) - - # Adding model 'SMTPServer' - db.create_table('newsletter_smtpserver', ( - ('id', orm['newsletter.SMTPServer:id']), - ('name', orm['newsletter.SMTPServer:name']), - ('host', orm['newsletter.SMTPServer:host']), - ('user', orm['newsletter.SMTPServer:user']), - ('password', orm['newsletter.SMTPServer:password']), - ('port', orm['newsletter.SMTPServer:port']), - ('tls', orm['newsletter.SMTPServer:tls']), - ('headers', orm['newsletter.SMTPServer:headers']), - ('mails_hour', orm['newsletter.SMTPServer:mails_hour']), - )) - db.send_create_signal('newsletter', ['SMTPServer']) - - # Adding model 'Contact' - db.create_table('newsletter_contact', ( - ('id', orm['newsletter.Contact:id']), - ('email', orm['newsletter.Contact:email']), - ('first_name', orm['newsletter.Contact:first_name']), - ('last_name', orm['newsletter.Contact:last_name']), - ('subscriber', orm['newsletter.Contact:subscriber']), - ('valid', orm['newsletter.Contact:valid']), - ('tester', orm['newsletter.Contact:tester']), - ('tags', orm['newsletter.Contact:tags']), - ('content_type', orm['newsletter.Contact:content_type']), - ('object_id', orm['newsletter.Contact:object_id']), - ('creation_date', orm['newsletter.Contact:creation_date']), - ('modification_date', orm['newsletter.Contact:modification_date']), - )) - db.send_create_signal('newsletter', ['Contact']) - - # Adding ManyToManyField 'WorkGroup.mailinglists' - db.create_table('newsletter_workgroup_mailinglists', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('workgroup', models.ForeignKey(orm.WorkGroup, null=False)), - ('mailinglist', models.ForeignKey(orm.MailingList, null=False)) - )) - - # Adding ManyToManyField 'MailingList.subscribers' - db.create_table('newsletter_mailinglist_subscribers', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('mailinglist', models.ForeignKey(orm.MailingList, null=False)), - ('contact', models.ForeignKey(orm.Contact, null=False)) - )) - - # Adding ManyToManyField 'WorkGroup.contacts' - db.create_table('newsletter_workgroup_contacts', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('workgroup', models.ForeignKey(orm.WorkGroup, null=False)), - ('contact', models.ForeignKey(orm.Contact, null=False)) - )) - - # Adding ManyToManyField 'WorkGroup.newsletters' - db.create_table('newsletter_workgroup_newsletters', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('workgroup', models.ForeignKey(orm.WorkGroup, null=False)), - ('newsletter', models.ForeignKey(orm.Newsletter, null=False)) - )) - - # Adding ManyToManyField 'MailingList.unsubscribers' - db.create_table('newsletter_mailinglist_unsubscribers', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('mailinglist', models.ForeignKey(orm.MailingList, null=False)), - ('contact', models.ForeignKey(orm.Contact, null=False)) - )) - - # Adding ManyToManyField 'Newsletter.test_contacts' - db.create_table('newsletter_newsletter_test_contacts', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('newsletter', models.ForeignKey(orm.Newsletter, null=False)), - ('contact', models.ForeignKey(orm.Contact, null=False)) - )) - - def backwards(self, orm): - - # Deleting model 'MailingList' - db.delete_table('newsletter_mailinglist') - - # Deleting model 'ContactMailingStatus' - db.delete_table('newsletter_contactmailingstatus') - - # Deleting model 'WorkGroup' - db.delete_table('newsletter_workgroup') - - # Deleting model 'Link' - db.delete_table('newsletter_link') - - # Deleting model 'Newsletter' - db.delete_table('newsletter_newsletter') - - # Deleting model 'SMTPServer' - db.delete_table('newsletter_smtpserver') - - # Deleting model 'Contact' - db.delete_table('newsletter_contact') - - # Dropping ManyToManyField 'WorkGroup.mailinglists' - db.delete_table('newsletter_workgroup_mailinglists') - - # Dropping ManyToManyField 'MailingList.subscribers' - db.delete_table('newsletter_mailinglist_subscribers') - - # Dropping ManyToManyField 'WorkGroup.contacts' - db.delete_table('newsletter_workgroup_contacts') - - # Dropping ManyToManyField 'WorkGroup.newsletters' - db.delete_table('newsletter_workgroup_newsletters') - - # Dropping ManyToManyField 'MailingList.unsubscribers' - db.delete_table('newsletter_mailinglist_unsubscribers') - - # Dropping ManyToManyField 'Newsletter.test_contacts' - db.delete_table('newsletter_newsletter_test_contacts') - - models = { - 'auth.group': { - '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': "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'}) - }, - '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'}) - }, - 'newsletter.contact': { - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'tags': ('tagging.fields.TagField', [], {'default': "''"}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}) - }, - 'newsletter.contactmailingstatus': { - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - 'newsletter.link': { - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - 'newsletter.mailinglist': { - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['newsletter.Contact']"}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}) - }, - 'newsletter.newsletter': { - 'content': ('django.db.models.fields.TextField', [], {'default': "u'\\n\\n'"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Emencia Newsletter'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Emencia Newsletter'", 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['newsletter.MailingList']"}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'default': '1', 'to': "orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'db_index': 'True'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - 'newsletter.smtpserver': { - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - 'newsletter.workgroup': { - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.Group']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - } - } - - complete_apps = ['newsletter'] diff --git a/emencia/django/newsletter/south_migrations_old(27.06.16)/0002_auto__add_attachment.py b/emencia/django/newsletter/south_migrations_old(27.06.16)/0002_auto__add_attachment.py deleted file mode 100644 index d070a5ed..00000000 --- a/emencia/django/newsletter/south_migrations_old(27.06.16)/0002_auto__add_attachment.py +++ /dev/null @@ -1,130 +0,0 @@ -from south.db import db -from south.v2 import SchemaMigration - - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Adding model 'Attachment' - db.create_table('newsletter_attachment', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('newsletter', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['newsletter.Newsletter'])), - ('title', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('file_attachment', self.gf('django.db.models.fields.files.FileField')(max_length=100)), - )) - db.send_create_signal('newsletter', ['Attachment']) - - def backwards(self, orm): - # Deleting model 'Attachment' - db.delete_table('newsletter_attachment') - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - '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': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - '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'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', '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'}) - }, - 'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - 'newsletter.contact': { - 'Meta': {'object_name': 'Contact'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}), - 'tags': ('tagging.fields.TagField', [], {'default': "''"}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}) - }, - 'newsletter.contactmailingstatus': { - 'Meta': {'object_name': 'ContactMailingStatus'}, - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - 'newsletter.link': { - 'Meta': {'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - 'newsletter.mailinglist': { - 'Meta': {'object_name': 'MailingList'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': "orm['newsletter.Contact']"}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['newsletter.Contact']"}) - }, - 'newsletter.newsletter': { - 'Meta': {'object_name': 'Newsletter'}, - 'content': ('django.db.models.fields.TextField', [], {'default': "u'\\n\\n'"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Giorgio Barbarotta Newsletter'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Giorgio Barbarotta Newsletter'", 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['newsletter.MailingList']"}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'default': '1', 'to': "orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'db_index': 'True'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - 'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - 'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.Group']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - } - } - - complete_apps = ['newsletter'] diff --git a/emencia/django/newsletter/south_migrations_old(27.06.16)/0003_auto__add_unique_newsletter_slug.py b/emencia/django/newsletter/south_migrations_old(27.06.16)/0003_auto__add_unique_newsletter_slug.py deleted file mode 100644 index 14645df9..00000000 --- a/emencia/django/newsletter/south_migrations_old(27.06.16)/0003_auto__add_unique_newsletter_slug.py +++ /dev/null @@ -1,123 +0,0 @@ -from south.db import db -from south.v2 import SchemaMigration - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding unique constraint on 'Newsletter', fields ['slug'] - db.create_unique('newsletter_newsletter', ['slug']) - - def backwards(self, orm): - # Removing unique constraint on 'Newsletter', fields ['slug'] - db.delete_unique('newsletter_newsletter', ['slug']) - - models = { - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - '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': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - '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'}) - }, - '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'}), - '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'}) - }, - 'newsletter.attachment': { - 'Meta': {'object_name': 'Attachment'}, - 'file_attachment': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['newsletter.Newsletter']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - 'newsletter.contact': { - 'Meta': {'ordering': "('creation_date',)", 'object_name': 'Contact'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'subscriber': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('tagging.fields.TagField', [], {'default': "''"}), - 'tester': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'valid': ('django.db.models.fields.BooleanField', [], {'default': 'True'}) - }, - 'newsletter.contactmailingstatus': { - 'Meta': {'ordering': "('creation_date',)", 'object_name': 'ContactMailingStatus'}, - 'contact': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['newsletter.Contact']"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['newsletter.Link']", 'null': 'True', 'blank': 'True'}), - 'newsletter': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['newsletter.Newsletter']"}), - 'status': ('django.db.models.fields.IntegerField', [], {}) - }, - 'newsletter.link': { - 'Meta': {'ordering': "('creation_date',)", 'object_name': 'Link'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - 'newsletter.mailinglist': { - 'Meta': {'ordering': "('creation_date',)", 'object_name': 'MailingList'}, - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'subscribers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'mailinglist_subscriber'", 'symmetrical': 'False', 'to': "orm['newsletter.Contact']"}), - 'unsubscribers': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'mailinglist_unsubscriber'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['newsletter.Contact']"}) - }, - 'newsletter.newsletter': { - 'Meta': {'ordering': "('creation_date',)", 'object_name': 'Newsletter'}, - 'content': ('django.db.models.fields.TextField', [], {'default': "u'\\n\\n'"}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'header_reply': ('django.db.models.fields.CharField', [], {'default': "'Emencia Newsletter'", 'max_length': '255'}), - 'header_sender': ('django.db.models.fields.CharField', [], {'default': "'Emencia Newsletter'", 'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailing_list': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['newsletter.MailingList']"}), - 'modification_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'sending_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'server': ('django.db.models.fields.related.ForeignKey', [], {'default': '1', 'to': "orm['newsletter.SMTPServer']"}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50', 'db_index': 'True'}), - 'status': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'test_contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - 'newsletter.smtpserver': { - 'Meta': {'object_name': 'SMTPServer'}, - 'headers': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'host': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mails_hour': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'port': ('django.db.models.fields.IntegerField', [], {'default': '25'}), - 'tls': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}) - }, - 'newsletter.workgroup': { - 'Meta': {'object_name': 'WorkGroup'}, - 'contacts': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['newsletter.Contact']", 'null': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.Group']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mailinglists': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['newsletter.MailingList']", 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'newsletters': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['newsletter.Newsletter']", 'null': 'True', 'blank': 'True'}) - } - } - - complete_apps = ['newsletter'] diff --git a/expobanner/migrations/0002_auto__add_field_top_months.py b/expobanner/migrations/0002_auto__add_field_top_months.py deleted file mode 100644 index 55f5cec3..00000000 --- a/expobanner/migrations/0002_auto__add_field_top_months.py +++ /dev/null @@ -1,511 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Top.months' - db.add_column(u'expobanner_top', 'months', - self.gf('functions.custom_fields.MonthMultiSelectField')(default=None, max_length=255, null=True, blank=True), - keep_default=False) - - # Adding field 'Top.years' - db.add_column(u'expobanner_top', 'years', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=None, null=True, blank=True), - keep_default=False) - - # Adding M2M table for field cities on 'Top' - m2m_table_name = db.shorten_name(u'expobanner_top_cities') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('top', models.ForeignKey(orm[u'expobanner.top'], null=False)), - ('city', models.ForeignKey(orm[u'city.city'], null=False)) - )) - db.create_unique(m2m_table_name, ['top_id', 'city_id']) - - - def backwards(self, orm): - # Deleting field 'Top.months' - db.delete_column(u'expobanner_top', 'months') - - # Deleting field 'Top.years' - db.delete_column(u'expobanner_top', 'years') - - # Removing M2M table for field cities on 'Top' - db.delete_table(db.shorten_name(u'expobanner_top_cities')) - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 5, 3, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.log': { - 'Meta': {'object_name': 'Log'}, - 'banner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'banner_logs'", 'to': u"orm['expobanner.Banner']"}), - 'datetime': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'group_logs'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.IPAddressField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'type': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0', 'max_length': '1'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'url_logs'", 'blank': 'True', 'to': u"orm['expobanner.URL']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'user_agent': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.logstat': { - 'Meta': {'ordering': "['-date']", 'object_name': 'LogStat'}, - 'banner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'banner_stat'", 'blank': 'True', 'to': u"orm['expobanner.Banner']"}), - 'click': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'date': ('django.db.models.fields.DateField', [], {}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'group_stat'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'unique_click': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'unique_view': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_bloks'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}), - 'view': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.paidstat': { - 'Meta': {'ordering': "['-date']", 'object_name': 'PaidStat'}, - 'catalog_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'catalog_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'official_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'page_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'paid': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']"}), - 'participation_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'price_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'tickets_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 5, 3, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.topstat': { - 'Meta': {'object_name': 'TopStat'}, - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['expobanner'] \ No newline at end of file diff --git a/expobanner/migrations/0003_auto__add_field_paid_kind.py b/expobanner/migrations/0003_auto__add_field_paid_kind.py deleted file mode 100644 index a6805f6b..00000000 --- a/expobanner/migrations/0003_auto__add_field_paid_kind.py +++ /dev/null @@ -1,503 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - depends_on = ( - ("conference", "0002_auto__add_field_conference_paid_new"), - ) - - def forwards(self, orm): - # Adding field 'Paid.kind' - db.add_column(u'expobanner_paid', 'kind', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=1, db_index=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Paid.kind' - db.delete_column(u'expobanner_paid', 'kind') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 5, 10, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.log': { - 'Meta': {'object_name': 'Log'}, - 'banner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'banner_logs'", 'to': u"orm['expobanner.Banner']"}), - 'datetime': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'group_logs'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.IPAddressField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'type': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0', 'max_length': '1'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'url_logs'", 'blank': 'True', 'to': u"orm['expobanner.URL']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'user_agent': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.logstat': { - 'Meta': {'ordering': "['-date']", 'object_name': 'LogStat'}, - 'banner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'banner_stat'", 'blank': 'True', 'to': u"orm['expobanner.Banner']"}), - 'click': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'date': ('django.db.models.fields.DateField', [], {}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'group_stat'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'unique_click': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'unique_view': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_bloks'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}), - 'view': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.paidstat': { - 'Meta': {'ordering': "['-date']", 'object_name': 'PaidStat'}, - 'catalog_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'catalog_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'official_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'page_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'paid': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']"}), - 'participation_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'price_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'tickets_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 5, 10, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.topstat': { - 'Meta': {'object_name': 'TopStat'}, - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - 'blogtheme_linking': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'to': u"orm['theme.ThemeBlog']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.themeblog': { - 'Meta': {'unique_together': '()', 'object_name': 'ThemeBlog', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['expobanner'] diff --git a/expobanner/migrations/0004_auto__chg_field_paid_participation.py b/expobanner/migrations/0004_auto__chg_field_paid_participation.py deleted file mode 100644 index 089c56bb..00000000 --- a/expobanner/migrations/0004_auto__chg_field_paid_participation.py +++ /dev/null @@ -1,494 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Changing field 'Paid.participation' - db.alter_column(u'expobanner_paid', 'participation_id', self.gf('django.db.models.fields.related.ForeignKey')(null=True, to=orm['expobanner.Banner'])) - - def backwards(self, orm): - - # User chose to not deal with backwards NULL issues for 'Paid.participation' - raise RuntimeError("Cannot reverse this migration. 'Paid.participation' and its values cannot be restored.") - - # The following code is provided here to aid in writing a correct migration - # Changing field 'Paid.participation' - db.alter_column(u'expobanner_paid', 'participation_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.Banner'])) - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 5, 30, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.log': { - 'Meta': {'object_name': 'Log'}, - 'banner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'banner_logs'", 'to': u"orm['expobanner.Banner']"}), - 'datetime': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'group_logs'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.IPAddressField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'type': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0', 'max_length': '1'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'url_logs'", 'blank': 'True', 'to': u"orm['expobanner.URL']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'user_agent': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.logstat': { - 'Meta': {'ordering': "['-date']", 'object_name': 'LogStat'}, - 'banner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'banner_stat'", 'blank': 'True', 'to': u"orm['expobanner.Banner']"}), - 'click': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'date': ('django.db.models.fields.DateField', [], {}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'group_stat'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'unique_click': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'unique_view': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_bloks'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}), - 'view': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.paidstat': { - 'Meta': {'ordering': "['-date']", 'object_name': 'PaidStat'}, - 'catalog_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'catalog_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'official_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'page_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'paid': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']"}), - 'participation_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'price_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'tickets_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 5, 30, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.topstat': { - 'Meta': {'object_name': 'TopStat'}, - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['expobanner'] \ No newline at end of file diff --git a/expobanner/migrations/0005_auto__add_field_logstat_updated_at.py b/expobanner/migrations/0005_auto__add_field_logstat_updated_at.py deleted file mode 100644 index 9d3daab4..00000000 --- a/expobanner/migrations/0005_auto__add_field_logstat_updated_at.py +++ /dev/null @@ -1,494 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'LogStat.updated_at' - db.add_column(u'expobanner_logstat', 'updated_at', - self.gf('django.db.models.fields.DateTimeField')(auto_now=True, null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'LogStat.updated_at' - db.delete_column(u'expobanner_logstat', 'updated_at') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 7, 7, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.log': { - 'Meta': {'object_name': 'Log'}, - 'banner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'banner_logs'", 'to': u"orm['expobanner.Banner']"}), - 'datetime': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'group_logs'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.IPAddressField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'type': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0', 'max_length': '1'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'url_logs'", 'blank': 'True', 'to': u"orm['expobanner.URL']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'user_agent': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.logstat': { - 'Meta': {'ordering': "['-date']", 'object_name': 'LogStat'}, - 'banner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'banner_stat'", 'blank': 'True', 'to': u"orm['expobanner.Banner']"}), - 'click': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'date': ('django.db.models.fields.DateField', [], {}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'group_stat'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'unique_click': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'unique_view': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'null': 'True', 'blank': 'True'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_bloks'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}), - 'view': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.paidstat': { - 'Meta': {'ordering': "['-date']", 'object_name': 'PaidStat'}, - 'catalog_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'catalog_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'official_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'page_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'paid': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']"}), - 'participation_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'price_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'tickets_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 7, 7, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.topstat': { - 'Meta': {'object_name': 'TopStat'}, - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['expobanner'] \ No newline at end of file diff --git a/expobanner/migrations/0006_auto__add_customer__add_field_banner_customer.py b/expobanner/migrations/0006_auto__add_customer__add_field_banner_customer.py deleted file mode 100644 index 6704289a..00000000 --- a/expobanner/migrations/0006_auto__add_customer__add_field_banner_customer.py +++ /dev/null @@ -1,516 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding model 'Customer' - db.create_table(u'expobanner_customer', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), - ('created_at', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), - ('updated_at', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), - )) - db.send_create_signal(u'expobanner', ['Customer']) - - # Adding field 'Banner.customer' - db.add_column(u'expobanner_banner', 'customer', - self.gf('django.db.models.fields.related.ForeignKey')(to=orm['expobanner.Customer'], null=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting model 'Customer' - db.delete_table(u'expobanner_customer') - - # Deleting field 'Banner.customer' - db.delete_column(u'expobanner_banner', 'customer_id') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 7, 11, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.log': { - 'Meta': {'object_name': 'Log'}, - 'banner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'banner_logs'", 'to': u"orm['expobanner.Banner']"}), - 'datetime': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'group_logs'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.IPAddressField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'type': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0', 'max_length': '1'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'url_logs'", 'blank': 'True', 'to': u"orm['expobanner.URL']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'user_agent': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.logstat': { - 'Meta': {'ordering': "['-date']", 'object_name': 'LogStat'}, - 'banner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'banner_stat'", 'blank': 'True', 'to': u"orm['expobanner.Banner']"}), - 'click': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'date': ('django.db.models.fields.DateField', [], {}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'group_stat'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'unique_click': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'unique_view': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'null': 'True', 'blank': 'True'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_bloks'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}), - 'view': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.paidstat': { - 'Meta': {'ordering': "['-date']", 'object_name': 'PaidStat'}, - 'catalog_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'catalog_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'official_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'page_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'paid': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']"}), - 'participation_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'price_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'tickets_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 7, 11, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.topstat': { - 'Meta': {'object_name': 'TopStat'}, - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['expobanner'] \ No newline at end of file diff --git a/expobanner/migrations/0007_auto__chg_field_logstat_click__chg_field_logstat_unique_view__chg_fiel.py b/expobanner/migrations/0007_auto__chg_field_logstat_click__chg_field_logstat_unique_view__chg_fiel.py deleted file mode 100644 index ca5c80c9..00000000 --- a/expobanner/migrations/0007_auto__chg_field_logstat_click__chg_field_logstat_unique_view__chg_fiel.py +++ /dev/null @@ -1,513 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Changing field 'LogStat.click' - db.alter_column(u'expobanner_logstat', 'click', self.gf('django.db.models.fields.PositiveIntegerField')(null=True)) - - # Changing field 'LogStat.unique_view' - db.alter_column(u'expobanner_logstat', 'unique_view', self.gf('django.db.models.fields.PositiveIntegerField')(null=True)) - - # Changing field 'LogStat.view' - db.alter_column(u'expobanner_logstat', 'view', self.gf('django.db.models.fields.PositiveIntegerField')(null=True)) - - def backwards(self, orm): - - # Changing field 'LogStat.click' - db.alter_column(u'expobanner_logstat', 'click', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)) - - # Changing field 'LogStat.unique_view' - db.alter_column(u'expobanner_logstat', 'unique_view', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)) - - # Changing field 'LogStat.view' - db.alter_column(u'expobanner_logstat', 'view', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)) - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 3, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.log': { - 'Meta': {'object_name': 'Log'}, - 'banner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'banner_logs'", 'to': u"orm['expobanner.Banner']"}), - 'datetime': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'group_logs'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'ip': ('django.db.models.fields.IPAddressField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'type': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0', 'max_length': '1'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'url_logs'", 'blank': 'True', 'to': u"orm['expobanner.URL']"}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'user_agent': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.logstat': { - 'Meta': {'ordering': "['-date']", 'object_name': 'LogStat'}, - 'banner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'banner_stat'", 'blank': 'True', 'to': u"orm['expobanner.Banner']"}), - 'click': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'null': 'True'}), - 'date': ('django.db.models.fields.DateField', [], {}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'group_stat'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'unique_click': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'unique_view': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'null': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'null': 'True', 'blank': 'True'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_bloks'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}), - 'view': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'null': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.paidstat': { - 'Meta': {'ordering': "['-date']", 'object_name': 'PaidStat'}, - 'catalog_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'catalog_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'official_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'page_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'paid': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']"}), - 'participation_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'price_views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'tickets_clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 3, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.topstat': { - 'Meta': {'object_name': 'TopStat'}, - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'clicks': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'date': ('django.db.models.fields.DateField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'tag': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['expobanner'] \ No newline at end of file diff --git a/exposition/migrations/0002_auto__add_field_exposition_bad_url.py b/exposition/migrations/0002_auto__add_field_exposition_bad_url.py deleted file mode 100644 index f15f1c53..00000000 --- a/exposition/migrations/0002_auto__add_field_exposition_bad_url.py +++ /dev/null @@ -1,592 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Exposition.bad_url' - db.add_column(u'exposition_exposition', 'bad_url', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Exposition.bad_url' - db.delete_column(u'exposition_exposition', 'bad_url') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 7, 1, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 7, 1, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'exposition.expositiontranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ExpositionTranslation', 'db_table': "u'exposition_exposition_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'discount_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.Exposition']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'participation_note': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'pre_condition': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_all': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_all_bar': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_day': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_day_bar': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'products': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'stand_condition': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'stat_countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'visit_note': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'exposition.statistic': { - 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'countries_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statistic'", 'to': u"orm['exposition.Exposition']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'exposition.statistictranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'StatisticTranslation', 'db_table': "u'exposition_statistic_translation'", 'index_together': '()'}, - 'countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.Statistic']"}) - }, - u'exposition.timetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'business_program'", 'to': u"orm['exposition.Exposition']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'null': 'True', 'blank': 'True'}) - }, - u'exposition.timetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TimeTableTranslation', 'db_table': "u'exposition_timetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.TimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'exposition.tmptimetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TmpTimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'null': 'True', 'blank': 'True'}) - }, - u'exposition.tmptimetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TmpTimeTableTranslation', 'db_table': "u'exposition_tmptimetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.TmpTimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['exposition'] \ No newline at end of file diff --git a/exposition/migrations/0003_auto__add_field_exposition_members_choice.py b/exposition/migrations/0003_auto__add_field_exposition_members_choice.py deleted file mode 100644 index ebbbaf7d..00000000 --- a/exposition/migrations/0003_auto__add_field_exposition_members_choice.py +++ /dev/null @@ -1,620 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Exposition.members_choice' - db.add_column(u'exposition_exposition', 'members_choice', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Exposition.visitors_choice' - db.add_column(u'exposition_exposition', 'visitors_choice', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Exposition.price_choice' - db.add_column(u'exposition_exposition', 'price_choice', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Exposition.members_choice' - db.delete_column(u'exposition_exposition', 'members_choice') - - # Deleting field 'Exposition.visitors_choice' - db.delete_column(u'exposition_exposition', 'visitors_choice') - - # Deleting field 'Exposition.price_choice' - db.delete_column(u'exposition_exposition', 'price_choice') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 8, 4, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 8, 4, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'exposition.expositiontranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ExpositionTranslation', 'db_table': "u'exposition_exposition_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'discount_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.Exposition']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'participation_note': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'pre_condition': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_all': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_all_bar': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_day': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_day_bar': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'products': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'stand_condition': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'stat_countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'visit_note': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'exposition.statistic': { - 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'countries_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statistic'", 'to': u"orm['exposition.Exposition']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'exposition.statistictranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'StatisticTranslation', 'db_table': "u'exposition_statistic_translation'", 'index_together': '()'}, - 'countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.Statistic']"}) - }, - u'exposition.timetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'business_program'", 'to': u"orm['exposition.Exposition']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'null': 'True', 'blank': 'True'}) - }, - u'exposition.timetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TimeTableTranslation', 'db_table': "u'exposition_timetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.TimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'exposition.tmptimetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TmpTimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'null': 'True', 'blank': 'True'}) - }, - u'exposition.tmptimetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TmpTimeTableTranslation', 'db_table': "u'exposition_tmptimetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.TmpTimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['exposition'] \ No newline at end of file diff --git a/exposition/migrations/0004_auto__add_field_exposition_price_rub__add_index_exposition_data_begin_.py b/exposition/migrations/0004_auto__add_field_exposition_price_rub__add_index_exposition_data_begin_.py deleted file mode 100644 index d97fe72c..00000000 --- a/exposition/migrations/0004_auto__add_field_exposition_price_rub__add_index_exposition_data_begin_.py +++ /dev/null @@ -1,635 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Exposition.price_rub' - db.add_column(u'exposition_exposition', 'price_rub', - self.gf('django.db.models.fields.FloatField')(null=True, blank=True), - keep_default=False) - - # Adding index on 'Exposition', fields ['data_begin'] - db.create_index(u'exposition_exposition', ['data_begin']) - - # Adding index on 'Exposition', fields ['visitors_choice'] - db.create_index(u'exposition_exposition', ['visitors_choice']) - - # Adding index on 'Exposition', fields ['members_choice'] - db.create_index(u'exposition_exposition', ['members_choice']) - - # Adding index on 'Exposition', fields ['price_choice'] - db.create_index(u'exposition_exposition', ['price_choice']) - - # Adding index on 'Exposition', fields ['is_published'] - db.create_index(u'exposition_exposition', ['is_published']) - - - def backwards(self, orm): - # Removing index on 'Exposition', fields ['is_published'] - db.delete_index(u'exposition_exposition', ['is_published']) - - # Removing index on 'Exposition', fields ['price_choice'] - db.delete_index(u'exposition_exposition', ['price_choice']) - - # Removing index on 'Exposition', fields ['members_choice'] - db.delete_index(u'exposition_exposition', ['members_choice']) - - # Removing index on 'Exposition', fields ['visitors_choice'] - db.delete_index(u'exposition_exposition', ['visitors_choice']) - - # Removing index on 'Exposition', fields ['data_begin'] - db.delete_index(u'exposition_exposition', ['data_begin']) - - # Deleting field 'Exposition.price_rub' - db.delete_column(u'exposition_exposition', 'price_rub') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 8, 18, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 8, 18, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'exposition.expositiontranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ExpositionTranslation', 'db_table': "u'exposition_exposition_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'discount_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.Exposition']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'participation_note': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'pre_condition': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_all': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_all_bar': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_day': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_day_bar': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'products': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'stand_condition': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'stat_countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'visit_note': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'exposition.statistic': { - 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'countries_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statistic'", 'to': u"orm['exposition.Exposition']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'exposition.statistictranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'StatisticTranslation', 'db_table': "u'exposition_statistic_translation'", 'index_together': '()'}, - 'countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.Statistic']"}) - }, - u'exposition.timetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'business_program'", 'to': u"orm['exposition.Exposition']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'null': 'True', 'blank': 'True'}) - }, - u'exposition.timetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TimeTableTranslation', 'db_table': "u'exposition_timetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.TimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'exposition.tmptimetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TmpTimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'null': 'True', 'blank': 'True'}) - }, - u'exposition.tmptimetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TmpTimeTableTranslation', 'db_table': "u'exposition_tmptimetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.TmpTimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['exposition'] \ No newline at end of file diff --git a/exposition/migrations/0005_auto__chg_field_exposition_price_rub.py b/exposition/migrations/0005_auto__chg_field_exposition_price_rub.py deleted file mode 100644 index 24b7fe06..00000000 --- a/exposition/migrations/0005_auto__chg_field_exposition_price_rub.py +++ /dev/null @@ -1,603 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Changing field 'Exposition.price_rub' - db.alter_column(u'exposition_exposition', 'price_rub', self.gf('django.db.models.fields.PositiveIntegerField')(null=True)) - - def backwards(self, orm): - - # Changing field 'Exposition.price_rub' - db.alter_column(u'exposition_exposition', 'price_rub', self.gf('django.db.models.fields.FloatField')(null=True)) - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 8, 19, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 8, 19, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'exposition.expositiontranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ExpositionTranslation', 'db_table': "u'exposition_exposition_translation'", 'index_together': '()'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'discount_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.Exposition']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'participation_note': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'pre_condition': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_all': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_all_bar': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_day': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price_day_bar': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'products': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'stand_condition': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'stat_countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'time': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'visit_note': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'exposition.statistic': { - 'Meta': {'unique_together': '()', 'object_name': 'Statistic', 'index_together': '()'}, - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'countries_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statistic'", 'to': u"orm['exposition.Exposition']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.PositiveIntegerField', [], {}) - }, - u'exposition.statistictranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'StatisticTranslation', 'db_table': "u'exposition_statistic_translation'", 'index_together': '()'}, - 'countries': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.Statistic']"}) - }, - u'exposition.timetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'business_program'", 'to': u"orm['exposition.Exposition']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'null': 'True', 'blank': 'True'}) - }, - u'exposition.timetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TimeTableTranslation', 'db_table': "u'exposition_timetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.TimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'exposition.tmptimetable': { - 'Meta': {'unique_together': '()', 'object_name': 'TmpTimeTable', 'index_together': '()'}, - 'begin': ('django.db.models.fields.DateTimeField', [], {}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'end': ('django.db.models.fields.DateTimeField', [], {}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'key': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'timetable_organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'null': 'True', 'blank': 'True'}) - }, - u'exposition.tmptimetabletranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'TmpTimeTableTranslation', 'db_table': "u'exposition_tmptimetable_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['exposition.TmpTimeTable']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'place': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'programe': ('django.db.models.fields.TextField', [], {}), - 'speaker': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['exposition'] \ No newline at end of file diff --git a/exposition/signals.py b/exposition/signals.py deleted file mode 100644 index 6b7ad132..00000000 --- a/exposition/signals.py +++ /dev/null @@ -1,6 +0,0 @@ -# -*- coding: utf-8 -*- -from django.db.models.signals import post_save -from models import Exposition -from functions.signal_handlers import post_save_handler - -#post_save.connect(post_save_handler, sender=Exposition) diff --git a/password_reset/locale/de/LC_MESSAGES/django.mo b/password_reset/locale/de/LC_MESSAGES/django.mo deleted file mode 100644 index b8c3de93..00000000 Binary files a/password_reset/locale/de/LC_MESSAGES/django.mo and /dev/null differ diff --git a/password_reset/locale/de/LC_MESSAGES/django.po b/password_reset/locale/de/LC_MESSAGES/django.po deleted file mode 100644 index febc5878..00000000 --- a/password_reset/locale/de/LC_MESSAGES/django.po +++ /dev/null @@ -1,127 +0,0 @@ -# django-password-reset translations for DE. -# This file is distributed under the same license as the django-password-reset package. -# Hannes Rantzsch , 2014. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-07 14:54+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Hannes Rantzsch \n" -"Language-Team: DE \n" -"Language: DE\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: forms.py:26 -msgid "Username" -msgstr "Benutzername" - -#: forms.py:27 -msgid "Email" -msgstr "E-Mail" - -#: forms.py:28 -msgid "Username or Email" -msgstr "Benutzername oder E-Mail" - -#: forms.py:48 forms.py:58 forms.py:70 -msgid "Sorry, this user doesn't exist." -msgstr "Entschuldigung, dieser Benutzer existiert nicht." - -#: forms.py:72 -msgid "Unable to find user." -msgstr "Benutzer konnte nicht gefunden werden." - -#: forms.py:78 -msgid "New password" -msgstr "Neues Passwort" - -#: forms.py:82 -msgid "New password (confirm)" -msgstr "Neues Passwort (bestätigen)" - -#: forms.py:94 -msgid "The two passwords didn't match." -msgstr "Die beiden Passwörter stimmen nicht überein." - -#: templates/password_reset/recovery_done.html:3 -msgid "New password set" -msgstr "Neues Passwort wurde gesetzt" - -#: templates/password_reset/recovery_done.html:6 -msgid "" -"Your password has successfully been reset. You can use it right now on the " -"login page." -msgstr "Ihr Passwort wurde erfolgreich zurückgesetzt. " -"Sie können es ab sofort auf der Login-Seite verwenden" - -#: templates/password_reset/recovery_email.txt:1 -#, python-format -msgid "Dear %(username)s," -msgstr "Sehr geehrte(r) %(username)s" - -#: templates/password_reset/recovery_email.txt:3 -#, python-format -msgid "" -"You -- or someone pretending to be you -- has requested a password reset on " -"%(domain)s." -msgstr "Sie -- oder jemand, der vorgibt Sie zu sein -- haben angefordert, " -"Ihr Passwort auf %(domain)s zurückzusetzen." - -#: templates/password_reset/recovery_email.txt:5 -msgid "You can set your new password by following this link:" -msgstr "Folgen Sie diesem Link, um ein neues Passwort festzulegen:" - -#: templates/password_reset/recovery_email.txt:9 -msgid "" -"If you don't want to reset your password, simply ignore this email and it " -"will stay unchanged." -msgstr "Sollten Sie nicht angefordert haben, Ihr Passwort zurückzusetzen, ignorieren " -"Sie einfach diese E-Mail und Ihr Passwort bleibt unverändert." - -#: templates/password_reset/recovery_email_subject.txt:1 -#, python-format -msgid "Password recovery on %(domain)s" -msgstr "Rücksetzung Ihres Passwortes auf %(domain)s" - -#: templates/password_reset/recovery_form.html:5 -msgid "Password recovery" -msgstr "Passwort zurücksetzen" - -#: templates/password_reset/recovery_form.html:11 -msgid "Recover my password" -msgstr "Passwort zurücksetzen" - -#: templates/password_reset/reset.html:5 -#, python-format -msgid "" -"Sorry, this password reset link is invalid. You can still request a new one." -msgstr "Es tut uns Leid, dieser Link zur Passwortwiederherstellung ist ungültig. Sie können einen neuen anfordern." - -#: templates/password_reset/reset.html:7 -#, python-format -msgid "Hi, %(username)s. Please choose your new password." -msgstr "Hallo, %(username)s. Bitte wählen Sie Ihr Passwort." - -#: templates/password_reset/reset.html:11 -msgid "Set new password" -msgstr "Neues Passwort speichern" - -#: templates/password_reset/reset_sent.html:4 -msgid "Password recovery sent" -msgstr "Passwortrücksetzung versandt" - -#: templates/password_reset/reset_sent.html:7 -#, python-format -msgid "" -"An email was sent to %(email)s %(ago)s ago. Use the link in " -"it to set a new password." -msgstr "Eine E-Mail an %(email)s wurde vor %(ago)s versandt. " -"Nutzen Sie den darin enthaltenen Link um Ihr Passwort zurückzusetzen." diff --git a/password_reset/locale/en/LC_MESSAGES/django.po b/password_reset/locale/en/LC_MESSAGES/django.po deleted file mode 100644 index ec6d3d10..00000000 --- a/password_reset/locale/en/LC_MESSAGES/django.po +++ /dev/null @@ -1,122 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-08 13:44+0300\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: password_reset/forms.py:14 -msgid "Sorry, this user doesn't exist." -msgstr "" - -#: password_reset/forms.py:31 -msgid "Username" -msgstr "" - -#: password_reset/forms.py:32 -msgid "Email" -msgstr "" - -#: password_reset/forms.py:33 -msgid "Для восстановления пароля укажите email, который Вы регистрировали" -msgstr "" - -#: password_reset/forms.py:83 -msgid "Unable to find user." -msgstr "" - -#: password_reset/forms.py:89 -msgid "New password" -msgstr "" - -#: password_reset/forms.py:93 -msgid "New password (confirm)" -msgstr "" - -#: password_reset/forms.py:98 -msgid "The two passwords didn't match." -msgstr "" - -#: password_reset/templates/password_reset/recovery_done.html:3 -msgid "New password set" -msgstr "" - -#: password_reset/templates/password_reset/recovery_done.html:6 -msgid "" -"Your password has successfully been reset. You can use it right now on the " -"login page." -msgstr "" - -#: password_reset/templates/password_reset/recovery_email.txt:1 -#, python-format -msgid "Dear %(username)s," -msgstr "" - -#: password_reset/templates/password_reset/recovery_email.txt:3 -#, python-format -msgid "" -"You -- or someone pretending to be you -- has requested a password reset on " -"%(domain)s." -msgstr "" - -#: password_reset/templates/password_reset/recovery_email.txt:5 -msgid "You can set your new password by following this link:" -msgstr "" - -#: password_reset/templates/password_reset/recovery_email.txt:9 -msgid "" -"If you don't want to reset your password, simply ignore this email and it " -"will stay unchanged." -msgstr "" - -#: password_reset/templates/password_reset/recovery_email_subject.txt:1 -#, python-format -msgid "Password recovery on %(domain)s" -msgstr "" - -#: password_reset/templates/password_reset/recovery_form.html:5 -msgid "Password recovery" -msgstr "" - -#: password_reset/templates/password_reset/recovery_form.html:10 -msgid "Recover my password" -msgstr "" - -#: password_reset/templates/password_reset/reset.html:5 -#, python-format -msgid "" -"Sorry, this password reset link is invalid. You can still request a new one." -msgstr "" - -#: password_reset/templates/password_reset/reset.html:7 -#, python-format -msgid "Hi, %(username)s. Please choose your new password." -msgstr "" - -#: password_reset/templates/password_reset/reset.html:11 -msgid "Set new password" -msgstr "" - -#: password_reset/templates/password_reset/reset_sent.html:4 -msgid "Password recovery sent" -msgstr "" - -#: password_reset/templates/password_reset/reset_sent.html:7 -#, python-format -msgid "" -"An email was sent to %(email)s %(ago)s ago. Use the link in " -"it to set a new password." -msgstr "" diff --git a/password_reset/locale/es/LC_MESSAGES/django.mo b/password_reset/locale/es/LC_MESSAGES/django.mo deleted file mode 100644 index 4eb4943e..00000000 Binary files a/password_reset/locale/es/LC_MESSAGES/django.mo and /dev/null differ diff --git a/password_reset/locale/es/LC_MESSAGES/django.po b/password_reset/locale/es/LC_MESSAGES/django.po deleted file mode 100644 index d23bf790..00000000 --- a/password_reset/locale/es/LC_MESSAGES/django.po +++ /dev/null @@ -1,131 +0,0 @@ -# django-password-reset translations for ES. -# This file is distributed under the same license as the django-password-reset package. -# Marcos Gabriel Alcazar , 2013. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-10-30 22:24-0300\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Marcos Gabriel Alcazar \n" -"Language-Team: ES \n" -"Language: ES\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: forms.py:26 -msgid "Username" -msgstr "Usuario" - -#: forms.py:27 -msgid "Email" -msgstr "Email" - -#: forms.py:28 -msgid "Username or Email" -msgstr "Usuario o Email" - -#: forms.py:48 forms.py:58 forms.py:70 -msgid "Sorry, this user doesn't exist." -msgstr "Disculpe, el usuario no existe." - -#: forms.py:72 -msgid "Unable to find user." -msgstr "No es posible encontrar el usuario." - -#: forms.py:78 -msgid "New password" -msgstr "Nueva clave" - -#: forms.py:82 -msgid "New password (confirm)" -msgstr "Nueva clave (confirmar)" - -#: forms.py:94 -msgid "The two passwords didn't match." -msgstr "Las claves no coinciden" - -#: templates/password_reset/recovery_done.html:3 -msgid "New password set" -msgstr "Nueva clave actualizada" - -#: templates/password_reset/recovery_done.html:6 -msgid "" -"Your password has successfully been reset. You can use it right now on the " -"login page." -msgstr "" -"Su clave ha sido restaurada. Puede utilizarla para ingresar al sistema" - -#: templates/password_reset/recovery_email.txt:1 -#, python-format -msgid "Dear %(username)s," -msgstr "Querido %(username)s," - -#: templates/password_reset/recovery_email.txt:3 -#, python-format -msgid "" -"You -- or someone pretending to be you -- has requested a password reset on " -"%(domain)s." -msgstr "" -"Usted -- o alguien pretendiendo ser usted -- ha requerido un blanqueo de clave en" -"%(domain)s." - -#: templates/password_reset/recovery_email.txt:5 -msgid "You can set your new password by following this link:" -msgstr "Su clave puede cambiada siguiendo el siguiente enlace" - -#: templates/password_reset/recovery_email.txt:9 -msgid "" -"If you don't want to reset your password, simply ignore this email and it " -"will stay unchanged." -msgstr "" -"Si usted no ha requerido un cambio de clave, simplemente ignore este email y " -"no sera actualizada." - -#: templates/password_reset/recovery_email_subject.txt:1 -#, python-format -msgid "Password recovery on %(domain)s" -msgstr "Recuperacion de clave en %(domain)s" - -#: templates/password_reset/recovery_form.html:5 -msgid "Password recovery" -msgstr "Recuperacion de clave" - -#: templates/password_reset/recovery_form.html:11 -msgid "Recover my password" -msgstr "Recuperar mi clave" - -#: templates/password_reset/reset.html:5 -#, python-format -msgid "" -"Sorry, this password reset link is invalid. You can still request a new one." -msgstr "" -"Disculpe, la url para el recupero de clave es invalida. Usted puede solicitar una nueva." - -#: templates/password_reset/reset.html:7 -#, python-format -msgid "Hi, %(username)s. Please choose your new password." -msgstr "Hola %(username)s. Por favor ingrese su nueva clave." - -#: templates/password_reset/reset.html:11 -msgid "Set new password" -msgstr "Ingresar nueva clave" - -#: templates/password_reset/reset_sent.html:4 -msgid "Password recovery sent" -msgstr "Clave recuperada enviada" - -#: templates/password_reset/reset_sent.html:7 -#, python-format -msgid "" -"An email was sent to %(email)s %(ago)s ago. Use the link in " -"it to set a new password." -msgstr "" -"Un email ha sido enviado a %(email)s hace %(ago)s minutos. " -"Use el enlace recibido para recuperar su clave" diff --git a/password_reset/locale/ka/LC_MESSAGES/django.mo b/password_reset/locale/ka/LC_MESSAGES/django.mo deleted file mode 100644 index a00b319f..00000000 Binary files a/password_reset/locale/ka/LC_MESSAGES/django.mo and /dev/null differ diff --git a/password_reset/locale/ka/LC_MESSAGES/django.po b/password_reset/locale/ka/LC_MESSAGES/django.po deleted file mode 100644 index af8d0dbd..00000000 --- a/password_reset/locale/ka/LC_MESSAGES/django.po +++ /dev/null @@ -1,133 +0,0 @@ -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# Givi Khojanashvili , 2014. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-03-18 14:11+0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Givi Khojanashvili \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#: forms.py:26 -msgid "Username" -msgstr "სახელი" - -#: forms.py:27 -msgid "Email" -msgstr "Email" - -#: forms.py:28 -msgid "Username or Email" -msgstr "სახელი ან Email-ი" - -#: forms.py:51 forms.py:61 forms.py:73 -msgid "Sorry, this user doesn't exist." -msgstr "ბოდიში, ასეთი მომხმარებელი არ არსებობს." - -#: forms.py:75 -msgid "Unable to find user." -msgstr "შეუძლებელია მომხმარებელის მოძებნა" - -#: forms.py:81 -msgid "New password" -msgstr "ახალი პაროლი" - -#: forms.py:85 -msgid "New password (confirm)" -msgstr "ახალი პაროლი (დამოწმება)" - -#: forms.py:97 -msgid "The two passwords didn't match." -msgstr "ორი პაროლი არ ემთხვევა ერთმანეთს." - -#: templates/password_reset/recovery_done.html:3 -msgid "New password set" -msgstr "ახალი პაროლი დაყენებულია" - -#: templates/password_reset/recovery_done.html:6 -msgid "" -"Your password has successfully been reset. You can use it right now on the " -"login page." -msgstr "" -"თქვენი პაროლი იყო წარმატებულად შეცვლილი. თქვენ შეგიძლიათ ის ეხლავე მოიხმაროთ ავტორიზირების გვერდზე" - -#: templates/password_reset/recovery_email.txt:1 -#, python-format -msgid "Dear %(username)s," -msgstr "%(username)s," - -#: templates/password_reset/recovery_email.txt:3 -#, python-format -msgid "" -"You -- or someone pretending to be you -- has requested a password reset on " -"%(domain)s." -msgstr "" -"თქვენ -- ან ვინმემ თქვენი სახელით -- მოითხოვეთ პაროლის შეცვლა " -"%(domain)s-ზე." - -#: templates/password_reset/recovery_email.txt:5 -msgid "You can set your new password by following this link:" -msgstr "გადადით შემდეგ ლინკზე და შეძლებთ ახალი პაროლის დაყენებას:" - -#: templates/password_reset/recovery_email.txt:9 -msgid "" -"If you don't want to reset your password, simply ignore this email and it " -"will stay unchanged." -msgstr "" -"თუ თქვენ არ გსურთ პაროლის შეცვლა ნუ მიაქცევთ ყურადღებას ამ email-ს და " -"თქვენი პაროლი უცვლელი დარჩება" - -#: templates/password_reset/recovery_email_subject.txt:1 -#, python-format -msgid "Password recovery on %(domain)s" -msgstr "პაროლის აღდგენა %(domain)s-ზე" - -#: templates/password_reset/recovery_form.html:5 -msgid "Password recovery" -msgstr "პაროლის აღდგენა" - -#: templates/password_reset/recovery_form.html:11 -msgid "Recover my password" -msgstr "ავღადგინო ჩემი პაროლი" - -#: templates/password_reset/reset.html:5 -#, python-format -msgid "" -"Sorry, this password reset link is invalid. You can still request a new one." -msgstr "" -"ბოდიში, პაროლის შეცვლის ლინკი არასწორია. თქვენ ისევ შეგიძლიად ახალი მოითხოვოთ." - -#: templates/password_reset/reset.html:7 -#, python-format -msgid "Hi, %(username)s. Please choose your new password." -msgstr "გამარჯობა, %(username)s. გთხოვთ ამოირჩიეთ თქვენი " -"ახალი პაროლი" - -#: templates/password_reset/reset.html:11 -msgid "Set new password" -msgstr "დავაყენო ახალი პაროლი" - -#: templates/password_reset/reset_sent.html:4 -msgid "Password recovery sent" -msgstr "პაროლის აღდგენის მოთხოვნა გაგზავნილია" - -#: templates/password_reset/reset_sent.html:7 -#, python-format -msgid "" -"An email was sent to %(email)s %(ago)s ago. Use the link in " -"it to set a new password." -msgstr "" -"email-ი %(email)s-ზე იყო გაგზავნილი %(ago)s წინ. მოიხმარეთ ეს " -"ლინკი იმისათვის რომ დააყენოთ ახალი პაროლი" diff --git a/password_reset/locale/nb/LC_MESSAGES/django.mo b/password_reset/locale/nb/LC_MESSAGES/django.mo deleted file mode 100644 index aaae85ac..00000000 Binary files a/password_reset/locale/nb/LC_MESSAGES/django.mo and /dev/null differ diff --git a/password_reset/locale/nb/LC_MESSAGES/django.po b/password_reset/locale/nb/LC_MESSAGES/django.po deleted file mode 100644 index 2a59384c..00000000 --- a/password_reset/locale/nb/LC_MESSAGES/django.po +++ /dev/null @@ -1,137 +0,0 @@ -# django-password-reset translations for ES. -# This file is distributed under the same license as the django-password-reset package. -# -# First author: Gunnar Inge G. Sortland , 2014. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-04-05 20:57+0000\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: forms.py:26 -msgid "Username" -msgstr "Brukernavn" - -#: forms.py:27 -msgid "Email" -msgstr "Epost" - -#: forms.py:28 -msgid "Username or Email" -msgstr "Brukernavn eller epost" - -#: forms.py:51 forms.py:61 forms.py:73 -msgid "Sorry, this user doesn't exist." -msgstr "Beklager, denne brukeren eksisterer ikke" - -#: forms.py:75 -msgid "Unable to find user." -msgstr "Finner ikke brukeren." - -#: forms.py:81 -msgid "New password" -msgstr "Nytt passord" - -#: forms.py:85 -msgid "New password (confirm)" -msgstr "Bekreft nytt passord" - -#: forms.py:97 -msgid "The two passwords didn't match." -msgstr "Passordene er ikke like." - -#: templates/password_reset/recovery_done.html:3 -#, fuzzy -msgid "New password set" -msgstr "Nytt passord" - -#: templates/password_reset/recovery_done.html:6 -msgid "" -"Your password has successfully been reset. You can use it right now on the " -"login page." -msgstr "" -"Ditt passord har blitt endret. Du kan nå logge inn med ditt nye passord." - -#: templates/password_reset/recovery_email.txt:1 -#, python-format -msgid "Dear %(username)s," -msgstr "Kjære %(username)s," - -#: templates/password_reset/recovery_email.txt:3 -#, python-format -msgid "" -"You -- or someone pretending to be you -- has requested a password reset on " -"%(domain)s." -msgstr "" -"Du, eller noen som utgir seg for å være deg, har bedt om et nytt passord for " -"%(domain)s." - -#: templates/password_reset/recovery_email.txt:5 -msgid "You can set your new password by following this link:" -msgstr "Du kan sette nytt passord ved å følge denne linken:" - -#: templates/password_reset/recovery_email.txt:9 -msgid "" -"If you don't want to reset your password, simply ignore this email and it " -"will stay unchanged." -msgstr "" -"Hvis du ikke ønsker å bytte passord kan du se bort i fra denne eposten.Ditt " -"passord vil forbli uendret." - -#: templates/password_reset/recovery_email_subject.txt:1 -#, python-format -msgid "Password recovery on %(domain)s" -msgstr "Glemt passord for %(domain)s" - -#: templates/password_reset/recovery_form.html:5 -#, fuzzy -msgid "Password recovery" -msgstr "Glemt passord for %(domain)s" - -#: templates/password_reset/recovery_form.html:11 -#, fuzzy -msgid "Recover my password" -msgstr "Nytt passord" - -#: templates/password_reset/reset.html:5 -#, python-format -msgid "" -"Sorry, this password reset link is invalid. You can still request a new one." -msgstr "" -"Beklager, men lenken for bytte av passord er ikke korrekt. Send forespørsel om ny lenke.." - -#: templates/password_reset/reset.html:7 -#, python-format -msgid "Hi, %(username)s. Please choose your new password." -msgstr "Hei, %(username)s. Vennligst velg ditt nye passord." - -#: templates/password_reset/reset.html:11 -#, fuzzy -msgid "Set new password" -msgstr "Nytt passord" - -#: templates/password_reset/reset_sent.html:4 -#, fuzzy -msgid "Password recovery sent" -msgstr "Glemt passord for %(domain)s" - -#: templates/password_reset/reset_sent.html:7 -#, python-format -msgid "" -"An email was sent to %(email)s %(ago)s ago. Use the link in " -"it to set a new password." -msgstr "" -"En epost har blitt sendt til %(email)s for %(ago)s siden. " -"Bruk den tilsende lenken for å be om et nytt passord." diff --git a/password_reset/locale/pl/LC_MESSAGES/django.mo b/password_reset/locale/pl/LC_MESSAGES/django.mo deleted file mode 100644 index 04f6d38f..00000000 Binary files a/password_reset/locale/pl/LC_MESSAGES/django.mo and /dev/null differ diff --git a/password_reset/locale/pl/LC_MESSAGES/django.po b/password_reset/locale/pl/LC_MESSAGES/django.po deleted file mode 100644 index a9454bda..00000000 --- a/password_reset/locale/pl/LC_MESSAGES/django.po +++ /dev/null @@ -1,117 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: django-password-reset\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-01-30 12:57+0100\n" -"PO-Revision-Date: 2013-01-30 13:04+0100\n" -"Last-Translator: Michał Sałaban \n" -"Language-Team: \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" -"X-Poedit-Language: Polish\n" -"X-Poedit-Country: Poland\n" - -#: forms.py:25 -msgid "Username" -msgstr "Nazwa użytkownika" - -#: forms.py:26 -msgid "Email" -msgstr "Email" - -#: forms.py:27 -msgid "Username or Email" -msgstr "Nazwa użytkownika lub email" - -#: forms.py:46 -#: forms.py:55 -#: forms.py:66 -msgid "Sorry, this user doesn't exist." -msgstr "Niestety, taki użytkownik nie istnieje" - -#: forms.py:68 -msgid "Unable to find user." -msgstr "Nie można znaleźć użytkownika." - -#: forms.py:74 -msgid "New password" -msgstr "Nowe hasło" - -#: forms.py:78 -msgid "New password (confirm)" -msgstr "Nowe hasło (potwierdź)" - -#: forms.py:90 -msgid "The two passwords didn't match." -msgstr "Hasła się różnią." - -#: templates/password_reset/recovery_done.html:3 -msgid "New password set" -msgstr "Ustawiono nowe hasło" - -#: templates/password_reset/recovery_done.html:6 -msgid "Your password has successfully been reset. You can use it right now on the login page." -msgstr "Twoje hasło zostało pomyślnie zmienione. Możesz go już użyć na stronie logowania." - -#: templates/password_reset/recovery_email.txt:1 -#, python-format -msgid "Dear %(username)s," -msgstr "Witaj %(username)s," - -#: templates/password_reset/recovery_email.txt:3 -#, python-format -msgid "You -- or someone pretending to be you -- has requested a password reset on %(domain)s." -msgstr "Ty -- lub ktoś podający się za Ciebie -- zażądał zmiany hasła w %(domain)s." - -#: templates/password_reset/recovery_email.txt:5 -msgid "You can set your new password by following this link:" -msgstr "Możesz ustawić nowe hasło, klikając w ten odnośnik:" - -#: templates/password_reset/recovery_email.txt:9 -msgid "If you don't want to reset your password, simply ignore this email and it will stay unchanged." -msgstr "Jeśli nie chcesz zmieniać hasła, po prostu zignoruj tę wiadomość, a żadne zmiany nie zostaną wprowadzone." - -#: templates/password_reset/recovery_email_subject.txt:1 -#, python-format -msgid "Password recovery on %(domain)s" -msgstr "Odzyskiwanie hasła w %(domain)s" - -#: templates/password_reset/recovery_form.html:5 -msgid "Password recovery" -msgstr "Odzyskiwanie hasła" - -#: templates/password_reset/recovery_form.html:11 -msgid "Recover my password" -msgstr "Odzyskaj hasło" - -#: templates/password_reset/reset.html:5 -#, python-format -msgid "Sorry, this password reset link is invalid. You can still request a new one." -msgstr "Niestety, ten odnośnik jest nieprawidłowy. Możesz jednak zażądać nowego." - -#: templates/password_reset/reset.html:7 -#, python-format -msgid "Hi, %(username)s. Please choose your new password." -msgstr "Witaj, %(username)s. Wpisz swoje nowe hasło." - -#: templates/password_reset/reset.html:11 -msgid "Set new password" -msgstr "Ustaw nowe hasło" - -#: templates/password_reset/reset_sent.html:4 -msgid "Password recovery sent" -msgstr "Wysłano odnośnik do zmiany hasła" - -#: templates/password_reset/reset_sent.html:7 -#, python-format -msgid "An email was sent to %(email)s %(ago)s ago. Use the link in it to set a new password." -msgstr "%(ago)s wysłano wiadomość na adres %(email)s. Użyj zawartego tam odnośnika by zmienić hasło." - diff --git a/password_reset/locale/ru/LC_MESSAGES/django.mo b/password_reset/locale/ru/LC_MESSAGES/django.mo deleted file mode 100644 index f073c350..00000000 Binary files a/password_reset/locale/ru/LC_MESSAGES/django.mo and /dev/null differ diff --git a/password_reset/locale/ru/LC_MESSAGES/django.po b/password_reset/locale/ru/LC_MESSAGES/django.po deleted file mode 100644 index 8ad17f19..00000000 --- a/password_reset/locale/ru/LC_MESSAGES/django.po +++ /dev/null @@ -1,125 +0,0 @@ -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# Semen Pupkov , 2012. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-11-04 15:01+0600\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" - -#: forms.py:25 -msgid "Username" -msgstr "Логин" - -#: forms.py:26 -msgid "Email" -msgstr "Email" - -#: forms.py:27 -msgid "Username or Email" -msgstr "Логин или Email" - -#: forms.py:46 forms.py:55 forms.py:66 -msgid "Sorry, this user doesn't exist." -msgstr "Извините, такого пользователя нет" - -#: forms.py:68 -msgid "Unable to find user." -msgstr "Такого пользователя нет" - -#: forms.py:74 -msgid "New password" -msgstr "Новый пароль" - -#: forms.py:78 -msgid "New password (confirm)" -msgstr "Новый пароль (подтверждение)" - -#: forms.py:90 -msgid "The two passwords didn't match." -msgstr "Пароли не совпадают" - -#: templates/password_reset/recovery_done.html:3 -msgid "New password set" -msgstr "Новый пароль сохранен" - -#: templates/password_reset/recovery_done.html:6 -msgid "" -"Your password has successfully been reset. You can use it right now on the " -"login page." -msgstr "Ваш пароль был успешно сброшен. Сейчас вы можете авторизоваться с новым паролем" - -#: templates/password_reset/recovery_email.txt:1 -#, python-format -msgid "Dear %(username)s," -msgstr "Уважаемый %(username)s," - -#: templates/password_reset/recovery_email.txt:3 -#, python-format -msgid "" -"You -- or someone pretending to be you -- has requested a password reset on " -"%(domain)s." -msgstr "Вы или кто-то еще, сделал запрос на сброс пароля на сайте %(domain)s." - -#: templates/password_reset/recovery_email.txt:5 -msgid "You can set your new password by following this link:" -msgstr "Вы можете установить новый пароль пройдя по этой ссылке:" - -#: templates/password_reset/recovery_email.txt:9 -msgid "" -"If you don't want to reset your password, simply ignore this email and it " -"will stay unchanged." -msgstr "Если вы не хотете сбрасывать ваш пароль, просто проигнорируйте это сообщение" - -#: templates/password_reset/recovery_email_subject.txt:1 -#, python-format -msgid "Password recovery on %(domain)s" -msgstr "Востановление пароля на сайте %(domain)s" - -#: templates/password_reset/recovery_form.html:5 -msgid "Password recovery" -msgstr "Воставновление пароля" - -#: templates/password_reset/recovery_form.html:11 -msgid "Recover my password" -msgstr "Востановить пароль" - -#: templates/password_reset/reset.html:5 -#, python-format -msgid "" -"Sorry, this password reset link is invalid. You can still request a new one." -msgstr "Извините, эта ссылка для востановление пароля неверная, вы можете сделать новый запрос." - -#: templates/password_reset/reset.html:7 -#, python-format -msgid "Hi, %(username)s. Please choose your new password." -msgstr "Здравствуйте, %(username)s. Пожалуйста задайте новый пароль" - -#: templates/password_reset/reset.html:11 -msgid "Set new password" -msgstr "Установить новый пароль" - -#: templates/password_reset/reset_sent.html:4 -msgid "Password recovery sent" -msgstr "Запрос на востановление пароля отправлен" - -#: templates/password_reset/reset_sent.html:7 -#, python-format -msgid "" -"An email was sent to %(email)s %(ago)s ago. Use the link in " -"it to set a new password." -msgstr "Письмо с инструкциями по востановлению пароля было отправлено на %(email)s %(ago)s назад" diff --git a/password_reset/locale/zh/LC_MESSAGES/django.mo b/password_reset/locale/zh/LC_MESSAGES/django.mo deleted file mode 100644 index f1f11c35..00000000 Binary files a/password_reset/locale/zh/LC_MESSAGES/django.mo and /dev/null differ diff --git a/password_reset/locale/zh/LC_MESSAGES/django.po b/password_reset/locale/zh/LC_MESSAGES/django.po deleted file mode 100644 index 12fa1c0a..00000000 --- a/password_reset/locale/zh/LC_MESSAGES/django.po +++ /dev/null @@ -1,122 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-01-23 10:01+0800\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forms.py:26 -msgid "Username" -msgstr "用户名" - -#: forms.py:27 -msgid "Email" -msgstr "邮箱" - -#: forms.py:28 -msgid "Username or Email" -msgstr "用户名或者邮箱" - -#: forms.py:48 forms.py:58 forms.py:70 -msgid "Sorry, this user doesn't exist." -msgstr "抱歉,用户名不存在." - -#: forms.py:72 -msgid "Unable to find user." -msgstr "找不到指定用户" - -#: forms.py:78 -msgid "New password" -msgstr "新密码" - -#: forms.py:82 -msgid "New password (confirm)" -msgstr "新密码(确认)" - -#: forms.py:94 -msgid "The two passwords didn't match." -msgstr "两次输入的密码不一致" - -#: templates/password_reset/recovery_done.html:3 -msgid "New password set" -msgstr "设置新密码" - -#: templates/password_reset/recovery_done.html:6 -msgid "" -"Your password has successfully been reset. You can use it right now on the " -"login page." -msgstr "您的密码已经重设成功,现在可以登录了." - -#: templates/password_reset/recovery_email.txt:1 -#, python-format -msgid "Dear %(username)s," -msgstr "您好 %(username)s," - -#: templates/password_reset/recovery_email.txt:3 -#, python-format -msgid "" -"You -- or someone pretending to be you -- has requested a password reset on " -"%(domain)s." -msgstr "您或者其它的人在 %(domain)s 申请了密码重置." - -#: templates/password_reset/recovery_email.txt:5 -msgid "You can set your new password by following this link:" -msgstr "您可以通过以下链接重置密码:" - -#: templates/password_reset/recovery_email.txt:9 -msgid "" -"If you don't want to reset your password, simply ignore this email and it " -"will stay unchanged." -msgstr "如果您不想重设密码,可以忽略此邮箱." - -#: templates/password_reset/recovery_email_subject.txt:1 -#, python-format -msgid "Password recovery on %(domain)s" -msgstr "在 %(domain)s 上重设密码" - -#: templates/password_reset/recovery_form.html:5 -msgid "Password recovery" -msgstr "重新设置密码" - -#: templates/password_reset/recovery_form.html:11 -msgid "Recover my password" -msgstr "重设密码" - -#: templates/password_reset/reset.html:5 -#, python-format -msgid "" -"Sorry, this password reset link is invalid. You can still request a new one." -msgstr "抱歉,链接已经失效,您可以在 请求一个新链接." - -#: templates/password_reset/reset.html:7 -#, python-format -msgid "Hi, %(username)s. Please choose your new password." -msgstr "您好,%(username)s. 请输入您的新密码." - -#: templates/password_reset/reset.html:11 -msgid "Set new password" -msgstr "设置新密码" - -#: templates/password_reset/reset_sent.html:4 -msgid "Password recovery sent" -msgstr "发送重设密码" - -#: templates/password_reset/reset_sent.html:7 -#, python-format -msgid "" -"An email was sent to %(email)s %(ago)s ago. Use the link in " -"it to set a new password." -msgstr "已经在%(ago)s以前向您的邮箱 %(email)s发送了邮件,根据邮件提示重新设置您的新密码." diff --git a/photologue/locale/cs/LC_MESSAGES/django.mo b/photologue/locale/cs/LC_MESSAGES/django.mo deleted file mode 100644 index 5def9a6e..00000000 Binary files a/photologue/locale/cs/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/cs/LC_MESSAGES/django.po b/photologue/locale/cs/LC_MESSAGES/django.po deleted file mode 100644 index 4be78772..00000000 --- a/photologue/locale/cs/LC_MESSAGES/django.po +++ /dev/null @@ -1,639 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# QB , 2013 -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2013-11-20 11:06+0000\n" -"Last-Translator: QB \n" -"Language-Team: Czech (http://www.transifex.com/projects/p/django-photologue/" -"language/cs/)\n" -"Language: cs\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "" -"Jednotlivé tagy oddělte mezerami, víceslovné tagy uzavřete do úvozovek." - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "" -"Aplikace Django-tagging není nainstalovaná, tagy budou brány jako prostý " -"text." - -#: models.py:115 -msgid "Very Low" -msgstr "Velmi nízká" - -#: models.py:116 -msgid "Low" -msgstr "Nízká" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Nížší střední" - -#: models.py:118 -msgid "Medium" -msgstr "Střední" - -#: models.py:119 -msgid "Medium-High" -msgstr "Vyšší střední" - -#: models.py:120 -msgid "High" -msgstr "Vysoká" - -#: models.py:121 -msgid "Very High" -msgstr "Velmi vysoká" - -#: models.py:126 -msgid "Top" -msgstr "Nahoře" - -#: models.py:127 -msgid "Right" -msgstr "Vpravo" - -#: models.py:128 -msgid "Bottom" -msgstr "Dole" - -#: models.py:129 -msgid "Left" -msgstr "Vlevo" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Uprostřed (výchozí)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Obrátit vodorovně" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Obrátit svisle" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "Otočit o 90 stupňů vlevo" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "Otočit o 90 stupňů vpravo" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "Otočit o 180 stupňů" - -#: models.py:142 -msgid "Tile" -msgstr "Dláždit" - -#: models.py:143 -msgid "Scale" -msgstr "Přizpůsobit velikost" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" -"Zřetězte více filtrů použitím vzoru „PRVNI_FILTR->DRUHY_FILTR-" -">TRETI_FILTR“.\n" -"Filtry budou aplikovány v daném pořadí. K dispozici jsou tyto filtry: %s." - -#: models.py:159 -msgid "date published" -msgstr "datum zveřejnění" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "název" - -#: models.py:164 -msgid "title slug" -msgstr "identifikátor" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "Unikátní název, který bude použit v URL adrese (bez diakritiky)." - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "popis" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "veřejné" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "Veřejné fotogalerie budou zobrazeny ve výchozích pohledech." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "fotografie" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "tagy" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "fotogalerie" - -#: models.py:188 -msgid "galleries" -msgstr "fotogalerie" - -#: models.py:225 -msgid "count" -msgstr "počet" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "archiv s obrázky (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "" -"Vyberte soubor s příponou .zip, jehož obsah má být nahrán do nové " -"fotogalerie." - -#: models.py:252 -#, fuzzy -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" -"Všem obrázkům ve fotogalerii budou automaticky nastaveny názvy ve tvaru " -"„název galerie + pořadové číslo“." - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" -"Vyberte fotogalerii, do které se mají tyto obrázky přidat. Ponechte prázdné " -"pro vytvoření nové fotogalerie s daným názvem." - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "titulek" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "Titulek bude přidán ke všem fotografiím." - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "Popis této fotogalerie." - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "" -"Zrušte zaškrtnutí, pokud chcete, aby byla nově nahraná fotogalerie neveřejná." - -#: models.py:276 -msgid "gallery upload" -msgstr "nahrání celé fotogalerie" - -#: models.py:277 -msgid "gallery uploads" -msgstr "nahrání celé fotogalerie" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "" - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: models.py:392 models.py:863 -msgid "image" -msgstr "obrázek" - -#: models.py:395 -msgid "date taken" -msgstr "datum pořízení" - -#: models.py:399 -msgid "view count" -msgstr "počet zobrazení" - -#: models.py:402 -msgid "crop from" -msgstr "oříznout" - -#: models.py:411 -msgid "effect" -msgstr "efekt" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "Velikost „admin_thumbnail“ není definovaná." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Náhled" - -#: models.py:649 -msgid "slug" -msgstr "identifikátor" - -#: models.py:654 -msgid "date added" -msgstr "datum přidání" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "Veřejné fotografie budou zobrazeny ve výchozích pohledech." - -#: models.py:668 -msgid "photo" -msgstr "fotografie" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "název" - -#: models.py:801 -msgid "rotate or flip" -msgstr "obrátit nebo otočit" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "barva" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "" -"Hodnota 0,0 udělá černobílý obrázek, hodnota 1,0 zachová původní barvy." - -#: models.py:808 -msgid "brightness" -msgstr "jas" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "Hodnota 0,0 udělá černý obrázek, hodnota 1,0 zachová původní jas." - -#: models.py:811 -msgid "contrast" -msgstr "kontrast" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "Hodnota 0,0 udělá šedý obrázek, hodnota 1,0 zachová původní kontrast." - -#: models.py:814 -msgid "sharpness" -msgstr "ostrost" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Hodnota 0,0 udělá rozmazaný obrázek, hodnota 1,0 zachová původní ostrost." - -#: models.py:817 -msgid "filters" -msgstr "filtry" - -#: models.py:821 -msgid "size" -msgstr "velikost" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" -"Výška odrazu jako podíl výšky původního obrázku. Hodnota 0.0 nepřidá žádný " -"odraz, hodnota 1.0 přidá odraz stejně vysoký, jako původní obrázek." - -#: models.py:824 -msgid "strength" -msgstr "intenzita" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "Počáteční intenzita postupně slábnoucího odrazu." - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "Barva pozadí odrazu. Nastavte na barvu pozadí stránky." - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "efekt" - -#: models.py:834 -msgid "photo effects" -msgstr "efekty" - -#: models.py:865 -msgid "style" -msgstr "styl" - -#: models.py:869 -msgid "opacity" -msgstr "krytí" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "Neprůhlednost překrývajícího obrázku." - -#: models.py:874 -msgid "watermark" -msgstr "vodotisk" - -#: models.py:875 -msgid "watermarks" -msgstr "vodotisky" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" -"Název velikosti by měl obsahovat pouze písmena, číslice a podtržítka. " -"Například: „nahled“, „male_zobrazeni“, „velke_zobrazeni“." - -#: models.py:898 -msgid "width" -msgstr "šířka" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" -"Pokud je šířka nastavena na 0, velikost obrázku bude upravena podle zadané " -"výšky." - -#: models.py:901 -msgid "height" -msgstr "výška" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" -"Pokud je výška nastavena na 0, velikost obrázku bude upravena podle zadané " -"šířky." - -#: models.py:904 -msgid "quality" -msgstr "kvalita" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "Kvalita JPEG." - -#: models.py:908 -msgid "upscale images?" -msgstr "zvětšit obrázky?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" -"Pokud je vybráno, obrázek bude podle potřeby zvětšen, aby odpovídal " -"požadovaným rozměrům. Pokud má být obrázek oříznutý, bude podle potřeby " -"zvětšen bez ohledu na toto nastavení." - -#: models.py:911 -msgid "crop to fit?" -msgstr "oříznout?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" -"Pokud je vybráno, obrázek bude oříznutý, aby odpovídal požadovaným proporcím." - -#: models.py:914 -msgid "pre-cache?" -msgstr "vytvářet předem?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "" -"Pokud je vybráno, bude pro každý obrázek vytvořena varianta v této velikosti " -"předem, místo až v době zobrazení." - -#: models.py:917 -msgid "increment view count?" -msgstr "navyšovat počet zobrazení?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" -"Pokud je vybráno, bude hodnota „view_count“ obrázku navyšována s každým " -"zobrazením obrázku této velikosti." - -#: models.py:929 -msgid "watermark image" -msgstr "obrázek s vodotiskem" - -#: models.py:933 -msgid "photo size" -msgstr "velikost obrázku" - -#: models.py:934 -msgid "photo sizes" -msgstr "velikosti obrázků" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "Ořezávat fotografie je možné, pouze pokud je zadána výška i šířka." - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "Nejnovější fotogalerie" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "Zveřejněné" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "Žádné fotogalerie nebyly nalezeny" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "Prohlédnout všechny fotogalerie" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "Všechny fotogalerie" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "předchozí" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" -"\n" -"strana %(page_number)s z %(total_pages)s" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "další" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "Tato fotografie se nachází v následujících fotogaleriích" diff --git a/photologue/locale/da/LC_MESSAGES/django.mo b/photologue/locale/da/LC_MESSAGES/django.mo deleted file mode 100644 index 3e177a64..00000000 Binary files a/photologue/locale/da/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/da/LC_MESSAGES/django.po b/photologue/locale/da/LC_MESSAGES/django.po deleted file mode 100644 index 8dd24dc8..00000000 --- a/photologue/locale/da/LC_MESSAGES/django.po +++ /dev/null @@ -1,633 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# Michael Lind Mortensen , 2009 -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2013-11-20 11:06+0000\n" -"Last-Translator: richardbarran \n" -"Language-Team: Danish (http://www.transifex.com/projects/p/django-photologue/" -"language/da/)\n" -"Language: da\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "Adskil tags med mellemrum, placer anførselstegn omkring flerordstags." - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "" -"Django-tagging blev ikke fundet, tags vil blive behandlet som normal tekst." - -#: models.py:115 -msgid "Very Low" -msgstr "Meget Lav" - -#: models.py:116 -msgid "Low" -msgstr "Lav" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Medium Lav" - -#: models.py:118 -msgid "Medium" -msgstr "Medium" - -#: models.py:119 -msgid "Medium-High" -msgstr "Medium Høj" - -#: models.py:120 -msgid "High" -msgstr "Høj" - -#: models.py:121 -msgid "Very High" -msgstr "Meget Høj" - -#: models.py:126 -msgid "Top" -msgstr "Top" - -#: models.py:127 -msgid "Right" -msgstr "Højre" - -#: models.py:128 -msgid "Bottom" -msgstr "Bund" - -#: models.py:129 -msgid "Left" -msgstr "Venstre" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Center (Standard)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Flip venstre til højre" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Flip top til bund" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "Roter 90 grader mod uret" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "Roter 90 grader med uret" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "Roter 180 grader" - -#: models.py:142 -msgid "Tile" -msgstr "Tile" - -#: models.py:143 -msgid "Scale" -msgstr "Skala" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" -"Sæt adskillige filtre i kæde vha. følgende mønster \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Billedefiltre vil blive påført i den anførte rækkefølge. De " -"følgende filtre er tilgænglige: %s." - -#: models.py:159 -msgid "date published" -msgstr "dato offentliggjort" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "titel" - -#: models.py:164 -msgid "title slug" -msgstr "titel slug" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "En \"slug\" er en unik URL-venlig titel for et objekt" - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "beskrivelse" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "er offentlig" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "Offentlige gallerier vil blive vist i standard views." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "billeder" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "tags" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "galleri" - -#: models.py:188 -msgid "galleries" -msgstr "gallerier" - -#: models.py:225 -msgid "count" -msgstr "tæller" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "billedefil (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "Vælg en .zip-fil af billeder til at uploade ind i det nye Galleri" - -#: models.py:252 -#, fuzzy -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" -"Alle billeder i galleriet vil blive givet en titel ud fra galleriets titel + " -"et sekventielt nummer." - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "billedetekst" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "Billedeteksten vil blive tilføjet til alle billeder." - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "En beskrivelse af dette Galleri" - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "" -"Fjern afkrydsningen her for at gøre det uploadede galleri og alle " -"inkluderede billeder private." - -#: models.py:276 -msgid "gallery upload" -msgstr "galleri uploadet" - -#: models.py:277 -msgid "gallery uploads" -msgstr "galleri uploads" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "" - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: models.py:392 models.py:863 -msgid "image" -msgstr "billede" - -#: models.py:395 -msgid "date taken" -msgstr "dato taget" - -#: models.py:399 -msgid "view count" -msgstr "" - -#: models.py:402 -msgid "crop from" -msgstr "beskær fra" - -#: models.py:411 -msgid "effect" -msgstr "effekt" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "En \"admin_thumbnail\" billedestørrelse er ikke blevet defineret." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Thumbnail" - -#: models.py:649 -msgid "slug" -msgstr "slug" - -#: models.py:654 -msgid "date added" -msgstr "dato tilføjet" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "Offentlige billeder vil blive vist i standard views." - -#: models.py:668 -msgid "photo" -msgstr "billede" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "navn" - -#: models.py:801 -msgid "rotate or flip" -msgstr "roter eller flip" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "farve" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "" -"En faktor af 0.0 giver et sort og hvidt billede, en faktor af 1.0 giver det " -"originale billede." - -#: models.py:808 -msgid "brightness" -msgstr "lysstyrke" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "" -"En faktor af 0.0 giver et sort billede, en faktor af 1.0 giver det originale " -"billede." - -#: models.py:811 -msgid "contrast" -msgstr "kontrast" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "" -"En faktor af 0.0 giver et solidt gråt billede, en faktor af 1.0 giver det " -"originale billede." - -#: models.py:814 -msgid "sharpness" -msgstr "skarphed" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "" -"En faktor af 0.0 giver et sløret billede, en faktor af 1.0 giver det " -"originale billede." - -#: models.py:817 -msgid "filters" -msgstr "filtre" - -#: models.py:821 -msgid "size" -msgstr "størrelse" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" -"Højden af reflektionen som en procentdel af det originale billede. En faktor " -"af 0.0 tilføjer ingen reflektion, en faktor af 1.0 tilføjer en reflektion " -"lig med højden af det oprindelige billede." - -#: models.py:824 -msgid "strength" -msgstr "styrke" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "Den initielle uigennemsigtighed af den reflektive gradient." - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" -"Baggrundsfarven af den reflektive gradient. Sæt dette til at passe med " -"baggrundsfarven af din side." - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "billedeeffekt" - -#: models.py:834 -msgid "photo effects" -msgstr "billedeeffekter" - -#: models.py:865 -msgid "style" -msgstr "stil" - -#: models.py:869 -msgid "opacity" -msgstr "uigennemsigtighed" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "Uigennemsigtigheden af overlaget." - -#: models.py:874 -msgid "watermark" -msgstr "vandmærke" - -#: models.py:875 -msgid "watermarks" -msgstr "vandmærker" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" -"Billede størrelse navn må kun indeholde bogstaver, numre og underscores. " -"Eksempler: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." - -#: models.py:898 -msgid "width" -msgstr "bredde" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" -"Hvis bredden er sat til \"0\" vil billede blive skaleret til den givne højde." - -#: models.py:901 -msgid "height" -msgstr "højde" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" -"Hvis højden er sat til \"0\" vil billede blive skaleret til den givne bredde." - -#: models.py:904 -msgid "quality" -msgstr "kvalitet" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "JPEG billedekvalitet" - -#: models.py:908 -msgid "upscale images?" -msgstr "opskaler billeder?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" -"Hvis valgt, vil billedet blive skaleret op såfremt det er nødvendigt for at " -"passe til de givne dimensioner. Beskårede størrelser vil blive opskaleret " -"uanset denne indstilling." - -#: models.py:911 -msgid "crop to fit?" -msgstr "beskær til at passe?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" -"Hvis valgt, vil billedet blive skaleret og beskåret for at passe til de " -"givne dimensioner." - -#: models.py:914 -msgid "pre-cache?" -msgstr "pre-cache?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "" -"Hvis valgt, vil dette billedes størrelse blive pre-cached som billeder " -"bliver tilføjet." - -#: models.py:917 -msgid "increment view count?" -msgstr "inkrementer set tæller?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" -"Hvis valgt, vil billedets \"view_count\" blive inkrementeret når billedets " -"størrelse vises." - -#: models.py:929 -msgid "watermark image" -msgstr "vandmærkebillede" - -#: models.py:933 -msgid "photo size" -msgstr "billedestørrelse" - -#: models.py:934 -msgid "photo sizes" -msgstr "billedestørrelser" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "" diff --git a/photologue/locale/de/LC_MESSAGES/django.mo b/photologue/locale/de/LC_MESSAGES/django.mo deleted file mode 100644 index 7d541224..00000000 Binary files a/photologue/locale/de/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/de/LC_MESSAGES/django.po b/photologue/locale/de/LC_MESSAGES/django.po deleted file mode 100644 index 8186a537..00000000 --- a/photologue/locale/de/LC_MESSAGES/django.po +++ /dev/null @@ -1,646 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# FIRST AUTHOR , 2009 -# Jannis, 2012 -# Jannis Š, 2012-2013 -# Jannis Š, 2012 -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2013-11-20 11:06+0000\n" -"Last-Translator: richardbarran \n" -"Language-Team: German (http://www.transifex.com/projects/p/django-photologue/" -"language/de/)\n" -"Language: de\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "" -"Trenne Schlagwörter mit Leerzeichen, gruppiere mehrteilige Begriffe mit " -"Anführungzeichen." - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "" -"Django-tagging wurde nicht gefunden, Schlagwörter werden als einfacher Text " -"behandelt." - -#: models.py:115 -msgid "Very Low" -msgstr "Sehr niedrig" - -#: models.py:116 -msgid "Low" -msgstr "Niedrig" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Mittel-niedrig" - -#: models.py:118 -msgid "Medium" -msgstr "Mittel" - -#: models.py:119 -msgid "Medium-High" -msgstr "Mittel-hoch" - -#: models.py:120 -msgid "High" -msgstr "Hoch" - -#: models.py:121 -msgid "Very High" -msgstr "Sehr hoch" - -#: models.py:126 -msgid "Top" -msgstr "Oben" - -#: models.py:127 -msgid "Right" -msgstr "Rechts" - -#: models.py:128 -msgid "Bottom" -msgstr "Unten" - -#: models.py:129 -msgid "Left" -msgstr "Links" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Mitte (Standard)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Horizontal spiegeln" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Vertikal spiegeln" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "Um 90° nach links drehen" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "Um 90° nach rechts drehen" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "Um 180° drehen" - -#: models.py:142 -msgid "Tile" -msgstr "Kacheln" - -#: models.py:143 -msgid "Scale" -msgstr "Skalieren" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" -"Verkette mehrere Filter in der Art \"FILTER_EINS->FILTER_ZWEI->FILTER_DREI" -"\". Bildfilter werden nach der Reihe angewendet. Folgende Filter sind " -"verfügbar: %s." - -#: models.py:159 -msgid "date published" -msgstr "Veröffentlichungsdatum" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "Titel" - -#: models.py:164 -msgid "title slug" -msgstr "Kurztitel" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "" -"Ein Kurztitel (\"slug\") ist ein eindeutiger, URL-geeigneter Titel für ein " -"Objekt." - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "Beschreibung" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "ist öffentlich" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "Öffentliche Galerien werden in den Standard-Views angezeigt." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "Fotos" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "Schlagwörter" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "Galerie" - -#: models.py:188 -msgid "galleries" -msgstr "Galerien" - -#: models.py:225 -msgid "count" -msgstr "Anzahl" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "Bilder-Archiv (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "" -"Wähle eine .zip-Datei mit Bildern aus, um sie in eine neue Galerie " -"hochzuladen." - -#: models.py:252 -#, fuzzy -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" -"Alle Fotos in der Galerie bekommen einen Namen, der aus dem Namen der " -"Galerie und einer fortlaufenden Nummer zusammengesetzt ist." - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "Bildunterschrift" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "Die Bildunterschrift wird allen Fotos hinzugefügt." - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "Beschreibung dieser Galerie." - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "" -"Schalte dies aus, um die hochgeladene Galerie und alle enthaltenen Bilder " -"privat zu machen." - -#: models.py:276 -msgid "gallery upload" -msgstr "Galerie-Upload" - -#: models.py:277 -msgid "gallery uploads" -msgstr "Galerie-Uploads" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "" - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: models.py:392 models.py:863 -msgid "image" -msgstr "Bild" - -#: models.py:395 -msgid "date taken" -msgstr "Aufnahmedatum" - -#: models.py:399 -msgid "view count" -msgstr "Anzahl an Aufrufen" - -#: models.py:402 -msgid "crop from" -msgstr "Beschneiden von" - -#: models.py:411 -msgid "effect" -msgstr "Effekt" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "Es ist keine Fotogröße \"admin_thumbnail\" definiert." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Vorschaubild" - -#: models.py:649 -msgid "slug" -msgstr "Kurztitel" - -#: models.py:654 -msgid "date added" -msgstr "Datum des Eintrags" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "Öffentliche Fotos werden in den Standard-Views angezeigt." - -#: models.py:668 -msgid "photo" -msgstr "Foto" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "Name" - -#: models.py:801 -msgid "rotate or flip" -msgstr "drehen oder spiegeln" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "Farbe" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "" -"Ein Faktor von 0.0 erzeugt ein Schwarzweißbild, ein Faktor von 1.0 erhält " -"das Originalbild." - -#: models.py:808 -msgid "brightness" -msgstr "Helligkeit" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Ein Faktor von 0.0 erzeugt ein schwarzes Bild, ein Faktor von 1.0 erhält das " -"Originalbild." - -#: models.py:811 -msgid "contrast" -msgstr "Kontrast" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Ein Faktor von 0.0 erzeugt ein opak graues Bild, ein Faktor von 1.0 erhält " -"das Originalbild." - -#: models.py:814 -msgid "sharpness" -msgstr "Schärfe" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Ein Faktor von 0.0 erzeugt ein sehr unscharfes Bild, ein Faktor von 1.0 " -"erhält das Originalbild." - -#: models.py:817 -msgid "filters" -msgstr "Filter" - -#: models.py:821 -msgid "size" -msgstr "Größe" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" -"Die Höhe der Reflexion als Prozentwert des Originalbildes. Ein Faktor von " -"0.0 erzeugt keine Reflexion, ein Faktor von 1.0 ergibt eine Reflexion von " -"der Höhe des Originalbildes." - -#: models.py:824 -msgid "strength" -msgstr "Stärke" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "Die Anfangs-Deckung des Reflexions-Verlaufs." - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" -"Die Hintergrundfarbe des Reflexions-Verlaufs. Setze dies auf die " -"Hintergrundfarbe deiner Seite." - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "Foto-Effekt" - -#: models.py:834 -msgid "photo effects" -msgstr "Foto-Effekte" - -#: models.py:865 -msgid "style" -msgstr "Stil" - -#: models.py:869 -msgid "opacity" -msgstr "Deckung" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "Deckung (Opazität) der Überlagerung" - -#: models.py:874 -msgid "watermark" -msgstr "Wasserzeichen" - -#: models.py:875 -msgid "watermarks" -msgstr "Wasserzeichen" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" -"Der Name der Fotogröße darf nur Buchstaben, Zahlen und Unterstriche " -"enthalten. Beispiele: \"thumbnail\", \"display\", \"small\", " -"\"main_page_widget\"." - -#: models.py:898 -msgid "width" -msgstr "Breite" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" -"Wenn die Breite auf \"0\" gesetzt ist, wird das Bild proportional auf die " -"angebene Höhe skaliert." - -#: models.py:901 -msgid "height" -msgstr "Höhe" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" -"Wenn die Höhe auf \"0\" gesetzt ist, wird das Bild proportional auf die " -"angebene Breite skaliert." - -#: models.py:904 -msgid "quality" -msgstr "Qualität" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "JPEG-Bildqualität" - -#: models.py:908 -msgid "upscale images?" -msgstr "Bilder hochskalieren?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" -"Soll das Bild hochskaliert werden, um das angegebene Format zu erreichen? " -"Beschnittene Größen werden unabhängig von dieser Einstellung bei Bedarf " -"hochskaliert." - -#: models.py:911 -msgid "crop to fit?" -msgstr "Zuschneiden?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" -"Soll das Bild auf das angegebene Format skaliert und beschnitten werden?" - -#: models.py:914 -msgid "pre-cache?" -msgstr "Vorausspeichern?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "" -"Soll diese Bildgröße im Voraus gespeichert (pre-cached) werden, wenn Fotos " -"hinzugefügt werden?" - -#: models.py:917 -msgid "increment view count?" -msgstr "Bildzähler?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" -"Soll der Ansichts-Zähler (view-count) hochgezählt werden, wenn ein Foto " -"dieser Größe angezeigt wird?" - -#: models.py:929 -msgid "watermark image" -msgstr "Wasserzeichen-Bild" - -#: models.py:933 -msgid "photo size" -msgstr "Foto-Größe" - -#: models.py:934 -msgid "photo sizes" -msgstr "Foto-Größen" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "" -"Fotos können nur zugeschnitten werden, wenn Breite und Höhe angegeben sind." - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "Neueste Fotogalerien" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "Veröffentlicht" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "Es wurden keine Galerien gefunden." - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "Zeige alle Galerien." - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "Alle Galerien" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "Vorherige" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "Nächste" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "Dieses Foto befindet sich in folgenden Galerien" diff --git a/photologue/locale/en/LC_MESSAGES/django.mo b/photologue/locale/en/LC_MESSAGES/django.mo deleted file mode 100644 index 6ff763d6..00000000 Binary files a/photologue/locale/en/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/en/LC_MESSAGES/django.po b/photologue/locale/en/LC_MESSAGES/django.po deleted file mode 100644 index 35d2d11d..00000000 --- a/photologue/locale/en/LC_MESSAGES/django.po +++ /dev/null @@ -1,613 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-08 13:44+0300\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: photologue/models.py:59 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "" - -#: photologue/models.py:70 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "" - -#: photologue/models.py:121 -msgid "Very Low" -msgstr "" - -#: photologue/models.py:122 -msgid "Low" -msgstr "" - -#: photologue/models.py:123 -msgid "Medium-Low" -msgstr "" - -#: photologue/models.py:124 -msgid "Medium" -msgstr "" - -#: photologue/models.py:125 -msgid "Medium-High" -msgstr "" - -#: photologue/models.py:126 -msgid "High" -msgstr "" - -#: photologue/models.py:127 -msgid "Very High" -msgstr "" - -#: photologue/models.py:132 -msgid "Top" -msgstr "" - -#: photologue/models.py:133 -msgid "Right" -msgstr "" - -#: photologue/models.py:134 -msgid "Bottom" -msgstr "" - -#: photologue/models.py:135 -msgid "Left" -msgstr "" - -#: photologue/models.py:136 -msgid "Center (Default)" -msgstr "" - -#: photologue/models.py:140 -msgid "Flip left to right" -msgstr "" - -#: photologue/models.py:141 -msgid "Flip top to bottom" -msgstr "" - -#: photologue/models.py:142 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "" - -#: photologue/models.py:143 -msgid "Rotate 90 degrees clockwise" -msgstr "" - -#: photologue/models.py:144 -msgid "Rotate 180 degrees" -msgstr "" - -#: photologue/models.py:148 -msgid "Tile" -msgstr "" - -#: photologue/models.py:149 -msgid "Scale" -msgstr "" - -#: photologue/models.py:160 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" - -#: photologue/models.py:174 photologue/models.py:301 photologue/models.py:696 -msgid "title" -msgstr "" - -#: photologue/models.py:175 photologue/models.py:316 photologue/models.py:815 -msgid "description" -msgstr "" - -#: photologue/models.py:177 -msgid "date published" -msgstr "" - -#: photologue/models.py:180 -msgid "title slug" -msgstr "" - -#: photologue/models.py:182 photologue/models.py:704 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "" - -#: photologue/models.py:185 photologue/models.py:319 photologue/models.py:709 -msgid "is public" -msgstr "" - -#: photologue/models.py:187 -msgid "Public galleries will be displayed in the default views." -msgstr "" - -#: photologue/models.py:191 photologue/models.py:724 -msgid "photos" -msgstr "" - -#: photologue/models.py:197 photologue/models.py:326 photologue/models.py:712 -msgid "tags" -msgstr "" - -#: photologue/models.py:198 photologue/models.py:713 -msgid "sites" -msgstr "" - -#: photologue/models.py:206 photologue/models.py:308 -msgid "gallery" -msgstr "" - -#: photologue/models.py:207 -msgid "galleries" -msgstr "" - -#: photologue/models.py:276 -msgid "count" -msgstr "" - -#: photologue/models.py:298 -msgid "images file (.zip)" -msgstr "" - -#: photologue/models.py:300 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "" - -#: photologue/models.py:305 -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" - -#: photologue/models.py:311 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" - -#: photologue/models.py:313 photologue/models.py:698 -msgid "caption" -msgstr "" - -#: photologue/models.py:315 -msgid "Caption will be added to all photos." -msgstr "" - -#: photologue/models.py:318 -msgid "A description of this Gallery." -msgstr "" - -#: photologue/models.py:321 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "" - -#: photologue/models.py:329 -msgid "gallery upload" -msgstr "" - -#: photologue/models.py:330 -msgid "gallery uploads" -msgstr "" - -#: photologue/models.py:342 -msgid "A gallery with that title already exists." -msgstr "" - -#: photologue/models.py:346 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: photologue/models.py:382 -#, python-brace-format -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: photologue/models.py:402 -#, python-format, python-brace-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: photologue/models.py:428 -#, python-brace-format -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: photologue/models.py:445 photologue/models.py:949 -msgid "image" -msgstr "" - -#: photologue/models.py:448 -msgid "date taken" -msgstr "" - -#: photologue/models.py:452 -msgid "view count" -msgstr "" - -#: photologue/models.py:455 -msgid "crop from" -msgstr "" - -#: photologue/models.py:464 -msgid "effect" -msgstr "" - -#: photologue/models.py:488 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "" - -#: photologue/models.py:496 -msgid "Thumbnail" -msgstr "" - -#: photologue/models.py:702 -msgid "slug" -msgstr "" - -#: photologue/models.py:707 -msgid "date added" -msgstr "" - -#: photologue/models.py:711 -msgid "Public photographs will be displayed in the default views." -msgstr "" - -#: photologue/models.py:723 -msgid "photo" -msgstr "" - -#: photologue/models.py:812 photologue/models.py:981 -msgid "name" -msgstr "" - -#: photologue/models.py:887 -msgid "rotate or flip" -msgstr "" - -#: photologue/models.py:891 photologue/models.py:913 -msgid "color" -msgstr "" - -#: photologue/models.py:893 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "" - -#: photologue/models.py:894 -msgid "brightness" -msgstr "" - -#: photologue/models.py:896 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "" - -#: photologue/models.py:897 -msgid "contrast" -msgstr "" - -#: photologue/models.py:899 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "" - -#: photologue/models.py:900 -msgid "sharpness" -msgstr "" - -#: photologue/models.py:902 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "" - -#: photologue/models.py:903 -msgid "filters" -msgstr "" - -#: photologue/models.py:907 -msgid "size" -msgstr "" - -#: photologue/models.py:909 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" - -#: photologue/models.py:910 -msgid "strength" -msgstr "" - -#: photologue/models.py:912 -msgid "The initial opacity of the reflection gradient." -msgstr "" - -#: photologue/models.py:916 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" - -#: photologue/models.py:919 photologue/models.py:1016 -msgid "photo effect" -msgstr "" - -#: photologue/models.py:920 -msgid "photo effects" -msgstr "" - -#: photologue/models.py:951 -msgid "style" -msgstr "" - -#: photologue/models.py:955 -msgid "opacity" -msgstr "" - -#: photologue/models.py:957 -msgid "The opacity of the overlay." -msgstr "" - -#: photologue/models.py:960 -msgid "watermark" -msgstr "" - -#: photologue/models.py:961 -msgid "watermarks" -msgstr "" - -#: photologue/models.py:985 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" - -#: photologue/models.py:990 -msgid "width" -msgstr "" - -#: photologue/models.py:992 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" - -#: photologue/models.py:993 -msgid "height" -msgstr "" - -#: photologue/models.py:995 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" - -#: photologue/models.py:996 -msgid "quality" -msgstr "" - -#: photologue/models.py:999 -msgid "JPEG image quality." -msgstr "" - -#: photologue/models.py:1000 -msgid "upscale images?" -msgstr "" - -#: photologue/models.py:1002 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" - -#: photologue/models.py:1003 -msgid "crop to fit?" -msgstr "" - -#: photologue/models.py:1005 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" - -#: photologue/models.py:1006 -msgid "pre-cache?" -msgstr "" - -#: photologue/models.py:1008 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "" - -#: photologue/models.py:1009 -msgid "increment view count?" -msgstr "" - -#: photologue/models.py:1011 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" - -#: photologue/models.py:1021 -msgid "watermark image" -msgstr "" - -#: photologue/models.py:1025 -msgid "photo size" -msgstr "" - -#: photologue/models.py:1026 -msgid "photo sizes" -msgstr "" - -#: photologue/models.py:1043 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "" - -#: photologue/templates/photologue/gallery_archive.html:4 -#: photologue/templates/photologue/gallery_archive.html:9 -msgid "Latest Photo Galleries" -msgstr "" - -#: photologue/templates/photologue/gallery_archive.html:14 -#: photologue/templates/photologue/photo_archive.html:16 -msgid "Filter by year" -msgstr "" - -#: photologue/templates/photologue/gallery_archive.html:30 -#: photologue/templates/photologue/gallery_list.html:30 -msgid "No galleries were found" -msgstr "" - -#: photologue/templates/photologue/gallery_archive_day.html:4 -#: photologue/templates/photologue/gallery_archive_day.html:8 -#, python-format -msgid "Galleries for %(show_day)s" -msgstr "" - -#: photologue/templates/photologue/gallery_archive_day.html:15 -#: photologue/templates/photologue/gallery_archive_month.html:30 -#: photologue/templates/photologue/gallery_archive_year.html:30 -msgid "No galleries were found." -msgstr "" - -#: photologue/templates/photologue/gallery_archive_day.html:19 -msgid "View all galleries for month" -msgstr "" - -#: photologue/templates/photologue/gallery_archive_month.html:4 -#: photologue/templates/photologue/gallery_archive_month.html:9 -#, python-format -msgid "Galleries for %(show_month)s" -msgstr "" - -#: photologue/templates/photologue/gallery_archive_month.html:14 -#: photologue/templates/photologue/photo_archive_month.html:14 -msgid "Filter by day" -msgstr "" - -#: photologue/templates/photologue/gallery_archive_month.html:34 -msgid "View all galleries for year" -msgstr "" - -#: photologue/templates/photologue/gallery_archive_year.html:4 -#: photologue/templates/photologue/gallery_archive_year.html:9 -#, python-format -msgid "Galleries for %(show_year)s" -msgstr "" - -#: photologue/templates/photologue/gallery_archive_year.html:14 -#: photologue/templates/photologue/photo_archive_year.html:15 -msgid "Filter by month" -msgstr "" - -#: photologue/templates/photologue/gallery_archive_year.html:34 -#: photologue/templates/photologue/gallery_detail.html:20 -msgid "View all galleries" -msgstr "" - -#: photologue/templates/photologue/gallery_detail.html:11 -#: photologue/templates/photologue/gallery_list.html:19 -#: photologue/templates/photologue/includes/gallery_sample.html:8 -#: photologue/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "" - -#: photologue/templates/photologue/gallery_list.html:4 -#: photologue/templates/photologue/gallery_list.html:10 -msgid "All Galleries" -msgstr "" - -#: photologue/templates/photologue/includes/paginator.html:5 -#: photologue/templates/photologue/includes/paginator.html:7 -msgid "Previous" -msgstr "" - -#: photologue/templates/photologue/includes/paginator.html:10 -#, python-format -msgid "" -"\n" -"\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t" -msgstr "" - -#: photologue/templates/photologue/includes/paginator.html:15 -#: photologue/templates/photologue/includes/paginator.html:17 -msgid "Next" -msgstr "" - -#: photologue/templates/photologue/photo_archive.html:4 -#: photologue/templates/photologue/photo_archive.html:10 -msgid "Latest Photos" -msgstr "" - -#: photologue/templates/photologue/photo_archive.html:36 -#: photologue/templates/photologue/photo_archive_day.html:19 -#: photologue/templates/photologue/photo_archive_month.html:34 -#: photologue/templates/photologue/photo_archive_year.html:35 -#: photologue/templates/photologue/photo_list.html:23 -msgid "No photos were found" -msgstr "" - -#: photologue/templates/photologue/photo_archive_day.html:4 -#: photologue/templates/photologue/photo_archive_day.html:8 -#, python-format -msgid "Photos for %(show_day)s" -msgstr "" - -#: photologue/templates/photologue/photo_archive_day.html:23 -msgid "View all photos for month" -msgstr "" - -#: photologue/templates/photologue/photo_archive_month.html:4 -#: photologue/templates/photologue/photo_archive_month.html:9 -#, python-format -msgid "Photos for %(show_month)s" -msgstr "" - -#: photologue/templates/photologue/photo_archive_month.html:38 -msgid "View all photos for year" -msgstr "" - -#: photologue/templates/photologue/photo_archive_year.html:4 -#: photologue/templates/photologue/photo_archive_year.html:10 -#, python-format -msgid "Photos for %(show_year)s" -msgstr "" - -#: photologue/templates/photologue/photo_archive_year.html:39 -msgid "View all photos" -msgstr "" - -#: photologue/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "" - -#: photologue/templates/photologue/photo_list.html:4 -#: photologue/templates/photologue/photo_list.html:10 -msgid "All Photos" -msgstr "" diff --git a/photologue/locale/en_US/LC_MESSAGES/django.mo b/photologue/locale/en_US/LC_MESSAGES/django.mo deleted file mode 100644 index a9fc36f4..00000000 Binary files a/photologue/locale/en_US/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/en_US/LC_MESSAGES/django.po b/photologue/locale/en_US/LC_MESSAGES/django.po deleted file mode 100644 index 91d18595..00000000 --- a/photologue/locale/en_US/LC_MESSAGES/django.po +++ /dev/null @@ -1,632 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2013-11-20 11:06+0000\n" -"Last-Translator: richardbarran \n" -"Language-Team: English (United States) (http://www.transifex.com/projects/p/" -"django-photologue/language/en_US/)\n" -"Language: en_US\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "Separate tags with spaces, put quotes around multiple-word tags." - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "Django-tagging was not found, tags will be treated as plain text." - -#: models.py:115 -msgid "Very Low" -msgstr "Very Low" - -#: models.py:116 -msgid "Low" -msgstr "Low" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Medium-Low" - -#: models.py:118 -msgid "Medium" -msgstr "Medium" - -#: models.py:119 -msgid "Medium-High" -msgstr "Medium-High" - -#: models.py:120 -msgid "High" -msgstr "High" - -#: models.py:121 -msgid "Very High" -msgstr "Very High" - -#: models.py:126 -msgid "Top" -msgstr "Top" - -#: models.py:127 -msgid "Right" -msgstr "Right" - -#: models.py:128 -msgid "Bottom" -msgstr "Bottom" - -#: models.py:129 -msgid "Left" -msgstr "Left" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Center (Default)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Flip left to right" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Flip top to bottom" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "Rotate 90 degrees counter-clockwise" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "Rotate 90 degrees clockwise" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "Rotate 180 degrees" - -#: models.py:142 -msgid "Tile" -msgstr "Tile" - -#: models.py:143 -msgid "Scale" -msgstr "Scale" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." - -#: models.py:159 -msgid "date published" -msgstr "date published" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "title" - -#: models.py:164 -msgid "title slug" -msgstr "title slug" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "A \"slug\" is a unique URL-friendly title for an object." - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "description" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "is public" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "Public galleries will be displayed in the default views." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "photos" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "tags" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "gallery" - -#: models.py:188 -msgid "galleries" -msgstr "galleries" - -#: models.py:225 -msgid "count" -msgstr "count" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "images file (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "Select a .zip file of images to upload into a new Gallery." - -#: models.py:252 -#, fuzzy -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" -"All photos in the gallery will be given a title made up of the gallery title " -"+ a sequential number." - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "caption" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "Caption will be added to all photos." - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "A description of this Gallery." - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "" -"Uncheck this to make the uploaded gallery and included photographs private." - -#: models.py:276 -msgid "gallery upload" -msgstr "gallery upload" - -#: models.py:277 -msgid "gallery uploads" -msgstr "gallery uploads" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "" - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: models.py:392 models.py:863 -msgid "image" -msgstr "image" - -#: models.py:395 -msgid "date taken" -msgstr "date taken" - -#: models.py:399 -msgid "view count" -msgstr "view count" - -#: models.py:402 -msgid "crop from" -msgstr "crop from" - -#: models.py:411 -msgid "effect" -msgstr "effect" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "An \"admin_thumbnail\" photo size has not been defined." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Thumbnail" - -#: models.py:649 -msgid "slug" -msgstr "slug" - -#: models.py:654 -msgid "date added" -msgstr "date added" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "Public photographs will be displayed in the default views." - -#: models.py:668 -msgid "photo" -msgstr "photo" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "name" - -#: models.py:801 -msgid "rotate or flip" -msgstr "rotate or flip" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "color" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." - -#: models.py:808 -msgid "brightness" -msgstr "brightness" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." - -#: models.py:811 -msgid "contrast" -msgstr "contrast" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." - -#: models.py:814 -msgid "sharpness" -msgstr "sharpness" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." - -#: models.py:817 -msgid "filters" -msgstr "filters" - -#: models.py:821 -msgid "size" -msgstr "size" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." - -#: models.py:824 -msgid "strength" -msgstr "strength" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "The initial opacity of the reflection gradient." - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "photo effect" - -#: models.py:834 -msgid "photo effects" -msgstr "photo effects" - -#: models.py:865 -msgid "style" -msgstr "style" - -#: models.py:869 -msgid "opacity" -msgstr "opacity" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "The opacity of the overlay." - -#: models.py:874 -msgid "watermark" -msgstr "watermark" - -#: models.py:875 -msgid "watermarks" -msgstr "watermarks" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." - -#: models.py:898 -msgid "width" -msgstr "width" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" -"If width is set to \"0\" the image will be scaled to the supplied height." - -#: models.py:901 -msgid "height" -msgstr "height" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" -"If height is set to \"0\" the image will be scaled to the supplied width" - -#: models.py:904 -msgid "quality" -msgstr "quality" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "JPEG image quality." - -#: models.py:908 -msgid "upscale images?" -msgstr "upscale images?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." - -#: models.py:911 -msgid "crop to fit?" -msgstr "crop to fit?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." - -#: models.py:914 -msgid "pre-cache?" -msgstr "pre-cache?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "If selected this photo size will be pre-cached as photos are added." - -#: models.py:917 -msgid "increment view count?" -msgstr "increment view count?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." - -#: models.py:929 -msgid "watermark image" -msgstr "watermark image" - -#: models.py:933 -msgid "photo size" -msgstr "photo size" - -#: models.py:934 -msgid "photo sizes" -msgstr "photo sizes" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "Can only crop photos if both width and height dimensions are set." - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "Latest Photo Galleries" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "Published" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "No galleries were found" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "View all galleries" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "All Galleries" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "Previous" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "Next" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "This photo is found in the following galleries" diff --git a/photologue/locale/es_ES/LC_MESSAGES/django.mo b/photologue/locale/es_ES/LC_MESSAGES/django.mo deleted file mode 100644 index 13ebd75d..00000000 Binary files a/photologue/locale/es_ES/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/es_ES/LC_MESSAGES/django.po b/photologue/locale/es_ES/LC_MESSAGES/django.po deleted file mode 100644 index 870f94a6..00000000 --- a/photologue/locale/es_ES/LC_MESSAGES/django.po +++ /dev/null @@ -1,599 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# Translators: -# dmalisani , 2014 -# dmalisani , 2014 -# Rafa Muñoz Cárdenas , 2009 -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2014-08-25 13:27+0000\n" -"Last-Translator: dmalisani \n" -"Language-Team: Spanish (Spain) (http://www.transifex.com/projects/p/django-photologue/language/es_ES/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Language: es_ES\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "La siguiente foto no pertenece al mismo sitio(s)" -msgstr[1] "Las siguientes fotos no pertenecen al(los) mismo(s) sitio(s)" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "La galería ha sido agregada exitosamente a %(site)s" -msgstr[1] "Las galerías han sido agregadas exitosamente a %(site)s" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "Agregar las imágenes seleccionadas desde el sitio actual" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "La galería ha sido eliminada correctamente de %(site)s" -msgstr[1] "Las galerías seleccionadas han sido eliminadas correctamente de %(site)s" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "Eliminar las galerías seleccionadas del sitio actual" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "Todas las fotos en la galería %(galleries)s han sido correctamente agregadas a %(site)s" -msgstr[1] "Todas las fotos en las galerías %(galleries)s han sido correctamente agregadas a %(site)s" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "Agregar todas las fotos de las galerías seleccionadas al sitio actual" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "Todas las fotos en la galería %(galleries)s han sido correctamente eliminadas de %(site)s" -msgstr[1] "Todas las fotos en las galerías %(galleries)s han sido correctamente eliminadas de %(site)s" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "Eliminar todas las fotos seleccionadas en las galerías del sito actual" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "La foto a sido agregada correctamente a %(site)s" -msgstr[1] "Las fotos seleccionadas han sido agregadas correctamente a %(site)s" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "Agregar las fotos seleccionadas al sitio actual" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "" -"The selected photos have been successfully removed from %(site)s" -msgstr[0] "La foto ha sido eliminada correctamente de %(site)s" -msgstr[1] "Las fotos han sido correctamente eliminadas de %(site)s" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "Eliminar la foto seleccionada del sitio actual" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "Separe los tags con espacios y ponga comillas para los tags con múltiples palabras." - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "No se encontró Django-tagging, por lo que los tags se tratarán como texto plano." - -#: models.py:115 -msgid "Very Low" -msgstr "Muy bajo" - -#: models.py:116 -msgid "Low" -msgstr "Bajo" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Medio-bajo" - -#: models.py:118 -msgid "Medium" -msgstr "Medio" - -#: models.py:119 -msgid "Medium-High" -msgstr "Medio-alto" - -#: models.py:120 -msgid "High" -msgstr "Alto" - -#: models.py:121 -msgid "Very High" -msgstr "Muy alto" - -#: models.py:126 -msgid "Top" -msgstr "Arriba" - -#: models.py:127 -msgid "Right" -msgstr "Derecha" - -#: models.py:128 -msgid "Bottom" -msgstr "Abajo" - -#: models.py:129 -msgid "Left" -msgstr "Izquierda" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Centro (por defecto)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Voltear de izquerda a derecha" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Voltear de arriba a abajo" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "Rotar 90 grados en sentido horario" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "Rotar 90 grados en sentido antihorario" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "Rotar 180 grados" - -#: models.py:142 -msgid "Tile" -msgstr "Mosaico" - -#: models.py:143 -msgid "Scale" -msgstr "Escalar" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern " -"\"FILTER_ONE->FILTER_TWO->FILTER_THREE\". Image filters will be applied in " -"order. The following filters are available: %s." -msgstr "Encadene múltiples filtros usando el siguiente patrón \"FILTRO_UNO->FILTRO_DOS->FILTRO_TRES\". Los filtros de imagen se aplicarán en orden. Los siguientes filtros están disponibles: %s." - -#: models.py:159 -msgid "date published" -msgstr "fecha de publicación" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "título" - -#: models.py:164 -msgid "title slug" -msgstr "título slug" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "Un \"slug\" es un único título URL-amigable para un objeto." - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "descripción" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "es público" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "Las galerías públicas serán mostradas en las vistas por defecto." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "fotos" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "tags" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "sitios" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "galería" - -#: models.py:188 -msgid "galleries" -msgstr "galerías" - -#: models.py:225 -msgid "count" -msgstr "contar" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "archivo de imágenes (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "Seleccione un archivo .zip de imágenes para subir a la nueva galería." - -#: models.py:252 -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "A todas las fotos subidas se les cambiará el título por este título + un número secuencial" - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "Seleccione una galería para agregarle estas imágenes. Déjelo vacío para crear una nueva galería a partir de este título." - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "pie de foto" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "El pie de foto se añadirá a todas las fotos." - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "Una descripción para esta galería." - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "Desactive esto para hacer que la galería subida y fotos incluidas sean privadas." - -#: models.py:276 -msgid "gallery upload" -msgstr "subida de galería" - -#: models.py:277 -msgid "gallery uploads" -msgstr "subida de galerías" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "Ya existe una galería con ese título." - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "Seleccione una galería existente o ingrese un nuevo nombre para la galería." - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "Ignorando archivos \"{filename}\" por estar en subcarpetas, todas las imágenes deben estar en la carpeta de primer nivel del zip." - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that" -" slug already exists." -msgstr "No se creó \"%(filename)s\" con slug \"{1}\" porque una foto con ese slug ya existe." - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "No se pudo procesar el archivo \"{0}\" en el archivo zip." - -#: models.py:392 models.py:863 -msgid "image" -msgstr "imagen" - -#: models.py:395 -msgid "date taken" -msgstr "fecha en la que se tomó" - -#: models.py:399 -msgid "view count" -msgstr "Contador de visitas" - -#: models.py:402 -msgid "crop from" -msgstr "Recortar desde" - -#: models.py:411 -msgid "effect" -msgstr "efecto" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "El tamaño de foto de \"miniatura de admin\" no ha sido definido." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Miniatura" - -#: models.py:649 -msgid "slug" -msgstr "slug" - -#: models.py:654 -msgid "date added" -msgstr "fecha añadida" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "Las fotos públicas serán mostradas en las vistas por defecto." - -#: models.py:668 -msgid "photo" -msgstr "foto" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "nombre" - -#: models.py:801 -msgid "rotate or flip" -msgstr "rotar o voltear" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "color" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "Un factor de 0.0 proporciona una imagen blanca y negra. Un factor de 1.0 proporciona la imagen original." - -#: models.py:808 -msgid "brightness" -msgstr "iluminación" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "Un factor de 0.0 proporciona una imagen negra. Un factor de 1.0 proporciona la imagen original." - -#: models.py:811 -msgid "contrast" -msgstr "contraste" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original" -" image." -msgstr "Un factor de 0.0 proporciona una imagen sólida gris. Un factor de 1.0 proporciona la imagen original." - -#: models.py:814 -msgid "sharpness" -msgstr "Resaltado" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "Un factor de 0.0 proporciona una imagen desenfocada, un factor de 1.0 proporciona la imagen original." - -#: models.py:817 -msgid "filters" -msgstr "filtros" - -#: models.py:821 -msgid "size" -msgstr "tamaño" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "La altura de la reflexión como porcentaje de la imagen original. Un factor de 0.0 no da ninguna reflexión, un factor de 1.0 añade una reflexión igual a la altura de la imagen original." - -#: models.py:824 -msgid "strength" -msgstr "fortaleza" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "La opacidad inicial del gradiente de reflexión." - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "El color de fondo del gradiente de reflexión. Establezca esto para hacer coincidir el color de fondo con el color de tu página." - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "efecto de foto" - -#: models.py:834 -msgid "photo effects" -msgstr "efectos de foto" - -#: models.py:865 -msgid "style" -msgstr "estilo" - -#: models.py:869 -msgid "opacity" -msgstr "opacidad" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "La opacidad de la superposición" - -#: models.py:874 -msgid "watermark" -msgstr "marca de agua" - -#: models.py:875 -msgid "watermarks" -msgstr "marcas de agua" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "El nombre del tamaño solo puede contener letras, números y subrayados. Por ejemplo:\"miniaturas\", \"muestra\", \"muestra_principal\"." - -#: models.py:898 -msgid "width" -msgstr "anchura" - -#: models.py:900 -msgid "If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "Si la anchura se establece a \"0\" la imagen será escalada hasta la altura proporcionada" - -#: models.py:901 -msgid "height" -msgstr "altura" - -#: models.py:903 -msgid "If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "Si la altura se establece a \"0\" la imagen será escalada hasta la anchura proporcionada" - -#: models.py:904 -msgid "quality" -msgstr "calidad" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "Calidad de imagen JPEG." - -#: models.py:908 -msgid "upscale images?" -msgstr "¿Aumentar imágenes?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "Si se selecciona la imagen será aumentada si es necesario para ajustarse a las dimensiones proporcionadas. Los tamaños recortados serán aumentados de acuerdo a esta opción." - -#: models.py:911 -msgid "crop to fit?" -msgstr "¿Recortar hasta ajustar?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "Si se selecciona la imagen será escalada y recortada para ajustarse a las dimensiones proporcionadas." - -#: models.py:914 -msgid "pre-cache?" -msgstr "¿pre-cachear?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "Si se selecciona, este tamaño de foto será pre-cacheado cuando se añadan nuevas fotos." - -#: models.py:917 -msgid "increment view count?" -msgstr "¿incrementar contador de visualizaciones?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "Si se selecciona el \"contador de visualizaciones\" se incrementará cuando esta foto sea visualizada." - -#: models.py:929 -msgid "watermark image" -msgstr "marca de agua" - -#: models.py:933 -msgid "photo size" -msgstr "tamaño de foto" - -#: models.py:934 -msgid "photo sizes" -msgstr "tamaños de foto" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "Solo puede recortar las fotos si ancho y alto están establecidos." - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "Últimas galerías de fotos." - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "Publicado" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "No se encontraron galerías" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "Ver todas las galerías" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "Todas las Galerías" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "Anterior" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "\n⇥⇥⇥⇥ página %(page_number)s de %(total_pages)s\n⇥⇥⇥⇥" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "Próximo" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "Esta foto se encontró en las siguientes galerías" diff --git a/photologue/locale/eu/LC_MESSAGES/django.mo b/photologue/locale/eu/LC_MESSAGES/django.mo deleted file mode 100644 index 68047603..00000000 Binary files a/photologue/locale/eu/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/eu/LC_MESSAGES/django.po b/photologue/locale/eu/LC_MESSAGES/django.po deleted file mode 100644 index 75404428..00000000 --- a/photologue/locale/eu/LC_MESSAGES/django.po +++ /dev/null @@ -1,597 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2013-11-20 11:06+0000\n" -"Last-Translator: richardbarran \n" -"Language-Team: Basque (http://www.transifex.com/projects/p/django-photologue/" -"language/eu/)\n" -"Language: eu\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "" - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "" - -#: models.py:115 -msgid "Very Low" -msgstr "" - -#: models.py:116 -msgid "Low" -msgstr "" - -#: models.py:117 -msgid "Medium-Low" -msgstr "" - -#: models.py:118 -msgid "Medium" -msgstr "" - -#: models.py:119 -msgid "Medium-High" -msgstr "" - -#: models.py:120 -msgid "High" -msgstr "" - -#: models.py:121 -msgid "Very High" -msgstr "" - -#: models.py:126 -msgid "Top" -msgstr "" - -#: models.py:127 -msgid "Right" -msgstr "" - -#: models.py:128 -msgid "Bottom" -msgstr "" - -#: models.py:129 -msgid "Left" -msgstr "" - -#: models.py:130 -msgid "Center (Default)" -msgstr "" - -#: models.py:134 -msgid "Flip left to right" -msgstr "" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "" - -#: models.py:142 -msgid "Tile" -msgstr "" - -#: models.py:143 -msgid "Scale" -msgstr "" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" - -#: models.py:159 -msgid "date published" -msgstr "" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "" - -#: models.py:164 -msgid "title slug" -msgstr "" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "" - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "" - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "" - -#: models.py:188 -msgid "galleries" -msgstr "" - -#: models.py:225 -msgid "count" -msgstr "" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "" - -#: models.py:252 -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "" - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "" - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "" - -#: models.py:276 -msgid "gallery upload" -msgstr "" - -#: models.py:277 -msgid "gallery uploads" -msgstr "" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "" - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: models.py:392 models.py:863 -msgid "image" -msgstr "" - -#: models.py:395 -msgid "date taken" -msgstr "" - -#: models.py:399 -msgid "view count" -msgstr "" - -#: models.py:402 -msgid "crop from" -msgstr "" - -#: models.py:411 -msgid "effect" -msgstr "" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "" - -#: models.py:437 -msgid "Thumbnail" -msgstr "" - -#: models.py:649 -msgid "slug" -msgstr "" - -#: models.py:654 -msgid "date added" -msgstr "" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "" - -#: models.py:668 -msgid "photo" -msgstr "" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "" - -#: models.py:801 -msgid "rotate or flip" -msgstr "" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "" - -#: models.py:808 -msgid "brightness" -msgstr "" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "" - -#: models.py:811 -msgid "contrast" -msgstr "" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "" - -#: models.py:814 -msgid "sharpness" -msgstr "" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "" - -#: models.py:817 -msgid "filters" -msgstr "" - -#: models.py:821 -msgid "size" -msgstr "" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" - -#: models.py:824 -msgid "strength" -msgstr "" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "" - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "" - -#: models.py:834 -msgid "photo effects" -msgstr "" - -#: models.py:865 -msgid "style" -msgstr "" - -#: models.py:869 -msgid "opacity" -msgstr "" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "" - -#: models.py:874 -msgid "watermark" -msgstr "" - -#: models.py:875 -msgid "watermarks" -msgstr "" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" - -#: models.py:898 -msgid "width" -msgstr "" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" - -#: models.py:901 -msgid "height" -msgstr "" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" - -#: models.py:904 -msgid "quality" -msgstr "" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "" - -#: models.py:908 -msgid "upscale images?" -msgstr "" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" - -#: models.py:911 -msgid "crop to fit?" -msgstr "" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" - -#: models.py:914 -msgid "pre-cache?" -msgstr "" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "" - -#: models.py:917 -msgid "increment view count?" -msgstr "" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" - -#: models.py:929 -msgid "watermark image" -msgstr "" - -#: models.py:933 -msgid "photo size" -msgstr "" - -#: models.py:934 -msgid "photo sizes" -msgstr "" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "" diff --git a/photologue/locale/fr/LC_MESSAGES/django.mo b/photologue/locale/fr/LC_MESSAGES/django.mo deleted file mode 100644 index 712e0d77..00000000 Binary files a/photologue/locale/fr/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/fr/LC_MESSAGES/django.po b/photologue/locale/fr/LC_MESSAGES/django.po deleted file mode 100644 index 66f1080a..00000000 --- a/photologue/locale/fr/LC_MESSAGES/django.po +++ /dev/null @@ -1,637 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2013-11-20 11:06+0000\n" -"Last-Translator: richardbarran \n" -"Language-Team: French (http://www.transifex.com/projects/p/django-photologue/" -"language/fr/)\n" -"Language: fr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "" -"Séparez les étiquettes par des espaces, mettez les étiquettes constituées de " -"plusieurs mots entre guillemets." - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "" -"Django-tagging n'a pas été trouvé, les étiquettes seront traitées comme du " -"texte simple." - -#: models.py:115 -msgid "Very Low" -msgstr "Très Bas" - -#: models.py:116 -msgid "Low" -msgstr "Bas" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Moyen-Bas" - -#: models.py:118 -msgid "Medium" -msgstr "Moyen" - -#: models.py:119 -msgid "Medium-High" -msgstr "Moyen-Haut" - -#: models.py:120 -msgid "High" -msgstr "Haut" - -#: models.py:121 -msgid "Very High" -msgstr "Très Haut" - -#: models.py:126 -msgid "Top" -msgstr "Sommet" - -#: models.py:127 -msgid "Right" -msgstr "Droite" - -#: models.py:128 -msgid "Bottom" -msgstr "Bas" - -#: models.py:129 -msgid "Left" -msgstr "Gauche" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Centré (par défaut)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Inversion de gauche à droite" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Inversion de haut en bas" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "Rotation de 90 degrés dans le sens anti-horloger" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "Rotation de 90 degrés dans le sens horloger" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "Rotation de 180 degrés" - -#: models.py:142 -msgid "Tile" -msgstr "Mozaïque" - -#: models.py:143 -msgid "Scale" -msgstr "Redimensionner" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" - -#: models.py:159 -msgid "date published" -msgstr "date de publication" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "titre" - -#: models.py:164 -msgid "title slug" -msgstr "version abrégée du titre" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "" -"Un \"slug\" est un titre abrégé et unique, compatible avec les URL, pour un " -"objet." - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "description" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "est public" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "Les galeries publiques seront affichée dans les vues par défaut." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "photos" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "étiquettes" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "galerie" - -#: models.py:188 -msgid "galleries" -msgstr "galleries" - -#: models.py:225 -msgid "count" -msgstr "nombre" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "fichier d'images (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "" -"Selectionnez un fichier .zip contenant des images à envoyer sur le serveur " -"dans une nouvelle Galerie." - -#: models.py:252 -#, fuzzy -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" -"Toutes les photos de la galerie auront un titre constitué du titre de la " -"galerie + un numéro de séquence." - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "légende" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "La légende sera ajoutée a toutes les photos." - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "Une description de cette Galerie." - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "" -"Décochez cette case pour rendre la galerie des photos envoyées sur le " -"serveur et son contenu privés." - -#: models.py:276 -msgid "gallery upload" -msgstr "télécharger vers la gallerie" - -#: models.py:277 -msgid "gallery uploads" -msgstr "fichiers envoyés vers la galerie" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "" - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: models.py:392 models.py:863 -msgid "image" -msgstr "image" - -#: models.py:395 -msgid "date taken" -msgstr "date de prise de vue" - -#: models.py:399 -msgid "view count" -msgstr "" - -#: models.py:402 -msgid "crop from" -msgstr "découper à partir de" - -#: models.py:411 -msgid "effect" -msgstr "effet" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "Une taille de photo \"admin_thumbnail\" n'a pas encore été définie." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Miniature" - -#: models.py:649 -msgid "slug" -msgstr "libellé court" - -#: models.py:654 -msgid "date added" -msgstr "date d'ajout" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "Les photographies publique seront affichées dans les vues par défaut." - -#: models.py:668 -msgid "photo" -msgstr "photo" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "nom" - -#: models.py:801 -msgid "rotate or flip" -msgstr "rotation ou inversion" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "couleur" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "" -"Un facteur de 0.0 donne une image en noir et blanc, un facteur de 1.0 donne " -"l'image originale." - -#: models.py:808 -msgid "brightness" -msgstr "brillance" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Un facteur de 0.0 donne une image noire, un facteur de 1.0 donne l'image " -"originale." - -#: models.py:811 -msgid "contrast" -msgstr "contraste" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Un facteur de 0.0 donne une image grise, un facteur de 1.0 donne l'image " -"originale." - -#: models.py:814 -msgid "sharpness" -msgstr "netteté" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Une facteur de 0.0 donne une image floue, un facteur de 1.0 donne l'image " -"d'origine." - -#: models.py:817 -msgid "filters" -msgstr "filtres" - -#: models.py:821 -msgid "size" -msgstr "taille" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" -"La hauteur de la réflection sous la forme d'un pourcentage de l'image " -"d'origine. Un facteur de 0.0 n'ajoute aucune réflection, un facteur de 1.0 " -"ajoute une réflection égale à la hauteur de l'image d'origine." - -#: models.py:824 -msgid "strength" -msgstr "force" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "" - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "effet photo" - -#: models.py:834 -msgid "photo effects" -msgstr "effets photo" - -#: models.py:865 -msgid "style" -msgstr "style" - -#: models.py:869 -msgid "opacity" -msgstr "opacité" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "L'opacité de la surcouche." - -#: models.py:874 -msgid "watermark" -msgstr "filigrane" - -#: models.py:875 -msgid "watermarks" -msgstr "filigranes" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" -"Le nom de la taille de la photo ne doit contenir que des lettres, des " -"chiffres et des caractères de soulignement. Exemples: \"miniature\", " -"\"affichage\", \"petit\", \"widget_page_principale\"." - -#: models.py:898 -msgid "width" -msgstr "largeur" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" -"Si la largeur est réglée à \"0\" l l'image sera redimensionnée par rapport à " -"la hauteur fournie." - -#: models.py:901 -msgid "height" -msgstr "hauteur" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" -"Si la hauteur est réglée à \"0\" l l'image sera redimensionnée par rapport à " -"la largeur fournie." - -#: models.py:904 -msgid "quality" -msgstr "qualité" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "Qualité JPEG de l'image." - -#: models.py:908 -msgid "upscale images?" -msgstr "agrandir les images ?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" -"Si sélectionné l'image sera agrandie si nécessaire pour coïncider avec les " -"dimensions fournies. Les dimensions ajustées seront agrandies sans prendre " -"en compte ce paramètre." - -#: models.py:911 -msgid "crop to fit?" -msgstr "découper pour adapter à la taille ?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" -"Si sélectionné l'image sera redimensionnée et recadrée pour coïncider avec " -"les dimensions fournies." - -#: models.py:914 -msgid "pre-cache?" -msgstr "mise en cache ?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "" -"Si sélectionné cette taille de photo sera mise en cache au moment au les " -"photos sont ajoutées." - -#: models.py:917 -msgid "increment view count?" -msgstr "incrémenter le nombre d'affichages ?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" -"Si sélectionné le \"view_count\" (nombre d'affichage) de l'image sera " -"incrémenté quand cette taille de photo sera affichée." - -#: models.py:929 -msgid "watermark image" -msgstr "placer un filigrane sur l'image" - -#: models.py:933 -msgid "photo size" -msgstr "taille de la photo" - -#: models.py:934 -msgid "photo sizes" -msgstr "tailles des photos" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "" diff --git a/photologue/locale/hu/LC_MESSAGES/django.mo b/photologue/locale/hu/LC_MESSAGES/django.mo deleted file mode 100644 index 4e2603f0..00000000 Binary files a/photologue/locale/hu/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/hu/LC_MESSAGES/django.po b/photologue/locale/hu/LC_MESSAGES/django.po deleted file mode 100644 index a3194934..00000000 --- a/photologue/locale/hu/LC_MESSAGES/django.po +++ /dev/null @@ -1,640 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2013-11-20 11:06+0000\n" -"Last-Translator: richardbarran \n" -"Language-Team: Hungarian (http://www.transifex.com/projects/p/django-" -"photologue/language/hu/)\n" -"Language: hu\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "" -"A címkéket szóközzel kell elválasztani, a több szavas címkék idézőjelek közé " -"írhatóak." - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "" -"A Django-tagging nem található, a címkék sima szövegként lesznek kezelve." - -#: models.py:115 -msgid "Very Low" -msgstr "Nagyon alacsony" - -#: models.py:116 -msgid "Low" -msgstr "Alacsony" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Közepesen alacsony" - -#: models.py:118 -msgid "Medium" -msgstr "Közepes" - -#: models.py:119 -msgid "Medium-High" -msgstr "Közepesen magas" - -#: models.py:120 -msgid "High" -msgstr "Magas" - -#: models.py:121 -msgid "Very High" -msgstr "Nagyon magas" - -#: models.py:126 -msgid "Top" -msgstr "Teteje" - -#: models.py:127 -msgid "Right" -msgstr "Jobb oldala" - -#: models.py:128 -msgid "Bottom" -msgstr "Alja" - -#: models.py:129 -msgid "Left" -msgstr "Bal oldala" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Közepe (Alapértelmezett)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Függőleges tengely mentén tükrözés" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Vízszintes tengely mentén tükrözés" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "Óramutató járásával ellenkező irányba 90 fok forgatása" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "Óramutató járásával megegyező irányba 90 fok forgatás" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "180 fokos forgtás" - -#: models.py:142 -msgid "Tile" -msgstr "Cím" - -#: models.py:143 -msgid "Scale" -msgstr "Skála" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" -"Több szűrőt is alkalmazhat egymás után a következő mintára:\"SZŰRŐ_EGY-" -">SZŰRŐ_KETTŐ->SZŰRŐ_HÁROM\". A szűrők a megadott sorrendben, egymás után " -"lesznek a képre alkalmazva. A következő szűrők állnak rendelkezésére: %s" - -#: models.py:159 -msgid "date published" -msgstr "publikálás dátuma" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "cím" - -#: models.py:164 -msgid "title slug" -msgstr "cím slug" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "A \"slug\" egy objektum egyedi, URL-be ágyazható leírása." - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "leírás" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "publikus" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "A publikus galériák láthatóak lesznek az alapértelmezett nézetekben." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "fotók" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "címkék" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "galéria" - -#: models.py:188 -msgid "galleries" -msgstr "galériák" - -#: models.py:225 -msgid "count" -msgstr "számláló" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "tömörített fájl (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "" -"Válasszon ki egy .zip fájl, amely a galériába kerülő képeket tartalmazza''" - -#: models.py:252 -#, fuzzy -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" -"Minden, a galériában szereplő fotónak az lesz a címe, ami a galéria címe is," -"+ egy növekvő számláló" - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "képaláírás" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "A képaláírás minden új fotóra érvényes lesz." - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "A galéria leírása." - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "" -"Vegye ki a pipát, ha a feltöltött galériát és a benne lévő fotókat priváttá " -"akarja tenni." - -#: models.py:276 -msgid "gallery upload" -msgstr "galéria feltöltés" - -#: models.py:277 -msgid "gallery uploads" -msgstr "galéria feltöltések" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "" - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: models.py:392 models.py:863 -msgid "image" -msgstr "kép" - -#: models.py:395 -msgid "date taken" -msgstr "készítés dátuma" - -#: models.py:399 -msgid "view count" -msgstr "" - -#: models.py:402 -msgid "crop from" -msgstr "kivágás" - -#: models.py:411 -msgid "effect" -msgstr "szűrő" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "Nincs definiálva \"admin_thumbnail\" fotó méret." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Kicsinyített kép" - -#: models.py:649 -msgid "slug" -msgstr "slug" - -#: models.py:654 -msgid "date added" -msgstr "hozzáadva" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "A publikus fotók megjelennek az alapértelmezett nézetekben." - -#: models.py:668 -msgid "photo" -msgstr "fotó" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "név" - -#: models.py:801 -msgid "rotate or flip" -msgstr "forgatás vagy türközés" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "színek" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "" -"A 0.0-ás érték fekete-fehér képet, az 1.0-ás pedig az eredeti, színek képet " -"eredményezi" - -#: models.py:808 -msgid "brightness" -msgstr "fényerő" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "" -"A 0.0-ás érték egy fekete képet, az 1.0-ás pedig az eredeti képet " -"eredményezi." - -#: models.py:811 -msgid "contrast" -msgstr "kontraszt" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "" -"A 0.0-ás érték egy egyszínű, szürke képet, az 1.0-ás érték pedig az eredeti " -"képet eredményezi." - -#: models.py:814 -msgid "sharpness" -msgstr "élesség" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "" -"A 0.0-ás érték egy elmosott képet, az 1.0-ás érték pedig az eredeti képet " -"eredményezi." - -#: models.py:817 -msgid "filters" -msgstr "szűrők" - -#: models.py:821 -msgid "size" -msgstr "méret" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" -"A tükröződés magasságát az eredeti kép magasságának százalékában kell " -"megadni. A 0.0-ás érték egy tükröződés nélküli képet, az 1.0-ás érték pedig " -"egy, Az eredeti kép magasságával megegyező magasságú tükröződést tartalmazó " -"képet eremdényez." - -#: models.py:824 -msgid "strength" -msgstr "erősség" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "A tükröződés elhalványodásának kezdő átlátszósága." - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" -"A tükröződés színátmenetének háttérszíne. Állítsa be olyan színűre, amilyen " -"színű háttérre kerül a kép!" - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "fotó effekt" - -#: models.py:834 -msgid "photo effects" -msgstr "fotó effektek" - -#: models.py:865 -msgid "style" -msgstr "stílus" - -#: models.py:869 -msgid "opacity" -msgstr "átlátszóság" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "A felső réteg átlátszósága." - -#: models.py:874 -msgid "watermark" -msgstr "vízjel" - -#: models.py:875 -msgid "watermarks" -msgstr "vízjelek" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" -"A fotó méretek neve csak kis betűket, számokat és aláhúzásjeleket " -"tartalmazhat. Pl.: \"thumbnail\", \"display\", \"small\", \"main_page_widget" -"\"." - -#: models.py:898 -msgid "width" -msgstr "szélesség" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" -"Ha a szélességet 0-ra állítja, a kép a megadott magasság alapján arányosan " -"fog méreteződni." - -#: models.py:901 -msgid "height" -msgstr "magasság" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" -"Ha a magasságot 0-ra állítja, a kép a megadott magasság alapján arányosan " -"fog méreteződni." - -#: models.py:904 -msgid "quality" -msgstr "minőség" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "JPEG minőség" - -#: models.py:908 -msgid "upscale images?" -msgstr "képek felméretezése?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" -"Ha be van állítva, akkor a megadott méretnél kisebb képek fel lesznek " -"méretezve, hogy kitöltsék a rendelkezésre álló helyet. Képkivágás esetén " -"ettől az opciótól függetlenül mindenképpen fel lesznek méretezve a képek " -"szükség esetén." - -#: models.py:911 -msgid "crop to fit?" -msgstr "képkivágás?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" -"Ha be van állítva, akkor a képek úgy lesznek átméretezve a megadott " -"képarárnyra, hogy egy részük le lesz vágva." - -#: models.py:914 -msgid "pre-cache?" -msgstr "előre generálás?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "" -"Ha be van állítva, akkor a hozzáadáskor előre le lesz a fotó generálva erre " -"a méretre." - -#: models.py:917 -msgid "increment view count?" -msgstr "nézettségi számláló növelése?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" -"Ha be van állítva, akkor a kép \"view_count\" mezőjében lévő érték minden " -"megjelenítés után egyel növekedni fog." - -#: models.py:929 -msgid "watermark image" -msgstr "vízjelhez felhasznált kép" - -#: models.py:933 -msgid "photo size" -msgstr "fotó méret" - -#: models.py:934 -msgid "photo sizes" -msgstr "fotó méretek" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "" diff --git a/photologue/locale/it/LC_MESSAGES/django.mo b/photologue/locale/it/LC_MESSAGES/django.mo deleted file mode 100644 index 1c38acc3..00000000 Binary files a/photologue/locale/it/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/it/LC_MESSAGES/django.po b/photologue/locale/it/LC_MESSAGES/django.po deleted file mode 100644 index 7a24b7b9..00000000 --- a/photologue/locale/it/LC_MESSAGES/django.po +++ /dev/null @@ -1,638 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2013-11-20 11:06+0000\n" -"Last-Translator: richardbarran \n" -"Language-Team: Italian (http://www.transifex.com/projects/p/django-" -"photologue/language/it/)\n" -"Language: it\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "" -"Separa i tag con gli spazi e racchiudi tra virgolette tag composti da più " -"parole." - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "" -"Django-tagging non è stata trovata, i tag verranno trattati come testo " -"normale." - -#: models.py:115 -msgid "Very Low" -msgstr "Molto Bassa" - -#: models.py:116 -msgid "Low" -msgstr "Bassa" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Medio-Bassa" - -#: models.py:118 -msgid "Medium" -msgstr "Media" - -#: models.py:119 -msgid "Medium-High" -msgstr "Medio-Alta" - -#: models.py:120 -msgid "High" -msgstr "Alta" - -#: models.py:121 -msgid "Very High" -msgstr "Molto Alta" - -#: models.py:126 -msgid "Top" -msgstr "In alto" - -#: models.py:127 -msgid "Right" -msgstr "A destra" - -#: models.py:128 -msgid "Bottom" -msgstr "In basso" - -#: models.py:129 -msgid "Left" -msgstr "A sinistra" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Al centro (Default)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Inverti destra con sinistra" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Inverti alto con basso" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "Ruota di 90 gradi in senso anti-orario" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "Ruota di 90 gradi in senso orario" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "Ruota di 180 gradi" - -#: models.py:142 -msgid "Tile" -msgstr "Affianca" - -#: models.py:143 -msgid "Scale" -msgstr "Ridimensiona" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" -"Collega filtri multipli in cascata con il seguente schema \"FILTRO_UNO-" -">FILTRO_DUE->FILTER_TRE\". I filtri saranno applicati in ordine alle " -"immagini. I seguenti filtri sono disponibili: %s." - -#: models.py:159 -msgid "date published" -msgstr "data di pubblicazione" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "titolo" - -#: models.py:164 -msgid "title slug" -msgstr "slug" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "Uno \"Slug\" è un titolo univoco per un oggetto, usabile come URL." - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "descrizione" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "è pubblica" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "Le gallerie pubbliche verranno visualizzate nelle viste di default." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "foto" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "tag" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "galleria" - -#: models.py:188 -msgid "galleries" -msgstr "gallerie" - -#: models.py:225 -msgid "count" -msgstr "numero" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "file di immagini (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "Scegli un file .zip con le immagini da caricare in una nuova Galleria" - -#: models.py:252 -#, fuzzy -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" -"Tutte le foto di una galleria avranno un titolo composto dal titolo della " -"galleria più un numero sequenziale." - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "didascalia" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "La didascalia verrà aggiunta a tutte le foto" - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "Una descrizione di questa Galleria." - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "" -"Deseleziona l'opzione per rendere private le immagini e la galleria una " -"volta caricata." - -#: models.py:276 -msgid "gallery upload" -msgstr "caricamento in blocco" - -#: models.py:277 -msgid "gallery uploads" -msgstr "caricamenti in blocco" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "" - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: models.py:392 models.py:863 -msgid "image" -msgstr "immagine" - -#: models.py:395 -msgid "date taken" -msgstr "data dello scatto" - -#: models.py:399 -msgid "view count" -msgstr "" - -#: models.py:402 -msgid "crop from" -msgstr "ritagliata da" - -#: models.py:411 -msgid "effect" -msgstr "effetto" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "La dimensione \"admin_thumbnail\" non è ancora stata creata." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Miniatura" - -#: models.py:649 -msgid "slug" -msgstr "slug" - -#: models.py:654 -msgid "date added" -msgstr "data di inserimento" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "Le fotografie pubbliche verranno visualizzate nelle viste di default." - -#: models.py:668 -msgid "photo" -msgstr "fotografia" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "nome" - -#: models.py:801 -msgid "rotate or flip" -msgstr "ruota o inverti" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "colore" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "" -"Un fattore di 0.0 restituisce un'immagine in bianco e nero, un fattore di " -"1.0 restituisce l'immagine originale." - -#: models.py:808 -msgid "brightness" -msgstr "luminosità" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Un fattore di 0.0 restituisce un'immagine nera, un fattore di 1.0 " -"restituisce l'immagine originale." - -#: models.py:811 -msgid "contrast" -msgstr "contrasto" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Un fattore di 0.0 restituisce un'immagine grigia, un fattore di 1.0 " -"restituisce l'immagine originale." - -#: models.py:814 -msgid "sharpness" -msgstr "nitidezza" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Un fattore di 0.0 restituisce un'immagine sfuocata, un fattore di 1.0 " -"restituisce l'immagine originale." - -#: models.py:817 -msgid "filters" -msgstr "filtri" - -#: models.py:821 -msgid "size" -msgstr "dimensione" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" -"L'altezza del riflesso come percentuale dell'immagine originale. Un fattore " -"di 0.0 non aggiunge nessun riflesso, un fattore di 1.0 aggiunge un riflesso " -"della stessa altezza dell'immagine originale." - -#: models.py:824 -msgid "strength" -msgstr "intensità" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "Opacità iniziale del gradiente del riflesso." - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" -"Il colore di sfondo del gradiente di riflesso. Sceglilo in modo che " -"corrisponda al colore dello sfondo della tua immagine." - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "effetto fotografico" - -#: models.py:834 -msgid "photo effects" -msgstr "effetti fotografici" - -#: models.py:865 -msgid "style" -msgstr "stile" - -#: models.py:869 -msgid "opacity" -msgstr "opacità" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "Opacità della copertura" - -#: models.py:874 -msgid "watermark" -msgstr "watermark" - -#: models.py:875 -msgid "watermarks" -msgstr "watermark" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" -"Le dimensioni fotografiche devono contenere solo lettere, numeri o caratteri " -"di sottolineatura. Per esempio: : \"thumbnail\", \"display\", \"small\", " -"\"main_page_widget\"." - -#: models.py:898 -msgid "width" -msgstr "larghezza" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" -"Se la dimensione è \"0\", l'immagine verrà ridimensionata all'altezza " -"specificata." - -#: models.py:901 -msgid "height" -msgstr "altezza" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" -"Se l'altezza è \"0\", l'immagine verrà ridimensionata alla larghezza " -"specificata." - -#: models.py:904 -msgid "quality" -msgstr "qualità" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "qualità dell'immagine JPEG" - -#: models.py:908 -msgid "upscale images?" -msgstr "ingrandisco le immagini?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" -"Se selezionato, l'immagine verrà ingrandita (se necessario) per " -"corrispondere alle dimensioni specificate. Dimensioni ritagliate verranno " -"ridimensionate senza tenere conto di questa configurazione." - -#: models.py:911 -msgid "crop to fit?" -msgstr "Ritaglio per stare nelle dimensioni?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" -"Se selezionato, l'immagine verrà ridimensionata e ritagliata per rientrare " -"nelle dimensioni specificate." - -#: models.py:914 -msgid "pre-cache?" -msgstr "pre-cache?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "" -"Se selezionato, questa dimensione di foto verrà pre-salvata mentre le foto " -"sono inserite." - -#: models.py:917 -msgid "increment view count?" -msgstr "incrementa il contatore di visualizzazioni?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" -"Se selezionato, il \"contatore di visualizzazioni\" dell'immagine sarà " -"incrementato ad ogni visualizzazione dell'immagine." - -#: models.py:929 -msgid "watermark image" -msgstr "immagine di watermark" - -#: models.py:933 -msgid "photo size" -msgstr "dimensione della foto" - -#: models.py:934 -msgid "photo sizes" -msgstr "dimensioni delle foto" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "" diff --git a/photologue/locale/nl/LC_MESSAGES/django.mo b/photologue/locale/nl/LC_MESSAGES/django.mo deleted file mode 100644 index c1556217..00000000 Binary files a/photologue/locale/nl/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/nl/LC_MESSAGES/django.po b/photologue/locale/nl/LC_MESSAGES/django.po deleted file mode 100644 index 281d3cba..00000000 --- a/photologue/locale/nl/LC_MESSAGES/django.po +++ /dev/null @@ -1,636 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# Peter-Paul van Gemerden , 2009 -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2013-11-20 11:06+0000\n" -"Last-Translator: richardbarran \n" -"Language-Team: Dutch (http://www.transifex.com/projects/p/django-photologue/" -"language/nl/)\n" -"Language: nl\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "" -"Scheid labels met spaties, plaats aanhalingstekens rond labels met meerdere " -"woorden." - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "" -"Django-tagging kon niet gevonden worden, labels worden behandeld als platte " -"tekst." - -#: models.py:115 -msgid "Very Low" -msgstr "Zeer laag" - -#: models.py:116 -msgid "Low" -msgstr "Laag" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Middel-laag" - -#: models.py:118 -msgid "Medium" -msgstr "Gemiddeld" - -#: models.py:119 -msgid "Medium-High" -msgstr "Middel-hoog" - -#: models.py:120 -msgid "High" -msgstr "Hoog" - -#: models.py:121 -msgid "Very High" -msgstr "Zeer hoog" - -#: models.py:126 -msgid "Top" -msgstr "Boven" - -#: models.py:127 -msgid "Right" -msgstr "Rechts" - -#: models.py:128 -msgid "Bottom" -msgstr "Onder" - -#: models.py:129 -msgid "Left" -msgstr "Links" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Midden (standaard)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Spiegel horizontaal" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Spiegel verticaal" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "Roteer 90 graden linksom" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "Roteer 90 graden rechtsom" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "Roteer 180 graden" - -#: models.py:142 -msgid "Tile" -msgstr "Tegelen" - -#: models.py:143 -msgid "Scale" -msgstr "Schalen" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" -"Keten meerdere filters aan elkaar met het patroon: \"FILTER_EEN->FILTER_TWEE-" -">FILTER_DRIE\". Afbeeldingsfilters worden in volgorde toegepast. De volgende " -"filters zijn beschikbaar: %s." - -#: models.py:159 -msgid "date published" -msgstr "datum gepubliceerd" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "titel" - -#: models.py:164 -msgid "title slug" -msgstr "titel 'slug'" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "Een \"slug\" is een unieke URL-vriendelijke titel voor een object." - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "beschrijving" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "is openbaar" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "Openbare galerijen worden weergegeven in de standaardviews." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "foto's" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "labels" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "galerij" - -#: models.py:188 -msgid "galleries" -msgstr "galerijen" - -#: models.py:225 -msgid "count" -msgstr "aantal" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "afbeeldingenbestand (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "" -"Kies een .zip-bestand met afbeeldingen om te uploaden naar een nieuwe " -"Galerij." - -#: models.py:252 -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "onderschrift" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "Onderschrift wordt toegevoegd aan alle foto's." - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "Een beschrijving van deze Galerij." - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "Haal dit vinkje weg om de geüploade galerij en foto's privé te maken." - -#: models.py:276 -msgid "gallery upload" -msgstr "galerij-upload" - -#: models.py:277 -msgid "gallery uploads" -msgstr "galerij-uploads" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "" - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: models.py:392 models.py:863 -msgid "image" -msgstr "afbeelding" - -#: models.py:395 -msgid "date taken" -msgstr "datum genomen" - -#: models.py:399 -msgid "view count" -msgstr "" - -#: models.py:402 -msgid "crop from" -msgstr "afknippen vanaf" - -#: models.py:411 -msgid "effect" -msgstr "effect" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "Er is geen \"admin_thumbnail\" foto-maat vastgelegd." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Miniatuur" - -#: models.py:649 -msgid "slug" -msgstr "slug" - -#: models.py:654 -msgid "date added" -msgstr "datum toegevoegd" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "Openbare foto's worden weergegeven in de standaardviews." - -#: models.py:668 -msgid "photo" -msgstr "foto" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "naam" - -#: models.py:801 -msgid "rotate or flip" -msgstr "roteer of spiegel" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "kleur" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "" -"Een factor van 0.0 geeft een zwart-wit afbeelding, een factor van 1.0 geeft " -"de originele afbeelding." - -#: models.py:808 -msgid "brightness" -msgstr "helderheid" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Een factor van 0.0 geeft een zwarte afbeelding, een factor van 1.0 geeft de " -"originele afbeelding." - -#: models.py:811 -msgid "contrast" -msgstr "contrast" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Een factor van 0.0 geeft een egaal grijze afbeelding, een factor van 1.0 " -"geeft de originele afbeelding." - -#: models.py:814 -msgid "sharpness" -msgstr "scherpte" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Een factor van 0.0 geeft een vervaagde afbeelding, een factor van 1.0 geeft " -"de originele afbeelding." - -#: models.py:817 -msgid "filters" -msgstr "filters" - -#: models.py:821 -msgid "size" -msgstr "afmeting" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" -"De hoogte van de reflectie als precentage van de originele afbeelding. Een " -"factor van 0.0 voegt geen reflectie toe, een factor van 1.0 voegt een " -"reflectie toe met een gelijke hoogte als de originele afbeelding." - -#: models.py:824 -msgid "strength" -msgstr "sterkte" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "De initiële doorzichtigheid van de reflectie-gradatie." - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" -"De achtergrondkleur van de reflectie-gradatie. Stel dit in als hetzelfde als " -"de achtergrondkleur van je pagina." - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "foto-effect" - -#: models.py:834 -msgid "photo effects" -msgstr "foto-effecten" - -#: models.py:865 -msgid "style" -msgstr "stijl" - -#: models.py:869 -msgid "opacity" -msgstr "doorzichtigheid" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "De doorzichtigheid van overliggende afbeelding." - -#: models.py:874 -msgid "watermark" -msgstr "watermerk" - -#: models.py:875 -msgid "watermarks" -msgstr "watermerken" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" -"De naam van de foto-maat mag alleen letters, nummers en underscores " -"bevatten. Voorbeelden: \"miniatuur\", \"weergave\", \"klein\", " -"\"hoofdpagina_zijbalk_miniatuur\"." - -#: models.py:898 -msgid "width" -msgstr "breedte" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" -"Als de breedte op \"0\" wordt gezet zal de afbeelding geschaald worden naar " -"de opgegeven hoogte." - -#: models.py:901 -msgid "height" -msgstr "hoogte" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" -"Als de hoogte op \"0\" wordt gezet zal de afbeelding geschaald worden naar " -"de opgegeven breedte." - -#: models.py:904 -msgid "quality" -msgstr "kwaliteit" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "JPEG afbeeldingskwaliteit" - -#: models.py:908 -msgid "upscale images?" -msgstr "afbeeldingen opschalen?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" -"Als dit is gekozen zal de afbeelding, indien nodig, opgeschaald worden naar " -"opgegeven afmetingen. Afgeknipte maten worden altijd opgeschaald, ongeacht " -"deze instelling." - -#: models.py:911 -msgid "crop to fit?" -msgstr "gepast afknippen?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" -"Als dit is gekozen zal de afbeelding geschaald en afgeknipt worden naar de " -"opgegeven afmetingen." - -#: models.py:914 -msgid "pre-cache?" -msgstr "vooraf cachen?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "" -"Als dit is gekozen zullen foto's met deze foto-maat van te voren worden " -"gecached wanneer ze worden toegevoegd." - -#: models.py:917 -msgid "increment view count?" -msgstr "aantal vertoningen ophogen?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" -"Als dit is gekozen zal het aantal vertoningen van de afbeelding worden " -"opgehoogd wanneer deze foto-maat wordt weergegeven." - -#: models.py:929 -msgid "watermark image" -msgstr "watermerk-afbeelding" - -#: models.py:933 -msgid "photo size" -msgstr "foto-maat" - -#: models.py:934 -msgid "photo sizes" -msgstr "foto-maten" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "" diff --git a/photologue/locale/no/LC_MESSAGES/django.mo b/photologue/locale/no/LC_MESSAGES/django.mo deleted file mode 100644 index 326da3f7..00000000 Binary files a/photologue/locale/no/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/no/LC_MESSAGES/django.po b/photologue/locale/no/LC_MESSAGES/django.po deleted file mode 100644 index b487c671..00000000 --- a/photologue/locale/no/LC_MESSAGES/django.po +++ /dev/null @@ -1,621 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2013-11-20 11:06+0000\n" -"Last-Translator: richardbarran \n" -"Language-Team: Norwegian (http://www.transifex.com/projects/p/django-" -"photologue/language/no/)\n" -"Language: no\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "" -"Separer tagger med mellomrom, bruk hermetegn rundt tagger som består av " -"flere ord." - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "" -"Django-tagging ble ikke funnet. Tagger vil bli behandlet som vanlig tekst." - -#: models.py:115 -msgid "Very Low" -msgstr "Veldig lav" - -#: models.py:116 -msgid "Low" -msgstr "Lav" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Middels-lav" - -#: models.py:118 -msgid "Medium" -msgstr "Middels" - -#: models.py:119 -msgid "Medium-High" -msgstr "Middels-høy" - -#: models.py:120 -msgid "High" -msgstr "Høy" - -#: models.py:121 -msgid "Very High" -msgstr "Veldig høy" - -#: models.py:126 -msgid "Top" -msgstr "Topp" - -#: models.py:127 -msgid "Right" -msgstr "Høyre" - -#: models.py:128 -msgid "Bottom" -msgstr "Bunn" - -#: models.py:129 -msgid "Left" -msgstr "Venstre" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Senter (forhåndsvalgt)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Snu venstre mot høyre" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Snu topp mot bunn" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "Rotér 90 grader mot klokka" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "Rotér 90 grader med klokka" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "Rotér 180 grader" - -#: models.py:142 -msgid "Tile" -msgstr "Flislegg" - -#: models.py:143 -msgid "Scale" -msgstr "Skalér" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" - -#: models.py:159 -msgid "date published" -msgstr "publiseringsdato" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "tittel" - -#: models.py:164 -msgid "title slug" -msgstr "tittel (slug)" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "En \"slug\" er en unik URL-vennlig tittel for et objekt." - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "beskrivelse" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "publisert" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "Publiserte gallerier vil bli vist på vanlig vis." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "bilder" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "tagger" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "galleri" - -#: models.py:188 -msgid "galleries" -msgstr "gallerier" - -#: models.py:225 -msgid "count" -msgstr "visninger" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "pakkede bildefiler (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "Velg en .zip-fil med bilder for å laste opp som et nytt galleri." - -#: models.py:252 -#, fuzzy -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" -"Alle bilder i dette galleriet vil bli gitt navn etter galleriets navn + " -"bildets nummer." - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "undertittel" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "Undertitler blir lagt til på alle bilder." - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "Beskrivelse av galleriet." - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "Avmarker dette for å gjøre galleriet og dets bilder private." - -#: models.py:276 -msgid "gallery upload" -msgstr "galleriopplasting" - -#: models.py:277 -msgid "gallery uploads" -msgstr "galleriopplastinger" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "" - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: models.py:392 models.py:863 -msgid "image" -msgstr "bilde" - -#: models.py:395 -msgid "date taken" -msgstr "dato tatt" - -#: models.py:399 -msgid "view count" -msgstr "" - -#: models.py:402 -msgid "crop from" -msgstr "kutt fra" - -#: models.py:411 -msgid "effect" -msgstr "effekt" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "En \"admin_thumbnail\"-bildestørrelse har ikke blitt opprettet." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Miniatyrbilde" - -#: models.py:649 -msgid "slug" -msgstr "slug" - -#: models.py:654 -msgid "date added" -msgstr "opplastingsdato" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "Publiserte bilder vil bli vist på vanlig måte." - -#: models.py:668 -msgid "photo" -msgstr "bilde" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "navn" - -#: models.py:801 -msgid "rotate or flip" -msgstr "rotér og snu" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "farge" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "" -"En verdi på 0.0 gir et sort/hvitt-bilde, en verdi på 1.0 gir originalbildet." - -#: models.py:808 -msgid "brightness" -msgstr "lyshet" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "En verdi på 0.0 gir et sort bilde, en verdi på 1.0 gir originalbildet." - -#: models.py:811 -msgid "contrast" -msgstr "kontrast" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "" -"En verdi på 0.0 gir et grått bilde, en verdi på 1.0 gir originalbildet." - -#: models.py:814 -msgid "sharpness" -msgstr "skarphet" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "" -"En verdi på 0.0 gir et utydlig bilde, en verdi på 1.0 gir originalbildet." - -#: models.py:817 -msgid "filters" -msgstr "filter" - -#: models.py:821 -msgid "size" -msgstr "størrelse" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" -"Høyden av refleksjonen som prosent av originalbildet. En verdi på 0.0 gir " -"ingen refleksjon, en verdi på 1.0 gir en refleksjon tilsvarende høyden på " -"originalbildet." - -#: models.py:824 -msgid "strength" -msgstr "styrke" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "" - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "bildeeffekt" - -#: models.py:834 -msgid "photo effects" -msgstr "bildeeffekter" - -#: models.py:865 -msgid "style" -msgstr "stil" - -#: models.py:869 -msgid "opacity" -msgstr "gjennomsiktighet" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "Gjennomsiktigheten av overlegget." - -#: models.py:874 -msgid "watermark" -msgstr "vannmerke" - -#: models.py:875 -msgid "watermarks" -msgstr "vannmerker" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" -"Navn på bildestørrelse kan kun inneholde bokstaver, tall og understreker. " -"Eksempler: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." - -#: models.py:898 -msgid "width" -msgstr "bredde" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" -"Hvis bredden er satt til \"0\" blir bildet skalert til den oppgitte høyden." - -#: models.py:901 -msgid "height" -msgstr "høyde" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" -"Hvis høyden er satt til \"0\" blir bildet skalert til den oppgitte bredden." - -#: models.py:904 -msgid "quality" -msgstr "kvalitet" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "JPEG bildekvalitet" - -#: models.py:908 -msgid "upscale images?" -msgstr "oppskalér bilder?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" -"Hvis valgt, blir bildet vil bli skalert opp om det er nødvendig. Kuttede " -"størrelser vil bli oppskalert uansett innstilling." - -#: models.py:911 -msgid "crop to fit?" -msgstr "kutt for tilpasning?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" -"Hvis valgt blir bildet skalert og kuttet for å passe med den oppgitte " -"størrelsen." - -#: models.py:914 -msgid "pre-cache?" -msgstr "mellomlagre på forhånd?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "" -"Hvis valgt blir denne bildestørrelsen mellomlagret på forhånd når nye bilder " -"blir lagt til." - -#: models.py:917 -msgid "increment view count?" -msgstr "øke visningstelleren?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" -"Hvis valgt vil \"visningstelleren\" øke hver gang denne bildestørrelsen " -"vises." - -#: models.py:929 -msgid "watermark image" -msgstr "vannmerke på bilde" - -#: models.py:933 -msgid "photo size" -msgstr "bildestørrelse" - -#: models.py:934 -msgid "photo sizes" -msgstr "bildestørrelser" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "" diff --git a/photologue/locale/pl/LC_MESSAGES/django.mo b/photologue/locale/pl/LC_MESSAGES/django.mo deleted file mode 100644 index d31d6a21..00000000 Binary files a/photologue/locale/pl/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/pl/LC_MESSAGES/django.po b/photologue/locale/pl/LC_MESSAGES/django.po deleted file mode 100644 index 0b259b6b..00000000 --- a/photologue/locale/pl/LC_MESSAGES/django.po +++ /dev/null @@ -1,636 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2013-11-20 11:06+0000\n" -"Last-Translator: richardbarran \n" -"Language-Team: Polish (http://www.transifex.com/projects/p/django-photologue/" -"language/pl/)\n" -"Language: pl\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " -"|| n%100>=20) ? 1 : 2);\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "Rozdziel tagi spacjami, ujmij w cudzysłowy tagi złożone z wielu słów." - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "" -"Django-tagging nie zostało znalezione. Tagi będą traktowane jako czysty " -"tekst." - -#: models.py:115 -msgid "Very Low" -msgstr "Bardzo niska" - -#: models.py:116 -msgid "Low" -msgstr "Niska" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Niższa średnia" - -#: models.py:118 -msgid "Medium" -msgstr "Średnia" - -#: models.py:119 -msgid "Medium-High" -msgstr "Wyższa średnia" - -#: models.py:120 -msgid "High" -msgstr "Wysoka" - -#: models.py:121 -msgid "Very High" -msgstr "Bardzo wysoka" - -#: models.py:126 -msgid "Top" -msgstr "Góra" - -#: models.py:127 -msgid "Right" -msgstr "Prawo" - -#: models.py:128 -msgid "Bottom" -msgstr "Dół" - -#: models.py:129 -msgid "Left" -msgstr "Lewo" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Środek (Domyślnie)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Odbij w poziomie" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Odbij w pionie" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "Odwróć 90 stopni w lewo" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "Odwróć 90 stopni w prawo" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "Obróć o 180 stopni" - -#: models.py:142 -msgid "Tile" -msgstr "Kafelki" - -#: models.py:143 -msgid "Scale" -msgstr "Skaluj" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" - -#: models.py:159 -msgid "date published" -msgstr "data publikacji" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "tytuł" - -#: models.py:164 -msgid "title slug" -msgstr "tytuł - slug " - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "\"Slug\" jest unikalnym, zgodnym z formatem dla URL-i tytułem obiektu." - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "opis" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "jest publiczna" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "Galerie publiczne będą wyświetlana w domyślnych widokach." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "zdjęcia" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "tagi" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "galeria" - -#: models.py:188 -msgid "galleries" -msgstr "galerie" - -#: models.py:225 -msgid "count" -msgstr "ilość" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "plik z obrazami (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "" -"Wybierz plik .zip zawierający zdjęcia które chcesz załadować do nowej " -"Galerii." - -#: models.py:252 -#, fuzzy -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "Wszystkie " - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "podpis" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "Podpis będzie dodany do wszystkich zdjęć." - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "Opis tej Galerii." - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "" -"Odznacz aby uczynić wrzucaną galerię oraz zawarte w niej zdjęcia prywatnymi." - -#: models.py:276 -msgid "gallery upload" -msgstr "wrzucona galeria" - -#: models.py:277 -msgid "gallery uploads" -msgstr "wrzucone galerie" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "" - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: models.py:392 models.py:863 -msgid "image" -msgstr "obraz" - -#: models.py:395 -msgid "date taken" -msgstr "data wykonania" - -#: models.py:399 -msgid "view count" -msgstr "" - -#: models.py:402 -msgid "crop from" -msgstr "obetnij z" - -#: models.py:411 -msgid "effect" -msgstr "efekt" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "Rozmiar zdjęcia \"admin_thumbnail\" nie został zdefiniowany." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Miniaturka" - -#: models.py:649 -msgid "slug" -msgstr "slug" - -#: models.py:654 -msgid "date added" -msgstr "data dodania" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "Publiczne zdjęcia będą wyświetlane w domyślnych widokach." - -#: models.py:668 -msgid "photo" -msgstr "zdjęcie" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "nazwa" - -#: models.py:801 -msgid "rotate or flip" -msgstr "obróć lub odbij" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "kolor" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "" -"Współczynnik 0.0 daje czarno-biały obraz, współczynnik 1.0 daje obraz " -"oryginalny." - -#: models.py:808 -msgid "brightness" -msgstr "jasność" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Współczynnik 0.0 daje czarny obraz, współczynnik 1.0 daje obraz oryginalny." - -#: models.py:811 -msgid "contrast" -msgstr "kontrast" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Współczynnik 0.0 daje jednolity szary obraz, współczynnik 1.0 daje obraz " -"oryginalny." - -#: models.py:814 -msgid "sharpness" -msgstr "ostrość" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Współczynnik 0.0 daje rozmazany obraz, współczynnik 1.0 daje obraz " -"oryginalny." - -#: models.py:817 -msgid "filters" -msgstr "filtry" - -#: models.py:821 -msgid "size" -msgstr "rozmiar" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" -"Wysokość odbicia jako procent oryginalnego obrazu. Współczynnik 0.0 nie " -"dodaje odbicia, współczynnik 1.0 dodaje odbicie równe wysokości oryginalnego " -"obrazu." - -#: models.py:824 -msgid "strength" -msgstr "intensywność" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "" - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "efekt zdjęcia" - -#: models.py:834 -msgid "photo effects" -msgstr "efekty zdjęć" - -#: models.py:865 -msgid "style" -msgstr "styl" - -#: models.py:869 -msgid "opacity" -msgstr "przeźroczystość" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "Poziom przezroczystości" - -#: models.py:874 -msgid "watermark" -msgstr "znak wodny" - -#: models.py:875 -msgid "watermarks" -msgstr "znaki wodne" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" -"Nazwa rozmiaru zdjęcia powinna zawierać tylko litery, cyfry i podkreślenia. " -"Przykłady: \"miniatura\", \"wystawa\", \"male\", \"widget_strony_glownej\"." - -#: models.py:898 -msgid "width" -msgstr "szerokość" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" -"Jeśli szerokość jest ustawiona na \"0\" to obraz będzie skalowany do podanej " -"wysokości." - -#: models.py:901 -msgid "height" -msgstr "wysokość" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" -"Jeśli wysokość jest ustawiona na \"0\" to obraz będzie skalowany do podanej " -"szerokości." - -#: models.py:904 -msgid "quality" -msgstr "jakość" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "Jakość obrazu JPEG" - -#: models.py:908 -msgid "upscale images?" -msgstr "skalować obrazy w górę?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" -"Jeśli zaznaczone to obraz będzie skalowany w górę tak aby pasował do " -"podanych wymiarów. Obcinane rozmiary będą skalowane niezależnie od tego " -"ustawienia." - -#: models.py:911 -msgid "crop to fit?" -msgstr "przyciąć aby pasował?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" -"Jeśli zaznaczone to obraz będzie skalowany i przycinany tak aby pasował do " -"podanych wymiarów." - -#: models.py:914 -msgid "pre-cache?" -msgstr "wstępnie cachować?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "" -"Jesli zaznaczone to ten rozmiar zdjęć będzie wstępnie cachowany przy " -"dodawaniu zdjęć." - -#: models.py:917 -msgid "increment view count?" -msgstr "zwiększyć licznik odsłon?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" -"Jeśli zaznaczone to \"licznik_odslon\" będzie zwiększany gdy ten rozmiar " -"zdjęcia będzie wyświetlany." - -#: models.py:929 -msgid "watermark image" -msgstr "oznacz kluczem wodnym" - -#: models.py:933 -msgid "photo size" -msgstr "rozmiar zdjęcia" - -#: models.py:934 -msgid "photo sizes" -msgstr "rozmiary zdjęć" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "" diff --git a/photologue/locale/pt/LC_MESSAGES/django.mo b/photologue/locale/pt/LC_MESSAGES/django.mo deleted file mode 100644 index df43fff0..00000000 Binary files a/photologue/locale/pt/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/pt/LC_MESSAGES/django.po b/photologue/locale/pt/LC_MESSAGES/django.po deleted file mode 100644 index 9383091c..00000000 --- a/photologue/locale/pt/LC_MESSAGES/django.po +++ /dev/null @@ -1,637 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# David Kwast , 2009 -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2013-11-20 11:06+0000\n" -"Last-Translator: richardbarran \n" -"Language-Team: Portuguese (http://www.transifex.com/projects/p/django-" -"photologue/language/pt/)\n" -"Language: pt\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "" -"Separe as tags com espaços, use aspas em volta de tags com mais de uma " -"palavra" - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "" -"Django-tagging não foi encontrado, tags serão tratadas como texto simples" - -#: models.py:115 -msgid "Very Low" -msgstr "Muito Baixa" - -#: models.py:116 -msgid "Low" -msgstr "Baixa" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Média-Baixa" - -#: models.py:118 -msgid "Medium" -msgstr "Média" - -#: models.py:119 -msgid "Medium-High" -msgstr "Média-Alta" - -#: models.py:120 -msgid "High" -msgstr "Alta" - -#: models.py:121 -msgid "Very High" -msgstr "Muito Alta" - -#: models.py:126 -msgid "Top" -msgstr "Cima" - -#: models.py:127 -msgid "Right" -msgstr "Direita" - -#: models.py:128 -msgid "Bottom" -msgstr "Baixo" - -#: models.py:129 -msgid "Left" -msgstr "Esquerda" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Centro (Padrão)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Inverter da direita para a esquerda" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Inverter de cima para baixo" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "Rotacionar 90 graus no sentido anti-horário" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "Rotacionar 90 graus no sentido horário" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "Rotacionar 180 graus" - -#: models.py:142 -msgid "Tile" -msgstr "Título" - -#: models.py:143 -msgid "Scale" -msgstr "Escala" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" -"Encadeie multiplos filtros usando o seguinte padrão \"FILTRO_UM->FILTRO_DOIS-" -">FILTRO_TRÊS\". Os filtors serão aplicados na ordem em que foram encadeados. " -"Os seguintes filtros estão disponíveis: %s." - -#: models.py:159 -msgid "date published" -msgstr "data de publicação" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "título" - -#: models.py:164 -msgid "title slug" -msgstr "slug do título" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "Um \"slug\" é um título único compatível com uma URL." - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "descrição" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "é publico" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "Galerias públicas serão mostradas nas views padrões." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "fotos" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "tags" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "Galeria" - -#: models.py:188 -msgid "galleries" -msgstr "Galerias" - -#: models.py:225 -msgid "count" -msgstr "contagem" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "arquivo contendo as imagens (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "" -"Selecione um arquivo .zip contendo imagens para realizar o upload em uma " -"nova Galeria" - -#: models.py:252 -#, fuzzy -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" -"Todas as fotos desta galeria terão o mesmo título da mesma acrescido de um " -"número sequencial." - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "legenda" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "A legenda será adicionada para todas as fotos" - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "Uma descrição desta galeria" - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "" -"Desmarque esta opção para tornar a galeria, incluindo suas fotos, não " -"pública." - -#: models.py:276 -msgid "gallery upload" -msgstr "Upload de galeria" - -#: models.py:277 -msgid "gallery uploads" -msgstr "Upload de galerias" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "" - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: models.py:392 models.py:863 -msgid "image" -msgstr "imagem" - -#: models.py:395 -msgid "date taken" -msgstr "data em que a foto foi tirada" - -#: models.py:399 -msgid "view count" -msgstr "" - -#: models.py:402 -msgid "crop from" -msgstr "cortar" - -#: models.py:411 -msgid "effect" -msgstr "efeito" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "Um tamanho para a foto do \"admin_thumbnail\" ainda não foi definido." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Thumbnail" - -#: models.py:649 -msgid "slug" -msgstr "slug" - -#: models.py:654 -msgid "date added" -msgstr "data que foi adicionado(a)" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "Fotos públicas serão mostradas nas views padrões." - -#: models.py:668 -msgid "photo" -msgstr "foto" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "nome" - -#: models.py:801 -msgid "rotate or flip" -msgstr "rotacionar ou inverter" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "cor" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "" -"O valor 0.0 deixará a imagem em preto e branco, o fator 1.0 não alterará a " -"mesma.A factor of 0.0 gives a black and white image, a factor of 1.0 gives " -"the original image." - -#: models.py:808 -msgid "brightness" -msgstr "brilho" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "" -"O valor 0.0 deixará a imagem totalmente preta, o valor 1.0 não alterará a " -"mesma." - -#: models.py:811 -msgid "contrast" -msgstr "contraste" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "" -"O valor 0.0 deixará a imagem totalmente cinza, o valor 1.0 não alterará a " -"mesma." - -#: models.py:814 -msgid "sharpness" -msgstr "nitidez" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "" -"O valor 0.0 deixará a imagem embaçada, o valor 1.0 não alterará a mesma." - -#: models.py:817 -msgid "filters" -msgstr "filtros" - -#: models.py:821 -msgid "size" -msgstr "tamanho" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" -"Valor entre 0 e 1. O reflexo será proporcional a altura da imagem. O valor " -"0.0 não produzirá um reflexo e o valor 1.0 produzirá um reflexo com a mesma " -"altura da imagem original." - -#: models.py:824 -msgid "strength" -msgstr "força" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "O valor inicial da opacidade do gradiente de reflexão." - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" -"A cor de fundo do gradiente de reflexão. Ajuste de acordo com a cor de fundo " -"de sua página." - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "efeito de foto" - -#: models.py:834 -msgid "photo effects" -msgstr "efeitos de foto" - -#: models.py:865 -msgid "style" -msgstr "estilo" - -#: models.py:869 -msgid "opacity" -msgstr "opacidade" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "A opacidade da sobre-imagem (overlay)" - -#: models.py:874 -msgid "watermark" -msgstr "marca d'água" - -#: models.py:875 -msgid "watermarks" -msgstr "marcas d'água" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" -"O nome do tamanho da foto somente poderá conter letras, números e " -"underscores. Exemplos: \"thumbnail\", \"tela\", \"pequeno\", \"grande\"." - -#: models.py:898 -msgid "width" -msgstr "largura" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" -"Se o valor da largura for \"0\", a imagem será redimensionada de acordo com " -"a altura informada" - -#: models.py:901 -msgid "height" -msgstr "altura" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" -"Se o valor da altura for \"0\", a imagem será redimensionada de acordo com a " -"largura informada" - -#: models.py:904 -msgid "quality" -msgstr "qualidade" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "qualidade da imagem JPEG" - -#: models.py:908 -msgid "upscale images?" -msgstr "Aumentar a dimensão das imagens?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" -"Se selecionado, a imagem terá sua dimensão aumentada. Imagens cortadas serão " -"redimensionadas independentemente desta configuração." - -#: models.py:911 -msgid "crop to fit?" -msgstr "cortar para conformar?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" -"Se selecionado, a imagem será redimensionada e cortada para se conformar de " -"acordo com as dimensões fornecidas." - -#: models.py:914 -msgid "pre-cache?" -msgstr "pré-cachear?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "" -"Se selecionado, o tamanho da foto será pré-cacheado logo após sua inclusão." - -#: models.py:917 -msgid "increment view count?" -msgstr "Incrementar o contador de visualizações?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" -"Se selecionado, o \"view_count\" desta imagem será incrementado quando o " -"tamanho da mesma for mostrado." - -#: models.py:929 -msgid "watermark image" -msgstr "imagem para marca d'água" - -#: models.py:933 -msgid "photo size" -msgstr "tamanho da foto" - -#: models.py:934 -msgid "photo sizes" -msgstr "tamanhos das fotos" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "" diff --git a/photologue/locale/pt_BR/LC_MESSAGES/django.mo b/photologue/locale/pt_BR/LC_MESSAGES/django.mo deleted file mode 100644 index 87ea062e..00000000 Binary files a/photologue/locale/pt_BR/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/pt_BR/LC_MESSAGES/django.po b/photologue/locale/pt_BR/LC_MESSAGES/django.po deleted file mode 100644 index 94eeb4e4..00000000 --- a/photologue/locale/pt_BR/LC_MESSAGES/django.po +++ /dev/null @@ -1,637 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# David Kwast , 2009 -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2013-11-20 11:06+0000\n" -"Last-Translator: richardbarran \n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/" -"django-photologue/language/pt_BR/)\n" -"Language: pt_BR\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "" -"Separe as tags com espaços, use aspas em volta de tags com mais de uma " -"palavra" - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "" -"Django-tagging não foi encontrado, tags serão tratadas como texto simples" - -#: models.py:115 -msgid "Very Low" -msgstr "Muito Baixa" - -#: models.py:116 -msgid "Low" -msgstr "Baixa" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Média-Baixa" - -#: models.py:118 -msgid "Medium" -msgstr "Média" - -#: models.py:119 -msgid "Medium-High" -msgstr "Média-Alta" - -#: models.py:120 -msgid "High" -msgstr "Alta" - -#: models.py:121 -msgid "Very High" -msgstr "Muito Alta" - -#: models.py:126 -msgid "Top" -msgstr "Cima" - -#: models.py:127 -msgid "Right" -msgstr "Direita" - -#: models.py:128 -msgid "Bottom" -msgstr "Baixo" - -#: models.py:129 -msgid "Left" -msgstr "Esquerda" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Centro (Padrão)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Inverter da direita para a esquerda" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Inverter de cima para baixo" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "Rotacionar 90 graus no sentido anti-horário" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "Rotacionar 90 graus no sentido horário" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "Rotacionar 180 graus" - -#: models.py:142 -msgid "Tile" -msgstr "Título" - -#: models.py:143 -msgid "Scale" -msgstr "Escala" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" -"Encadeie multiplos filtros usando o seguinte padrão \"FILTRO_UM->FILTRO_DOIS-" -">FILTRO_TRÊS\". Os filtors serão aplicados na ordem em que foram encadeados. " -"Os seguintes filtros estão disponíveis: %s." - -#: models.py:159 -msgid "date published" -msgstr "data de publicação" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "título" - -#: models.py:164 -msgid "title slug" -msgstr "slug do título" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "Um \"slug\" é um título único compatível com uma URL." - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "descrição" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "é publico" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "Galerias públicas serão mostradas nas views padrões." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "fotos" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "tags" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "Galeria" - -#: models.py:188 -msgid "galleries" -msgstr "Galerias" - -#: models.py:225 -msgid "count" -msgstr "contagem" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "arquivo contendo as imagens (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "" -"Selecione um arquivo .zip contendo imagens para realizar o upload em uma " -"nova Galeria" - -#: models.py:252 -#, fuzzy -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" -"Todas as fotos desta galeria terão o mesmo título da mesma acrescido de um " -"número sequencial." - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "legenda" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "A legenda será adicionada para todas as fotos" - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "Uma descrição desta galeria" - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "" -"Desmarque esta opção para tornar a galeria, incluindo suas fotos, não " -"pública." - -#: models.py:276 -msgid "gallery upload" -msgstr "Upload de galeria" - -#: models.py:277 -msgid "gallery uploads" -msgstr "Upload de galerias" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "" - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: models.py:392 models.py:863 -msgid "image" -msgstr "imagem" - -#: models.py:395 -msgid "date taken" -msgstr "data em que a foto foi tirada" - -#: models.py:399 -msgid "view count" -msgstr "" - -#: models.py:402 -msgid "crop from" -msgstr "cortar" - -#: models.py:411 -msgid "effect" -msgstr "efeito" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "Um tamanho para a foto do \"admin_thumbnail\" ainda não foi definido." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Thumbnail" - -#: models.py:649 -msgid "slug" -msgstr "slug" - -#: models.py:654 -msgid "date added" -msgstr "data que foi adicionado(a)" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "Fotos públicas serão mostradas nas views padrões." - -#: models.py:668 -msgid "photo" -msgstr "foto" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "nome" - -#: models.py:801 -msgid "rotate or flip" -msgstr "rotacionar ou inverter" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "cor" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "" -"O valor 0.0 deixará a imagem em preto e branco, o fator 1.0 não alterará a " -"mesma.A factor of 0.0 gives a black and white image, a factor of 1.0 gives " -"the original image." - -#: models.py:808 -msgid "brightness" -msgstr "brilho" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "" -"O valor 0.0 deixará a imagem totalmente preta, o valor 1.0 não alterará a " -"mesma." - -#: models.py:811 -msgid "contrast" -msgstr "contraste" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "" -"O valor 0.0 deixará a imagem totalmente cinza, o valor 1.0 não alterará a " -"mesma." - -#: models.py:814 -msgid "sharpness" -msgstr "nitidez" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "" -"O valor 0.0 deixará a imagem embaçada, o valor 1.0 não alterará a mesma." - -#: models.py:817 -msgid "filters" -msgstr "filtros" - -#: models.py:821 -msgid "size" -msgstr "tamanho" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" -"Valor entre 0 e 1. O reflexo será proporcional a altura da imagem. O valor " -"0.0 não produzirá um reflexo e o valor 1.0 produzirá um reflexo com a mesma " -"altura da imagem original." - -#: models.py:824 -msgid "strength" -msgstr "força" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "O valor inicial da opacidade do gradiente de reflexão." - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" -"A cor de fundo do gradiente de reflexão. Ajuste de acordo com a cor de fundo " -"de sua página." - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "efeito de foto" - -#: models.py:834 -msgid "photo effects" -msgstr "efeitos de foto" - -#: models.py:865 -msgid "style" -msgstr "estilo" - -#: models.py:869 -msgid "opacity" -msgstr "opacidade" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "A opacidade da sobre-imagem (overlay)" - -#: models.py:874 -msgid "watermark" -msgstr "marca d'água" - -#: models.py:875 -msgid "watermarks" -msgstr "marcas d'água" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" -"O nome do tamanho da foto somente poderá conter letras, números e " -"underscores. Exemplos: \"thumbnail\", \"tela\", \"pequeno\", \"grande\"." - -#: models.py:898 -msgid "width" -msgstr "largura" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" -"Se o valor da largura for \"0\", a imagem será redimensionada de acordo com " -"a altura informada" - -#: models.py:901 -msgid "height" -msgstr "altura" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" -"Se o valor da altura for \"0\", a imagem será redimensionada de acordo com a " -"largura informada" - -#: models.py:904 -msgid "quality" -msgstr "qualidade" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "qualidade da imagem JPEG" - -#: models.py:908 -msgid "upscale images?" -msgstr "Aumentar a dimensão das imagens?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" -"Se selecionado, a imagem terá sua dimensão aumentada. Imagens cortadas serão " -"redimensionadas independentemente desta configuração." - -#: models.py:911 -msgid "crop to fit?" -msgstr "cortar para conformar?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" -"Se selecionado, a imagem será redimensionada e cortada para se conformar de " -"acordo com as dimensões fornecidas." - -#: models.py:914 -msgid "pre-cache?" -msgstr "pré-cachear?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "" -"Se selecionado, o tamanho da foto será pré-cacheado logo após sua inclusão." - -#: models.py:917 -msgid "increment view count?" -msgstr "Incrementar o contador de visualizações?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" -"Se selecionado, o \"view_count\" desta imagem será incrementado quando o " -"tamanho da mesma for mostrado." - -#: models.py:929 -msgid "watermark image" -msgstr "imagem para marca d'água" - -#: models.py:933 -msgid "photo size" -msgstr "tamanho da foto" - -#: models.py:934 -msgid "photo sizes" -msgstr "tamanhos das fotos" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "" diff --git a/photologue/locale/ru/LC_MESSAGES/django.mo b/photologue/locale/ru/LC_MESSAGES/django.mo deleted file mode 100644 index 1cf3181c..00000000 Binary files a/photologue/locale/ru/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/ru/LC_MESSAGES/django.po b/photologue/locale/ru/LC_MESSAGES/django.po deleted file mode 100644 index 4288aff4..00000000 --- a/photologue/locale/ru/LC_MESSAGES/django.po +++ /dev/null @@ -1,646 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2013-11-20 11:06+0000\n" -"Last-Translator: richardbarran \n" -"Language-Team: Russian (http://www.transifex.com/projects/p/django-" -"photologue/language/ru/)\n" -"Language: ru\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" -"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" -msgstr[2] "" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "Разделяйте тэги пробелами, а многословные теги ставьте в кавычки." - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "" -"Django-tagging не было найдено, поэтому тэги будут обрабатываться, как " -"простой текст." - -#: models.py:115 -msgid "Very Low" -msgstr "Очень низкое" - -#: models.py:116 -msgid "Low" -msgstr "Низкое" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Чуть хуже среднего" - -#: models.py:118 -msgid "Medium" -msgstr "Среднее" - -#: models.py:119 -msgid "Medium-High" -msgstr "Чуть лучше среднего" - -#: models.py:120 -msgid "High" -msgstr "Высокое" - -#: models.py:121 -msgid "Very High" -msgstr "Очень высокое" - -#: models.py:126 -msgid "Top" -msgstr "Верхняя сторона" - -#: models.py:127 -msgid "Right" -msgstr "Правая сторона" - -#: models.py:128 -msgid "Bottom" -msgstr "Нижняя сторона" - -#: models.py:129 -msgid "Left" -msgstr "Левая сторона" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Центр (По-умолчанию)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Зеркально отобразить слева направо" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Зеркально отобразить сверху вниз" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "Повернуть на 90 градусов против часовой стрелке" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "Повернуть на 90 градусов по часовой стрелке" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "Повернуть на 180 градусов" - -#: models.py:142 -msgid "Tile" -msgstr "Разместить мозайкой" - -#: models.py:143 -msgid "Scale" -msgstr "Масштабировать" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" -"Цепочка фильтров для изображений (\"ФИЛЬТР_1->ФИЛЬТР_2->ФИЛЬТР_3\"). Фильтры " -"будут применены по порядку. Доступны следующие фильтры: %s." - -#: models.py:159 -msgid "date published" -msgstr "дата публикации" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "название" - -#: models.py:164 -msgid "title slug" -msgstr "слаг название" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "" -"\"слаг\" - это уникальное читаемое название для объекта в адресной строке." - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "описание" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "публично" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "Публичные галереи будут отображены в представлениях по-умолчанию." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "фотографии" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "тэги" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "галерея" - -#: models.py:188 -msgid "galleries" -msgstr "галереи" - -#: models.py:225 -msgid "count" -msgstr "количество" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "файл изображения (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "Выберите .zip файл изображений для загрузки в новую галерею." - -#: models.py:252 -#, fuzzy -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" -"Всем фотографиям в галерее получат название, составленное из названия " -"галереи + последовательное число." - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "заголовок" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "Заголовок будет добавлен ко всем фотографиям." - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "Описание для этой галереи." - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "" -"Снимите эту галку, чтобы сделать загруженную галерею и включенные в нее " -"фотографии приватными." - -#: models.py:276 -msgid "gallery upload" -msgstr "загрузка в галерею" - -#: models.py:277 -msgid "gallery uploads" -msgstr "загрузки в галерею" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "" - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: models.py:392 models.py:863 -msgid "image" -msgstr "изображение" - -#: models.py:395 -msgid "date taken" -msgstr "дата наложения" - -#: models.py:399 -msgid "view count" -msgstr "" - -#: models.py:402 -msgid "crop from" -msgstr "обрезанный из" - -#: models.py:411 -msgid "effect" -msgstr "эффект" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "Размер миниатюры \"admin_thumbnail\" не определен." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Миниатюра" - -#: models.py:649 -msgid "slug" -msgstr "слаг" - -#: models.py:654 -msgid "date added" -msgstr "дата добавления" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "" -"Публичные фотографии будут отображены в используемых представлениях по " -"умолчанию." - -#: models.py:668 -msgid "photo" -msgstr "фотография" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "имя" - -#: models.py:801 -msgid "rotate or flip" -msgstr "повернуть или зеркально отобразить" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "цвет" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "" -"Значение коэффициента 0.0 дает черно-белое изображение, а значение " -"коэффициента 1.0 дает оригинальное изображение." - -#: models.py:808 -msgid "brightness" -msgstr "яркость" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Значение коэффициента 0.0 дает черное изображение, а значение коэффициента " -"1.0 дает оригинальное изображение." - -#: models.py:811 -msgid "contrast" -msgstr "контраст" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Значение коэффициента 0.0 дает сплошное серое изображение, а значение " -"коэффициента 1.0 дает оригинальное изображение." - -#: models.py:814 -msgid "sharpness" -msgstr "резкость" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "" -"Значение коэффициента 0.0 дает расплывчатое изображение, а значение " -"коэффициента 1.0 дает оригинальное изображение." - -#: models.py:817 -msgid "filters" -msgstr "фильтры" - -#: models.py:821 -msgid "size" -msgstr "размер" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" -"Высота отражения как процент от оригинального изображения. Значение " -"коэффициента 0.0 не добавляет отображения, а значение коэффициента 1.0 " -"добавляет отражение равное высоте оригинального изображения." - -#: models.py:824 -msgid "strength" -msgstr "сила" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "Начальная непрозрачность градиента отражения." - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" -"Цвет фона градиента отражения. Отметьте это для соответствия цвету фона " -"Вашей страницы." - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "фотоэффект" - -#: models.py:834 -msgid "photo effects" -msgstr "фотоэффекты" - -#: models.py:865 -msgid "style" -msgstr "стиль" - -#: models.py:869 -msgid "opacity" -msgstr "непрозрачность" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "Непрозрачность подложки." - -#: models.py:874 -msgid "watermark" -msgstr "водяной знак" - -#: models.py:875 -msgid "watermarks" -msgstr "водяные знаки" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" -"Название размера фотографии должно содержать только буквы, числа и символы " -"подчеркивания. Примеры: \"thumbnail\", \"display\", \"small\", " -"\"main_page_widget\"." - -#: models.py:898 -msgid "width" -msgstr "ширина" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" -"Если ширина выставлена в \"0\", то изображение будет мастштабировано по " -"высоте." - -#: models.py:901 -msgid "height" -msgstr "высота" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" -"Если высота выставлена в \"0\", то изображение будет мастштабировано по " -"ширине" - -#: models.py:904 -msgid "quality" -msgstr "качество" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "качество JPEG изображения." - -#: models.py:908 -msgid "upscale images?" -msgstr "увеличивать изображения?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" -"Если выбранно, то изображение будет масштабировано в случае необходимости, " -"чтобы соответствовать габаритам. Обрезанные размеры будут увеличены в " -"масштабе независимо от этой настройки." - -#: models.py:911 -msgid "crop to fit?" -msgstr "обрезать?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" -"Если выбранно, то изображение будет масштабировано и обрезано, чтобы " -"подходить по габаритам." - -#: models.py:914 -msgid "pre-cache?" -msgstr "кэшировать?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "" -"Если выбранно, то размер фотографии будет закэширован при добавлении " -"фотографий" - -#: models.py:917 -msgid "increment view count?" -msgstr "увеличивать счетчик просмотров?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" -"Если выбрано, то \"view_count\" изображения будет увеличено когда " -"показывается этот размер фотографии." - -#: models.py:929 -msgid "watermark image" -msgstr "изображение водяного знака" - -#: models.py:933 -msgid "photo size" -msgstr "размер фотографии" - -#: models.py:934 -msgid "photo sizes" -msgstr "размеры фотографий" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "" diff --git a/photologue/locale/sk/LC_MESSAGES/django.mo b/photologue/locale/sk/LC_MESSAGES/django.mo deleted file mode 100644 index 1de0128c..00000000 Binary files a/photologue/locale/sk/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/sk/LC_MESSAGES/django.po b/photologue/locale/sk/LC_MESSAGES/django.po deleted file mode 100644 index 7370541c..00000000 --- a/photologue/locale/sk/LC_MESSAGES/django.po +++ /dev/null @@ -1,643 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# Juraj Bubniak , 2012-2013 -# saboter , 2014 -# saboter , 2014 -# saboter , 2014 -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2014-07-26 10:15+0000\n" -"Last-Translator: saboter \n" -"Language-Team: Slovak (http://www.transifex.com/projects/p/django-photologue/" -"language/sk/)\n" -"Language: sk\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "Nasledujúca fotografia nepatrí tej istej stránke (stránkam)" -msgstr[1] "Nasledujúce fotografie nepatria tej istej stránke (stránkam)" -msgstr[2] "Nasledujúce fotografie nepatria tej istej stránke (stránkam)" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "Galéria bola úspešne pridaná na %(site)s" -msgstr[1] "Galérie boli úspešne pridané na %(site)s" -msgstr[2] "Galérie boli úspešne pridané na %(site)s" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "Pridať označené galérie z aktuálnej stránky" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "Galéria bola úspešne odobratá zo %(site)s" -msgstr[1] "Označené galérie boli úspešne odobrané zo %(site)s" -msgstr[2] "Označené galérie boli úspešne odobrané zo %(site)s" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "Odobrať označené galérie z aktuálnej stránky" - -#: admin.py:106 -#, fuzzy, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "Všetky fotografie z galérie %(galleries)s boli úspešne" -msgstr[1] "Všetky fotografie z galérií %(galleries)s boli úspešne" -msgstr[2] "Všetky fotografie z galérií %(galleries)s boli úspešne" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "Pridať všetky fotografie z označených galérií do aktuálnej stránky" - -#: admin.py:124 -#, fuzzy, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "Všetky fotografie z galérie %(galleries)s boli úspešne" -msgstr[1] "Všetky fotografie z galérií %(galleries)s boli úspešne" -msgstr[2] "Všetky fotografie z galérií %(galleries)s boli úspešne" - -#: admin.py:135 -#, fuzzy -msgid "Remove all photos in selected galleries from the current site" -msgstr "Odobrať všetky fotografie z označených galérií z aktuálnej stránky" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "Fotografia bola úspešne pridaná na %(site)s" -msgstr[1] "Označené fotografie boli úspešne pridané na %(site)s" -msgstr[2] "Označené fotografie boli úspešne pridané na %(site)s" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "Pridať označené fotografie na aktuálnu stránku" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "Fotografia bola úspešne odobratá zo %(site)s" -msgstr[1] "Označené fotografie boli úspešne odobraté zo %(site)s" -msgstr[2] "Označené fotografie boli úspešne odobraté zo %(site)s" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr " Odobrať označené fotografie z aktuálnej stránky" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "Oddeľte tagy medzerami, vložte úvodzovky okolo viac-slovných tagov." - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "" -"Aplikácia Django-tagging sa nenašla, s tagmi sa bude zaobchádzať ako s " -"obyčajným textom." - -#: models.py:115 -msgid "Very Low" -msgstr "Veľmi Nízka" - -#: models.py:116 -msgid "Low" -msgstr "Nízka" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Stredne-Nízka" - -#: models.py:118 -msgid "Medium" -msgstr "Stredná" - -#: models.py:119 -msgid "Medium-High" -msgstr "Stredne-Vysoká" - -#: models.py:120 -msgid "High" -msgstr "Vysoká" - -#: models.py:121 -msgid "Very High" -msgstr "Veľmi Vysoká" - -#: models.py:126 -msgid "Top" -msgstr "Hore" - -#: models.py:127 -msgid "Right" -msgstr "Vpravo" - -#: models.py:128 -msgid "Bottom" -msgstr "Dole" - -#: models.py:129 -msgid "Left" -msgstr "Vľavo" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Stred (Štandardne)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Prevrátiť zľava doprava" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Prevrátiť zhora nadol" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "Otočiť o 90 stupňov proti smeru hodinových ručičiek" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "Otočiť o 90 stupňov v smere hodinových ručičiek" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "Otočiť o 180 stupňov" - -#: models.py:142 -msgid "Tile" -msgstr "Dláždiť" - -#: models.py:143 -msgid "Scale" -msgstr "Dodržať mierku" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" -"Zreťazte viac filtrov pomocou nasledovného vzoru \"FILTER_JEDNA->FILTER_DVA-" -">FILTER_TRI\". Obrázkové filtre budú použité v poradí. Nasledujúce filtre sú " -"k dispozícii: %s." - -#: models.py:159 -msgid "date published" -msgstr "dátum zverejnenia" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "názov" - -#: models.py:164 -msgid "title slug" -msgstr "identifikátor názvu" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "\"Identifikátor\" je unikátny názov objektu vhodný pre použitie v URL." - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "popis" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "je verejný" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "Verejné galérie budú zobrazené v štandardných zobrazeniach." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "fotografie" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "tagy" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "stránky" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "galéria" - -#: models.py:188 -msgid "galleries" -msgstr "galérie" - -#: models.py:225 -msgid "count" -msgstr "počet" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "súbor s obrázkami (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "Vyberte .zip súbor s obrázkami, ktorý chcete nahrať do novej Galérie." - -#: models.py:252 -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" -"Všetky nahrané fotografie budú mať meno vytvorené z tohoto názvu a zo " -"sekvenčného čísla." - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" -"Vyberte galériu do ktorej chcete pridať tieto obrázky. Pre vytvorenie novej " -"galérie so zadaným názvom ponechajte toto pole prázdne." - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "titulok" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "Titulok bude pridaný do všetkých fotografií." - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "Popis tejto galérie." - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "Odškrtnite, aby odovzdané galérie a zahrnuté fotografie boli súkromné." - -#: models.py:276 -msgid "gallery upload" -msgstr "odovzdanie galérie" - -#: models.py:277 -msgid "gallery uploads" -msgstr "odovzdania galérie" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "Galéria s týmto názvom už existuje." - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "Vyberte existujúcu galériu, alebo vložte meno pre novú galériu." - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" -"Ignorujem súbor \"{filename}\" nakoľko je v podadresári, všetky obrázky by " -"mali byť priamo v zip archíve bez vnorenej adresárovej štruktúry." - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" -"Fotografia \"%(filename)s\" s identifikátorom \"{1}\" nebola vytvorená. " -"Fotografia s takým istým identifikátorom už existuje." - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "Nepodarilo sa spracovať súbor \"{0}\" v .zip archíve." - -#: models.py:392 models.py:863 -msgid "image" -msgstr "obrázok" - -#: models.py:395 -msgid "date taken" -msgstr "dátum odfotenia" - -#: models.py:399 -msgid "view count" -msgstr "počet zobrazení" - -#: models.py:402 -msgid "crop from" -msgstr "orezať od" - -#: models.py:411 -msgid "effect" -msgstr "efekt" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "Veľkosť fotografie \"admin_thumbnail\" nebola definovaná." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Náhľad" - -#: models.py:649 -msgid "slug" -msgstr "identifikátor" - -#: models.py:654 -msgid "date added" -msgstr "dátum pridania" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "Verejné fotografie budú zobrazené v štandardných zobrazeniach." - -#: models.py:668 -msgid "photo" -msgstr "fotografia" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "meno" - -#: models.py:801 -msgid "rotate or flip" -msgstr "otočiť alebo prevrátiť" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "farba" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "Faktor 0.0 dáva čiernobiely obrázok, faktor 1.0 dáva pôvodný obrázok." - -#: models.py:808 -msgid "brightness" -msgstr "jas" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "Faktor 0.0 dáva čierny obrázok, faktor 1.0 dáva pôvodný obrázok." - -#: models.py:811 -msgid "contrast" -msgstr "kontrast" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "Faktor 0.0 dáva šedý obrázok, faktor 1.0 dáva pôvodný obrázok." - -#: models.py:814 -msgid "sharpness" -msgstr "ostrosť" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "Faktor 0.0 dáva rozmazaný obrázok, faktor 1.0 dáva pôvodný obrázok." - -#: models.py:817 -msgid "filters" -msgstr "filtre" - -#: models.py:821 -msgid "size" -msgstr "veľkosť" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" -"Výška odrazu v percentách pôvodného obrázku. Faktor 0.0 nepridáva žiadny " -"odraz, faktor 1.0 pridáva odraz rovný výśke pôvodného obrázku." - -#: models.py:824 -msgid "strength" -msgstr "intenzita" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "Počiatočná presvitnosť odrazového gradientu." - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" -"Farba pozadia odrazového gradientu. Túto položku nastavte tak, aby sa " -"zhodovala s farbou pozadia vašej stránky." - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "efekt fotografie" - -#: models.py:834 -msgid "photo effects" -msgstr "efekty fotografie" - -#: models.py:865 -msgid "style" -msgstr "štýl" - -#: models.py:869 -msgid "opacity" -msgstr "priesvitnosť" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "Priesvitnosť prekrytia." - -#: models.py:874 -msgid "watermark" -msgstr "vodoznak" - -#: models.py:875 -msgid "watermarks" -msgstr "vodoznaky" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" -"Názov veľkosti fotografie by mal obsahovať len písmená, čísla a podčiarky. " -"Príklady: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." - -#: models.py:898 -msgid "width" -msgstr "šírka" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "" -"Ak je šírka nastavená na \"0\" obrázok bude podľa mierky upravený na zadanú " -"výšku." - -#: models.py:901 -msgid "height" -msgstr "výška" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "" -"Ak je výška nastavená na \"0\" obrázok bude podľa mierky upravený na zadanú " -"šírku" - -#: models.py:904 -msgid "quality" -msgstr "kvalita" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "JPEG kvalita obrázku." - -#: models.py:908 -msgid "upscale images?" -msgstr "prispôsobiť obzázky?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "" -"Ak je táto položka vybratá a je to potrebné, obrázok bude prispôsobený tak, " -"aby sa zmestil do zadaných rozmerov." - -#: models.py:911 -msgid "crop to fit?" -msgstr "orezať ak je to potrebné ?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" -"Ak je táto položka vybratá, obrázok bude upravený a orezaný, aby sa zmestil " -"do zadaných rozmerov." - -#: models.py:914 -msgid "pre-cache?" -msgstr "pred-generovať ?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "" -"Ak je táto položka vybratá, veľkosť fotografie bude pred-generovaná počas " -"pridávania fotografií." - -#: models.py:917 -msgid "increment view count?" -msgstr "zvýšiť počet zobrazení?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" -"Ak je táto položka vybratá, \"view_count\" obrázku bude zvýšený, keď sa " -"zobrazí veľkosť tohto obrázku." - -#: models.py:929 -msgid "watermark image" -msgstr "použiť vodoznak na obrázok" - -#: models.py:933 -msgid "photo size" -msgstr "veľkosť fotografie" - -#: models.py:934 -msgid "photo sizes" -msgstr "veľkosti fotografie" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "Fotky môžete orezať len vtedy, ak je nastavená šírka a výška." - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "Posledné Galérie" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "Zverejnené" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "Neboli nájdené žiadne galérie" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "Zobraziť všetky galérie" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "Všetky Galérie" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "Predchádzajúci" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" -"\n" -"\t\t\t\t stránka %(page_number)s z %(total_pages)s\n" -"\t\t\t\t" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "Nasledujúci" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "Táto fotka sa nachádza v nasledujúcich galériách" diff --git a/photologue/locale/tr/LC_MESSAGES/django.mo b/photologue/locale/tr/LC_MESSAGES/django.mo deleted file mode 100644 index a2adc8d5..00000000 Binary files a/photologue/locale/tr/LC_MESSAGES/django.mo and /dev/null differ diff --git a/photologue/locale/tr/LC_MESSAGES/django.po b/photologue/locale/tr/LC_MESSAGES/django.po deleted file mode 100644 index 01ae12b0..00000000 --- a/photologue/locale/tr/LC_MESSAGES/django.po +++ /dev/null @@ -1,613 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Translators: -# alirizakeles , 2009 -msgid "" -msgstr "" -"Project-Id-Version: Photologue\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-08-25 09:56+0000\n" -"PO-Revision-Date: 2013-11-20 11:06+0000\n" -"Last-Translator: richardbarran \n" -"Language-Team: Turkish (http://www.transifex.com/projects/p/django-" -"photologue/language/tr/)\n" -"Language: tr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#: admin.py:67 -msgid "The following photo does not belong to the same site(s)" -msgid_plural "The following photos do not belong to the same site(s)" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:79 -#, python-format -msgid "The gallery has been successfully added to %(site)s" -msgid_plural "The galleries have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:86 -msgid "Add selected galleries from the current site" -msgstr "" - -#: admin.py:92 -#, python-format -msgid "The gallery has been successfully removed from %(site)s" -msgid_plural "" -"The selected galleries have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:99 -msgid "Remove selected galleries from the current site" -msgstr "" - -#: admin.py:106 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully added to %(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully added to " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:117 -msgid "Add all photos of selected galleries to the current site" -msgstr "" - -#: admin.py:124 -#, python-format -msgid "" -"All photos in gallery %(galleries)s have been successfully removed from " -"%(site)s" -msgid_plural "" -"All photos in galleries %(galleries)s have been successfully removed from " -"%(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:135 -msgid "Remove all photos in selected galleries from the current site" -msgstr "" - -#: admin.py:186 -#, python-format -msgid "The photo has been successfully added to %(site)s" -msgid_plural "The selected photos have been successfully added to %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:193 -msgid "Add selected photos to the current site" -msgstr "" - -#: admin.py:199 -#, python-format -msgid "The photo has been successfully removed from %(site)s" -msgid_plural "The selected photos have been successfully removed from %(site)s" -msgstr[0] "" -msgstr[1] "" - -#: admin.py:206 -msgid "Remove selected photos from the current site" -msgstr "" - -#: models.py:56 -msgid "Separate tags with spaces, put quotes around multiple-word tags." -msgstr "" -"Etikletleri boşuklar ile ayırın, çok kelimeli olanları tınak içine alın." - -#: models.py:67 -msgid "Django-tagging was not found, tags will be treated as plain text." -msgstr "Django-tagging buunamıyor, etiketler salt metin gibi işlem görecek." - -#: models.py:115 -msgid "Very Low" -msgstr "Çok düşük" - -#: models.py:116 -msgid "Low" -msgstr "Düşük" - -#: models.py:117 -msgid "Medium-Low" -msgstr "Orta-Düşük" - -#: models.py:118 -msgid "Medium" -msgstr "Orta" - -#: models.py:119 -msgid "Medium-High" -msgstr "Orta-Yüksek" - -#: models.py:120 -msgid "High" -msgstr "Yüksek" - -#: models.py:121 -msgid "Very High" -msgstr "Çok Yüksek" - -#: models.py:126 -msgid "Top" -msgstr "Üst" - -#: models.py:127 -msgid "Right" -msgstr "Sağ" - -#: models.py:128 -msgid "Bottom" -msgstr "Alt" - -#: models.py:129 -msgid "Left" -msgstr "Sol" - -#: models.py:130 -msgid "Center (Default)" -msgstr "Merkez (Varsayılan)" - -#: models.py:134 -msgid "Flip left to right" -msgstr "Soldan sağa ayna aksi" - -#: models.py:135 -msgid "Flip top to bottom" -msgstr "Yukardan aşağıya ayna aksi" - -#: models.py:136 -msgid "Rotate 90 degrees counter-clockwise" -msgstr "90 derece saat yönü tersine döndür" - -#: models.py:137 -msgid "Rotate 90 degrees clockwise" -msgstr "90 derece saat yönüne döndür" - -#: models.py:138 -msgid "Rotate 180 degrees" -msgstr "180 derece döndür" - -#: models.py:142 -msgid "Tile" -msgstr "Kutu-kutu, kiremit tarzı" - -#: models.py:143 -msgid "Scale" -msgstr "Ölçekle" - -#: models.py:154 -#, python-format -msgid "" -"Chain multiple filters using the following pattern \"FILTER_ONE->FILTER_TWO-" -">FILTER_THREE\". Image filters will be applied in order. The following " -"filters are available: %s." -msgstr "" - -#: models.py:159 -msgid "date published" -msgstr "yayınlama tarihi" - -#: models.py:161 models.py:250 models.py:646 -msgid "title" -msgstr "başlık" - -#: models.py:164 -msgid "title slug" -msgstr "başlık slug" - -#: models.py:166 models.py:651 -msgid "A \"slug\" is a unique URL-friendly title for an object." -msgstr "\"Slug\" bir nesne için url dostu eşsiz bir başlıktır." - -#: models.py:167 models.py:263 models.py:730 -msgid "description" -msgstr "tanım" - -#: models.py:169 models.py:266 models.py:656 -msgid "is public" -msgstr "Görünür mü?" - -#: models.py:171 -msgid "Public galleries will be displayed in the default views." -msgstr "Görülebilir galeriler varsayılan görünümlerde sergilenirler." - -#: models.py:175 models.py:669 -msgid "photos" -msgstr "fotolar" - -#: models.py:178 models.py:273 models.py:659 -msgid "tags" -msgstr "etiketler" - -#: models.py:179 models.py:660 -msgid "sites" -msgstr "" - -#: models.py:187 models.py:255 -msgid "gallery" -msgstr "galeri" - -#: models.py:188 -msgid "galleries" -msgstr "galeriler" - -#: models.py:225 -msgid "count" -msgstr "sayaç" - -#: models.py:247 -msgid "images file (.zip)" -msgstr "resimlerin dosyası (.zip)" - -#: models.py:249 -msgid "Select a .zip file of images to upload into a new Gallery." -msgstr "" -"Yeni bir galeri yüklemek için içerisinde resimlerin yer aldığı bir .zip " -"dosyası seçiniz. " - -#: models.py:252 -#, fuzzy -msgid "" -"All uploaded photos will be given a title made up of this title + a " -"sequential number." -msgstr "" -"Galerideki tüm fotolara, galeri başlığı + sıralı numaradan oluşacak bir " -"başlık verilecektir " - -#: models.py:258 -msgid "" -"Select a gallery to add these images to. Leave this empty to create a new " -"gallery from the supplied title." -msgstr "" - -#: models.py:260 models.py:652 -msgid "caption" -msgstr "alt yazı" - -#: models.py:262 -msgid "Caption will be added to all photos." -msgstr "Altyazı tüm fotolara eklenecektir." - -#: models.py:265 -msgid "A description of this Gallery." -msgstr "Bu galeri için bir tanımlama yazınız." - -#: models.py:268 -msgid "" -"Uncheck this to make the uploaded gallery and included photographs private." -msgstr "" -"Yüklenen bu galeriyi ve içerisindeki tüm fotoları özel yapmak için " -"işaretlemeyin." - -#: models.py:276 -msgid "gallery upload" -msgstr "galeri yükleme" - -#: models.py:277 -msgid "gallery uploads" -msgstr "galeri yüklemeleri" - -#: models.py:289 -msgid "A gallery with that title already exists." -msgstr "" - -#: models.py:293 -msgid "Select an existing gallery or enter a new gallery name." -msgstr "" - -#: models.py:329 -msgid "" -"Ignoring file \"{filename}\" as it is in a subfolder; all images should be " -"in the top folder of the zip." -msgstr "" - -#: models.py:349 -#, python-format -msgid "" -"Did not create photo \"%(filename)s\" with slug \"{1}\" as a photo with that " -"slug already exists." -msgstr "" - -#: models.py:375 -msgid "Could not process file \"{0}\" in the .zip archive." -msgstr "" - -#: models.py:392 models.py:863 -msgid "image" -msgstr "imaj" - -#: models.py:395 -msgid "date taken" -msgstr "çekilme tarihi" - -#: models.py:399 -msgid "view count" -msgstr "" - -#: models.py:402 -msgid "crop from" -msgstr "şuradan kes" - -#: models.py:411 -msgid "effect" -msgstr "efekt" - -#: models.py:429 -msgid "An \"admin_thumbnail\" photo size has not been defined." -msgstr "Bir \"admin_thumbnail\" foto ölçüleri tanımlanmamış." - -#: models.py:437 -msgid "Thumbnail" -msgstr "Minyatür" - -#: models.py:649 -msgid "slug" -msgstr "slug" - -#: models.py:654 -msgid "date added" -msgstr "eklenme tarihi" - -#: models.py:658 -msgid "Public photographs will be displayed in the default views." -msgstr "Görülebilir fotolar varsayılan görünümlerde sergilenirler." - -#: models.py:668 -msgid "photo" -msgstr "foto" - -#: models.py:727 models.py:889 -msgid "name" -msgstr "isim" - -#: models.py:801 -msgid "rotate or flip" -msgstr "döndür ya da ayna aksi" - -#: models.py:805 models.py:827 -msgid "color" -msgstr "renk" - -#: models.py:807 -msgid "" -"A factor of 0.0 gives a black and white image, a factor of 1.0 gives the " -"original image." -msgstr "0.0 siyah beyaz bir imaj, 1.0 orjinal imajı verir." - -#: models.py:808 -msgid "brightness" -msgstr "parlaklık" - -#: models.py:810 -msgid "" -"A factor of 0.0 gives a black image, a factor of 1.0 gives the original " -"image." -msgstr "0.0 siyah bir imaj, 1.0 orjinal imajı verir." - -#: models.py:811 -msgid "contrast" -msgstr "kontrast" - -#: models.py:813 -msgid "" -"A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original " -"image." -msgstr "0.0 katı gri bir imaj, 1.0 orjinal imajı verir." - -#: models.py:814 -msgid "sharpness" -msgstr "keskinlik" - -#: models.py:816 -msgid "" -"A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original " -"image." -msgstr "0.0 blanık bir imaj, 1.0 orjinal imajı verir." - -#: models.py:817 -msgid "filters" -msgstr "filtreler" - -#: models.py:821 -msgid "size" -msgstr "boyutlar" - -#: models.py:823 -msgid "" -"The height of the reflection as a percentage of the orignal image. A factor " -"of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the " -"height of the orignal image." -msgstr "" -"Yansımanın yüksekliği, orjinal imajın yüzdelik oranıdır. 0.0 hiç yansıma " -"vermezken, 1.0 orjinal imaj yüksekliği kadar bir yansıma sağlar." - -#: models.py:824 -msgid "strength" -msgstr "gerilim" - -#: models.py:826 -msgid "The initial opacity of the reflection gradient." -msgstr "" - -#: models.py:830 -msgid "" -"The background color of the reflection gradient. Set this to match the " -"background color of your page." -msgstr "" - -#: models.py:833 models.py:924 -msgid "photo effect" -msgstr "foto efekti" - -#: models.py:834 -msgid "photo effects" -msgstr "foto efektleri" - -#: models.py:865 -msgid "style" -msgstr "tarz" - -#: models.py:869 -msgid "opacity" -msgstr "opaklık" - -#: models.py:871 -msgid "The opacity of the overlay." -msgstr "Katmanın opaklığı." - -#: models.py:874 -msgid "watermark" -msgstr "su damga" - -#: models.py:875 -msgid "watermarks" -msgstr "su damgaları" - -#: models.py:893 -msgid "" -"Photo size name should contain only letters, numbers and underscores. " -"Examples: \"thumbnail\", \"display\", \"small\", \"main_page_widget\"." -msgstr "" -"Foto ebat isimleri sadece hafler, rakamlar ve alt tireler içerebilir. " -"Örnekler: \"minyaturler\", \"sergi\", \"kucuk\", \"ana_sayfa_vinyeti\"." - -#: models.py:898 -msgid "width" -msgstr "genişlik" - -#: models.py:900 -msgid "" -"If width is set to \"0\" the image will be scaled to the supplied height." -msgstr "Eğer genişlik 0 verilirse, verilen yüksekliğe göre ölçeklenecek." - -#: models.py:901 -msgid "height" -msgstr "yükseklik" - -#: models.py:903 -msgid "" -"If height is set to \"0\" the image will be scaled to the supplied width" -msgstr "Eğer yükseklik 0 verilirse, verilen genişliğe göre ölçeklenecek. " - -#: models.py:904 -msgid "quality" -msgstr "kalite" - -#: models.py:907 -msgid "JPEG image quality." -msgstr "JPEG kalitesi" - -#: models.py:908 -msgid "upscale images?" -msgstr "imajı büyüt?" - -#: models.py:910 -msgid "" -"If selected the image will be scaled up if necessary to fit the supplied " -"dimensions. Cropped sizes will be upscaled regardless of this setting." -msgstr "Eğer seçilirse, imaj verilen ölçülere göre gerekli ise büyütülecek." - -#: models.py:911 -msgid "crop to fit?" -msgstr "sığdırmak için kes?" - -#: models.py:913 -msgid "" -"If selected the image will be scaled and cropped to fit the supplied " -"dimensions." -msgstr "" -"Eğer seçilirse imaj ölçeklenecek ve verilen ebatlara sığdırmak için " -"ölçeklenecek." - -#: models.py:914 -msgid "pre-cache?" -msgstr "wstępnie cachować?" - -#: models.py:916 -msgid "If selected this photo size will be pre-cached as photos are added." -msgstr "Eğer seçilirse, fotolar eklenirken, ön belleklenecek." - -#: models.py:917 -msgid "increment view count?" -msgstr "görüntüleme sayısını arttır?" - -#: models.py:919 -msgid "" -"If selected the image's \"view_count\" will be incremented when this photo " -"size is displayed." -msgstr "" -"Eğer seçilirse, imajın \"görüntülenme sayısı\", foto görüntülendikçe artacak." - -#: models.py:929 -msgid "watermark image" -msgstr "su damgası imajı" - -#: models.py:933 -msgid "photo size" -msgstr "photo ebadı" - -#: models.py:934 -msgid "photo sizes" -msgstr "photo ebadları" - -#: models.py:951 -msgid "Can only crop photos if both width and height dimensions are set." -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:5 -#: contrib/bootstrap/templates/photologue/gallery_archive.html:11 -msgid "Latest Photo Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:20 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:12 -#: contrib/bootstrap/templates/photologue/gallery_list.html:20 -#: contrib/bootstrap/templates/photologue/photo_detail.html:13 -msgid "Published" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:31 -#: contrib/bootstrap/templates/photologue/gallery_list.html:31 -msgid "No galleries were found" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_archive.html:36 -#: contrib/bootstrap/templates/photologue/gallery_detail.html:21 -msgid "View all galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:5 -#: contrib/bootstrap/templates/photologue/gallery_list.html:11 -msgid "All Galleries" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:37 -#: contrib/bootstrap/templates/photologue/gallery_list.html:39 -msgid "Previous" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:42 -#, python-format -msgid "" -"\n" -"\t\t\t\t page %(page_number)s of %(total_pages)s\n" -"\t\t\t\t" -msgstr "" - -#: contrib/bootstrap/templates/photologue/gallery_list.html:47 -#: contrib/bootstrap/templates/photologue/gallery_list.html:49 -msgid "Next" -msgstr "" - -#: contrib/bootstrap/templates/photologue/photo_detail.html:21 -msgid "This photo is found in the following galleries" -msgstr "" diff --git a/photologue/migrations/0001_initial.py b/photologue/migrations/0001_initial.py deleted file mode 100644 index e68c0664..00000000 --- a/photologue/migrations/0001_initial.py +++ /dev/null @@ -1,157 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import models, migrations -import photologue.models -import django.utils.timezone -import django.core.validators -import sortedm2m.fields - - -class Migration(migrations.Migration): - - dependencies = [ - ('sites', '0001_initial'), - ] - - operations = [ - migrations.CreateModel( - name='Gallery', - fields=[ - ('id', models.AutoField(primary_key=True, verbose_name='ID', serialize=False, auto_created=True)), - ('date_added', models.DateTimeField(default=django.utils.timezone.now, verbose_name='date published')), - ('title', models.CharField(max_length=50, verbose_name='title', unique=True)), - ('slug', models.SlugField(help_text='A "slug" is a unique URL-friendly title for an object.', verbose_name='title slug', unique=True)), - ('description', models.TextField(blank=True, verbose_name='description')), - ('is_public', models.BooleanField(help_text='Public galleries will be displayed in the default views.', verbose_name='is public', default=True)), - ('tags', photologue.models.TagField(max_length=255, help_text='Django-tagging was not found, tags will be treated as plain text.', blank=True, verbose_name='tags')), - ('sites', models.ManyToManyField(blank=True, verbose_name='sites', null=True, to='sites.Site')), - ], - options={ - 'get_latest_by': 'date_added', - 'verbose_name': 'gallery', - 'ordering': ['-date_added'], - 'verbose_name_plural': 'galleries', - }, - bases=(models.Model,), - ), - migrations.CreateModel( - name='GalleryUpload', - fields=[ - ('id', models.AutoField(primary_key=True, verbose_name='ID', serialize=False, auto_created=True)), - ('zip_file', models.FileField(help_text='Select a .zip file of images to upload into a new Gallery.', verbose_name='images file (.zip)', upload_to='photologue/temp')), - ('title', models.CharField(max_length=50, help_text='All uploaded photos will be given a title made up of this title + a sequential number.', verbose_name='title')), - ('caption', models.TextField(help_text='Caption will be added to all photos.', blank=True, verbose_name='caption')), - ('description', models.TextField(help_text='A description of this Gallery.', blank=True, verbose_name='description')), - ('is_public', models.BooleanField(help_text='Uncheck this to make the uploaded gallery and included photographs private.', verbose_name='is public', default=True)), - ('tags', models.CharField(max_length=255, help_text='Django-tagging was not found, tags will be treated as plain text.', blank=True, verbose_name='tags')), - ('gallery', models.ForeignKey(blank=True, verbose_name='gallery', null=True, help_text='Select a gallery to add these images to. Leave this empty to create a new gallery from the supplied title.', to='photologue.Gallery')), - ], - options={ - 'verbose_name': 'gallery upload', - 'verbose_name_plural': 'gallery uploads', - }, - bases=(models.Model,), - ), - migrations.CreateModel( - name='Photo', - fields=[ - ('id', models.AutoField(primary_key=True, verbose_name='ID', serialize=False, auto_created=True)), - ('image', models.ImageField(upload_to=photologue.models.get_storage_path, verbose_name='image')), - ('date_taken', models.DateTimeField(verbose_name='date taken', blank=True, editable=False, null=True)), - ('view_count', models.PositiveIntegerField(verbose_name='view count', default=0, editable=False)), - ('crop_from', models.CharField(max_length=10, default='center', blank=True, verbose_name='crop from', choices=[('top', 'Top'), ('right', 'Right'), ('bottom', 'Bottom'), ('left', 'Left'), ('center', 'Center (Default)')])), - ('title', models.CharField(max_length=50, verbose_name='title', unique=True)), - ('slug', models.SlugField(help_text='A "slug" is a unique URL-friendly title for an object.', verbose_name='slug', unique=True)), - ('caption', models.TextField(blank=True, verbose_name='caption')), - ('date_added', models.DateTimeField(default=django.utils.timezone.now, verbose_name='date added')), - ('is_public', models.BooleanField(help_text='Public photographs will be displayed in the default views.', verbose_name='is public', default=True)), - ('tags', photologue.models.TagField(max_length=255, help_text='Django-tagging was not found, tags will be treated as plain text.', blank=True, verbose_name='tags')), - ('sites', models.ManyToManyField(blank=True, verbose_name='sites', null=True, to='sites.Site')), - ], - options={ - 'get_latest_by': 'date_added', - 'verbose_name': 'photo', - 'ordering': ['-date_added'], - 'verbose_name_plural': 'photos', - }, - bases=(models.Model,), - ), - migrations.AddField( - model_name='gallery', - name='photos', - field=sortedm2m.fields.SortedManyToManyField(blank=True, verbose_name='photos', null=True, to='photologue.Photo'), - preserve_default=True, - ), - migrations.CreateModel( - name='PhotoEffect', - fields=[ - ('id', models.AutoField(primary_key=True, verbose_name='ID', serialize=False, auto_created=True)), - ('name', models.CharField(max_length=30, verbose_name='name', unique=True)), - ('description', models.TextField(blank=True, verbose_name='description')), - ('transpose_method', models.CharField(max_length=15, blank=True, verbose_name='rotate or flip', choices=[('FLIP_LEFT_RIGHT', 'Flip left to right'), ('FLIP_TOP_BOTTOM', 'Flip top to bottom'), ('ROTATE_90', 'Rotate 90 degrees counter-clockwise'), ('ROTATE_270', 'Rotate 90 degrees clockwise'), ('ROTATE_180', 'Rotate 180 degrees')])), - ('color', models.FloatField(help_text='A factor of 0.0 gives a black and white image, a factor of 1.0 gives the original image.', verbose_name='color', default=1.0)), - ('brightness', models.FloatField(help_text='A factor of 0.0 gives a black image, a factor of 1.0 gives the original image.', verbose_name='brightness', default=1.0)), - ('contrast', models.FloatField(help_text='A factor of 0.0 gives a solid grey image, a factor of 1.0 gives the original image.', verbose_name='contrast', default=1.0)), - ('sharpness', models.FloatField(help_text='A factor of 0.0 gives a blurred image, a factor of 1.0 gives the original image.', verbose_name='sharpness', default=1.0)), - ('filters', models.CharField(max_length=200, help_text='Chain multiple filters using the following pattern "FILTER_ONE->FILTER_TWO->FILTER_THREE". Image filters will be applied in order. The following filters are available: BLUR, CONTOUR, DETAIL, EDGE_ENHANCE, EDGE_ENHANCE_MORE, EMBOSS, FIND_EDGES, SHARPEN, SMOOTH, SMOOTH_MORE.', blank=True, verbose_name='filters')), - ('reflection_size', models.FloatField(help_text='The height of the reflection as a percentage of the orignal image. A factor of 0.0 adds no reflection, a factor of 1.0 adds a reflection equal to the height of the orignal image.', verbose_name='size', default=0)), - ('reflection_strength', models.FloatField(help_text='The initial opacity of the reflection gradient.', verbose_name='strength', default=0.6)), - ('background_color', models.CharField(max_length=7, help_text='The background color of the reflection gradient. Set this to match the background color of your page.', verbose_name='color', default='#FFFFFF')), - ], - options={ - 'verbose_name': 'photo effect', - 'verbose_name_plural': 'photo effects', - }, - bases=(models.Model,), - ), - migrations.AddField( - model_name='photo', - name='effect', - field=models.ForeignKey(blank=True, verbose_name='effect', null=True, to='photologue.PhotoEffect'), - preserve_default=True, - ), - migrations.CreateModel( - name='PhotoSize', - fields=[ - ('id', models.AutoField(primary_key=True, verbose_name='ID', serialize=False, auto_created=True)), - ('name', models.CharField(max_length=40, help_text='Photo size name should contain only letters, numbers and underscores. Examples: "thumbnail", "display", "small", "main_page_widget".', verbose_name='name', unique=True, validators=[django.core.validators.RegexValidator(regex='^[a-z0-9_]+$', message='Use only plain lowercase letters (ASCII), numbers and underscores.')])), - ('width', models.PositiveIntegerField(help_text='If width is set to "0" the image will be scaled to the supplied height.', verbose_name='width', default=0)), - ('height', models.PositiveIntegerField(help_text='If height is set to "0" the image will be scaled to the supplied width', verbose_name='height', default=0)), - ('quality', models.PositiveIntegerField(help_text='JPEG image quality.', verbose_name='quality', choices=[(30, 'Very Low'), (40, 'Low'), (50, 'Medium-Low'), (60, 'Medium'), (70, 'Medium-High'), (80, 'High'), (90, 'Very High')], default=70)), - ('upscale', models.BooleanField(help_text='If selected the image will be scaled up if necessary to fit the supplied dimensions. Cropped sizes will be upscaled regardless of this setting.', verbose_name='upscale images?', default=False)), - ('crop', models.BooleanField(help_text='If selected the image will be scaled and cropped to fit the supplied dimensions.', verbose_name='crop to fit?', default=False)), - ('pre_cache', models.BooleanField(help_text='If selected this photo size will be pre-cached as photos are added.', verbose_name='pre-cache?', default=False)), - ('increment_count', models.BooleanField(help_text='If selected the image\'s "view_count" will be incremented when this photo size is displayed.', verbose_name='increment view count?', default=False)), - ('effect', models.ForeignKey(blank=True, verbose_name='photo effect', null=True, to='photologue.PhotoEffect')), - ], - options={ - 'verbose_name': 'photo size', - 'ordering': ['width', 'height'], - 'verbose_name_plural': 'photo sizes', - }, - bases=(models.Model,), - ), - migrations.CreateModel( - name='Watermark', - fields=[ - ('id', models.AutoField(primary_key=True, verbose_name='ID', serialize=False, auto_created=True)), - ('name', models.CharField(max_length=30, verbose_name='name', unique=True)), - ('description', models.TextField(blank=True, verbose_name='description')), - ('image', models.ImageField(upload_to='photologue/watermarks', verbose_name='image')), - ('style', models.CharField(max_length=5, default='scale', verbose_name='style', choices=[('tile', 'Tile'), ('scale', 'Scale')])), - ('opacity', models.FloatField(help_text='The opacity of the overlay.', verbose_name='opacity', default=1)), - ], - options={ - 'verbose_name': 'watermark', - 'verbose_name_plural': 'watermarks', - }, - bases=(models.Model,), - ), - migrations.AddField( - model_name='photosize', - name='watermark', - field=models.ForeignKey(blank=True, verbose_name='watermark image', null=True, to='photologue.Watermark'), - preserve_default=True, - ), - ] diff --git a/photologue/migrations/0002_photosize_data.py b/photologue/migrations/0002_photosize_data.py deleted file mode 100644 index c7e06aea..00000000 --- a/photologue/migrations/0002_photosize_data.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import models, migrations - - -def initial_photosizes(apps, schema_editor): - - PhotoSize = apps.get_model('photologue', 'PhotoSize') - - # If there are already Photosizes, then we are upgrading an existing - # installation, we don't want to auto-create some PhotoSizes. - if PhotoSize.objects.all().count() > 0: - return - PhotoSize.objects.create(name='admin_thumbnail', - width=100, - height=75, - crop=True, - pre_cache=True, - increment_count=True) - PhotoSize.objects.create(name='thumbnail', - width=100, - height=75, - crop=True, - pre_cache=True, - increment_count=True) - PhotoSize.objects.create(name='display', - width=400, - crop=False, - pre_cache=True, - increment_count=True) - - -class Migration(migrations.Migration): - - dependencies = [ - ('photologue', '0001_initial'), - ('contenttypes', '0001_initial'), - ] - - operations = [ - migrations.RunPython(initial_photosizes), - ] diff --git a/photologue/migrations/0003_auto_20140822_1716.py b/photologue/migrations/0003_auto_20140822_1716.py deleted file mode 100644 index 46c31e97..00000000 --- a/photologue/migrations/0003_auto_20140822_1716.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from django.db import models, migrations - - -class Migration(migrations.Migration): - - dependencies = [ - ('photologue', '0002_photosize_data'), - ] - - operations = [ - migrations.AlterField( - model_name='galleryupload', - name='title', - field=models.CharField(null=True, help_text='All uploaded photos will be given a title made up of this title + a sequential number.', max_length=50, verbose_name='title', blank=True), - ), - ] diff --git a/photologue/south_migrations/0001_initial.py b/photologue/south_migrations/0001_initial.py deleted file mode 100644 index 09c91510..00000000 --- a/photologue/south_migrations/0001_initial.py +++ /dev/null @@ -1,207 +0,0 @@ -# -*- coding: utf-8 -*- -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding model 'Gallery' - db.create_table('photologue_gallery', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('date_added', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('title', self.gf('django.db.models.fields.CharField')(unique=True, max_length=100)), - ('title_slug', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=50)), - ('description', self.gf('django.db.models.fields.TextField')(blank=True)), - ('is_public', self.gf('django.db.models.fields.BooleanField')(default=True)), - ('tags', self.gf('photologue.models.TagField')(max_length=255, blank=True)), - )) - db.send_create_signal('photologue', ['Gallery']) - - # Adding M2M table for field photos on 'Gallery' - db.create_table('photologue_gallery_photos', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('gallery', models.ForeignKey(orm['photologue.gallery'], null=False)), - ('photo', models.ForeignKey(orm['photologue.photo'], null=False)) - )) - db.create_unique('photologue_gallery_photos', ['gallery_id', 'photo_id']) - - # Adding model 'GalleryUpload' - db.create_table('photologue_galleryupload', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('zip_file', self.gf('django.db.models.fields.files.FileField')(max_length=100)), - ('gallery', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['photologue.Gallery'], null=True, blank=True)), - ('title', self.gf('django.db.models.fields.CharField')(max_length=75)), - ('caption', self.gf('django.db.models.fields.TextField')(blank=True)), - ('description', self.gf('django.db.models.fields.TextField')(blank=True)), - ('is_public', self.gf('django.db.models.fields.BooleanField')(default=True)), - ('tags', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), - )) - db.send_create_signal('photologue', ['GalleryUpload']) - - # Adding model 'Photo' - db.create_table('photologue_photo', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('image', self.gf('django.db.models.fields.files.ImageField')(max_length=100)), - ('date_taken', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('view_count', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), - ('crop_from', self.gf('django.db.models.fields.CharField')(default='center', max_length=10, blank=True)), - ('effect', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='photo_related', null=True, to=orm['photologue.PhotoEffect'])), - ('title', self.gf('django.db.models.fields.CharField')(unique=True, max_length=100)), - ('title_slug', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=50)), - ('caption', self.gf('django.db.models.fields.TextField')(blank=True)), - ('date_added', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('is_public', self.gf('django.db.models.fields.BooleanField')(default=True)), - ('tags', self.gf('photologue.models.TagField')(max_length=255, blank=True)), - )) - db.send_create_signal('photologue', ['Photo']) - - # Adding model 'PhotoEffect' - db.create_table('photologue_photoeffect', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=30)), - ('description', self.gf('django.db.models.fields.TextField')(blank=True)), - ('transpose_method', self.gf('django.db.models.fields.CharField')(max_length=15, blank=True)), - ('color', self.gf('django.db.models.fields.FloatField')(default=1.0)), - ('brightness', self.gf('django.db.models.fields.FloatField')(default=1.0)), - ('contrast', self.gf('django.db.models.fields.FloatField')(default=1.0)), - ('sharpness', self.gf('django.db.models.fields.FloatField')(default=1.0)), - ('filters', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)), - ('reflection_size', self.gf('django.db.models.fields.FloatField')(default=0)), - ('reflection_strength', self.gf('django.db.models.fields.FloatField')(default=0.6)), - ('background_color', self.gf('django.db.models.fields.CharField')(default='#FFFFFF', max_length=7)), - )) - db.send_create_signal('photologue', ['PhotoEffect']) - - # Adding model 'Watermark' - db.create_table('photologue_watermark', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=30)), - ('description', self.gf('django.db.models.fields.TextField')(blank=True)), - ('image', self.gf('django.db.models.fields.files.ImageField')(max_length=100)), - ('style', self.gf('django.db.models.fields.CharField')(default='scale', max_length=5)), - ('opacity', self.gf('django.db.models.fields.FloatField')(default=1)), - )) - db.send_create_signal('photologue', ['Watermark']) - - # Adding model 'PhotoSize' - db.create_table('photologue_photosize', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=20)), - ('width', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), - ('height', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), - ('quality', self.gf('django.db.models.fields.PositiveIntegerField')(default=70)), - ('upscale', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('crop', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('pre_cache', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('increment_count', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('effect', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='photo_sizes', null=True, to=orm['photologue.PhotoEffect'])), - ('watermark', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='photo_sizes', null=True, to=orm['photologue.Watermark'])), - )) - db.send_create_signal('photologue', ['PhotoSize']) - - - def backwards(self, orm): - # Deleting model 'Gallery' - db.delete_table('photologue_gallery') - - # Removing M2M table for field photos on 'Gallery' - db.delete_table('photologue_gallery_photos') - - # Deleting model 'GalleryUpload' - db.delete_table('photologue_galleryupload') - - # Deleting model 'Photo' - db.delete_table('photologue_photo') - - # Deleting model 'PhotoEffect' - db.delete_table('photologue_photoeffect') - - # Deleting model 'Watermark' - db.delete_table('photologue_watermark') - - # Deleting model 'PhotoSize' - db.delete_table('photologue_photosize') - - - models = { - 'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'object_name': 'Gallery'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['photologue.Photo']"}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}), - 'title_slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - 'photologue.galleryupload': { - 'Meta': {'object_name': 'GalleryUpload'}, - 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'gallery': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['photologue.Gallery']", 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '75'}), - 'zip_file': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}) - }, - 'photologue.photo': { - 'Meta': {'ordering': "['-date_added']", 'object_name': 'Photo'}, - 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': "orm['photologue.PhotoEffect']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}), - 'title_slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - 'photologue.photosize': { - 'Meta': {'ordering': "['width', 'height']", 'object_name': 'PhotoSize'}, - 'crop': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': "orm['photologue.PhotoEffect']"}), - 'height': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'increment_count': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '20'}), - 'pre_cache': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'quality': ('django.db.models.fields.PositiveIntegerField', [], {'default': '70'}), - 'upscale': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'watermark': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': "orm['photologue.Watermark']"}), - 'width': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'photologue.watermark': { - 'Meta': {'object_name': 'Watermark'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'opacity': ('django.db.models.fields.FloatField', [], {'default': '1'}), - 'style': ('django.db.models.fields.CharField', [], {'default': "'scale'", 'max_length': '5'}) - } - } - - complete_apps = ['photologue'] \ No newline at end of file diff --git a/photologue/south_migrations/0002_auto__chg_field_gallery_title__chg_field_galleryupload_title__chg_fiel.py b/photologue/south_migrations/0002_auto__chg_field_gallery_title__chg_field_galleryupload_title__chg_fiel.py deleted file mode 100644 index 519f2b8b..00000000 --- a/photologue/south_migrations/0002_auto__chg_field_gallery_title__chg_field_galleryupload_title__chg_fiel.py +++ /dev/null @@ -1,145 +0,0 @@ -# -*- coding: utf-8 -*- -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models, IntegrityError - - -class Migration(SchemaMigration): - - def forwards(self, orm): - - if not db.dry_run: - for gallery in orm.Gallery.objects.all(): - if len(gallery.title) > 50: - gallery.title = gallery.title[:50] - while orm.Gallery.objects.filter(title=gallery.title).exists(): - try: - number = int(gallery.title[-1]) - except ValueError: - number = 0 - - number += 1 - gallery.title = gallery.title[:49] + unicode(number) - if number > 9: - break - gallery.save() - db.commit_transaction() # Commit the shorter gallery titles - db.start_transaction() - - # Changing field 'Gallery.title' - db.alter_column('photologue_gallery', 'title', self.gf('django.db.models.fields.CharField')(unique=True, max_length=50)) - - # Changing field 'GalleryUpload.title' - db.alter_column('photologue_galleryupload', 'title', self.gf('django.db.models.fields.CharField')(max_length=50)) - - if not db.dry_run: - for photo in orm.Photo.objects.all(): - photo.title = photo.title[:50] - while orm.Photo.objects.filter(title=photo.title).exists(): - try: - number = int(photo.title[-1]) - except ValueError: - number = 0 - - number += 1 - photo.title = photo.title[:49] + unicode(number) - if number > 9: - break - photo.save() - db.commit_transaction() # Commit the shorter photo titles - db.start_transaction() - - # Changing field 'Photo.title' - db.alter_column('photologue_photo', 'title', self.gf('django.db.models.fields.CharField')(unique=True, max_length=50)) - - def backwards(self, orm): - - # Changing field 'Gallery.title' - db.alter_column('photologue_gallery', 'title', self.gf('django.db.models.fields.CharField')(max_length=100, unique=True)) - - # Changing field 'GalleryUpload.title' - db.alter_column('photologue_galleryupload', 'title', self.gf('django.db.models.fields.CharField')(max_length=75)) - - # Changing field 'Photo.title' - db.alter_column('photologue_photo', 'title', self.gf('django.db.models.fields.CharField')(max_length=100, unique=True)) - - models = { - 'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'object_name': 'Gallery'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['photologue.Photo']"}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}), - 'title_slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - 'photologue.galleryupload': { - 'Meta': {'object_name': 'GalleryUpload'}, - 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'gallery': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['photologue.Gallery']", 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'zip_file': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}) - }, - 'photologue.photo': { - 'Meta': {'ordering': "['-date_added']", 'object_name': 'Photo'}, - 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': "orm['photologue.PhotoEffect']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}), - 'title_slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - 'photologue.photosize': { - 'Meta': {'ordering': "['width', 'height']", 'object_name': 'PhotoSize'}, - 'crop': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': "orm['photologue.PhotoEffect']"}), - 'height': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'increment_count': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '20'}), - 'pre_cache': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'quality': ('django.db.models.fields.PositiveIntegerField', [], {'default': '70'}), - 'upscale': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'watermark': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': "orm['photologue.Watermark']"}), - 'width': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'photologue.watermark': { - 'Meta': {'object_name': 'Watermark'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'opacity': ('django.db.models.fields.FloatField', [], {'default': '1'}), - 'style': ('django.db.models.fields.CharField', [], {'default': "'scale'", 'max_length': '5'}) - } - } - - complete_apps = ['photologue'] diff --git a/photologue/south_migrations/0003_auto__chg_field_photosize_name.py b/photologue/south_migrations/0003_auto__chg_field_photosize_name.py deleted file mode 100644 index e125ce80..00000000 --- a/photologue/south_migrations/0003_auto__chg_field_photosize_name.py +++ /dev/null @@ -1,98 +0,0 @@ -# -*- coding: utf-8 -*- -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Changing field 'PhotoSize.name' - db.alter_column('photologue_photosize', 'name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=40)) - - def backwards(self, orm): - - # Changing field 'PhotoSize.name' - db.alter_column('photologue_photosize', 'name', self.gf('django.db.models.fields.CharField')(max_length=20, unique=True)) - - models = { - 'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'object_name': 'Gallery'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['photologue.Photo']"}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}), - 'title_slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - 'photologue.galleryupload': { - 'Meta': {'object_name': 'GalleryUpload'}, - 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'gallery': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['photologue.Gallery']", 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'zip_file': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}) - }, - 'photologue.photo': { - 'Meta': {'ordering': "['-date_added']", 'object_name': 'Photo'}, - 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': "orm['photologue.PhotoEffect']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}), - 'title_slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - 'photologue.photosize': { - 'Meta': {'ordering': "['width', 'height']", 'object_name': 'PhotoSize'}, - 'crop': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': "orm['photologue.PhotoEffect']"}), - 'height': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'increment_count': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '40'}), - 'pre_cache': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'quality': ('django.db.models.fields.PositiveIntegerField', [], {'default': '70'}), - 'upscale': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'watermark': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': "orm['photologue.Watermark']"}), - 'width': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - 'photologue.watermark': { - 'Meta': {'object_name': 'Watermark'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'opacity': ('django.db.models.fields.FloatField', [], {'default': '1'}), - 'style': ('django.db.models.fields.CharField', [], {'default': "'scale'", 'max_length': '5'}) - } - } - - complete_apps = ['photologue'] \ No newline at end of file diff --git a/photologue/south_migrations/0004_initial_photosizes.py b/photologue/south_migrations/0004_initial_photosizes.py deleted file mode 100644 index 7743976a..00000000 --- a/photologue/south_migrations/0004_initial_photosizes.py +++ /dev/null @@ -1,120 +0,0 @@ -# -*- coding: utf-8 -*- -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models - -class Migration(DataMigration): - - def forwards(self, orm): - "Write your forwards methods here." - - # If there are already Photosizes, then we are upgrading an existing - # installation, we don't want to auto-create some PhotoSizes. - if orm.PhotoSize.objects.all().count() > 0: - return - print('Creating some default PhotoSizes.') - orm.Photosize.objects.create(name='admin_thumbnail', - width=100, - height=75, - crop=True, - pre_cache=True, - increment_count=True) - orm.Photosize.objects.create(name='thumbnail', - width=100, - height=75, - crop=True, - pre_cache=True, - increment_count=True) - orm.Photosize.objects.create(name='display', - width=400, - crop=False, - pre_cache=True, - increment_count=True) - - - def backwards(self, orm): - "Write your backwards methods here." - print('No backwards data migration possible - we have no way of knowing' - ' if we are dealing with auto-generated or user-entered data.') - - models = { - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'object_name': 'Gallery'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}), - 'title_slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'photologue.galleryupload': { - 'Meta': {'object_name': 'GalleryUpload'}, - 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'gallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'zip_file': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['-date_added']", 'object_name': 'Photo'}, - 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}), - 'title_slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.photosize': { - 'Meta': {'ordering': "['width', 'height']", 'object_name': 'PhotoSize'}, - 'crop': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - 'height': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'increment_count': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '40'}), - 'pre_cache': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'quality': ('django.db.models.fields.PositiveIntegerField', [], {'default': '70'}), - 'upscale': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'watermark': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': u"orm['photologue.Watermark']"}), - 'width': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.watermark': { - 'Meta': {'object_name': 'Watermark'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'opacity': ('django.db.models.fields.FloatField', [], {'default': '1'}), - 'style': ('django.db.models.fields.CharField', [], {'default': "'scale'", 'max_length': '5'}) - } - } - - complete_apps = ['photologue'] - symmetrical = True diff --git a/photologue/south_migrations/0005_auto_28.py b/photologue/south_migrations/0005_auto_28.py deleted file mode 100644 index 5cbc72d1..00000000 --- a/photologue/south_migrations/0005_auto_28.py +++ /dev/null @@ -1,138 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Sorted M2M. - db.add_column(u'photologue_gallery_photos', 'sort_value', - self.gf('django.db.models.fields.IntegerField')(default=1), - keep_default=False) - - # Rename slug. - db.rename_column('photologue_gallery', 'title_slug', 'slug') - db.rename_column('photologue_photo', 'title_slug', 'slug') - - # Adding M2M table for field sites on 'Gallery' - m2m_table_name = db.shorten_name(u'photologue_gallery_sites') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('gallery', models.ForeignKey(orm[u'photologue.gallery'], null=False)), - ('site', models.ForeignKey(orm[u'sites.site'], null=False)) - )) - db.create_unique(m2m_table_name, ['gallery_id', 'site_id']) - - # Adding M2M table for field sites on 'Photo' - m2m_table_name = db.shorten_name(u'photologue_photo_sites') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('photo', models.ForeignKey(orm[u'photologue.photo'], null=False)), - ('site', models.ForeignKey(orm[u'sites.site'], null=False)) - )) - db.create_unique(m2m_table_name, ['photo_id', 'site_id']) - - def backwards(self, orm): - # Sorted M2M. - db.delete_column(u'photologue_gallery_photos', 'sort_value') - - # Rename slug. - db.rename_column('photologue_gallery', 'slug', 'title_slug') - db.rename_column('photologue_photo', 'slug', 'title_slug') - - # Removing M2M table for field sites on 'Gallery' - db.delete_table(db.shorten_name(u'photologue_gallery_sites')) - - # Removing M2M table for field sites on 'Photo' - db.delete_table(db.shorten_name(u'photologue_photo_sites')) - - models = { - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'object_name': 'Gallery'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'photologue.galleryupload': { - 'Meta': {'object_name': 'GalleryUpload'}, - 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'gallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'zip_file': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['-date_added']", 'object_name': 'Photo'}, - 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.photosize': { - 'Meta': {'ordering': "['width', 'height']", 'object_name': 'PhotoSize'}, - 'crop': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - 'height': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'increment_count': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '40'}), - 'pre_cache': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'quality': ('django.db.models.fields.PositiveIntegerField', [], {'default': '70'}), - 'upscale': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'watermark': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': u"orm['photologue.Watermark']"}), - 'width': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.watermark': { - 'Meta': {'object_name': 'Watermark'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'opacity': ('django.db.models.fields.FloatField', [], {'default': '1'}), - 'style': ('django.db.models.fields.CharField', [], {'default': "'scale'", 'max_length': '5'}) - }, - u'sites.site': { - 'Meta': {'ordering': "(u'domain',)", 'object_name': 'Site', 'db_table': "u'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - } - } - - complete_apps = ['photologue'] diff --git a/photologue/south_migrations/0006_data_28.py b/photologue/south_migrations/0006_data_28.py deleted file mode 100644 index b17ad4d0..00000000 --- a/photologue/south_migrations/0006_data_28.py +++ /dev/null @@ -1,134 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models -from django.conf import settings - -from photologue.models import Gallery, Photo - - -class GalleryPhotoJoin(models.Model): - - """Temp model for representing the join table between Gallery and Photo.""" - id = models.IntegerField() - gallery = models.ForeignKey(Gallery) - photo = models.ForeignKey(Photo) - sort_value = models.IntegerField(default=1) - - class Meta: - db_table = 'photologue_gallery_photos' - managed = False - - -class Migration(DataMigration): - - def forwards(self, orm): - for gallery in orm.Gallery.objects.all(): - counter = 0 - for photo in gallery.photos.all().order_by('-date_added'): - join = GalleryPhotoJoin.objects.get(gallery=gallery, - photo=photo) - join.sort_value = counter - join.save() - counter += 1 - - current_site = orm['sites.Site'].objects.get(pk=settings.SITE_ID) - - for gallery in orm.Gallery.objects.all(): - gallery.sites.add(current_site) - - for photo in orm.Photo.objects.all(): - photo.sites.add(current_site) - - def backwards(self, orm): - raise RuntimeError("Cannot reverse this migration.") - - models = { - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'object_name': 'Gallery'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'photologue.galleryupload': { - 'Meta': {'object_name': 'GalleryUpload'}, - 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'gallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'zip_file': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['-date_added']", 'object_name': 'Photo'}, - 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.photosize': { - 'Meta': {'ordering': "['width', 'height']", 'object_name': 'PhotoSize'}, - 'crop': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - 'height': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'increment_count': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '40'}), - 'pre_cache': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'quality': ('django.db.models.fields.PositiveIntegerField', [], {'default': '70'}), - 'upscale': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'watermark': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': u"orm['photologue.Watermark']"}), - 'width': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.watermark': { - 'Meta': {'object_name': 'Watermark'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'opacity': ('django.db.models.fields.FloatField', [], {'default': '1'}), - 'style': ('django.db.models.fields.CharField', [], {'default': "'scale'", 'max_length': '5'}) - }, - u'sites.site': { - 'Meta': {'ordering': "(u'domain',)", 'object_name': 'Site', 'db_table': "u'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - } - } - - complete_apps = ['photologue'] - symmetrical = True diff --git a/photologue/south_migrations/0007_auto__chg_field_galleryupload_title.py b/photologue/south_migrations/0007_auto__chg_field_galleryupload_title.py deleted file mode 100644 index 8d5f137c..00000000 --- a/photologue/south_migrations/0007_auto__chg_field_galleryupload_title.py +++ /dev/null @@ -1,106 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Changing field 'GalleryUpload.title' - db.alter_column(u'photologue_galleryupload', 'title', self.gf('django.db.models.fields.CharField')(max_length=50, null=True)) - - def backwards(self, orm): - - # Changing field 'GalleryUpload.title' - db.alter_column(u'photologue_galleryupload', 'title', self.gf('django.db.models.fields.CharField')(default='', max_length=50)) - - models = { - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'object_name': 'Gallery'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'photologue.galleryupload': { - 'Meta': {'object_name': 'GalleryUpload'}, - 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'gallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'tags': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}), - 'zip_file': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['-date_added']", 'object_name': 'Photo'}, - 'caption': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.photosize': { - 'Meta': {'ordering': "['width', 'height']", 'object_name': 'PhotoSize'}, - 'crop': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - 'height': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'increment_count': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '40'}), - 'pre_cache': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'quality': ('django.db.models.fields.PositiveIntegerField', [], {'default': '70'}), - 'upscale': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'watermark': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_sizes'", 'null': 'True', 'to': u"orm['photologue.Watermark']"}), - 'width': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.watermark': { - 'Meta': {'object_name': 'Watermark'}, - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'opacity': ('django.db.models.fields.FloatField', [], {'default': '1'}), - 'style': ('django.db.models.fields.CharField', [], {'default': "'scale'", 'max_length': '5'}) - }, - u'sites.site': { - 'Meta': {'ordering': "(u'domain',)", 'object_name': 'Site', 'db_table': "u'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - } - } - - complete_apps = ['photologue'] \ No newline at end of file diff --git a/place_conference/migrations/0001_initial.py b/place_conference/migrations/0001_initial.py deleted file mode 100644 index 04514270..00000000 --- a/place_conference/migrations/0001_initial.py +++ /dev/null @@ -1,226 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding model 'PlaceConferenceTranslation' - db.create_table(u'place_conference_placeconference_translation', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(max_length=100)), - ('main_title', self.gf('django.db.models.fields.TextField')(blank=True)), - ('description', self.gf('django.db.models.fields.TextField')(blank=True)), - ('adress', self.gf('django.db.models.fields.TextField')(blank=True)), - ('hall_capacity', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), - ('title', self.gf('django.db.models.fields.CharField')(max_length=250)), - ('descriptions', self.gf('django.db.models.fields.CharField')(max_length=250)), - ('keywords', self.gf('django.db.models.fields.CharField')(max_length=250)), - ('total_year_action', self.gf('django.db.models.fields.TextField')(blank=True)), - ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), - ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['place_conference.PlaceConference'])), - )) - db.send_create_signal(u'place_conference', ['PlaceConferenceTranslation']) - - # Adding unique constraint on 'PlaceConferenceTranslation', fields ['language_code', 'master'] - db.create_unique(u'place_conference_placeconference_translation', ['language_code', 'master_id']) - - # Adding model 'PlaceConference' - db.create_table(u'place_conference_placeconference', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('url', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=50)), - ('country', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['country.Country'], on_delete=models.PROTECT)), - ('city', self.gf('django.db.models.fields.related.ForeignKey')(related_name='place_conferences', on_delete=models.PROTECT, to=orm['city.City'])), - ('type', self.gf('functions.custom_fields.EnumField')(default='Convention centre', values=['Convention centre', 'Exposition centre'])), - ('address', self.gf('functions.custom_fields.LocationField')()), - ('phone', self.gf('django.db.models.fields.BigIntegerField')(null=True, blank=True)), - ('fax', self.gf('django.db.models.fields.BigIntegerField')(null=True, blank=True)), - ('web_page', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), - ('email', self.gf('django.db.models.fields.EmailField')(max_length=75, blank=True)), - ('foundation_year', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), - ('total_capacity', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), - ('amount_halls', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), - ('exposition_hall', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), - ('exp_hall_area', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), - ('video_link', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), - ('virtual_tour', self.gf('django.db.models.fields.URLField')(max_length=200, blank=True)), - ('wifi', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), - ('multimedia_equipment', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), - ('conference_call', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), - ('translate_equipment', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), - ('banquet_hall', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), - ('catering', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), - ('hotel', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), - ('logo', self.gf('django.db.models.fields.files.ImageField')(max_length=255, blank=True)), - ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), - ('modified', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), - ('views', self.gf('django.db.models.fields.PositiveIntegerField')(default=0)), - )) - db.send_create_signal(u'place_conference', ['PlaceConference']) - - # Adding model 'Hall' - db.create_table(u'place_conference_hall', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('place_conference', self.gf('django.db.models.fields.related.ForeignKey')(related_name='halls', to=orm['place_conference.PlaceConference'])), - ('name', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)), - ('number', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), - ('capacity', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)), - )) - db.send_create_signal(u'place_conference', ['Hall']) - - - def backwards(self, orm): - # Removing unique constraint on 'PlaceConferenceTranslation', fields ['language_code', 'master'] - db.delete_unique(u'place_conference_placeconference_translation', ['language_code', 'master_id']) - - # Deleting model 'PlaceConferenceTranslation' - db.delete_table(u'place_conference_placeconference_translation') - - # Deleting model 'PlaceConference' - db.delete_table(u'place_conference_placeconference') - - # Deleting model 'Hall' - db.delete_table(u'place_conference_hall') - - - models = { - u'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'place_conference.hall': { - 'Meta': {'object_name': 'Hall'}, - 'capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'halls'", 'to': u"orm['place_conference.PlaceConference']"}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_conference.placeconferencetranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'PlaceConferenceTranslation', 'db_table': "u'place_conference_placeconference_translation'", 'index_together': '()'}, - 'adress': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'hall_capacity': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['place_conference.PlaceConference']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '250'}), - 'total_year_action': ('django.db.models.fields.TextField', [], {'blank': 'True'}) - } - } - - complete_apps = ['place_conference'] \ No newline at end of file diff --git a/place_exposition/urls.py b/place_exposition/urls.py deleted file mode 100644 index c9b64235..00000000 --- a/place_exposition/urls.py +++ /dev/null @@ -1,30 +0,0 @@ -# -*- coding: utf-8 -*- -from django.conf.urls import include, patterns, url - -from .views import ( - PlaceCityCatalog, - PlaceCountryCatalog, - PlaceDetail, - PlaceList, - PlacePhoto, - PlaceByCountry, - PlaceByCity, -) - -urlpatterns = patterns('', - - url(r'^country/$', PlaceByCountry.as_view(), {'meta_id': 49}), - url(r'^country/(?P.*)/page/(?P\d+)/$', PlaceCountryCatalog.as_view(), {'meta_id': 49}), - url(r'^country/(?P.*)/$', PlaceCountryCatalog.as_view(), {'meta_id': 49}, name='place_country'), - - url(r'^city/$', PlaceByCity.as_view(), {'meta_id': 48}), - url(r'^city/(?P.*)/page/(?P\d+)/$', PlaceCityCatalog.as_view(), {'meta_id': 48}), - url(r'^city/(?P.*)/$', PlaceCityCatalog.as_view(), {'meta_id': 48}, name='place_city'), - - url(r'^(?P.*)/photo/page/(?P\d+)/$', PlacePhoto.as_view(), {'meta_id': 91}), - url(r'^(?P.*)/photo/$', PlacePhoto.as_view(), {'meta_id': 91}), - - url(r'^page/(?P\d+)/$', PlaceList.as_view(), {'meta_id': 46}), - url(r'^(?P.*)/$', PlaceDetail.as_view(), {'meta_id': 47}), - url(r'^$', PlaceList.as_view(), {'meta_id':46}), - ) diff --git a/proj/admin.py b/proj/admin.py index 9af9fe76..2f83ba63 100644 --- a/proj/admin.py +++ b/proj/admin.py @@ -1,21 +1,19 @@ # -*- coding: utf-8 -*- -import datetime import json from article.models import Article from city.models import City from django.conf import settings from django.contrib.contenttypes.models import ContentType -from django.core.context_processors import csrf from django.db.models.loading import get_model -from django.http import Http404, HttpResponse, HttpResponseRedirect +from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render_to_response -from django.views.generic import DeleteView, TemplateView +from django.views.generic import TemplateView + from exposition.forms import StatisticForm, TimeTableForm from exposition.models import Exposition, Statistic, TimeTable, TmpTimeTable -from file.forms import FileForm, FileModelForm, PhotoForm -from file.models import FileModel, Photo, TmpFile -from functions import datetime_handler +from file.forms import PhotoForm +from file.models import Photo, TmpFile from theme.models import Tag @@ -30,6 +28,7 @@ def ajax_city(request): objects = City.objects.language().filter(country=request.GET['id']).order_by('name') return render_to_response('select.html', {'objects': objects}) + def ajax_tag(request): """ @@ -65,74 +64,6 @@ def get_news(request): return HttpResponse(json.dumps(result), content_type='application/json') -''' -def ajax_post_file(request, obj_id=None): - """ - Takes file and file data and save it - If obj_id = None creates TmpFile - - Returns 'file_list.html' template with existing files if id != None. - N/A file_list.html' template with Tmp files filtered by key - """ - if request.POST: - file_form = FileModelForm(request.POST, request.FILES) - if file_form.is_valid(): - #if obj_id is not exist create TMPfile objects else FileModel objects - if obj_id != None: - #takes data from hidden input "model" and initial Model - Model = get_model(request.POST['model'].split('.')[0], request.POST['model'].split('.')[1]) - #initial model object - obj = Model.objects.get(id=obj_id) - file = file_form.save(request.FILES, obj) - - files = FileModel.objects.filter(content_type=ContentType.objects.get_for_model(obj),object_id=getattr(obj, 'id')) - else: - file_form.save(request.FILES) - files = TmpFile.objects.filter(key=request.POST['key']) - - return render_to_response('file_list.html', {'files' : files}) - - args = {} - - args['languages'] = settings.LANGUAGES - args['file_form'] = file_form - return render_to_response('ajax_error_form.html', args) -''' - - -def ajax_post_file(request, obj_id=None): - """ - Takes file and file data and save it - - Returns 'file_list.html' template with existing files if id != None. - - """ - if request.POST: - if not obj_id: - raise Http404 - file_form = FileForm(request.POST, request.FILES) - if file_form.is_valid(): - #takes data from hidden input "model" and initial Model - Model = get_model(request.POST['model'].split('.')[0], request.POST['model'].split('.')[1]) - #initial model object - obj = Model.objects.get(id=obj_id) - file = file_form.save(request.FILES, obj) - - files = FileModel.objects.filter(content_type=ContentType.objects.get_for_model(obj),object_id=getattr(obj, 'id')) - - return render_to_response('file_list.html', {'files' : files}) - else: - args = {} - - args['languages'] = settings.LANGUAGES - args['file_form'] = file_form - args['obj_id'] = obj_id - args.update(csrf(request)) - return render_to_response('ajax_error_form.html', args) - else: - raise Http404 - - def ajax_post_photo(request, obj_id=None): if request.POST: photo_form = PhotoForm(request.POST, request.FILES) @@ -197,14 +128,12 @@ def ajax_post_stat(request, obj_id=None): def ajax_delete_stat(request, id): redirect_to = request.META.get('HTTP_REFERER') - if id: try: Statistic.objects.get(id=id).delete() except Statistic.DoesNotExist: pass - return HttpResponseRedirect(redirect_to) @@ -218,15 +147,3 @@ def ajax_delete_timetable(request): else: return HttpResponse('error') - - -def ajax_delete_file(request): - """ - delete file - """ - if request.GET: - file = FileModel.objects.get(id = request.GET['id']) - file.delete() - return HttpResponse('success') - else: - return HttpResponse('error') diff --git a/proj/admin_urls.py b/proj/admin_urls.py index 781f0f13..31489512 100644 --- a/proj/admin_urls.py +++ b/proj/admin_urls.py @@ -42,12 +42,11 @@ urlpatterns = required( url(r'^rosetta/', include('rosetta.urls')), url(r'^redirects/', include('redirects.admin_urls')), url(r'^events/', include('events.admin_urls')), + url(r'^file/', include('file.admin_urls')), url(r'^language/add/', 'directories.admin.language_add'), url(r'^currency/add/', 'directories.admin.currency_add'), # ajax requests - url(r'^ajax_post_file/(?P\d+)/$', 'proj.admin.ajax_post_file'),#must be before /ajax_post_file/ - url(r'^ajax_post_file/', 'proj.admin.ajax_post_file'), url(r'^ajax_post_photo/(?P\d+)/$', 'proj.admin.ajax_post_photo'),#must be before /ajax_post_photo/ url(r'^ajax_post_photo/', 'proj.admin.ajax_post_photo'), url(r'^ajax_post_stat/(?P\d+)/$', 'proj.admin.ajax_post_stat'), @@ -56,7 +55,6 @@ urlpatterns = required( url(r'^ajax_post_timetable/', 'proj.admin.ajax_post_timetable'), url(r'^ajax_delete_timetable/', 'proj.admin.ajax_delete_timetable'), - url(r'^ajax_delete_file/', 'proj.admin.ajax_delete_file'), url(r'^ajax_city/', 'proj.admin.ajax_city'), url(r'^ajax_tag/', 'proj.admin.ajax_tag'), url(r'^ajax/get-news/', 'proj.admin.get_news'), diff --git a/proj/decorators.py b/proj/decorators.py deleted file mode 100644 index 149b9358..00000000 --- a/proj/decorators.py +++ /dev/null @@ -1,16 +0,0 @@ -from functools import wraps - -from django.template import RequestContext -from django.shortcuts import render_to_response - - -def render_to(tpl): - def decorator(func): - @wraps(func) - def wrapper(request, *args, **kwargs): - out = func(request, *args, **kwargs) - if isinstance(out, dict): - out = render_to_response(tpl, out, RequestContext(request)) - return out - return wrapper - return decorator \ No newline at end of file diff --git a/proj/middleware.py b/proj/middleware.py index 831abbac..cabfc7a0 100644 --- a/proj/middleware.py +++ b/proj/middleware.py @@ -52,8 +52,6 @@ class Referer(object): for key, val in data_exists.iteritems(): if val: if key == 'search': - print(request.session.get('search', [])) - print(request.session.get('search', []))[-2:] search = request.session.get('search', [])[-2:] search.append(val) request.session['search'] = search @@ -112,9 +110,6 @@ def check_places(slug): # https://gist.github.com/b1/3155460 -""" spaceless middleware -MIDDLEWARE_CLASSES += ('core_utils.middleware.SpacelessMiddleware',) -""" class SpacelessMiddleware(object): """ trim spaces between tags if not in DEBUG """ def process_response(self, request, response): diff --git a/proj/settings.py b/proj/settings.py index b4a7a49e..1ec902b5 100644 --- a/proj/settings.py +++ b/proj/settings.py @@ -1,14 +1,19 @@ # -*- coding: utf-8 -*- # Django settings for proj project. import os -import django -from django.utils.translation import ugettext_lazy as _ +import sys +import raven from ConfigParser import ConfigParser +import django +from django.utils.translation import ugettext_lazy as _ DJANGO_ROOT = os.path.dirname(os.path.realpath(django.__file__)) SITE_ROOT = os.path.split(os.path.dirname(os.path.realpath(__file__)))[0] +# Adding modules directory to python path +sys.path.insert(0, os.path.join(SITE_ROOT, 'apps')) + DEBUG = True @@ -26,6 +31,7 @@ DATABASES = { 'PASSWORD': 'qazedc', 'HOST': '', 'PORT': '', + 'TEST_CHARSET': 'utf8', } } @@ -392,12 +398,9 @@ INSTALLED_APPS = ( 'south', 'rosetta', 'widget_tweaks', - # 'raven.contrib.django.raven_compat', ) CRONJOBS = [ - ('8 * * * *', 'django.core.management.call_command', ['send_newsletter']), - ('0 * * * *', 'django.core.management.call_command', ['update_index', 'conference', '--remove', '--age=6']), ('5 * * * *', 'django.core.management.call_command', ['update_index', 'exposition', '--remove', '--age=6']), ('0 1,13 * * *', 'django.core.management.call_command', ['update_index', 'place_exposition', '--remove', '--age=24']), @@ -412,15 +415,15 @@ CRONJOBS = [ ('*/5 * * * *', 'django.core.management.call_command', ['update_views_cache']), ('40 6 * * * ', 'django.core.management.call_command', ['newsletter_contacts_remove_notactivated']), - # временно закомментировал по просьбе клиента - # ('41 5 * * *', 'django.core.management.call_command', ['newsletter_create_announce']), + ('30 2 * * *', 'django.core.management.call_command', ['newsletter_create_dailymail']), + ('35 * * * *', 'django.core.management.call_command', ['send_newsletter']), ('12 4 * * *', 'django.core.management.call_command', ['stats_daily']), ('5 10 * * *', 'django.core.management.call_command', ['update_events_filter_fields']), ] PYMORPHY_DICTS = { - 'ru': { 'dir': os.path.join(SITE_ROOT, 'settings/russian_dicts')} + 'ru': { 'dir': os.path.join(SITE_ROOT, 'apps/settings/russian_dicts')} } # search backend @@ -453,7 +456,6 @@ HAYSTACK_CONNECTIONS = { """ -THUMBNAIL_DEBUG = DEBUG THUMBNAIL_ENGINE = "proj.sorlengine.SorlEngine" THUMBNAIL_FORMAT = "PNG" @@ -476,11 +478,11 @@ BIT_AUDIENCE = (('experts', _(u'Специалисты')), ('experts and consume ('general public', _(u'Широкая публика'))) MONTHES = {'jan': {'value': 1, 'name': _(u'Январь')}, 'feb': {'value': 2, 'name': _(u'Февраль')}, - 'mar': {'value': 3, 'name': _(u'Март')}, 'apr': {'value': 4, 'name': _(u'Апрель')}, - 'may': {'value': 5, 'name': _(u'Май')}, 'jun': {'value': 6, 'name': _(u'Июнь')}, - 'jul': {'value': 7, 'name': _(u'Июль')}, 'aug': {'value': 8, 'name': _(u'Август')}, - 'sep': {'value': 9, 'name': _(u'Сентябрь')}, 'oct': {'value': 10, 'name': _(u'Октябрь')}, - 'nov': {'value': 11, 'name': _(u'Ноябрь')}, 'dec': {'value': 12, 'name': _(u'Декабрь')}} + 'mar': {'value': 3, 'name': _(u'Март')}, 'apr': {'value': 4, 'name': _(u'Апрель')}, + 'may': {'value': 5, 'name': _(u'Май')}, 'jun': {'value': 6, 'name': _(u'Июнь')}, + 'jul': {'value': 7, 'name': _(u'Июль')}, 'aug': {'value': 8, 'name': _(u'Август')}, + 'sep': {'value': 9, 'name': _(u'Сентябрь')}, 'oct': {'value': 10, 'name': _(u'Октябрь')}, + 'nov': {'value': 11, 'name': _(u'Ноябрь')}, 'dec': {'value': 12, 'name': _(u'Декабрь')}} SNG_COUNTRIES = [159, 186, 31, 6, 99, 13, 189, 64] RUSSIA_PK = 159 @@ -521,46 +523,7 @@ PERIODIC = { 9: _(u'Раз в 5 лет') } -# sentry -# RAVEN_CONFIG = { -# 'dsn': 'http://eb7e4b632b3543f487386cbe9151b174:0b148a7ed13643c88d3a6b014c3a4f65@sentry.oldmin.org/2', -# } - try: - from local import * + from proj.local import * except ImportError, e: pass - -# logging -U_LOGFILE_SIZE = 1 * 1024 * 1024 -U_LOGFILE_COUNT = 2 -DEFAULT_LOGGER_NAME = 'django' -LOGGING = { - 'version': 1, - 'disable_existing_loggers': False, - 'formatters': { - 'verbose': { - 'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s \n' - }, - 'simple': { - 'format': '%(levelname)s %(message)s' - }, - }, - 'handlers': { - 'file': { - 'level': 'INFO', - 'filename': os.path.join(SITE_ROOT, 'logs/django.log'), - 'formatter': 'verbose', - 'class':'logging.handlers.RotatingFileHandler', - 'maxBytes': U_LOGFILE_SIZE, - 'backupCount': U_LOGFILE_COUNT, - }, - }, - 'loggers': { - 'django': { - 'handlers': ['file'], - 'propagate': True, - 'level': 'DEBUG', - }, - } -} diff --git a/proj/test.py b/proj/test.py new file mode 100644 index 00000000..75d101bf --- /dev/null +++ b/proj/test.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +from django.test.simple import DjangoTestSuiteRunner as TestRunner +from django.db import connections, DEFAULT_DB_ALIAS + + +class CustomTestRunner(TestRunner): + """ + Из-за того, что проект достаточно сильно разросся, мы хотим для + тестов использовать копию рабочей бд + (без создания и удаления бд для тестов) + + В Django >= 1.8 для этого можно использовать ключ keepdb + """ + def setup_databases(self, **kwargs): + db = connections.databases[DEFAULT_DB_ALIAS]['NAME'] + connections[DEFAULT_DB_ALIAS].settings_dict['NAME'] = 'test_%s' % db + + def teardown_databases(self, old_config, **kwargs): + pass diff --git a/proj/urls.py b/proj/urls.py index 8eecc716..2cb53165 100644 --- a/proj/urls.py +++ b/proj/urls.py @@ -72,7 +72,7 @@ urlpatterns += solid_i18n_patterns('', url(r'^sitemap\.xml$', views.index, {'sitemaps': sitemaps}), url(r'^sitemap-(?P
.+)\.xml$', views.sitemap, {'sitemaps': sitemaps}), url(r'^robots.txt$', Robot.as_view()), - url(r'^$', MainPageView.as_view()), + url(r'^$', MainPageView.as_view(), name='index'), url(r'^user-agreement/$', TermsofUse.as_view(), name='termsofuse'), url(r'^page/', include('core.simple_urls')), url(r'^theme/', include('theme.urls')), @@ -123,7 +123,8 @@ if settings.DEBUG: # ajax urls urlpatterns += solid_i18n_patterns('', url(r'^registration/reply/$', 'registration.backends.default.views.RegisterReply'), - url(r'^register/', 'registration.backends.default.views.RegisterAjaxView'), + url(r'^register/validate/', 'registration.backends.default.views.registration_form_validate', name='registration_form_validate'), + url(r'^register/', 'registration.backends.default.views.RegisterAjaxView', name='register'), url(r'^register-complete/', 'registration.backends.default.views.complete_registration'), url(r'^callback/', 'core.simple_index_view.callback'), url(r'^search-form/get-parent/$', 'settings.views.search_parent'), diff --git a/proj/views.py b/proj/views.py index f1cb9667..709cad65 100644 --- a/proj/views.py +++ b/proj/views.py @@ -21,12 +21,6 @@ from emencia.django.newsletter.forms import SubscribeAssideForm from django.db.models.loading import get_model -def clear_slashes(str_): - if str_[0] == r'/': - str_ = str_[1:] - if str_[-1] == r'/': - str_ = str_[:-1] - return str_ def add_seo(request): url = request.path diff --git a/project.wsgi b/project.wsgi deleted file mode 100644 index f5d7735b..00000000 --- a/project.wsgi +++ /dev/null @@ -1,13 +0,0 @@ -import os, sys -sys.path.append('/home/www/proj') - - - -#sys.path.append("/home/www/proj/organiser") - -#os.environ['DJANGO_SETTINGS_MODULE'] = 'proj.settings' - -os.environ.setdefault("DJANGO_SETTINGS_MODULE", "proj.settings") - -import django.core.handlers.wsgi -application = django.core.handlers.wsgi.WSGIHandler() diff --git a/registration/locale/ar/LC_MESSAGES/django.mo b/registration/locale/ar/LC_MESSAGES/django.mo deleted file mode 100644 index 07bc79f1..00000000 Binary files a/registration/locale/ar/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/ar/LC_MESSAGES/django.po b/registration/locale/ar/LC_MESSAGES/django.po deleted file mode 100644 index dd61869d..00000000 --- a/registration/locale/ar/LC_MESSAGES/django.po +++ /dev/null @@ -1,81 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-09-19 19:30-0500\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forms.py:38 -msgid "username" -msgstr "اسم المستخدم" - -#: forms.py:41 -msgid "email address" -msgstr "عنوان البريد الالكتروني" - -#: forms.py:43 -msgid "password" -msgstr "كلمة المرور" - -#: forms.py:45 -msgid "password (again)" -msgstr "تأكيد كلمة المرور" - -#: forms.py:54 -msgid "Usernames can only contain letters, numbers and underscores" -msgstr "يمكن أن يحتوي اسم المستخدم على احرف، ارقام وشرطات سطرية فقط" - -#: forms.py:59 -msgid "This username is already taken. Please choose another." -msgstr "اسم المستخدم مسجل مسبقا. يرجى اختيار اسم اخر." - -#: forms.py:68 -msgid "You must type the same password each time" -msgstr "يجب ادخال كلمة المرور مطابقة كل مرة" - -#: forms.py:96 -msgid "I have read and agree to the Terms of Service" -msgstr "أقر بقراءة والموافقة على شروط الخدمة" - -#: forms.py:105 -msgid "You must agree to the terms to register" -msgstr "يجب الموافقة على الشروط للتسجيل" - -#: forms.py:124 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "عنوان البريد الالكتروني مسجل مسبقا. يرجى تزويد عنوان بريد الكتروني مختلف." - -#: forms.py:149 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "يمنع التسجيل باستخدام عناوين بريد الكترونية مجانية. يرجى تزويد عنوان بريد الكتروني مختلف." - -#: models.py:188 -msgid "user" -msgstr "مستخدم" - -#: models.py:189 -msgid "activation key" -msgstr "رمز التفعيل" - -#: models.py:194 -msgid "registration profile" -msgstr "ملف التسجيل الشخصي" - -#: models.py:195 -msgid "registration profiles" -msgstr "ملفات التسجيل الشخصية" diff --git a/registration/locale/bg/LC_MESSAGES/django.mo b/registration/locale/bg/LC_MESSAGES/django.mo deleted file mode 100644 index be9adf4d..00000000 Binary files a/registration/locale/bg/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/bg/LC_MESSAGES/django.po b/registration/locale/bg/LC_MESSAGES/django.po deleted file mode 100644 index 5089ec17..00000000 --- a/registration/locale/bg/LC_MESSAGES/django.po +++ /dev/null @@ -1,78 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-09-19 19:30-0500\n" -"PO-Revision-Date: 2008-03-05 12:37+0200\n" -"Last-Translator: Vladislav \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-Bookmarks: -1,-1,-1,-1,10,-1,-1,-1,-1,-1\n" - -#: forms.py:38 -msgid "username" -msgstr "Потребителско име " - -#: forms.py:41 -msgid "email address" -msgstr "Електронна поща" - -#: forms.py:43 -msgid "password" -msgstr "Парола" - -#: forms.py:45 -msgid "password (again)" -msgstr "Парола (проверка)" - -#: forms.py:54 -msgid "Usernames can only contain letters, numbers and underscores" -msgstr "Потребителските имена могат да съдържат букви, цифри и подчертавки" - -#: forms.py:59 -msgid "This username is already taken. Please choose another." -msgstr "Потребителското име е заето. Моля изберето друго." - -#: forms.py:68 -msgid "You must type the same password each time" -msgstr "Грешка при проверка на паролата." - -#: forms.py:96 -msgid "I have read and agree to the Terms of Service" -msgstr "Прочел съм и съм съгласен с условията за експлоатация" - -#: forms.py:105 -msgid "You must agree to the terms to register" -msgstr "Трябва да сте съгласни с условията за да се регистрирате." - -#: forms.py:124 -msgid "This email address is already in use. Please supply a different email address." -msgstr "Адреса на електронната поща е използван. Моля въведете друг адрес." - -#: forms.py:149 -msgid "Registration using free email addresses is prohibited. Please supply a different email address." -msgstr "Регистрациите с безплатни адреси е забранен. Моля въведете различен адрес за електронна поща" - -#: models.py:188 -msgid "user" -msgstr "Потребител" - -#: models.py:189 -msgid "activation key" -msgstr "Ключ за активация" - -#: models.py:194 -msgid "registration profile" -msgstr "регистрационен профил" - -#: models.py:195 -msgid "registration profiles" -msgstr "регистрационни профили" - diff --git a/registration/locale/ca/LC_MESSAGES/django.mo b/registration/locale/ca/LC_MESSAGES/django.mo deleted file mode 100644 index f81a71ea..00000000 Binary files a/registration/locale/ca/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/ca/LC_MESSAGES/django.po b/registration/locale/ca/LC_MESSAGES/django.po deleted file mode 100644 index 7068194c..00000000 --- a/registration/locale/ca/LC_MESSAGES/django.po +++ /dev/null @@ -1,97 +0,0 @@ -# Catalan translation for django-registration. -# Copyright (C) 2007-2010, James Bennet -# This file is distributed under the same license as the django-registration package. -# Carles Barrobés , 2010. -# -msgid "" -msgstr "" -"Project-Id-Version: django-registration 0.8\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-07-17 11:04+0200\n" -"PO-Revision-Date: 2010-09-24 23:21+0100\n" -"Last-Translator: Carles Barrobés i Meix \n" -"Language-Team: Català\n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-Language: Catalan\n" - -#: admin.py:23 -msgid "Activate users" -msgstr "Activar usuaris" - -#: admin.py:43 -msgid "Re-send activation emails" -msgstr "Re-enviar e-mails d'activació" - -#: forms.py:35 -msgid "Username" -msgstr "Nom d'usuari" - -#: forms.py:36 -msgid "This value must contain only letters, numbers and underscores." -msgstr "Aquest valor ha de contenir només lletres, números i guions baixos" - -#: forms.py:39 -msgid "E-mail" -msgstr "E-mail" - -#: forms.py:41 -msgid "Password" -msgstr "Contrasenya" - -#: forms.py:43 -msgid "Password (again)" -msgstr "Contrasenya (de nou)" - -#: forms.py:55 -msgid "A user with that username already exists." -msgstr "Ja existeix un usuari amb aquest nom" - -#: forms.py:67 -msgid "The two password fields didn't match." -msgstr "Els dos camps de contrasenya no coincideixen" - -#: forms.py:78 -msgid "I have read and agree to the Terms of Service" -msgstr "He llegit i estic d'acord amb les condicions d'ús" - -#: forms.py:79 -msgid "You must agree to the terms to register" -msgstr "Heu d'estar d'acord amb les condicions d'ús per registrar-vos" - -#: forms.py:95 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "" -"Aquesta adreça d'e-mail ja està sent utilitzada. Sisplau, entreu-ne una " -"altra." - -#: forms.py:122 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "" -"Està prohibit registrar-se utilitzant adreces d'e-mail gratuïtes. Sisplau " -"entreu-ne una altra." - -#: models.py:168 -msgid "user" -msgstr "usuari" - -#: models.py:169 -msgid "activation key" -msgstr "clau d'activació" - -#: models.py:174 -msgid "registration profile" -msgstr "perfil de registre" - -#: models.py:175 -msgid "registration profiles" -msgstr "perfils de registre" - -#~ msgid "Email address" -#~ msgstr "Adreça d'e-mail" diff --git a/registration/locale/cs/LC_MESSAGES/django.mo b/registration/locale/cs/LC_MESSAGES/django.mo deleted file mode 100644 index 7c98a7bf..00000000 Binary files a/registration/locale/cs/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/cs/LC_MESSAGES/django.po b/registration/locale/cs/LC_MESSAGES/django.po deleted file mode 100644 index 439c9cff..00000000 --- a/registration/locale/cs/LC_MESSAGES/django.po +++ /dev/null @@ -1,94 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , 2011. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-10-12 14:09-0500\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Implayo s.r.o. \n" -"Language-Team: LANGUAGE \n" -"Language: cs\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:23 -msgid "Activate users" -msgstr "Aktivovat uživatele" - -#: admin.py:43 -msgid "Re-send activation emails" -msgstr "Znovu odeslat aktivační e-maily" - -#: forms.py:35 -msgid "username" -msgstr "uživatelské jméno" - -#: forms.py:36 -msgid "This value must contain only letters, numbers and underscores." -msgstr "Tato hodnota může obsahovat pouze písmena, čísla a podtržítka." - -#: forms.py:39 -msgid "Email address" -msgstr "E-mailová adresa" - -#: forms.py:41 -msgid "Password" -msgstr "Heslo" - -#: forms.py:43 -msgid "Password (again)" -msgstr "Heslo (znovu)" - -#: forms.py:55 -msgid "A user with that username already exists." -msgstr "Uživatel s tímto jménem již existuje." - -#: forms.py:67 -msgid "The two password fields didn't match." -msgstr "Zadaná 2 hesla se neshodují." - -#: forms.py:78 -msgid "I have read and agree to the Terms of Service" -msgstr "Přečetl jsem si a souhlasím s podmínkami služby" - -#: forms.py:79 -msgid "You must agree to the terms to register" -msgstr "Musíte odsouhlasit podmínky služby pro pokračování v registraci." - -#: forms.py:95 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "" -"Tato e-mailová adresa se již používá. Prosím zadejte jinou e-mailovou " -"adresu." - -#: forms.py:122 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "" -"Používání volných e-mailových adres je zakázáno. Prosím zadejte " -"jinou e-mailovou adresu." - -#: models.py:165 -msgid "user" -msgstr "uživatel" - -#: models.py:166 -msgid "activation key" -msgstr "aktivační klíč" - -#: models.py:171 -msgid "registration profile" -msgstr "registrační profil" - -#: models.py:172 -msgid "registration profiles" -msgstr "registrační profily" diff --git a/registration/locale/da/LC_MESSAGES/django.mo b/registration/locale/da/LC_MESSAGES/django.mo deleted file mode 100644 index 94786800..00000000 Binary files a/registration/locale/da/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/da/LC_MESSAGES/django.po b/registration/locale/da/LC_MESSAGES/django.po deleted file mode 100644 index 7bb0ac8f..00000000 --- a/registration/locale/da/LC_MESSAGES/django.po +++ /dev/null @@ -1,92 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# Rune Bromer , 2007-2009. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: django-registration 0.8 \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: \n" -"PO-Revision-Date: \n" -"Last-Translator: Rune Bromer \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:23 -msgid "Activate users" -msgstr "Aktiver brugere" - -#: admin.py:43 -msgid "Re-send activation emails" -msgstr "Gensend aktiveringsemails" - -#: forms.py:35 -msgid "Username" -msgstr "Brugernavn" - -#: forms.py:36 -msgid "This value must contain only letters, numbers and underscores." -msgstr "V¾rdien mŒ kun indeholde bogstaver, tal og underscore." - -#: forms.py:39 -msgid "Email address" -msgstr "E-mailadresse" - -#: forms.py:41 -msgid "Password" -msgstr "Password" - -#: forms.py:43 -msgid "Password (again)" -msgstr "Password (gentag)" - -#: forms.py:55 -msgid "A user with that username already exists." -msgstr "Der findes allerede en bruger med dette brugernavn." - -#: forms.py:67 -msgid "The two password fields didn't match." -msgstr "De 2 passwordfelter er ikke ens." - -#: forms.py:78 -msgid "I have read and agree to the Terms of Service" -msgstr "I har l¾st og accepterer betingelserne." - -#: forms.py:79 -msgid "You must agree to the terms to register" -msgstr "Du skal acceptere betingelserne for at registere" - -#: forms.py:95 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "" -"Denne emailadresse er allerede i brug. Benyt venligst en anden. " - -#: forms.py:122 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "" -"Registrering med gratis emailadresser er ikke muligt. V¾lg venligst en " -"anden emailadresse" - -#: models.py:165 -msgid "user" -msgstr "bruger" - -#: models.py:166 -msgid "activation key" -msgstr "Aktiveringsn¿gle" - -#: models.py:171 -msgid "registration profile" -msgstr "Registreringsprofil" - -#: models.py:172 -msgid "registration profiles" -msgstr "Registreringprofiler" diff --git a/registration/locale/de/LC_MESSAGES/django.mo b/registration/locale/de/LC_MESSAGES/django.mo deleted file mode 100644 index b272d446..00000000 Binary files a/registration/locale/de/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/de/LC_MESSAGES/django.po b/registration/locale/de/LC_MESSAGES/django.po deleted file mode 100644 index b1e44f42..00000000 --- a/registration/locale/de/LC_MESSAGES/django.po +++ /dev/null @@ -1,93 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# Jannis Leidel , 2007-2009. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: django-registration 0.8 \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-10-18 21:32+0200\n" -"PO-Revision-Date: 2007-09-29 16:50+0200\n" -"Last-Translator: Jannis Leidel \n" -"Language-Team: Deutsch \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:23 -msgid "Activate users" -msgstr "Benutzer aktivieren" - -#: admin.py:43 -msgid "Re-send activation emails" -msgstr "Aktivierungs-E-Mail erneut senden" - -#: forms.py:35 -msgid "Username" -msgstr "Benutzername" - -#: forms.py:36 -msgid "This value must contain only letters, numbers and underscores." -msgstr "Dieser Wert darf nur Buchstaben, Ziffern und Unterstriche enthalten." - -#: forms.py:39 -msgid "Email address" -msgstr "E-Mail-Adresse" - -#: forms.py:41 -msgid "Password" -msgstr "Passwort" - -#: forms.py:43 -msgid "Password (again)" -msgstr "Passwort (wiederholen)" - -#: forms.py:55 -msgid "A user with that username already exists." -msgstr "Dieser Benutzername ist bereits vergeben." - -#: forms.py:67 -msgid "The two password fields didn't match." -msgstr "Die beiden Passwörter sind nicht identisch." - -#: forms.py:78 -msgid "I have read and agree to the Terms of Service" -msgstr "Ich habe die Nutzungsvereinbarung gelesen und stimme ihr zu" - -#: forms.py:79 -msgid "You must agree to the terms to register" -msgstr "Sie müssen der Nutzungsvereinbarung zustimmen, um sich zu registrieren" - -#: forms.py:95 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "" -"Diese E-Mail-Adresse wird schon genutzt. Bitte geben Sie eine andere E-Mail-" -"Adresse an." - -#: forms.py:122 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "" -"Die Registrierung mit einer kostenlosen E-Mail-Adresse ist untersagt. Bitte " -"geben Sie eine andere E-Mail-Adresse an." - -#: models.py:165 -msgid "user" -msgstr "Benutzer" - -#: models.py:166 -msgid "activation key" -msgstr "Aktivierungsschlüssel" - -#: models.py:171 -msgid "registration profile" -msgstr "Registrierungsprofil" - -#: models.py:172 -msgid "registration profiles" -msgstr "Registrierungsprofile" diff --git a/registration/locale/el/LC_MESSAGES/django.mo b/registration/locale/el/LC_MESSAGES/django.mo deleted file mode 100644 index acc97268..00000000 Binary files a/registration/locale/el/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/el/LC_MESSAGES/django.po b/registration/locale/el/LC_MESSAGES/django.po deleted file mode 100644 index cd38eb1b..00000000 --- a/registration/locale/el/LC_MESSAGES/django.po +++ /dev/null @@ -1,84 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# Panos Laganakos , 2007. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-09-19 19:30-0500\n" -"PO-Revision-Date: 2007-11-14 21:50+0200\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forms.py:38 -msgid "username" -msgstr "όνομα χρήστη" - -#: forms.py:41 -msgid "email address" -msgstr "διεύθυνση ηλεκτρονικού ταχυδρομείου" - -#: forms.py:43 -msgid "password" -msgstr "συνθηματικό" - -#: forms.py:45 -msgid "password (again)" -msgstr "συνθηματικό (ξανά)" - -#: forms.py:54 -msgid "Usernames can only contain letters, numbers and underscores" -msgstr "Τα ονόματα χρηστών μπορούν να περιλαμβάνουν μόνο γράμματα, αριθμούς και υπογραμμίσεις" - -#: forms.py:59 -msgid "This username is already taken. Please choose another." -msgstr "Αυτό το όνομα χρήστη χρησιμοποίειται ήδη. Παρακαλώ διαλέξτε ένα άλλο." - -#: forms.py:68 -msgid "You must type the same password each time" -msgstr "Πρέπει να εισάγετε το ίδιο συνθηματικό κάθε φορά" - -#: forms.py:96 -msgid "I have read and agree to the Terms of Service" -msgstr "Διάβασα και συμφωνώ με τους Όρους της Υπηρεσίας" - -#: forms.py:105 -msgid "You must agree to the terms to register" -msgstr "Πρέπει να συμφωνείται με τους όρους για να εγγραφείτε" - -#: forms.py:124 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "" -"Η συγκεκριμένη διεύθυνση ηλεκτρονικού ταχυδρομείου χρησιμοποιείται ήδη. " -"Παρακαλώ δώστε κάποια άλλη." - -#: forms.py:149 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "" -"Η εγγραφή μέσω δωρεάν διευθύνσεων ηλεκτρονικού ταχυδρομείου απαγορεύεται. ""Παρακαλώ δώστε κάποια άλλη." - -#: models.py:188 -msgid "user" -msgstr "χρήστης" - -#: models.py:189 -msgid "activation key" -msgstr "κλειδί ενεργοποίησης" - -#: models.py:194 -msgid "registration profile" -msgstr "προφίλ εγγραφής" - -#: models.py:195 -msgid "registration profiles" -msgstr "προφίλ εγγραφών" diff --git a/registration/locale/en/LC_MESSAGES/django.mo b/registration/locale/en/LC_MESSAGES/django.mo deleted file mode 100644 index 87b6226b..00000000 Binary files a/registration/locale/en/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/en/LC_MESSAGES/django.po b/registration/locale/en/LC_MESSAGES/django.po deleted file mode 100644 index 2c065815..00000000 --- a/registration/locale/en/LC_MESSAGES/django.po +++ /dev/null @@ -1,114 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-08 13:44+0300\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: registration/admin.py:23 -msgid "Activate users" -msgstr "" - -#: registration/admin.py:43 -msgid "Re-send activation emails" -msgstr "" - -#: registration/backends/default/views.py:197 -msgid "Пользователя с таким email не существует" -msgstr "" - -#: registration/backends/default/views.py:200 -msgid "Пользователя с таким email уже активирован" -msgstr "" - -#: registration/forms.py:44 -msgid "First name" -msgstr "" - -#: registration/forms.py:45 registration/forms.py:50 -msgid "This value may contain only letters, numbers and @/./+/-/_ characters." -msgstr "" - -#: registration/forms.py:46 -msgid "Имя" -msgstr "" - -#: registration/forms.py:49 -msgid "Last name" -msgstr "" - -#: registration/forms.py:51 -msgid "Фамилия" -msgstr "" - -#: registration/forms.py:53 -msgid "E-mail" -msgstr "" - -#: registration/forms.py:53 -msgid "Адрес электронной почты" -msgstr "" - -#: registration/forms.py:54 -msgid "Придумайте пароль" -msgstr "" - -#: registration/forms.py:55 -msgid "Password" -msgstr "" - -#: registration/forms.py:56 -msgid "Повторите пароль" -msgstr "" - -#: registration/forms.py:57 -msgid "Password (again)" -msgstr "" - -#: registration/forms.py:83 -msgid "I have read and agree to the Terms of Service" -msgstr "" - -#: registration/forms.py:84 -msgid "You must agree to the terms to register" -msgstr "" - -#: registration/forms.py:100 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "" - -#: registration/forms.py:127 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "" - -#: registration/models.py:184 -msgid "user" -msgstr "" - -#: registration/models.py:185 -msgid "activation key" -msgstr "" - -#: registration/models.py:190 -msgid "registration profile" -msgstr "" - -#: registration/models.py:191 -msgid "registration profiles" -msgstr "" diff --git a/registration/locale/es/LC_MESSAGES/django.mo b/registration/locale/es/LC_MESSAGES/django.mo deleted file mode 100644 index 3872adf0..00000000 Binary files a/registration/locale/es/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/es/LC_MESSAGES/django.po b/registration/locale/es/LC_MESSAGES/django.po deleted file mode 100644 index ba0384fe..00000000 --- a/registration/locale/es/LC_MESSAGES/django.po +++ /dev/null @@ -1,85 +0,0 @@ -# Spanish translation for django-registration. -# Copyright (C) 2007, James Bennet -# This file is distributed under the same license as the registration package. -# Ernesto Rico Schmidt , 2008. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: django-registration 0.3 \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-03-11 00:19-0400\n" -"PO-Revision-Date: 2008-03-11 00:19-0400\n" -"Last-Translator: Ernesto Rico Schmidt \n" -"Language-Team: Español \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forms.py:38 -msgid "username" -msgstr "nombre de usuario" - -#: forms.py:41 -msgid "email address" -msgstr "dirección de coreo electrónico" - -#: forms.py:43 -msgid "password" -msgstr "contraseña" - -#: forms.py:45 -msgid "password (again)" -msgstr "contraseña (otra vez)" - -#: forms.py:54 -msgid "Usernames can only contain letters, numbers and underscores" -msgstr "Los nombres de usuarios sólo pueden contener letras, números y guiones bajos" - -#: forms.py:59 -msgid "This username is already taken. Please choose another." -msgstr "Este nombre de usuario ya está ocupado. Por favor escoge otro" - -#: forms.py:71 -msgid "You must type the same password each time" -msgstr "Tienes que introducir la misma contraseña cada vez" - -#: forms.py:100 -msgid "I have read and agree to the Terms of Service" -msgstr "He leído y acepto los términos de servicio" - -#: forms.py:109 -msgid "You must agree to the terms to register" -msgstr "Tienes que aceptar los términos para registrarte" - -#: forms.py:128 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "" -"La dirección de correo electrónico ya está siendo usada. Por favor" -"proporciona otra dirección." - -#: forms.py:153 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "" -"El registro usando una dirección de correo electrónico gratis está prohibido." -"Por favor proporciona otra dirección." - -#: models.py:188 -msgid "user" -msgstr "usuario" - -#: models.py:189 -msgid "activation key" -msgstr "clave de activación" - -#: models.py:194 -msgid "registration profile" -msgstr "perfil de registro" - -#: models.py:195 -msgid "registration profiles" -msgstr "perfiles de registro" diff --git a/registration/locale/es_AR/LC_MESSAGES/django.mo b/registration/locale/es_AR/LC_MESSAGES/django.mo deleted file mode 100644 index ce8b4e56..00000000 Binary files a/registration/locale/es_AR/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/es_AR/LC_MESSAGES/django.po b/registration/locale/es_AR/LC_MESSAGES/django.po deleted file mode 100644 index fb746b5b..00000000 --- a/registration/locale/es_AR/LC_MESSAGES/django.po +++ /dev/null @@ -1,83 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) 2008 Leonardo Manuel Rocha -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-09-19 19:30-0500\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forms.py:38 -msgid "username" -msgstr "nombre de usuario" - -#: forms.py:41 -msgid "email address" -msgstr "dirección de e-mail" - -#: forms.py:43 -msgid "password" -msgstr "contraseña" - -#: forms.py:45 -msgid "password (again)" -msgstr "contraseña (nuevamente)" - -#: forms.py:54 -msgid "Usernames can only contain letters, numbers and underscores" -msgstr "El nombre de usuario solo puede contener letras, números y guiones bajos" - -#: forms.py:59 -msgid "This username is already taken. Please choose another." -msgstr "Ese nombre de usuario ya está asignado. Por favor elija otro." - -#: forms.py:68 -msgid "You must type the same password each time" -msgstr "Debe tipear la misma contraseña cada vez" - -#: forms.py:96 -msgid "I have read and agree to the Terms of Service" -msgstr "He leído y estoy de acuerdo con las Condiciones de Servicio" - -#: forms.py:105 -msgid "You must agree to the terms to register" -msgstr "Debe estar de acuerdo con las Condiciones para poder registrarse" - -#: forms.py:124 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "Esa dirección de e-mail ya está en uso. Por favor provea otra " -"dirección." - -#: forms.py:149 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "La registración con un e-mail gratuito está prohibida. Por favor " -"de una dirección de e-mail diferente." - -#: models.py:188 -msgid "user" -msgstr "usuario" - -#: models.py:189 -msgid "activation key" -msgstr "clave de activación" - -#: models.py:194 -msgid "registration profile" -msgstr "perfil de registro" - -#: models.py:195 -msgid "registration profiles" -msgstr "perfiles de registro" diff --git a/registration/locale/fa/LC_MESSAGES/django.mo b/registration/locale/fa/LC_MESSAGES/django.mo deleted file mode 100644 index 0d23b432..00000000 Binary files a/registration/locale/fa/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/fa/LC_MESSAGES/django.po b/registration/locale/fa/LC_MESSAGES/django.po deleted file mode 100644 index 5c658cda..00000000 --- a/registration/locale/fa/LC_MESSAGES/django.po +++ /dev/null @@ -1,80 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# Mohsen Mansouryar , 2011. -# -msgid "" -msgstr "" -"Project-Id-Version: django-registration 0.8\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-09-19 19:30-0500\n" -"PO-Revision-Date: 2011-11-18 01:11+0330\n" -"Last-Translator: Mohsen Mansouryar \n" -"Language-Team: erixe \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-Language: Persian\n" -"X-Poedit-Country: IRAN, ISLAMIC REPUBLIC OF\n" -"X-Poedit-SourceCharset: utf-8\n" - -#: forms.py:38 -msgid "username" -msgstr "نام کاربری" - -#: forms.py:41 -msgid "email address" -msgstr "پست الکترونیکی" - -#: forms.py:43 -msgid "password" -msgstr "گذرواژه" - -#: forms.py:45 -msgid "password (again)" -msgstr "گذرواژه(تکرار)" - -#: forms.py:54 -msgid "Usernames can only contain letters, numbers and underscores" -msgstr "نام های کاربری تنها می توانند شامل حرف، رقم و یا _ باشند." - -#: forms.py:59 -msgid "This username is already taken. Please choose another." -msgstr "این نام کاربری گرفته شده است. لطفا نام دیگری انتخاب کنید." - -#: forms.py:68 -msgid "You must type the same password each time" -msgstr "دو گذرواژه باید مطابق باشند!" - -#: forms.py:96 -msgid "I have read and agree to the Terms of Service" -msgstr "من شرایط استفاده از این سرویس را مطالعه کرده و می پذیرم." - -#: forms.py:105 -msgid "You must agree to the terms to register" -msgstr "شما باید شرایط عضویت را بپذیرید!" - -#: forms.py:124 -msgid "This email address is already in use. Please supply a different email address." -msgstr "این آدرس استفاده شده است. لطفا آدرس دیگری ارائه دهید." - -#: forms.py:149 -msgid "Registration using free email addresses is prohibited. Please supply a different email address." -msgstr "ثبت نام با استفاده از پست های الکترونیکی رایگان امکان پذیر نمی باشد." - -#: models.py:188 -msgid "user" -msgstr "کاربر" - -#: models.py:189 -msgid "activation key" -msgstr "کد فعالسازی" - -#: models.py:194 -msgid "registration profile" -msgstr "مشخصات ثبت نام" - -#: models.py:195 -msgid "registration profiles" -msgstr "پروفایل های ثبت نام" - diff --git a/registration/locale/fr/LC_MESSAGES/django.mo b/registration/locale/fr/LC_MESSAGES/django.mo deleted file mode 100644 index 8bff4d9a..00000000 Binary files a/registration/locale/fr/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/fr/LC_MESSAGES/django.po b/registration/locale/fr/LC_MESSAGES/django.po deleted file mode 100644 index f25ed06d..00000000 --- a/registration/locale/fr/LC_MESSAGES/django.po +++ /dev/null @@ -1,91 +0,0 @@ -# django-registration French translation. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the django-registration package. -# Samuel Adam , 2007. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: django-registration 0.8 alpha-1 \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-07-01 14:33+0200\n" -"PO-Revision-Date: 2010-07-01 14:30+0200\n" -"Last-Translator: Patrick Samson \n" -"Language-Team: Français \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: .\admin.py:23 -msgid "Activate users" -msgstr "Active les utilisateurs" - -#: .\admin.py:43 -msgid "Re-send activation emails" -msgstr "Envoie à nouveau les courriels d'activation" - -#: .\forms.py:35 -msgid "Username" -msgstr "Nom d'utilisateur" - -#: .\forms.py:36 -msgid "This value must contain only letters, numbers and underscores." -msgstr "Cette valeur ne doit contenir que des lettres, chiffres et tirets bas." - -#: .\forms.py:39 -msgid "Email address" -msgstr "Adresse courriel" - -#: .\forms.py:41 -msgid "Password" -msgstr "Mot de passe" - -#: .\forms.py:43 -msgid "Password (again)" -msgstr "Mot de passe (vérification)" - -#: .\forms.py:55 -msgid "A user with that username already exists." -msgstr "Un utilisateur avec ce nom existe déjà." - -#: .\forms.py:67 -msgid "The two password fields didn't match." -msgstr "Les deux mots de passe ne correspondent pas." - -#: .\forms.py:78 -msgid "I have read and agree to the Terms of Service" -msgstr "J'ai lu et accepté les Conditions Générales d'Utilisation" - -#: .\forms.py:79 -msgid "You must agree to the terms to register" -msgstr "Vous devez accepter les conditions d'utilisation pour vous inscrire" - -#: .\forms.py:95 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "Cette adresse courriel est déjà utilisée. Veuillez en indiquer une autre." - -#: .\forms.py:122 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "" -"L'inscription avec adresse courriel de compte gratuit est interdite. " -"Veuillez en indiquer une autre." - -#: .\models.py:165 -msgid "user" -msgstr "utilisateur" - -#: .\models.py:166 -msgid "activation key" -msgstr "clé d'activation" - -#: .\models.py:171 -msgid "registration profile" -msgstr "profil d'inscription" - -#: .\models.py:172 -msgid "registration profiles" -msgstr "profils d'inscription" diff --git a/registration/locale/he/LC_MESSAGES/django.mo b/registration/locale/he/LC_MESSAGES/django.mo deleted file mode 100644 index be936503..00000000 Binary files a/registration/locale/he/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/he/LC_MESSAGES/django.po b/registration/locale/he/LC_MESSAGES/django.po deleted file mode 100644 index 5567e086..00000000 --- a/registration/locale/he/LC_MESSAGES/django.po +++ /dev/null @@ -1,86 +0,0 @@ -# translation of registration. -# Copyright (C) 2008 THE registration'S COPYRIGHT HOLDER -# This file is distributed under the same license as the registration package. -# <>, 2008. -# , fuzzy -# <>, 2008. -# -# -msgid "" -msgstr "" -"Project-Id-Version: registration\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-02-10 02:01+0200\n" -"PO-Revision-Date: 2008-02-10 02:05+0200\n" -"Last-Translator: Meir Kriheli \n" -"Language-Team: Hebrew\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit" - -#: forms.py:38 -msgid "username" -msgstr "שם משתמש" - -#: forms.py:41 -msgid "email address" -msgstr "דואר אלקטרוני" - -#: forms.py:43 -msgid "password" -msgstr "סיסמה" - -#: forms.py:45 -msgid "password (again)" -msgstr "סיסמה (שוב)" - -#: forms.py:54 -msgid "Usernames can only contain letters, numbers and underscores" -msgstr "שמות משתמש יכולים להכיל רק אותיות, ספרות וקווים תחתונים" - -#: forms.py:59 -msgid "This username is already taken. Please choose another." -msgstr "שם המשתמש תפוס כבר. נא לבחור אחר." - -#: forms.py:64 -msgid "You must type the same password each time" -msgstr "יש להקליד את אותה הסיסמה פעמיים" - -#: forms.py:93 -msgid "I have read and agree to the Terms of Service" -msgstr "קראתי והסכמתי לתנאי השימוש" - -#: forms.py:102 -msgid "You must agree to the terms to register" -msgstr "עליך להסכים לתנאי השימוש" - -#: forms.py:121 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "" -"כתובת הדואר האלקטרוני תפוסה כבר. נא לספק כתובת דואר אחרת." - -#: forms.py:146 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "" -"הרישום בעזרת תיבת דואר אלקטרוני חינמית אסור. נא לספק כתובת אחרת." - -#: models.py:188 -msgid "user" -msgstr "משתמש" - -#: models.py:189 -msgid "activation key" -msgstr "מפתח הפעלה" - -#: models.py:194 -msgid "registration profile" -msgstr "פרופיל רישום" - -#: models.py:195 -msgid "registration profiles" -msgstr "פרופילי רישום" - diff --git a/registration/locale/hr/LC_MESSAGES/django.mo b/registration/locale/hr/LC_MESSAGES/django.mo deleted file mode 100644 index bf2a06dc..00000000 Binary files a/registration/locale/hr/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/hr/LC_MESSAGES/django.po b/registration/locale/hr/LC_MESSAGES/django.po deleted file mode 100644 index 1ed7e6c2..00000000 --- a/registration/locale/hr/LC_MESSAGES/django.po +++ /dev/null @@ -1,86 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: 0.8.1beta\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-12-01 14:09-0500\n" -"PO-Revision-Date: 2010-12-01 15:49+0100\n" -"Last-Translator: Enis Afgan \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-Language: Croatian\n" -"X-Poedit-Country: CROATIA\n" - -#: admin.py:23 -msgid "Activate users" -msgstr "Aktiviraj korisnike" - -#: admin.py:43 -msgid "Re-send activation emails" -msgstr "Ponovno pošlji aktivacijski email" - -#: forms.py:35 -msgid "username" -msgstr "Korisničko ime" - -#: forms.py:36 -msgid "This value must contain only letters, numbers and underscores." -msgstr "Ova vrijednost mora sadržavati samo slova, brojeve i podvlake." - -#: forms.py:39 -msgid "Email address" -msgstr "Email adresa" - -#: forms.py:41 -msgid "Password" -msgstr "Lozinka" - -#: forms.py:43 -msgid "Password (again)" -msgstr "Lozinka (ponovno)" - -#: forms.py:55 -msgid "A user with that username already exists." -msgstr "Ovo korisničko ime već postoji." - -#: forms.py:67 -msgid "The two password fields didn't match." -msgstr "Oba polja za lozinku nisu ista." - -#: forms.py:78 -msgid "I have read and agree to the Terms of Service" -msgstr "Pročitao sam i slažem se s uvijetima uporabe." - -#: forms.py:79 -msgid "You must agree to the terms to register" -msgstr "Morate se složiti sa uvijetima uporabe prije registracije." - -#: forms.py:95 -msgid "This email address is already in use. Please supply a different email address." -msgstr "Ova email adresa je već korištena. Molimo da koristite drugu email adresu." - -#: forms.py:122 -msgid "Registration using free email addresses is prohibited. Please supply a different email address." -msgstr "Registracija gdje se koristi besplati email servis nije dopuštena. Molimo da koristite drugu email adresu." - -#: models.py:165 -msgid "user" -msgstr "Korisnik" - -#: models.py:166 -msgid "activation key" -msgstr "Aktivacijski ključ" - -#: models.py:171 -msgid "registration profile" -msgstr "Registracijski profil" - -#: models.py:172 -msgid "registration profiles" -msgstr "Registracijski profili" \ No newline at end of file diff --git a/registration/locale/is/LC_MESSAGES/django.mo b/registration/locale/is/LC_MESSAGES/django.mo deleted file mode 100644 index bccb71f6..00000000 Binary files a/registration/locale/is/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/is/LC_MESSAGES/django.po b/registration/locale/is/LC_MESSAGES/django.po deleted file mode 100644 index 479e792a..00000000 --- a/registration/locale/is/LC_MESSAGES/django.po +++ /dev/null @@ -1,74 +0,0 @@ -# Icelandic translation of django-registration -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the django-registration -# package. -# Björn Kristinsson , 2009. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-01-22 12:49+0100\n" -"PO-Revision-Date: 2009-01-22 12:49+0100\n" -"Last-Translator: Björn Kristinsson \n" -"Language-Team: Icelandic\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forms.py:36 -msgid "username" -msgstr "notandanafn" - -#: forms.py:39 -msgid "email address" -msgstr "netfang" - -#: forms.py:41 -msgid "password" -msgstr "lykilorð" - -#: forms.py:43 -msgid "password (again)" -msgstr "lykilorð (aftur)" - -#: forms.py:55 -msgid "This username is already taken. Please choose another." -msgstr "Þetta notendanafn er þegar á skrá. Vinsamlega reyndu annað." - -#: forms.py:67 -msgid "You must type the same password each time" -msgstr "Lykilorðin verða að vera eins " - -#: forms.py:90 -msgid "I have read and agree to the Terms of Service" -msgstr "Ég hef lesið og samþykki skilmálana" - -#: forms.py:107 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "Þetta netfang er þegar á skrá. Vinsamlegast notaðu annað netfang." - -#: forms.py:133 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "Óheimilt er að nota ókeypis netföng. Vinsamlegast notaðu annað netfang." - -#: models.py:218 -msgid "user" -msgstr "notandi" - -#: models.py:219 -msgid "activation key" -msgstr "einkennislykill" - -#: models.py:224 -msgid "registration profile" -msgstr "skráningarprófíll" - -#: models.py:225 -msgid "registration profiles" -msgstr "skráningarprófílar" diff --git a/registration/locale/it/LC_MESSAGES/django.mo b/registration/locale/it/LC_MESSAGES/django.mo deleted file mode 100644 index 0134d244..00000000 Binary files a/registration/locale/it/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/it/LC_MESSAGES/django.po b/registration/locale/it/LC_MESSAGES/django.po deleted file mode 100644 index 09a3c814..00000000 --- a/registration/locale/it/LC_MESSAGES/django.po +++ /dev/null @@ -1,89 +0,0 @@ -# translation of django.po to Italian -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# -# Nicola Larosa , 2008. -# Flavio Curella , 2011 -msgid "" -msgstr "" -"Project-Id-Version: django-registration 0.8 alpha-1\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-07-01 14:33+0200\n" -"PO-Revision-Date: 2011-08-04 12:41-0600\n" -"Last-Translator: Flavio Curella \n" -"Language-Team: Italiano \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Poedit-Language: Italian\n" -"X-Poedit-Country: ITALY\n" - -#: .\admin.py:23 -msgid "Activate users" -msgstr "Attiva utenti" - -#: .\admin.py:43 -msgid "Re-send activation emails" -msgstr "Re-invia email di attivazione" - -#: .\forms.py:35 -msgid "Username" -msgstr "Nome utente" - -#: .\forms.py:36 -msgid "This value must contain only letters, numbers and underscores." -msgstr "Questo valore può contenere solo lettere, numeri e sottolineature." - -#: .\forms.py:39 -msgid "Email address" -msgstr "indirizzo email" - -#: .\forms.py:41 -msgid "Password" -msgstr "Password" - -#: .\forms.py:43 -msgid "Password (again)" -msgstr "Password (di nuovo)" - -#: .\forms.py:55 -msgid "A user with that username already exists." -msgstr "Questo nome utente è già usato." - -#: .\forms.py:67 -msgid "The two password fields didn't match." -msgstr "Le password inserite non coincidono." - -#: .\forms.py:78 -msgid "I have read and agree to the Terms of Service" -msgstr "Dichiaro di aver letto e di approvare le Condizioni di Servizio" - -#: .\forms.py:79 -msgid "You must agree to the terms to register" -msgstr "Per registrarsi bisogna approvare le condizioni" - -#: .\forms.py:95 -msgid "This email address is already in use. Please supply a different email address." -msgstr "Questo indirizzo email è già in uso. Inserisci un altro indirizzo email." - -#: .\forms.py:122 -msgid "Registration using free email addresses is prohibited. Please supply a different email address." -msgstr "La registrazione con indirizzi email gratis non è permessa. Inserisci un altro indirizzo email." - -#: .\models.py:165 -msgid "user" -msgstr "utente" - -#: .\models.py:166 -msgid "activation key" -msgstr "chiave di attivazione" - -#: .\models.py:171 -msgid "registration profile" -msgstr "profilo di registrazione" - -#: .\models.py:172 -msgid "registration profiles" -msgstr "profili di registrazione" - diff --git a/registration/locale/ja/LC_MESSAGES/django.mo b/registration/locale/ja/LC_MESSAGES/django.mo deleted file mode 100644 index e0332b0e..00000000 Binary files a/registration/locale/ja/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/ja/LC_MESSAGES/django.po b/registration/locale/ja/LC_MESSAGES/django.po deleted file mode 100644 index afaaf948..00000000 --- a/registration/locale/ja/LC_MESSAGES/django.po +++ /dev/null @@ -1,78 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# Shinya Okano , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: django-registration 0.4 \n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-09-19 19:30-0500\n" -"PO-Revision-Date: 2008-01-31 10:20+0900\n" -"Last-Translator: Shinya Okano \n" -"Language-Team: Japanese \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forms.py:38 -msgid "username" -msgstr "ユーザ名" - -#: forms.py:41 -msgid "email address" -msgstr "メールアドレス" - -#: forms.py:43 -msgid "password" -msgstr "パスワード" - -#: forms.py:45 -msgid "password (again)" -msgstr "パスワード (確認)" - -#: forms.py:54 -msgid "Usernames can only contain letters, numbers and underscores" -msgstr "ユーザ名には半角英数とアンダースコアのみが使用できます。" - -#: forms.py:59 -msgid "This username is already taken. Please choose another." -msgstr "このユーザ名は既に使用されています。他のユーザ名を指定してください。" - -#: forms.py:68 -msgid "You must type the same password each time" -msgstr "同じパスワードを入力する必要があります。" - -#: forms.py:96 -msgid "I have read and agree to the Terms of Service" -msgstr "サービス利用規約を読み、同意します。" - -#: forms.py:105 -msgid "You must agree to the terms to register" -msgstr "登録するためには規約に同意する必要があります。" - -#: forms.py:124 -msgid "This email address is already in use. Please supply a different email address." -msgstr "このメールアドレスは既に使用されています。他のメールアドレスを指定して下さい。" - -#: forms.py:149 -msgid "Registration using free email addresses is prohibited. Please supply a different email address." -msgstr "自由なメールアドレスを使用した登録は禁止されています。他のメールアドレスを指定してください。" - -#: models.py:188 -msgid "user" -msgstr "ユーザ" - -#: models.py:189 -msgid "activation key" -msgstr "アクティベーションキー" - -#: models.py:194 -msgid "registration profile" -msgstr "登録プロファイル" - -#: models.py:195 -msgid "registration profiles" -msgstr "登録プロファイル" - diff --git a/registration/locale/ko/LC_MESSAGES/django.mo b/registration/locale/ko/LC_MESSAGES/django.mo deleted file mode 100644 index a29c7c3f..00000000 Binary files a/registration/locale/ko/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/ko/LC_MESSAGES/django.po b/registration/locale/ko/LC_MESSAGES/django.po deleted file mode 100644 index d466420d..00000000 --- a/registration/locale/ko/LC_MESSAGES/django.po +++ /dev/null @@ -1,89 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# Young Gyu Park , 2009. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-10-12 14:09-0500\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Young Gyu Park \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:23 -msgid "Activate users" -msgstr "활동 사용자" - -#: admin.py:43 -msgid "Re-send activation emails" -msgstr "이 메일 제 전송" - -#: forms.py:35 -msgid "username" -msgstr "사용자 아이디" - -#: forms.py:36 -msgid "This value must contain only letters, numbers and underscores." -msgstr "이 곳에는 숫자, _, 영문 글자만 가능합니다." - -#: forms.py:39 -msgid "Email address" -msgstr "이메일 주소" - -#: forms.py:41 -msgid "Password" -msgstr "사용자 패스워드" - -#: forms.py:43 -msgid "Password (again)" -msgstr "패스워드 (재입력)" - -#: forms.py:55 -msgid "A user with that username already exists." -msgstr "이미 같은 아이디로 사용자가 등록되어 있습니다." - -#: forms.py:67 -msgid "The two password fields didn't match." -msgstr "패스워드가 서로 일치하지 않습니다." - -#: forms.py:78 -msgid "I have read and agree to the Terms of Service" -msgstr "약관을 읽었고 그 내용에 동의합니다." - -#: forms.py:79 -msgid "You must agree to the terms to register" -msgstr "약관에 동의 하셔야만 합니다." - -#: forms.py:95 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "이메일이 이미 사용중입니다. 다른 이메일을 등록해 주세요." - -#: forms.py:122 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "무료 이메일 계정으로 등록하실 수 없습니다. 다른 이메일을 등록해 주세요" - -#: models.py:165 -msgid "user" -msgstr "사용자" - -#: models.py:166 -msgid "activation key" -msgstr "활성화 키" - -#: models.py:171 -msgid "registration profile" -msgstr "등록 프로파일" - -#: models.py:172 -msgid "registration profiles" -msgstr "등록 프로파일" diff --git a/registration/locale/nb/LC_MESSAGES/django.mo b/registration/locale/nb/LC_MESSAGES/django.mo deleted file mode 100644 index 51b4e995..00000000 Binary files a/registration/locale/nb/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/nb/LC_MESSAGES/django.po b/registration/locale/nb/LC_MESSAGES/django.po deleted file mode 100644 index 9682d19a..00000000 --- a/registration/locale/nb/LC_MESSAGES/django.po +++ /dev/null @@ -1,91 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# jonklo , 2010. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: django-registration 0.8\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-12-15 21:37+0100\n" -"PO-Revision-Date: 2010-12-15 21:37+0100\n" -"Last-Translator: jonklo \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:23 -msgid "Activate users" -msgstr "Aktiver brukere" - -#: admin.py:43 -msgid "Re-send activation emails" -msgstr "Send ny aktiveringsmail" - -#: forms.py:35 -msgid "Username" -msgstr "Brukernavn" - -#: forms.py:36 -msgid "This value must contain only letters, numbers and underscores." -msgstr "Dette feltet kan bare inneholde bokstaver, nummer og understreker." - -#: forms.py:39 -msgid "Email address" -msgstr "E-postadresse" - -#: forms.py:41 -msgid "Password" -msgstr "Passord" - -#: forms.py:43 -msgid "Password (again)" -msgstr "Passord (gjenta)" - -#: forms.py:55 -msgid "A user with that username already exists." -msgstr "Det eksisterer allerede en bruker med dette brukernavnet." - -#: forms.py:67 -msgid "The two password fields didn't match." -msgstr "De to passordfeltene er ikke like." - -#: forms.py:78 -msgid "I have read and agree to the Terms of Service" -msgstr "Jeg har lest og godtar betingelsene" - -#: forms.py:79 -msgid "You must agree to the terms to register" -msgstr "Du må godta betingelsene for å registrere deg" - -#: forms.py:95 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "Denne e-postadressen er allerede i bruk. Vennligst oppgi en annen " -"e-postadresse." - -#: forms.py:122 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "Registrering med gratis e-postadresse er ikke tillatt. Vennligst " -"oppgi en annen e-postadresse." - -#: models.py:168 -msgid "user" -msgstr "bruker" - -#: models.py:169 -msgid "activation key" -msgstr "aktiveringsnøkkel" - -#: models.py:174 -msgid "registration profile" -msgstr "registrasjonsprofil" - -#: models.py:175 -msgid "registration profiles" -msgstr "registrasjonsprofiler" diff --git a/registration/locale/nl/LC_MESSAGES/django.mo b/registration/locale/nl/LC_MESSAGES/django.mo deleted file mode 100644 index 9e84eb3e..00000000 Binary files a/registration/locale/nl/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/nl/LC_MESSAGES/django.po b/registration/locale/nl/LC_MESSAGES/django.po deleted file mode 100644 index 03cb2e5d..00000000 --- a/registration/locale/nl/LC_MESSAGES/django.po +++ /dev/null @@ -1,77 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: registration\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-08-14 13:25+0200\n" -"PO-Revision-Date: 2008-08-14 13:25+0200\n" -"Last-Translator: Joost Cassee \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: forms.py:38 -msgid "username" -msgstr "gebruikersnaam" - -#: forms.py:41 -msgid "email address" -msgstr "e-mail adres" - -#: forms.py:43 -msgid "password" -msgstr "wachtwoord" - -#: forms.py:45 -msgid "password (again)" -msgstr "wachtwoord (opnieuw)" - -#: forms.py:54 -msgid "Usernames can only contain letters, numbers and underscores" -msgstr "Gebruikersnamen kunnen alleen letters, nummer en liggende streepjes bevatten." - -#: forms.py:59 -msgid "This username is already taken. Please choose another." -msgstr "Deze gebruikersnaam is reeds in gebruik. Kiest u alstublieft een andere gebruikersnaam." - -#: forms.py:71 -msgid "You must type the same password each time" -msgstr "U moet twee maal hetzelfde wachtwoord typen." - -#: forms.py:100 -msgid "I have read and agree to the Terms of Service" -msgstr "Ik heb de servicevoorwaarden gelezen en ga akkoord." - -#: forms.py:109 -msgid "You must agree to the terms to register" -msgstr "U moet akkoord gaan met de servicevoorwaarden om u te registreren." - -#: forms.py:125 -msgid "This email address is already in use. Please supply a different email address." -msgstr "Dit e-mail adres is reeds in gebruik. Kiest u alstublieft een ander e-mail adres." - -#: forms.py:151 -msgid "Registration using free email addresses is prohibited. Please supply a different email address." -msgstr "U kunt u niet registreren met een gratis e-mail adres. Kiest u alstublieft een ander e-mail adres." - -#: models.py:191 -msgid "user" -msgstr "gebruiker" - -#: models.py:192 -msgid "activation key" -msgstr "activatiecode" - -#: models.py:197 -msgid "registration profile" -msgstr "registratieprofiel" - -#: models.py:198 -msgid "registration profiles" -msgstr "registratieprofielen" diff --git a/registration/locale/pl/LC_MESSAGES/django.mo b/registration/locale/pl/LC_MESSAGES/django.mo deleted file mode 100644 index 1f2a2288..00000000 Binary files a/registration/locale/pl/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/pl/LC_MESSAGES/django.po b/registration/locale/pl/LC_MESSAGES/django.po deleted file mode 100644 index 498fd5b6..00000000 --- a/registration/locale/pl/LC_MESSAGES/django.po +++ /dev/null @@ -1,84 +0,0 @@ -# Polish translation for django-registration. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the django-registration package. -# Jarek Zgoda , 2007. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: 0.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-09-19 19:30-0500\n" -"PO-Revision-Date: 2007-12-15 12:45+0100\n" -"Last-Translator: Jarek Zgoda \n" -"Language-Team: Polish \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forms.py:38 -msgid "username" -msgstr "nazwa użytkownika" - -#: forms.py:41 -msgid "email address" -msgstr "adres email" - -#: forms.py:43 -msgid "password" -msgstr "hasło" - -#: forms.py:45 -msgid "password (again)" -msgstr "hasło (ponownie)" - -#: forms.py:54 -msgid "Usernames can only contain letters, numbers and underscores" -msgstr "" -"Nazwa użytkownika może zawierać tylko litery, cyfry i znaki podkreślenia" - -#: forms.py:59 -msgid "This username is already taken. Please choose another." -msgstr "Ta nazwa użytkownika jest już zajęta. Wybierz inną." - -#: forms.py:68 -msgid "You must type the same password each time" -msgstr "Musisz wpisać to samo hasło w obu polach" - -#: forms.py:96 -msgid "I have read and agree to the Terms of Service" -msgstr "Przeczytałem regulamin i akceptuję go" - -#: forms.py:105 -msgid "You must agree to the terms to register" -msgstr "Musisz zaakceptować regulamin, aby się zarejestrować" - -#: forms.py:124 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "Ten adres email jest już używany. Użyj innego adresu email." - -#: forms.py:149 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "" -"Nie ma możliwości rejestracji przy użyciu darmowego adresu email. Użyj " -"innego adresu email." - -#: models.py:188 -msgid "user" -msgstr "użytkownik" - -#: models.py:189 -msgid "activation key" -msgstr "klucz aktywacyjny" - -#: models.py:194 -msgid "registration profile" -msgstr "profil rejestracji" - -#: models.py:195 -msgid "registration profiles" -msgstr "profile rejestracji" diff --git a/registration/locale/pt/LC_MESSAGES/django.mo b/registration/locale/pt/LC_MESSAGES/django.mo deleted file mode 100644 index e23917ce..00000000 Binary files a/registration/locale/pt/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/pt/LC_MESSAGES/django.po b/registration/locale/pt/LC_MESSAGES/django.po deleted file mode 100644 index 074bfa02..00000000 --- a/registration/locale/pt/LC_MESSAGES/django.po +++ /dev/null @@ -1,88 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-03-26 10:54+0000\n" -"PO-Revision-Date: 2011-01-24 12:20+0000\n" -"Last-Translator: Nuno Mariz \n" -"Language-Team: Nuno Mariz \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:23 -msgid "Activate users" -msgstr "Ativar utilizadores" - -#: admin.py:43 -msgid "Re-send activation emails" -msgstr "Reenviar emails de ativação" - -#: forms.py:35 -msgid "Username" -msgstr "Utilizador" - -#: forms.py:36 -msgid "This value must contain only letters, numbers and underscores." -msgstr "Este valor apenas deverá conter letras, números e underscores." - -#: forms.py:39 -msgid "Email address" -msgstr "Email" - -#: forms.py:41 -msgid "Password" -msgstr "Password" - -#: forms.py:43 -msgid "Password (again)" -msgstr "Password (novamente)" - -#: forms.py:55 -msgid "A user with that username already exists." -msgstr "Um utilizador com o mesmo nome já se encontra registado." - -#: forms.py:67 -msgid "The two password fields didn't match." -msgstr "As duas passwords não coincidem." - -#: forms.py:78 -msgid "I have read and agree to the Terms of Service" -msgstr "Eu li e concordo com as Condiçoes de Serviço" - -#: forms.py:79 -msgid "You must agree to the terms to register" -msgstr "Deverá concordar com as condições para se registar" - -#: forms.py:95 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "Este email já se encontra registado. Por favor forneça um email diferente." - -#: forms.py:122 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "O registo com emails gratuitos é proibido. Por favor forneça um email diferente." - -#: models.py:168 -msgid "user" -msgstr "utilizador" - -#: models.py:169 -msgid "activation key" -msgstr "chave de ativação" - -#: models.py:174 -msgid "registration profile" -msgstr "perfil de registo" - -#: models.py:175 -msgid "registration profiles" -msgstr "perfis de registo" diff --git a/registration/locale/pt_BR/LC_MESSAGES/django.mo b/registration/locale/pt_BR/LC_MESSAGES/django.mo deleted file mode 100644 index e81b6207..00000000 Binary files a/registration/locale/pt_BR/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/pt_BR/LC_MESSAGES/django.po b/registration/locale/pt_BR/LC_MESSAGES/django.po deleted file mode 100644 index 9e8addb6..00000000 --- a/registration/locale/pt_BR/LC_MESSAGES/django.po +++ /dev/null @@ -1,81 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-09-19 19:30-0500\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forms.py:38 -msgid "username" -msgstr "usuário" - -#: forms.py:41 -msgid "email address" -msgstr "endereço de email" - -#: forms.py:43 -msgid "password" -msgstr "" - -#: forms.py:45 -msgid "password (again)" -msgstr "senha (novamente)" - -#: forms.py:54 -msgid "Usernames can only contain letters, numbers and underscores" -msgstr "Nomes de usuário apenas podem conter letras, números, e underscore" - -#: forms.py:59 -msgid "This username is already taken. Please choose another." -msgstr "Este nome de usuário já existe. Por favor, escolha outro." - -#: forms.py:68 -msgid "You must type the same password each time" -msgstr "Você deve escrever a mesma senha nos dois campos" - -#: forms.py:96 -msgid "I have read and agree to the Terms of Service" -msgstr "Eu lí e concordo com os Termos de Uso do serviço" - -#: forms.py:105 -msgid "You must agree to the terms to register" -msgstr "Você deve concordar com os termos para registrar-se" - -#: forms.py:124 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "Este endereço de email já está em uso. Por favor, informe um endereço de email diferente." - -#: forms.py:149 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "Registrar-se com contas de email gratuitos está proibido. Por favor, informe um endereço de email diferente." - -#: models.py:188 -msgid "user" -msgstr "usuário" - -#: models.py:189 -msgid "activation key" -msgstr "chave de ativação" - -#: models.py:194 -msgid "registration profile" -msgstr "profile de registro" - -#: models.py:195 -msgid "registration profiles" -msgstr "profiles de registro" diff --git a/registration/locale/ru/LC_MESSAGES/django.mo b/registration/locale/ru/LC_MESSAGES/django.mo deleted file mode 100644 index 1635b4ed..00000000 Binary files a/registration/locale/ru/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/ru/LC_MESSAGES/django.po b/registration/locale/ru/LC_MESSAGES/django.po deleted file mode 100644 index 072e146a..00000000 --- a/registration/locale/ru/LC_MESSAGES/django.po +++ /dev/null @@ -1,92 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-10-21 20:12+0600\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:23 -msgid "Activate users" -msgstr "Активировать учетные записи" - -#: admin.py:43 -msgid "Re-send activation emails" -msgstr "Выслать ключи активации заново" - -#: forms.py:35 -msgid "Username" -msgstr "Имя пользователя" - -#: forms.py:36 -msgid "This value must contain only letters, numbers and underscores." -msgstr "Это поле может содержать только буквы, цифры и подчеркивания" - -#: forms.py:39 -msgid "Email address" -msgstr "Адрес электронной почты" - -#: forms.py:41 -msgid "Password" -msgstr "Пароль" - -#: forms.py:43 -msgid "Password (again)" -msgstr "Пароль (снова)" - -#: forms.py:55 -msgid "A user with that username already exists." -msgstr "Пользователь с таким именем уже существует." - -#: forms.py:67 -msgid "The two password fields didn't match." -msgstr "Введенные пароли не совпадают." - -#: forms.py:78 -msgid "I have read and agree to the Terms of Service" -msgstr "Я прочитал Правила Использования и согласен с ними" - -#: forms.py:79 -msgid "You must agree to the terms to register" -msgstr "Для регистрации Вы должны согласиться с Правилами" - -#: forms.py:95 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "" -"Этот адрес электронной почты уже используется. Пожалуйста, введите другой " -"адрес." - -#: forms.py:122 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "" -"Регистрация с использованием свободных почтовых серверов запрещена. " -"Пожалуйста, введите другой адрес электронной почты." - -#: models.py:165 -msgid "user" -msgstr "пользователь" - -#: models.py:166 -msgid "activation key" -msgstr "ключ активации" - -#: models.py:171 -msgid "registration profile" -msgstr "карточка регистрации" - -#: models.py:172 -msgid "registration profiles" -msgstr "карточки регистрации" diff --git a/registration/locale/sl/LC_MESSAGES/django.mo b/registration/locale/sl/LC_MESSAGES/django.mo deleted file mode 100644 index 133f5a1b..00000000 Binary files a/registration/locale/sl/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/sl/LC_MESSAGES/django.po b/registration/locale/sl/LC_MESSAGES/django.po deleted file mode 100644 index 0996851c..00000000 --- a/registration/locale/sl/LC_MESSAGES/django.po +++ /dev/null @@ -1,87 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: 0.8.1beta\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-10-12 14:09-0500\n" -"PO-Revision-Date: 2011-11-05 21:20+0100\n" -"Last-Translator: Marko Mrdjenovic \n" -"Language-Team: Slovenian \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-Language: Slovenian\n" -"X-Poedit-Country: SLOVENIA\n" - -#: admin.py:23 -msgid "Activate users" -msgstr "Aktiviraj uporabnike" - -#: admin.py:43 -msgid "Re-send activation emails" -msgstr "Ponovno pošlji aktivacijsko e-pošto" - -#: forms.py:35 -msgid "username" -msgstr "uporabniško ime" - -#: forms.py:36 -msgid "This value must contain only letters, numbers and underscores." -msgstr "Vrednost lahko vsebuje samo črke, cifre in podčrtaje." - -#: forms.py:39 -msgid "Email address" -msgstr "E-naslov" - -#: forms.py:41 -msgid "Password" -msgstr "Geslo" - -#: forms.py:43 -msgid "Password (again)" -msgstr "Geslo (ponovno)" - -#: forms.py:55 -msgid "A user with that username already exists." -msgstr "Uporabnik s tem uporabniškim imenom že obstaja." - -#: forms.py:67 -msgid "The two password fields didn't match." -msgstr "Polji z gesli se ne ujemata." - -#: forms.py:78 -msgid "I have read and agree to the Terms of Service" -msgstr "Strinjam se s pogoji uporabe" - -#: forms.py:79 -msgid "You must agree to the terms to register" -msgstr "Za registracijo se morate strinjati s pogoji uporabe" - -#: forms.py:95 -msgid "This email address is already in use. Please supply a different email address." -msgstr "E-naslov je že v uporabi, prosimo vnesite drugega." - -#: forms.py:122 -msgid "Registration using free email addresses is prohibited. Please supply a different email address." -msgstr "Registracija ni mogoča z brezplačnimi e-naslovi. Prosimo vnesite drug e-naslov." - -#: models.py:165 -msgid "user" -msgstr "Uporabnik" - -#: models.py:166 -msgid "activation key" -msgstr "Aktivacijski ključ" - -#: models.py:171 -msgid "registration profile" -msgstr "Registracijski profil" - -#: models.py:172 -msgid "registration profiles" -msgstr "Registracijski profili" - diff --git a/registration/locale/sr/LC_MESSAGES/django.mo b/registration/locale/sr/LC_MESSAGES/django.mo deleted file mode 100644 index 16993265..00000000 Binary files a/registration/locale/sr/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/sr/LC_MESSAGES/django.po b/registration/locale/sr/LC_MESSAGES/django.po deleted file mode 100644 index 4fa699c5..00000000 --- a/registration/locale/sr/LC_MESSAGES/django.po +++ /dev/null @@ -1,80 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: django-registration trunk\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-04-05 13:51+0200\n" -"PO-Revision-Date: 2008-04-05 14:00+0100\n" -"Last-Translator: Nebojsa Djordjevic \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" -"X-Poedit-Language: Serbian\n" -"X-Poedit-Country: YUGOSLAVIA\n" - -#: forms.py:38 -msgid "username" -msgstr "korisničko ime" - -#: forms.py:41 -msgid "email address" -msgstr "email adresa" - -#: forms.py:43 -msgid "password" -msgstr "šifra" - -#: forms.py:45 -msgid "password (again)" -msgstr "šifra (ponovo)" - -#: forms.py:54 -msgid "Usernames can only contain letters, numbers and underscores" -msgstr "Korisničko ime može da se sastoji samo od slova, brojeva i donje crte (\"_\")" - -#: forms.py:59 -msgid "This username is already taken. Please choose another." -msgstr "Korisničko ime je već zauzeto. Izaberite drugo." - -#: forms.py:71 -msgid "You must type the same password each time" -msgstr "Unete šifre se ne slažu" - -#: forms.py:100 -msgid "I have read and agree to the Terms of Service" -msgstr "Pročitao sam i slažem se sa uslovima korišćenja" - -#: forms.py:109 -msgid "You must agree to the terms to register" -msgstr "Morate se složiti sa uslovima korišćenja da bi ste se registrovali" - -#: forms.py:128 -msgid "This email address is already in use. Please supply a different email address." -msgstr "Ova e-mail adresa je već u upotrebi. Morate koristiti drugu e-mail adresu." - -#: forms.py:153 -msgid "Registration using free email addresses is prohibited. Please supply a different email address." -msgstr "Registracija korišćenjem besplatnig e-mail adresa je zabranjena. Morate uneti drugu e-mail adresu." - -#: models.py:188 -msgid "user" -msgstr "korisnik" - -#: models.py:189 -msgid "activation key" -msgstr "aktivacioni ključ" - -#: models.py:194 -msgid "registration profile" -msgstr "registracioni profil" - -#: models.py:195 -msgid "registration profiles" -msgstr "registracioni profili" - diff --git a/registration/locale/sv/LC_MESSAGES/django.mo b/registration/locale/sv/LC_MESSAGES/django.mo deleted file mode 100644 index 50eca67e..00000000 Binary files a/registration/locale/sv/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/sv/LC_MESSAGES/django.po b/registration/locale/sv/LC_MESSAGES/django.po deleted file mode 100644 index dec76e27..00000000 --- a/registration/locale/sv/LC_MESSAGES/django.po +++ /dev/null @@ -1,81 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-03-23 18:59+0100\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Emil Stenström \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: .\forms.py:38 -msgid "username" -msgstr "Användarnamn" - -#: .\forms.py:41 -msgid "email address" -msgstr "E-postadress" - -#: .\forms.py:43 -msgid "password" -msgstr "Lösenord" - -#: .\forms.py:45 -msgid "password (again)" -msgstr "Lösenord (igen)" - -#: .\forms.py:54 -msgid "Usernames can only contain letters, numbers and underscores" -msgstr "Användarnamn får bara innehålla bokstäver, siffror och understreck" - -#: .\forms.py:59 -msgid "This username is already taken. Please choose another." -msgstr "Det användarnamnet är upptaget. Prova ett annat." - -#: .\forms.py:71 -msgid "You must type the same password each time" -msgstr "Båda lösenord måste vara lika" - -#: .\forms.py:100 -msgid "I have read and agree to the Terms of Service" -msgstr "Jag har läst och accepterar avtalet" - -#: .\forms.py:109 -msgid "You must agree to the terms to register" -msgstr "Du måste acceptera avtalet för att registrera dig" - -#: .\forms.py:128 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "Den e-postadressen är upptagen, använd an annan adress." - -#: .\forms.py:153 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "Gratis e-postadresser är inte tillåtna, använd en annan adress." - -#: .\models.py:188 -msgid "user" -msgstr "Användare" - -#: .\models.py:189 -msgid "activation key" -msgstr "Aktiveringsnyckel" - -#: .\models.py:194 -msgid "registration profile" -msgstr "Profil" - -#: .\models.py:195 -msgid "registration profiles" -msgstr "Profiler" diff --git a/registration/locale/tr_TR/LC_MESSAGES/django.mo b/registration/locale/tr_TR/LC_MESSAGES/django.mo deleted file mode 100644 index a208e1e4..00000000 Binary files a/registration/locale/tr_TR/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/tr_TR/LC_MESSAGES/django.po b/registration/locale/tr_TR/LC_MESSAGES/django.po deleted file mode 100644 index 295c524d..00000000 --- a/registration/locale/tr_TR/LC_MESSAGES/django.po +++ /dev/null @@ -1,92 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-11-11 12:48+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: RECEP KIRMIZI \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: admin.py:23 -msgid "Activate users" -msgstr "Kullanıcıları aktive et" - -#: admin.py:43 -msgid "Re-send activation emails" -msgstr "Aktivasyon e-postalarını yeniden gönder" - -#: forms.py:35 -msgid "Username" -msgstr "Kullanıcı adı" - -#: forms.py:36 -msgid "This value must contain only letters, numbers and underscores." -msgstr "Bu alan sadece harfler, numaralar ve alt çizgiler barındırabilir." - -#: forms.py:39 -msgid "Email address" -msgstr "Eposta adresi" - -#: forms.py:41 -msgid "Password" -msgstr "Parola" - -#: forms.py:43 -msgid "Password (again)" -msgstr "Parola (tekrar)" - -#: forms.py:55 -msgid "A user with that username already exists." -msgstr "Bu kullanıcı adına sahip bir kullanıcı bulunmakta." - -#: forms.py:67 -msgid "The two password fields didn't match." -msgstr "İki parola birbiri ile uyuşmadı." - -#: forms.py:78 -msgid "I have read and agree to the Terms of Service" -msgstr "Anlaşma kurallarını okudum ve kabul ediyorum." - -#: forms.py:79 -msgid "You must agree to the terms to register" -msgstr "Kayıt olmak için kuralları kabul etmelisiniz." - -#: forms.py:95 -msgid "" -"This email address is already in use. Please supply a different email " -"address." -msgstr "Bu eposta adresi kullanımda. Lütfen farklı bir eposta adresi veriniz." - -#: forms.py:122 -msgid "" -"Registration using free email addresses is prohibited. Please supply a " -"different email address." -msgstr "" -"Ücretsiz eposta adresleri ile kayıt kabul edilmemektedir. Lütfen farklı bir " -"eposta adresi veriniz." - -#: models.py:168 -msgid "user" -msgstr "kullanıcı" - -#: models.py:169 -msgid "activation key" -msgstr "aktivasyon anahtarı" - -#: models.py:174 -msgid "registration profile" -msgstr "kayıt profili" - -#: models.py:175 -msgid "registration profiles" -msgstr "kayıt profilleri" diff --git a/registration/locale/zh_CN/LC_MESSAGES/django.mo b/registration/locale/zh_CN/LC_MESSAGES/django.mo deleted file mode 100644 index ece5cc97..00000000 Binary files a/registration/locale/zh_CN/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/zh_CN/LC_MESSAGES/django.po b/registration/locale/zh_CN/LC_MESSAGES/django.po deleted file mode 100644 index 7c609c31..00000000 --- a/registration/locale/zh_CN/LC_MESSAGES/django.po +++ /dev/null @@ -1,77 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-09-19 19:30-0500\n" -"PO-Revision-Date: 2008-03-20 23:22+0800\n" -"Last-Translator: hutuworm \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forms.py:38 -msgid "username" -msgstr "用户名" - -#: forms.py:41 -msgid "email address" -msgstr "Email 地址" - -#: forms.py:43 -msgid "password" -msgstr "密码" - -#: forms.py:45 -msgid "password (again)" -msgstr "密码(重复)" - -#: forms.py:54 -msgid "Usernames can only contain letters, numbers and underscores" -msgstr "用户名只能包含字母、数字和下划线" - -#: forms.py:59 -msgid "This username is already taken. Please choose another." -msgstr "该用户名已被占用,请另选一个。" - -#: forms.py:68 -msgid "You must type the same password each time" -msgstr "您必须输入两遍同样的密码" - -#: forms.py:96 -msgid "I have read and agree to the Terms of Service" -msgstr "我已阅读并同意该服务条款" - -#: forms.py:105 -msgid "You must agree to the terms to register" -msgstr "您必须同意注册条款" - -#: forms.py:124 -msgid "This email address is already in use. Please supply a different email address." -msgstr "该 Email 地址已有人使用,请提供一个另外的 Email 地址。" - -#: forms.py:149 -msgid "Registration using free email addresses is prohibited. Please supply a different email address." -msgstr "禁止使用免费 Email 地址注册,请提供一个另外的 Email 地址。" - -#: models.py:188 -msgid "user" -msgstr "用户" - -#: models.py:189 -msgid "activation key" -msgstr "激活密钥" - -#: models.py:194 -msgid "registration profile" -msgstr "注册信息" - -#: models.py:195 -msgid "registration profiles" -msgstr "注册信息" - diff --git a/registration/locale/zh_TW/LC_MESSAGES/django.mo b/registration/locale/zh_TW/LC_MESSAGES/django.mo deleted file mode 100644 index 24a35349..00000000 Binary files a/registration/locale/zh_TW/LC_MESSAGES/django.mo and /dev/null differ diff --git a/registration/locale/zh_TW/LC_MESSAGES/django.po b/registration/locale/zh_TW/LC_MESSAGES/django.po deleted file mode 100644 index 7cc090d0..00000000 --- a/registration/locale/zh_TW/LC_MESSAGES/django.po +++ /dev/null @@ -1,77 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-09-19 19:30-0500\n" -"PO-Revision-Date: 2008-03-20 23:22+0800\n" -"Last-Translator: hutuworm \n" -"Language-Team: LANGUAGE \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: forms.py:38 -msgid "username" -msgstr "用戶名" - -#: forms.py:41 -msgid "email address" -msgstr "Email 地址" - -#: forms.py:43 -msgid "password" -msgstr "密碼" - -#: forms.py:45 -msgid "password (again)" -msgstr "密碼(重復)" - -#: forms.py:54 -msgid "Usernames can only contain letters, numbers and underscores" -msgstr "用戶名只能包含字母、數字和下劃線" - -#: forms.py:59 -msgid "This username is already taken. Please choose another." -msgstr "該用戶名已被佔用,請另選一個。" - -#: forms.py:68 -msgid "You must type the same password each time" -msgstr "您必須輸入兩遍同樣的密碼" - -#: forms.py:96 -msgid "I have read and agree to the Terms of Service" -msgstr "我已閱讀並同意該服務條款" - -#: forms.py:105 -msgid "You must agree to the terms to register" -msgstr "您必須同意注冊條款" - -#: forms.py:124 -msgid "This email address is already in use. Please supply a different email address." -msgstr "該 Email 地址已有人使用,請提供一個另外的 Email 地址。" - -#: forms.py:149 -msgid "Registration using free email addresses is prohibited. Please supply a different email address." -msgstr "禁止使用免費 Email 地址注冊,請提供一個另外的 Email 地址。" - -#: models.py:188 -msgid "user" -msgstr "用戶" - -#: models.py:189 -msgid "activation key" -msgstr "激活密鑰" - -#: models.py:194 -msgid "registration profile" -msgstr "注冊信息" - -#: models.py:195 -msgid "registration profiles" -msgstr "注冊信息" - diff --git a/requirements.txt b/requirements.txt index e82d4fc8..42bb5813 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,60 +1,70 @@ awesome-slugify==1.6 BeautifulSoup==3.2.1 beautifulsoup4==4.4.0 +chainmap==1.0.2 chardet==2.3.0 +contextlib2==0.5.4 +DAWG-Python==0.7.2 defusedxml==0.4.1 Django==1.5.12 -django-modeltranslation django-bitfield==1.6.4 django-ckeditor==4.0.2 django-crontab==0.6.0 django-debug-toolbar==1.2.1 -django-haystack==2.1.0 +django-haystack==2.3.2 django-hvad==1.2.0 django-model-utils==2.2 -django-multiupload==0.5 +django-modeltranslation==0.12 django-redis==4.0.0 django-redis-cache==0.13.1 +django-rosetta==0.7.6 django-sortedm2m==1.2.0 django-tinymce==2.0.5 django-widget-tweaks==1.4.1 djutils==0.3.2 +docopt==0.6.2 docutils==0.12 fpconst==0.7.2 gnureadline==6.3.3 html2text==2015.6.21 ipython==2.2.0 lxml==3.5.0b1 -MySQL-python==1.2.3 +microsofttranslator==0.5 +MySQL-python==1.2.5 +nltk==3.2.2 +numpy==1.12.0 oauthlib==0.6.1 +pandas==0.19.2 phonenumbers==6.0.0 -Pillow==2.5.3 +Pillow==3.4.2 +polib==1.0.8 pylibmc==1.2.3 pymorphy==0.5.6 +pymorphy2==0.8 +pymorphy2-dicts==2.4.393442.3710985 pysolr==3.2.0 python-dateutil==2.2 python-memcached==1.48 python-openid==2.2.5 python-social-auth==0.1.23 pytils==0.3 +pytz==2016.10 +raven==5.32.0 redis==2.10.1 regex==2014.11.14 requests==2.2.1 requests-oauthlib==0.4.0 +scipy==0.18.1 six==1.6.1 SOAPpy==0.12.22 solid-i18n==1.1.1 sorl-thumbnail==11.12.1b0 South==1.0.2 sqlparse==0.1.11 +suds==0.4 Unidecode==0.4.16 +uWSGI==2.0.14 vobject==0.8.2 wstools==0.4.3 xlrd==0.9.2 xlwt==0.7.5 -rosetta -scipy -numpy -nltk -pandas -suds diff --git a/schema.xml b/schema.xml index fbf52215..cb9d9e20 100644 --- a/schema.xml +++ b/schema.xml @@ -176,6 +176,8 @@ + + diff --git a/service/migrations/0002_auto.py b/service/migrations/0002_auto.py deleted file mode 100644 index ad5ec8b7..00000000 --- a/service/migrations/0002_auto.py +++ /dev/null @@ -1,825 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding M2M table for field exclude_expositions on 'LinkedService' - m2m_table_name = db.shorten_name(u'service_linkedservice_exclude_expositions') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('linkedservice', models.ForeignKey(orm[u'service.linkedservice'], null=False)), - ('exposition', models.ForeignKey(orm[u'exposition.exposition'], null=False)) - )) - db.create_unique(m2m_table_name, ['linkedservice_id', 'exposition_id']) - - # Adding M2M table for field exclude_conferences on 'LinkedService' - m2m_table_name = db.shorten_name(u'service_linkedservice_exclude_conferences') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('linkedservice', models.ForeignKey(orm[u'service.linkedservice'], null=False)), - ('conference', models.ForeignKey(orm[u'conference.conference'], null=False)) - )) - db.create_unique(m2m_table_name, ['linkedservice_id', 'conference_id']) - - - def backwards(self, orm): - # Removing M2M table for field exclude_expositions on 'LinkedService' - db.delete_table(db.shorten_name(u'service_linkedservice_exclude_expositions')) - - # Removing M2M table for field exclude_conferences on 'LinkedService' - db.delete_table(db.shorten_name(u'service_linkedservice_exclude_conferences')) - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 7, 8, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 7, 8, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'seminar.seminar': { - 'Meta': {'unique_together': '()', 'object_name': 'Seminar', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'on_delete': 'models.PROTECT'}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR')"}), - 'data_begin': ('django.db.models.fields.DateTimeField', [], {}), - 'data_end': ('django.db.models.fields.DateTimeField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'seminar_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'service.advertising': { - 'Meta': {'ordering': "['-created']", 'object_name': 'Advertising'}, - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.buildstand': { - 'Meta': {'ordering': "['-created']", 'object_name': 'BuildStand'}, - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.callback': { - 'Meta': {'ordering': "['-created']", 'object_name': 'CallBack'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '30'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.catalog': { - 'Meta': {'ordering': "['-created']", 'object_name': 'Catalog'}, - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.linkedservice': { - 'Meta': {'object_name': 'LinkedService'}, - 'conferences': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['conference.Conference']", 'symmetrical': 'False', 'blank': 'True'}), - 'countries': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['country.Country']", 'symmetrical': 'False', 'blank': 'True'}), - 'exclude_conferences': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'show_linkedservice_set'", 'blank': 'True', 'to': u"orm['conference.Conference']"}), - 'exclude_countries': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'exclude_expositions': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'show_linkedservice_set'", 'blank': 'True', 'to': u"orm['exposition.Exposition']"}), - 'expositions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['exposition.Exposition']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'service': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['service.Service']"}) - }, - u'service.participation': { - 'Meta': {'ordering': "['-created']", 'object_name': 'Participation'}, - 'area': ('django.db.models.fields.IntegerField', [], {'null': 'True'}), - 'area_type': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'company_inf': ('django.db.models.fields.TextField', [], {}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.remote': { - 'Meta': {'ordering': "['-created']", 'object_name': 'Remote'}, - 'additional': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'interested_participants': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.service': { - 'Meta': {'unique_together': '()', 'object_name': 'Service', 'index_together': '()'}, - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'meta_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'}), - 'params': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'template': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'type': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'service.servicetranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ServiceTranslation', 'db_table': "u'service_service_translation'", 'index_together': '()'}, - 'advantage': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['service.Service']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'service.tickets': { - 'Meta': {'ordering': "['-created']", 'object_name': 'Tickets'}, - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'days': ('django.db.models.fields.SmallIntegerField', [], {}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'people': ('django.db.models.fields.SmallIntegerField', [], {}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.translation': { - 'Meta': {'ordering': "['-created']", 'object_name': 'Translation'}, - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'days': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'blank': 'True'}), - 'hours': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'languages': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'themes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'blank': 'True'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.visit': { - 'Meta': {'ordering': "['-created']", 'object_name': 'Visit'}, - 'avia_tickets': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'avia_type': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'city_from': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'event_tickets': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'excursion': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {}), - 'hotel_additional': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'hotel_budget': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'hotel_budget_add': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'hotel_location': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'hotel_stars': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'languages': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'people': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'themes': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {}), - 'tr_employment_days': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tr_employment_hours': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'transfer': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'translator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'visa': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['service'] \ No newline at end of file diff --git a/service/migrations/0003_auto__add_field_catalog_referer1__add_field_catalog_referer2__add_fiel.py b/service/migrations/0003_auto__add_field_catalog_referer1__add_field_catalog_referer2__add_fiel.py deleted file mode 100644 index 1d143d9e..00000000 --- a/service/migrations/0003_auto__add_field_catalog_referer1__add_field_catalog_referer2__add_fiel.py +++ /dev/null @@ -1,1618 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding field 'Catalog.referer1' - db.add_column(u'service_catalog', 'referer1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Catalog.referer2' - db.add_column(u'service_catalog', 'referer2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Catalog.utm_source1' - db.add_column(u'service_catalog', 'utm_source1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Catalog.utm_medium1' - db.add_column(u'service_catalog', 'utm_medium1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Catalog.utm_campaign1' - db.add_column(u'service_catalog', 'utm_campaign1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Catalog.utm_source2' - db.add_column(u'service_catalog', 'utm_source2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Catalog.utm_medium2' - db.add_column(u'service_catalog', 'utm_medium2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Catalog.utm_campaign2' - db.add_column(u'service_catalog', 'utm_campaign2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Catalog.search1' - db.add_column(u'service_catalog', 'search1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Catalog.search2' - db.add_column(u'service_catalog', 'search2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Catalog.search3' - db.add_column(u'service_catalog', 'search3', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Visit.referer1' - db.add_column(u'service_visit', 'referer1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Visit.referer2' - db.add_column(u'service_visit', 'referer2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Visit.utm_source1' - db.add_column(u'service_visit', 'utm_source1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Visit.utm_medium1' - db.add_column(u'service_visit', 'utm_medium1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Visit.utm_campaign1' - db.add_column(u'service_visit', 'utm_campaign1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Visit.utm_source2' - db.add_column(u'service_visit', 'utm_source2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Visit.utm_medium2' - db.add_column(u'service_visit', 'utm_medium2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Visit.utm_campaign2' - db.add_column(u'service_visit', 'utm_campaign2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Visit.search1' - db.add_column(u'service_visit', 'search1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Visit.search2' - db.add_column(u'service_visit', 'search2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Visit.search3' - db.add_column(u'service_visit', 'search3', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Participation.referer1' - db.add_column(u'service_participation', 'referer1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Participation.referer2' - db.add_column(u'service_participation', 'referer2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Participation.utm_source1' - db.add_column(u'service_participation', 'utm_source1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Participation.utm_medium1' - db.add_column(u'service_participation', 'utm_medium1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Participation.utm_campaign1' - db.add_column(u'service_participation', 'utm_campaign1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Participation.utm_source2' - db.add_column(u'service_participation', 'utm_source2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Participation.utm_medium2' - db.add_column(u'service_participation', 'utm_medium2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Participation.utm_campaign2' - db.add_column(u'service_participation', 'utm_campaign2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Participation.search1' - db.add_column(u'service_participation', 'search1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Participation.search2' - db.add_column(u'service_participation', 'search2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Participation.search3' - db.add_column(u'service_participation', 'search3', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Advertising.referer1' - db.add_column(u'service_advertising', 'referer1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Advertising.referer2' - db.add_column(u'service_advertising', 'referer2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Advertising.utm_source1' - db.add_column(u'service_advertising', 'utm_source1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Advertising.utm_medium1' - db.add_column(u'service_advertising', 'utm_medium1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Advertising.utm_campaign1' - db.add_column(u'service_advertising', 'utm_campaign1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Advertising.utm_source2' - db.add_column(u'service_advertising', 'utm_source2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Advertising.utm_medium2' - db.add_column(u'service_advertising', 'utm_medium2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Advertising.utm_campaign2' - db.add_column(u'service_advertising', 'utm_campaign2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Advertising.search1' - db.add_column(u'service_advertising', 'search1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Advertising.search2' - db.add_column(u'service_advertising', 'search2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Advertising.search3' - db.add_column(u'service_advertising', 'search3', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Remote.referer1' - db.add_column(u'service_remote', 'referer1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Remote.referer2' - db.add_column(u'service_remote', 'referer2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Remote.utm_source1' - db.add_column(u'service_remote', 'utm_source1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Remote.utm_medium1' - db.add_column(u'service_remote', 'utm_medium1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Remote.utm_campaign1' - db.add_column(u'service_remote', 'utm_campaign1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Remote.utm_source2' - db.add_column(u'service_remote', 'utm_source2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Remote.utm_medium2' - db.add_column(u'service_remote', 'utm_medium2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Remote.utm_campaign2' - db.add_column(u'service_remote', 'utm_campaign2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Remote.search1' - db.add_column(u'service_remote', 'search1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Remote.search2' - db.add_column(u'service_remote', 'search2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Remote.search3' - db.add_column(u'service_remote', 'search3', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'BuildStand.referer1' - db.add_column(u'service_buildstand', 'referer1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'BuildStand.referer2' - db.add_column(u'service_buildstand', 'referer2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'BuildStand.utm_source1' - db.add_column(u'service_buildstand', 'utm_source1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'BuildStand.utm_medium1' - db.add_column(u'service_buildstand', 'utm_medium1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'BuildStand.utm_campaign1' - db.add_column(u'service_buildstand', 'utm_campaign1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'BuildStand.utm_source2' - db.add_column(u'service_buildstand', 'utm_source2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'BuildStand.utm_medium2' - db.add_column(u'service_buildstand', 'utm_medium2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'BuildStand.utm_campaign2' - db.add_column(u'service_buildstand', 'utm_campaign2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'BuildStand.search1' - db.add_column(u'service_buildstand', 'search1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'BuildStand.search2' - db.add_column(u'service_buildstand', 'search2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'BuildStand.search3' - db.add_column(u'service_buildstand', 'search3', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Tickets.referer1' - db.add_column(u'service_tickets', 'referer1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Tickets.referer2' - db.add_column(u'service_tickets', 'referer2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Tickets.utm_source1' - db.add_column(u'service_tickets', 'utm_source1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Tickets.utm_medium1' - db.add_column(u'service_tickets', 'utm_medium1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Tickets.utm_campaign1' - db.add_column(u'service_tickets', 'utm_campaign1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Tickets.utm_source2' - db.add_column(u'service_tickets', 'utm_source2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Tickets.utm_medium2' - db.add_column(u'service_tickets', 'utm_medium2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Tickets.utm_campaign2' - db.add_column(u'service_tickets', 'utm_campaign2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Tickets.search1' - db.add_column(u'service_tickets', 'search1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Tickets.search2' - db.add_column(u'service_tickets', 'search2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Tickets.search3' - db.add_column(u'service_tickets', 'search3', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Translation.referer1' - db.add_column(u'service_translation', 'referer1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Translation.referer2' - db.add_column(u'service_translation', 'referer2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Translation.utm_source1' - db.add_column(u'service_translation', 'utm_source1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Translation.utm_medium1' - db.add_column(u'service_translation', 'utm_medium1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Translation.utm_campaign1' - db.add_column(u'service_translation', 'utm_campaign1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Translation.utm_source2' - db.add_column(u'service_translation', 'utm_source2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Translation.utm_medium2' - db.add_column(u'service_translation', 'utm_medium2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Translation.utm_campaign2' - db.add_column(u'service_translation', 'utm_campaign2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Translation.search1' - db.add_column(u'service_translation', 'search1', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Translation.search2' - db.add_column(u'service_translation', 'search2', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Translation.search3' - db.add_column(u'service_translation', 'search3', - self.gf('django.db.models.fields.TextField')(null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Catalog.referer1' - db.delete_column(u'service_catalog', 'referer1') - - # Deleting field 'Catalog.referer2' - db.delete_column(u'service_catalog', 'referer2') - - # Deleting field 'Catalog.utm_source1' - db.delete_column(u'service_catalog', 'utm_source1') - - # Deleting field 'Catalog.utm_medium1' - db.delete_column(u'service_catalog', 'utm_medium1') - - # Deleting field 'Catalog.utm_campaign1' - db.delete_column(u'service_catalog', 'utm_campaign1') - - # Deleting field 'Catalog.utm_source2' - db.delete_column(u'service_catalog', 'utm_source2') - - # Deleting field 'Catalog.utm_medium2' - db.delete_column(u'service_catalog', 'utm_medium2') - - # Deleting field 'Catalog.utm_campaign2' - db.delete_column(u'service_catalog', 'utm_campaign2') - - # Deleting field 'Catalog.search1' - db.delete_column(u'service_catalog', 'search1') - - # Deleting field 'Catalog.search2' - db.delete_column(u'service_catalog', 'search2') - - # Deleting field 'Catalog.search3' - db.delete_column(u'service_catalog', 'search3') - - # Deleting field 'Visit.referer1' - db.delete_column(u'service_visit', 'referer1') - - # Deleting field 'Visit.referer2' - db.delete_column(u'service_visit', 'referer2') - - # Deleting field 'Visit.utm_source1' - db.delete_column(u'service_visit', 'utm_source1') - - # Deleting field 'Visit.utm_medium1' - db.delete_column(u'service_visit', 'utm_medium1') - - # Deleting field 'Visit.utm_campaign1' - db.delete_column(u'service_visit', 'utm_campaign1') - - # Deleting field 'Visit.utm_source2' - db.delete_column(u'service_visit', 'utm_source2') - - # Deleting field 'Visit.utm_medium2' - db.delete_column(u'service_visit', 'utm_medium2') - - # Deleting field 'Visit.utm_campaign2' - db.delete_column(u'service_visit', 'utm_campaign2') - - # Deleting field 'Visit.search1' - db.delete_column(u'service_visit', 'search1') - - # Deleting field 'Visit.search2' - db.delete_column(u'service_visit', 'search2') - - # Deleting field 'Visit.search3' - db.delete_column(u'service_visit', 'search3') - - # Deleting field 'Participation.referer1' - db.delete_column(u'service_participation', 'referer1') - - # Deleting field 'Participation.referer2' - db.delete_column(u'service_participation', 'referer2') - - # Deleting field 'Participation.utm_source1' - db.delete_column(u'service_participation', 'utm_source1') - - # Deleting field 'Participation.utm_medium1' - db.delete_column(u'service_participation', 'utm_medium1') - - # Deleting field 'Participation.utm_campaign1' - db.delete_column(u'service_participation', 'utm_campaign1') - - # Deleting field 'Participation.utm_source2' - db.delete_column(u'service_participation', 'utm_source2') - - # Deleting field 'Participation.utm_medium2' - db.delete_column(u'service_participation', 'utm_medium2') - - # Deleting field 'Participation.utm_campaign2' - db.delete_column(u'service_participation', 'utm_campaign2') - - # Deleting field 'Participation.search1' - db.delete_column(u'service_participation', 'search1') - - # Deleting field 'Participation.search2' - db.delete_column(u'service_participation', 'search2') - - # Deleting field 'Participation.search3' - db.delete_column(u'service_participation', 'search3') - - # Deleting field 'Advertising.referer1' - db.delete_column(u'service_advertising', 'referer1') - - # Deleting field 'Advertising.referer2' - db.delete_column(u'service_advertising', 'referer2') - - # Deleting field 'Advertising.utm_source1' - db.delete_column(u'service_advertising', 'utm_source1') - - # Deleting field 'Advertising.utm_medium1' - db.delete_column(u'service_advertising', 'utm_medium1') - - # Deleting field 'Advertising.utm_campaign1' - db.delete_column(u'service_advertising', 'utm_campaign1') - - # Deleting field 'Advertising.utm_source2' - db.delete_column(u'service_advertising', 'utm_source2') - - # Deleting field 'Advertising.utm_medium2' - db.delete_column(u'service_advertising', 'utm_medium2') - - # Deleting field 'Advertising.utm_campaign2' - db.delete_column(u'service_advertising', 'utm_campaign2') - - # Deleting field 'Advertising.search1' - db.delete_column(u'service_advertising', 'search1') - - # Deleting field 'Advertising.search2' - db.delete_column(u'service_advertising', 'search2') - - # Deleting field 'Advertising.search3' - db.delete_column(u'service_advertising', 'search3') - - # Deleting field 'Remote.referer1' - db.delete_column(u'service_remote', 'referer1') - - # Deleting field 'Remote.referer2' - db.delete_column(u'service_remote', 'referer2') - - # Deleting field 'Remote.utm_source1' - db.delete_column(u'service_remote', 'utm_source1') - - # Deleting field 'Remote.utm_medium1' - db.delete_column(u'service_remote', 'utm_medium1') - - # Deleting field 'Remote.utm_campaign1' - db.delete_column(u'service_remote', 'utm_campaign1') - - # Deleting field 'Remote.utm_source2' - db.delete_column(u'service_remote', 'utm_source2') - - # Deleting field 'Remote.utm_medium2' - db.delete_column(u'service_remote', 'utm_medium2') - - # Deleting field 'Remote.utm_campaign2' - db.delete_column(u'service_remote', 'utm_campaign2') - - # Deleting field 'Remote.search1' - db.delete_column(u'service_remote', 'search1') - - # Deleting field 'Remote.search2' - db.delete_column(u'service_remote', 'search2') - - # Deleting field 'Remote.search3' - db.delete_column(u'service_remote', 'search3') - - # Deleting field 'BuildStand.referer1' - db.delete_column(u'service_buildstand', 'referer1') - - # Deleting field 'BuildStand.referer2' - db.delete_column(u'service_buildstand', 'referer2') - - # Deleting field 'BuildStand.utm_source1' - db.delete_column(u'service_buildstand', 'utm_source1') - - # Deleting field 'BuildStand.utm_medium1' - db.delete_column(u'service_buildstand', 'utm_medium1') - - # Deleting field 'BuildStand.utm_campaign1' - db.delete_column(u'service_buildstand', 'utm_campaign1') - - # Deleting field 'BuildStand.utm_source2' - db.delete_column(u'service_buildstand', 'utm_source2') - - # Deleting field 'BuildStand.utm_medium2' - db.delete_column(u'service_buildstand', 'utm_medium2') - - # Deleting field 'BuildStand.utm_campaign2' - db.delete_column(u'service_buildstand', 'utm_campaign2') - - # Deleting field 'BuildStand.search1' - db.delete_column(u'service_buildstand', 'search1') - - # Deleting field 'BuildStand.search2' - db.delete_column(u'service_buildstand', 'search2') - - # Deleting field 'BuildStand.search3' - db.delete_column(u'service_buildstand', 'search3') - - # Deleting field 'Tickets.referer1' - db.delete_column(u'service_tickets', 'referer1') - - # Deleting field 'Tickets.referer2' - db.delete_column(u'service_tickets', 'referer2') - - # Deleting field 'Tickets.utm_source1' - db.delete_column(u'service_tickets', 'utm_source1') - - # Deleting field 'Tickets.utm_medium1' - db.delete_column(u'service_tickets', 'utm_medium1') - - # Deleting field 'Tickets.utm_campaign1' - db.delete_column(u'service_tickets', 'utm_campaign1') - - # Deleting field 'Tickets.utm_source2' - db.delete_column(u'service_tickets', 'utm_source2') - - # Deleting field 'Tickets.utm_medium2' - db.delete_column(u'service_tickets', 'utm_medium2') - - # Deleting field 'Tickets.utm_campaign2' - db.delete_column(u'service_tickets', 'utm_campaign2') - - # Deleting field 'Tickets.search1' - db.delete_column(u'service_tickets', 'search1') - - # Deleting field 'Tickets.search2' - db.delete_column(u'service_tickets', 'search2') - - # Deleting field 'Tickets.search3' - db.delete_column(u'service_tickets', 'search3') - - # Deleting field 'Translation.referer1' - db.delete_column(u'service_translation', 'referer1') - - # Deleting field 'Translation.referer2' - db.delete_column(u'service_translation', 'referer2') - - # Deleting field 'Translation.utm_source1' - db.delete_column(u'service_translation', 'utm_source1') - - # Deleting field 'Translation.utm_medium1' - db.delete_column(u'service_translation', 'utm_medium1') - - # Deleting field 'Translation.utm_campaign1' - db.delete_column(u'service_translation', 'utm_campaign1') - - # Deleting field 'Translation.utm_source2' - db.delete_column(u'service_translation', 'utm_source2') - - # Deleting field 'Translation.utm_medium2' - db.delete_column(u'service_translation', 'utm_medium2') - - # Deleting field 'Translation.utm_campaign2' - db.delete_column(u'service_translation', 'utm_campaign2') - - # Deleting field 'Translation.search1' - db.delete_column(u'service_translation', 'search1') - - # Deleting field 'Translation.search2' - db.delete_column(u'service_translation', 'search2') - - # Deleting field 'Translation.search3' - db.delete_column(u'service_translation', 'search3') - - - models = { - u'accounts.user': { - 'Meta': {'ordering': "['-rating']", 'object_name': 'User'}, - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'company': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'users'", 'null': 'True', 'to': u"orm['company.Company']"}), - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'date_modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'date_registered': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'db_index': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - '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': 'False'}), - 'is_admin': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - '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': '255'}), - 'organiser': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['organiser.Organiser']", 'unique': 'True', 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'translator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'user'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['translator.Translator']", 'blank': 'True', 'unique': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'blank': 'True'}), - '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': '255', 'db_index': 'True'}) - }, - 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'city.city': { - 'Meta': {'unique_together': '()', 'object_name': 'City', 'index_together': '()'}, - 'code_IATA': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['directories.Iata']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'cities'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'company.company': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'blocked': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'created_company'", 'null': 'True', 'to': u"orm['accounts.User']"}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '100'}), - 'staff_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'conference.conference': { - 'Meta': {'unique_together': '()', 'object_name': 'Conference', 'index_together': '()'}, - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'conference_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'conference_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0', 'db_index': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'conference_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'conference_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - 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'}) - }, - u'country.area': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Area', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'country.country': { - 'Meta': {'ordering': "['translations__name']", 'unique_together': '()', 'object_name': 'Country', 'index_together': '()'}, - 'area': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Area']"}), - 'big_cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'cities'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'capital': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'capital'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'country_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Currency']", 'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['directories.Language']", 'null': 'True', 'blank': 'True'}), - 'latitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'longitude': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '55'}), - 'phone_code': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'population': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'teritory': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'time_delivery': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'timezone': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'directories.currency': { - 'Meta': {'unique_together': '()', 'object_name': 'Currency', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '3'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.iata': { - 'Meta': {'object_name': 'Iata'}, - 'airport': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - u'directories.language': { - 'Meta': {'unique_together': '()', 'object_name': 'Language', 'index_together': '()'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '255'}) - }, - u'expobanner.banner': { - 'Meta': {'ordering': "['sort']", 'object_name': 'Banner'}, - 'alt': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'cookie': ('django.db.models.fields.CharField', [], {'default': "'expo_b_default_popup'", 'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), - 'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 25, 0, 0)'}), - 'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), - 'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img': ('django.db.models.fields.files.FileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'link': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'often': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1'}), - 'paid': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'popup': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sort': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '500'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'text': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'urls': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'url_banners'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['expobanner.URL']"}) - }, - u'expobanner.bannergroup': { - 'Meta': {'ordering': "['name']", 'object_name': 'BannerGroup'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'speed': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '2000'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '0'}) - }, - u'expobanner.customer': { - 'Meta': {'ordering': "['name']", 'object_name': 'Customer'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - u'expobanner.mainpage': { - 'Meta': {'ordering': "['-public']", 'object_name': 'MainPage'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - u'expobanner.paid': { - 'Meta': {'ordering': "['-public']", 'object_name': 'Paid'}, - 'catalog': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_catalog'", 'to': u"orm['expobanner.Banner']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'kind': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '1', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'official': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_official'", 'to': u"orm['expobanner.Banner']"}), - 'organiser': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}), - 'participation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_participation'", 'null': 'True', 'to': u"orm['expobanner.Banner']"}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'tickets': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'paid_tickets'", 'to': u"orm['expobanner.Banner']"}) - }, - u'expobanner.top': { - 'Meta': {'ordering': "['position']", 'object_name': 'Top'}, - 'base_catalog': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'catalog': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'cities': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'top_in_set'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['city.City']"}), - 'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), - 'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), - 'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 10, 25, 0, 0)'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), - 'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'position': ('django.db.models.fields.PositiveIntegerField', [], {'default': '2', 'null': 'True', 'blank': 'True'}), - 'stat_pswd': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'years': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': 'None', 'null': 'True', 'blank': 'True'}) - }, - u'expobanner.url': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'URL'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'regex': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'site_urls'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['sites.Site']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url': ('django.db.models.fields.CharField', [], {'max_length': '2048'}) - }, - u'exposition.exposition': { - 'Meta': {'unique_together': '()', 'object_name': 'Exposition', 'index_together': '()'}, - 'application_deadline': ('django.db.models.fields.DateField', [], {'null': 'True'}), - 'area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'audience': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'bad_url': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_city'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'exposition_country'", 'on_delete': 'models.PROTECT', 'to': u"orm['country.Country']"}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_creator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': u"orm['accounts.User']"}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR', 'RMB', 'GBP', 'AED', 'SGD', 'TRY', 'CZK', 'CHF', 'SEK', 'LKR', 'UAH', 'IDR', 'PLN', 'JPY')"}), - 'data_begin': ('django.db.models.fields.DateField', [], {'db_index': 'True'}), - 'data_end': ('django.db.models.fields.DateField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'main': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.MainPage']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'max_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'min_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_closed_equipped_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_stand_size': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'org': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'paid_new': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Paid']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'periodic': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'place': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'exposition_place'", 'null': 'True', 'on_delete': 'models.PROTECT', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'place_alt': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'price_catalog': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_choice_eur': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'price_eur': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'price_rub': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'registration_link': ('django.db.models.fields.URLField', [], {'max_length': '255', 'blank': 'True'}), - 'registration_payment': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'exposition_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'exposition_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'visitors_choice': ('django.db.models.fields.PositiveSmallIntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'file.filemodel': { - 'Meta': {'unique_together': '()', 'object_name': 'FileModel', 'index_together': '()'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'file_path': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), - 'file_type': ('functions.custom_fields.EnumField', [], {'default': "'PDF'", 'values': "('PDF', 'DOC', 'TXT', 'OTHER', 'JPG', 'BMP', 'PNG', 'GIF')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'img_height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'img_width': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'purpose': ('functions.custom_fields.EnumField', [], {'default': "'photo'", 'values': "['photo', 'flat', 'logo', 'map', 'scheme teritory', 'diplom', 'preview', 'preview2']"}) - }, - u'note.note': { - 'Meta': {'object_name': 'Note'}, - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'text': ('django.db.models.fields.TextField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) - }, - u'organiser.organiser': { - 'Meta': {'unique_together': '()', 'object_name': 'Organiser', 'index_together': '()'}, - 'active': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'address': ('functions.custom_fields.LocationField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'null': 'True', 'on_delete': 'models.PROTECT', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'events_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'facebook': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'linkedin': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'place_conference': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_conference'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_conference.PlaceConference']"}), - 'place_exposition': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'organiser_place_exposition'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['place_exposition.PlaceExposition']"}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'staff_number': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Theme']", 'null': 'True', 'blank': 'True'}), - 'twitter': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'url': ('django.db.models.fields.SlugField', [], {'max_length': '255', 'blank': 'True'}), - 'vk': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.gallery': { - 'Meta': {'ordering': "['-date_added']", 'unique_together': '()', 'object_name': 'Gallery', 'index_together': '()'}, - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'photos': ('sortedm2m.fields.SortedManyToManyField', [], {'blank': 'True', 'related_name': "'galleries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['photologue.Photo']"}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'photologue.photo': { - 'Meta': {'ordering': "['sort']", 'unique_together': '()', 'object_name': 'Photo', 'index_together': '()'}, - 'crop_from': ('django.db.models.fields.CharField', [], {'default': "'center'", 'max_length': '10', 'blank': 'True'}), - 'date_added': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'effect': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'photo_related'", 'null': 'True', 'to': u"orm['photologue.PhotoEffect']"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}), - 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['sites.Site']", 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '10', 'null': 'True', 'db_index': 'True'}), - 'tags': ('photologue.models.TagField', [], {'max_length': '255', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['photologue.UserMark']", 'null': 'True', 'symmetrical': 'False'}), - 'view_count': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}) - }, - u'photologue.photoeffect': { - 'Meta': {'object_name': 'PhotoEffect'}, - 'background_color': ('django.db.models.fields.CharField', [], {'default': "'#FFFFFF'", 'max_length': '7'}), - 'brightness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'color': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'contrast': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'filters': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'reflection_size': ('django.db.models.fields.FloatField', [], {'default': '0'}), - 'reflection_strength': ('django.db.models.fields.FloatField', [], {'default': '0.6'}), - 'sharpness': ('django.db.models.fields.FloatField', [], {'default': '1.0'}), - 'transpose_method': ('django.db.models.fields.CharField', [], {'max_length': '15', 'blank': 'True'}) - }, - u'photologue.usermark': { - 'Meta': {'object_name': 'UserMark'}, - 'height': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'top': ('django.db.models.fields.PositiveSmallIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'marks'", 'to': u"orm['accounts.User']"}), - 'width': ('django.db.models.fields.PositiveSmallIntegerField', [], {}) - }, - u'place_conference.placeconference': { - 'Meta': {'unique_together': '()', 'object_name': 'PlaceConference', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'amount_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'banquet_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'catering': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_conferences'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'conference_call': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'exp_hall_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'exposition_hall': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'hotel': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'multimedia_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_capacity': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'translate_equipment': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Convention centre'", 'values': "['Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'video_link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'place_exposition.placeexposition': { - 'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'PlaceExposition', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {}), - 'bank': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'business_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'cafe': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'children_room': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'place_expositions'", 'on_delete': 'models.PROTECT', 'to': u"orm['city.City']"}), - 'closed_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'conference_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'disabled_service': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'event_in_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fax': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'blank': 'True'}), - 'mobile_application': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'online_registration': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'open_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'parking': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'partner': ('django.db.models.fields.NullBooleanField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'photogallery': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['photologue.Gallery']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'press_centre': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'terminals': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'top': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Top']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'total_area': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_halls': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_pavilions': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('functions.custom_fields.EnumField', [], {'default': "'Exposition complex'", 'values': "['Exposition complex', 'Convention centre', 'Exposition centre']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'virtual_tour': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}), - 'wifi': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - u'seminar.seminar': { - 'Meta': {'unique_together': '()', 'object_name': 'Seminar', 'index_together': '()'}, - 'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), - 'canceled': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'canceled_by_administrator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'city': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['city.City']", 'on_delete': 'models.PROTECT'}), - 'company': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_companies'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['company.Company']"}), - 'country': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['country.Country']", 'on_delete': 'models.PROTECT'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "'RUB'", 'values': "('RUB', 'USD', 'EUR')"}), - 'data_begin': ('django.db.models.fields.DateTimeField', [], {}), - 'data_end': ('django.db.models.fields.DateTimeField', [], {}), - 'discount': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'expohit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'foundation_year': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'link': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'max_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'members': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'min_price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'moved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'organiser': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_organisers'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['organiser.Organiser']"}), - 'quality_label': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'tag': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_tags'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['theme.Tag']"}), - 'tax': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'theme': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'seminar_themes'", 'symmetrical': 'False', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'seminar_users'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['accounts.User']"}), - 'views': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), - 'visitors': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'web_page': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'service.advertising': { - 'Meta': {'ordering': "['-created']", 'object_name': 'Advertising'}, - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'type': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.buildstand': { - 'Meta': {'ordering': "['-created']", 'object_name': 'BuildStand'}, - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.callback': { - 'Meta': {'ordering': "['-created']", 'object_name': 'CallBack'}, - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '30'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.catalog': { - 'Meta': {'ordering': "['-created']", 'object_name': 'Catalog'}, - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.linkedservice': { - 'Meta': {'object_name': 'LinkedService'}, - 'conferences': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['conference.Conference']", 'symmetrical': 'False', 'blank': 'True'}), - 'countries': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['country.Country']", 'symmetrical': 'False', 'blank': 'True'}), - 'exclude_conferences': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'show_linkedservice_set'", 'blank': 'True', 'to': u"orm['conference.Conference']"}), - 'exclude_countries': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'exclude_expositions': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'show_linkedservice_set'", 'blank': 'True', 'to': u"orm['exposition.Exposition']"}), - 'expositions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['exposition.Exposition']", 'symmetrical': 'False', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'service': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['service.Service']"}) - }, - u'service.participation': { - 'Meta': {'ordering': "['-created']", 'object_name': 'Participation'}, - 'area': ('django.db.models.fields.IntegerField', [], {'null': 'True'}), - 'area_type': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'company_inf': ('django.db.models.fields.TextField', [], {}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.remote': { - 'Meta': {'ordering': "['-created']", 'object_name': 'Remote'}, - 'additional': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'interested_participants': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.service': { - 'Meta': {'unique_together': '()', 'object_name': 'Service', 'index_together': '()'}, - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'main_page': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'meta_id': ('django.db.models.fields.IntegerField', [], {'null': 'True'}), - 'params': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'price': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'sort': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'template': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'type': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) - }, - u'service.servicetranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'ServiceTranslation', 'db_table': "u'service_service_translation'", 'index_together': '()'}, - 'advantage': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {}), - 'descriptions': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'keywords': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'main_title': ('django.db.models.fields.TextField', [], {}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['service.Service']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}) - }, - u'service.tickets': { - 'Meta': {'ordering': "['-created']", 'object_name': 'Tickets'}, - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'days': ('django.db.models.fields.SmallIntegerField', [], {}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'people': ('django.db.models.fields.SmallIntegerField', [], {}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.translation': { - 'Meta': {'ordering': "['-created']", 'object_name': 'Translation'}, - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'days': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {'blank': 'True'}), - 'hours': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'languages': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'themes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {'blank': 'True'}), - 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}) - }, - u'service.visit': { - 'Meta': {'ordering': "['-created']", 'object_name': 'Visit'}, - 'avia_tickets': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'avia_type': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'city': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'city_from': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'currency': ('functions.custom_fields.EnumField', [], {'default': "''", 'values': "('', 'USD', 'RUB', 'EUR')", 'blank': 'True'}), - 'event': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'event_tickets': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'excursion': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), - 'fr': ('django.db.models.fields.DateField', [], {}), - 'hotel_additional': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'hotel_budget': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'hotel_budget_add': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'hotel_location': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'hotel_stars': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'languages': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'blank': 'True'}), - 'people': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}), - 'person_inf': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'phone': ('django.db.models.fields.BigIntegerField', [], {}), - 'price': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'referer1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'referer2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'search3': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'seminar': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['seminar.Seminar']", 'null': 'True'}), - 'themes': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'to': ('django.db.models.fields.DateField', [], {}), - 'tr_employment_days': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tr_employment_hours': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}), - 'transfer': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'translator': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'utm_campaign1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_campaign2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_medium2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source1': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'utm_source2': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'viewed': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'visa': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) - }, - u'sites.site': { - 'Meta': {'ordering': "('domain',)", 'object_name': 'Site', 'db_table': "'django_site'"}, - 'domain': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - u'theme.tag': { - 'Meta': {'unique_together': '()', 'object_name': 'Tag', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'theme': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tags'", 'on_delete': 'models.PROTECT', 'to': u"orm['theme.Theme']"}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'theme.theme': { - 'Meta': {'unique_together': '()', 'object_name': 'Theme', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inflect': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'main_page_conf': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'main_page_expo': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0', 'db_index': 'True'}), - 'old_url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}), - 'types': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), - 'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '255'}) - }, - u'translator.translator': { - 'Meta': {'unique_together': '()', 'object_name': 'Translator', 'index_together': '()'}, - 'birth': ('django.db.models.fields.DateField', [], {}), - 'car': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'gender': ('functions.custom_fields.EnumField', [], {'default': "'male'", 'values': "('male', 'female')"}), - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - } - } - - complete_apps = ['service'] \ No newline at end of file diff --git a/settings/migrations/0001_initial.py b/settings/migrations/0001_initial.py deleted file mode 100644 index 7f88b41d..00000000 --- a/settings/migrations/0001_initial.py +++ /dev/null @@ -1,57 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding model 'HtmlTranslation' - db.create_table(u'settings_html_translation', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('text', self.gf('django.db.models.fields.TextField')()), - ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), - ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['settings.Html'])), - )) - db.send_create_signal(u'settings', ['HtmlTranslation']) - - # Adding unique constraint on 'HtmlTranslation', fields ['language_code', 'master'] - db.create_unique(u'settings_html_translation', ['language_code', 'master_id']) - - # Adding model 'Html' - db.create_table(u'settings_html', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(max_length=100, blank=True)), - )) - db.send_create_signal(u'settings', ['Html']) - - - def backwards(self, orm): - # Removing unique constraint on 'HtmlTranslation', fields ['language_code', 'master'] - db.delete_unique(u'settings_html_translation', ['language_code', 'master_id']) - - # Deleting model 'HtmlTranslation' - db.delete_table(u'settings_html_translation') - - # Deleting model 'Html' - db.delete_table(u'settings_html') - - - models = { - u'settings.html': { - 'Meta': {'unique_together': '()', 'object_name': 'Html', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}) - }, - u'settings.htmltranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'HtmlTranslation', 'db_table': "u'settings_html_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['settings.Html']"}), - 'text': ('django.db.models.fields.TextField', [], {}) - } - } - - complete_apps = ['settings'] \ No newline at end of file diff --git a/settings/migrations/0002_auto__add_landingcomment__add_landingcommenttranslation__add_unique_la.py b/settings/migrations/0002_auto__add_landingcomment__add_landingcommenttranslation__add_unique_la.py deleted file mode 100644 index 00373db9..00000000 --- a/settings/migrations/0002_auto__add_landingcomment__add_landingcommenttranslation__add_unique_la.py +++ /dev/null @@ -1,73 +0,0 @@ -# -*- coding: utf-8 -*- -from south.utils import datetime_utils as datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - # Adding model 'LandingComment' - db.create_table(u'settings_landingcomment', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('logo', self.gf('django.db.models.fields.files.ImageField')(max_length=255)), - )) - db.send_create_signal(u'settings', ['LandingComment']) - - # Adding model 'LandingCommentTranslation' - db.create_table(u'settings_landingcomment_translation', ( - (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('text', self.gf('django.db.models.fields.TextField')()), - ('name', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('position', self.gf('django.db.models.fields.CharField')(max_length=255)), - ('language_code', self.gf('django.db.models.fields.CharField')(max_length=15, db_index=True)), - ('master', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', null=True, to=orm['settings.LandingComment'])), - )) - db.send_create_signal(u'settings', ['LandingCommentTranslation']) - - # Adding unique constraint on 'LandingCommentTranslation', fields ['language_code', 'master'] - db.create_unique(u'settings_landingcomment_translation', ['language_code', 'master_id']) - - - def backwards(self, orm): - # Removing unique constraint on 'LandingCommentTranslation', fields ['language_code', 'master'] - db.delete_unique(u'settings_landingcomment_translation', ['language_code', 'master_id']) - - # Deleting model 'LandingComment' - db.delete_table(u'settings_landingcomment') - - # Deleting model 'LandingCommentTranslation' - db.delete_table(u'settings_landingcomment_translation') - - - models = { - u'settings.html': { - 'Meta': {'unique_together': '()', 'object_name': 'Html', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}) - }, - u'settings.htmltranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'HtmlTranslation', 'db_table': "u'settings_html_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['settings.Html']"}), - 'text': ('django.db.models.fields.TextField', [], {}) - }, - u'settings.landingcomment': { - 'Meta': {'unique_together': '()', 'object_name': 'LandingComment', 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '255'}) - }, - u'settings.landingcommenttranslation': { - 'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'LandingCommentTranslation', 'db_table': "u'settings_landingcomment_translation'", 'index_together': '()'}, - u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}), - 'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['settings.LandingComment']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'position': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'text': ('django.db.models.fields.TextField', [], {}) - } - } - - complete_apps = ['settings'] \ No newline at end of file diff --git a/static/client/css/main.css b/static/client/css/main.css index ea2e60ad..e704095d 100644 --- a/static/client/css/main.css +++ b/static/client/css/main.css @@ -1562,6 +1562,11 @@ button:hover { width: 265px; cursor: pointer } +.pw-reg button[disabled], +.pw-reg button[disabled]:hover{ + background: #666666; + cursor: default; +} button[class*=icon-]:before { content: ' '; display: inline-block; @@ -4012,6 +4017,23 @@ form.s-message { padding-left: 100px; margin-bottom: 0 } + +.m-article .expo-place-events .cl-item .cl-item-wrap{ + margin-bottom: 10px; +} + +.expo-place-events .cat-list>li>footer{ + padding-left: 100px; +} + +.expo-place-events .sect-title .button{ + float: right; +} + +.m-article .expo-place-events .sect-title a.orange{ + color: #ff6600; +} + .cl-item .cl-item-wrap>a { color: #464646; text-decoration: none @@ -4982,6 +5004,13 @@ dl.add-info dd a:hover { display: inline-block; vertical-align: middle } +.i-address .place_link { + color: #464646; + text-decoration: none; +} +.i-address .place_link:hover{ + color: #ff6600; +} .i-address header .address { margin-right: 10px } @@ -4994,7 +5023,7 @@ dl.add-info dd a:hover { border-bottom: 1px dashed; margin-left: 15px } -.i-info .i-address.map-opened header a.toggle-map { +.i-info .i-address.map-opened .show-map a.toggle-map { display: none } .i-info .i-address a.toggle-map:hover { @@ -9827,6 +9856,10 @@ hr+.rq-note { display: block; padding: 3px 0 0 } +.blog_block .article_image img{ + max-width: 100%; + height: auto; +} .blog_avtor { padding: 20px 0 0; margin: 19px 0 0 @@ -14168,8 +14201,9 @@ blockquote{ } .new_article img{ - min-width: 100%; - height: auto !important; + width: 100%; + max-width: 100%; + height: auto; } .white_block{ diff --git a/static/client/css_min/main.min.css b/static/client/css_min/main.min.css index 5da6ce42..7689f363 100644 --- a/static/client/css_min/main.min.css +++ b/static/client/css_min/main.min.css @@ -1 +1 @@ -.authorisation-links a,.cabinet-links .cl-body,.header-body .header-top,.lang-switch li,nav ul{text-transform:uppercase}.page-wrap .layout .layout-wrap:after,hr{clear:both}a.l-button.ico:before,img{vertical-align:middle}.cabinet-links .cl-body a,.header-body .hb-wrap ul a,.page-wrap>header .logo a,.rub,a.l-button,a:hover{text-decoration:none}.button.orange,.e-price-wrap .button.big.orange,button{filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#ff8000', endColorstr='#ff6600', GradientType=0)}.a-graphic table,.calendar-container table,.mp-catalog-lists,.search-form-wrap,.sf-field,.tp-btn-wrap,.tp-wrap,.ui-datepicker table{border-collapse:collapse}button,html,input,select,textarea{color:#222}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}hr{height:1px;padding:0}fieldset{border:0;margin:0;padding:0}.chromeframe{background:#c00;color:#fee;padding:1em;margin:0;font-size:16px}.chromeframe a{color:#fee}.chromeframe a:hover{color:#fff}@font-face{font-family:dindisplay_pro;src:url(../fonts/pfdindisplaypro-med-webfont.eot);src:url(../fonts/pfdindisplaypro-med-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pfdindisplaypro-med-webfont.woff) format('woff'),url(../fonts/pfdindisplaypro-med-webfont.ttf) format('truetype'),url(../fonts/pfdindisplaypro-med-webfont.svg#pf_dindisplay_promedium) format('svg');font-weight:500;font-style:normal}@font-face{font-family:dindisplay_pro;src:url(../fonts/pfdindisplaypro-thin-webfont.eot);src:url(../fonts/pfdindisplaypro-thin-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pfdindisplaypro-thin-webfont.ttf) format('truetype'),url(../fonts/pfdindisplaypro-thin-webfont.woff) format('woff');font-weight:100;font-style:normal}@font-face{font-family:dindisplay_pro;src:url(../fonts/pfdindisplaypro-light-webfont.eot);src:url(../fonts/pfdindisplaypro-light-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pfdindisplaypro-light-webfont.woff) format('woff'),url(../fonts/pfdindisplaypro-light-webfont.ttf) format('truetype');font-weight:300;font-style:normal}@font-face{font-family:dindisplay_pro;src:url(../fonts/pfdindisplaypro-italic-webfont.eot);src:url(../fonts/pfdindisplaypro-italic-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pfdindisplaypro-italic-webfont.woff) format('woff'),url(../fonts/pfdindisplaypro-italic-webfont.ttf) format('truetype');font-weight:400;font-style:italic}@font-face{font-family:dindisplay_pro;src:url(../fonts/pfdindisplaypro-bold-webfont.eot);src:url(../fonts/pfdindisplaypro-bold-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pfdindisplaypro-bold-webfont.ttf) format('truetype'),url(../fonts/pfdindisplaypro-bold-webfont.woff) format('woff');font-weight:700;font-style:normal}@font-face{font-family:dindisplay_pro;src:url(../fonts/pfdindisplaypro-reg-webfont.eot);src:url(../fonts/pfdindisplaypro-reg-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pfdindisplaypro-reg-webfont.woff) format('woff'),url(../fonts/pfdindisplaypro-reg-webfont.ttf) format('truetype');font-weight:400;font-style:normal}@font-face{font-family:pt_sans;src:url(../fonts/pts75f-webfont.eot);src:url(../fonts/pts75f-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pts75f-webfont.woff) format('woff'),url(../fonts/pts75f-webfont.ttf) format('truetype');font-weight:700;font-style:normal}@font-face{font-family:pt_sans;src:url(../fonts/pts55f-webfont.eot);src:url(../fonts/pts55f-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pts55f-webfont.woff) format('woff'),url(../fonts/pts55f-webfont.ttf) format('truetype');font-weight:400;font-style:normal}body,html{margin:0;padding:0;height:100%;background:#f8f8f6;color:#464646;font-family:Arial,'Helvetica Neue',sans-serif;font-weight:400;font-style:normal;font-size:13px;line-height:18px;-webkit-font-smoothing:antialiased}body{position:relative;height:auto;min-width:1024px}body.no-scroll{overflow:hidden}a{color:#f60;background:0 0;outline:0!important;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}a[class*=icon-]:before{content:' ';display:inline-block;vertical-align:middle;width:16px;height:16px;background:url(../img/sprites.png) no-repeat;margin-right:4px}a.icon-mail:before{width:15px;height:12px;background-position:-223px 0}a.icon-ext-link:before{width:15px;height:13px;background-position:-261px 0}hr{display:block;border:dotted #ccc;border-width:1px 0 0;margin:17px 0;background:0 0}.lt-ie9 .header-body .header-top,.lt-ie9 .main-page .page-wrap .header-wrap{border-bottom:1px solid #ddd}.e-details .item-wrap.event+hr{margin-top:5px}.rub{font-style:normal}.rub:before{content:'\20CF';font-family:pt_sans,sans-serif}.rub i{display:none}.page-wrap{-moz-box-sizing:border-box;box-sizing:border-box;width:1024px;max-width:1310px;padding:0 7px;margin:0 auto}.page-wrap .layout{padding-left:13px}.page-wrap .layout .layout-wrap{padding-left:220px}.page-wrap .layout .layout-wrap:after,.page-wrap .layout .layout-wrap:before{content:" ";display:table}.page-wrap .layout .layout-wrap>*{-moz-box-sizing:border-box;box-sizing:border-box}.page-wrap .layout .layout-wrap>aside{position:relative;float:left;width:220px;padding-right:40px;margin:0 -100% 0 -220px}.page-wrap .layout.main-part .layout-wrap>aside{padding-top:30px}.page-wrap .layout .layout-wrap>aside>.sbg{width:200em;height:150px;background:url(../img/search-bg.jpg) no-repeat #f60;position:absolute;margin-right:40px;right:100%;top:0;border-radius:4px}.page-wrap .layout .layout-wrap .mcl{width:100%;float:right}.page-wrap .layout.mp-announces .layout-wrap{padding:0 257px 0 220px}.page-wrap .layout.mp-announces .layout-wrap aside{float:right;margin-right:-257px;padding-right:0;width:257px}.page-wrap .layout.mp-announces .layout-wrap .mcl{float:left;padding-right:40px}.page-wrap>header{font-family:dindisplay_pro,Arial,sans-serif}.cabinet-links .cl-body,a.l-button{font-family:dindisplay_pro,sans-serif}.page-wrap .header-wrap{padding:5px 0}.main-page .page-wrap .header-wrap{padding:5px 10px 5px 230px;margin:0 -10px;box-shadow:0 3px 6px -5px rgba(0,0,0,.4)}@-moz-document url-prefix(){.main-page .page-wrap .header-wrap{box-shadow:0 3px 5px -5px rgba(0,0,0,.3)}}.page-wrap>header .logo{width:220px;padding:5px 0 0;float:left;margin:0 -100% 0 -220px;-moz-box-sizing:border-box;box-sizing:border-box}.page-wrap>header .logo h1,.page-wrap>header .logo h2,.page-wrap>header .logo h3{-moz-box-sizing:border-box;box-sizing:border-box;margin:0 0 0 -13px;width:196px;padding-left:67px;font-family:dindisplay_pro,sans-serif;font-weight:500;font-style:normal;font-size:13px;line-height:13px}.button,.e-form button,.page-wrap>footer,.pgc-buttons button,nav ul{font-family:dindisplay_pro,Arial,sans-serif}.page-wrap>header .logo a{color:#a2a2a2}.page-wrap>header .logo strong{display:block;width:196px;height:0;padding-top:59px;overflow:hidden;background:url(../img/logo.png) no-repeat;margin-left:-67px}.page-wrap>header .logo.beta strong{background:url(../img/logo_beta.png) no-repeat;width:225px}.page-wrap>header .logo b{margin-top:-8px;display:block;font-weight:400}.page-wrap>header .header-body{width:79%;min-width:770px;float:right}.header-body .header-top{-moz-box-sizing:border-box;box-sizing:border-box;padding:5px 510px 1px 25px;margin:0 -10px 0 -25px;font-size:12px;line-height:25px;box-shadow:0 3px 6px -5px rgba(0,0,0,.4)}@-moz-document url-prefix(){.header-body .header-top{box-shadow:0 3px 5px -5px rgba(0,0,0,.3)}}.header-body .header-top.coordinators{padding-right:10px}.header-body ul{margin:0;padding:0;list-style:none}.header-body .header-top ul li{display:inline}.header-body .header-top .ht-main{width:100%;float:left}.header-body .header-top.coordinators .ht-main{width:auto}.header-body .header-top .add-link{width:50%;float:left}a.l-button{color:#f60;font-weight:500;font-size:12px;line-height:15px;display:inline-block;margin-left:-21px;padding:5px;border:1px solid transparent;border-radius:4px}a.l-button:hover{color:#000}a.l-button.ico:before{content:' ';display:inline-block;width:11px;height:12px;background:url(../img/sprites.png) no-repeat;margin:-1px 4px 0 0}.add-link a.l-button.ico:hover:before{background-position:-63px -145px}.header-body .header-top ul{float:left}.lang-switch{color:#a2a2a2;position:absolute;top:0;right:0}.lang-switch li{display:inline-block;margin-left:5px}.header-body .hb-wrap .lang-switch a{color:#464646;text-decoration:underline}.header-body .header-top.coordinators .lang-switch{width:auto}.header-body .header-top .lang-switch li:before{content:'|';margin:-1px 7px 0 3px}.cabinet-links .logout a:before,.mp-top .recent-expo ul li:after,a.cl-btn:before,a.icon-msg:before,a.icon-user:before{content:''}.header-body .header-top .lang-switch li:first-child:before{content:'';margin:0;display:none}.header-body .header-top .lang-switch a{color:#464646}.header-body .header-top .lang-switch a:hover{color:#f60}.header-body .header-top .ht-side{width:510px;margin-right:-510px;float:right}.header-body .header-top.coordinators .ht-side{width:auto;margin-right:0}.authorisation-links{float:right;font-weight:500;text-decoration:none;padding-top:20px}.authorisation-links a{margin:0 -6px 0 16px;font-size:14px}.authorisation-links a:first-child{margin-left:0}.authorisation-links a.register{color:#000}.authorisation-links a.register:hover{color:#f60}.authorisation-links a.register:before{background-position:-12px 0;height:13px;margin-top:-2px}.authorisation-links a.register:hover:before{background-position:-24px 0}.authorisation-links a.login:before{background-position:-36px 0;width:9px;height:12px;margin-top:-2px}.authorisation-links a.login:hover:before{background-position:-75px -145px}.cabinet-links{float:right;padding-right:35px;min-width:360px;-moz-box-sizing:border-box;box-sizing:border-box;margin-top:20px}.coordinators .cabinet-links{width:auto}.cabinet-links .cl-body{padding-top:10px;width:100%;float:left;background:#f60;color:#fff;font-size:11px;line-height:20px;font-weight:700;padding-left:10px;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box;height:44px;margin-top:-10px}.mp-top .recent-expo .re-date,.mp-top .recent-expo .re-title{font-weight:100;font-family:dindisplay_pro,Arial,sans-serif}.cabinet-links .cl-body>div,.cabinet-links .cl-body>ul{display:block;border-right:1px solid #fff;float:right;padding:0 5px}.cabinet-links .cl-body>ul{padding:0 0 12px}.cabinet-links .cl-body>ul>li{display:block;padding:0 2px 12px;margin-bottom:-10px;border-right:1px solid #fff;float:left}.cabinet-links .cl-body>:first-child,.cabinet-links .cl-body>ul>li:first-child{border-left:none}.cabinet-links .cl-body>div.clb-settings{border-right:0}.cabinet-links .cl-body>div.clb-docs a.cl-btn{margin-left:-4px;margin-right:-2px}.cabinet-links .cl-body a{color:#fff;position:relative;display:inline-block;line-height:25px;border:1px solid transparent;border-radius:4px}.cabinet-links .clb-profile a{padding-right:5px}.cabinet-links .cl-body a i{font-size:14px;vertical-align:middle;width:25px;text-align:center}.cabinet-links .cl-body .fa-at{margin-top:-2px}.cabinet-links .cl-body a:hover{border-color:#fff}.cabinet-links .cl-body .clb-messages a{text-align:center;display:table;margin-left:auto;margin-right:auto}a.icon-msg:before,a.icon-user:before{display:inline-block;margin:-2px 3px 0 -1px;vertical-align:middle}.cabinet-links .cl-body a.cl-btn{width:30px;height:0;padding:30px 0 0;overflow:hidden}a.icon-user:before{width:11px;height:13px;background:url(../img/sprites.png) -283px -101px no-repeat}a.cl-btn:before,a.icon-msg:before{width:13px}a.icon-msg:before{height:12px;background:url(../img/sprites.png) -268px -88px no-repeat}a.cl-btn:before{display:block;height:13px;background:url(../img/sprites.png) -283px -88px no-repeat;position:absolute;left:50%;top:50%;margin:-6px 0 0 -6px}a.icon-gear:before{background-position:-268px -101px}a.icon-cal:before{height:15px;background-position:-60px -17px;margin-top:-7px}a.icon-doc:before{width:10px;height:14px;background-position:-74px -16px;margin:-7px 0 0 -5px}.cabinet-links .logout{width:32px;float:right;margin:0 -35px 0 -32px}.cabinet-links .logout a{position:relative;display:block;width:30px;height:0;padding-top:30px;overflow:hidden;border:1px solid transparent;border-radius:4px;margin:-1px 0 -6px}.cabinet-links .logout a:hover{border-color:#f60;background:#fff}.cabinet-links .logout a:before{display:block;width:13px;height:12px;background:url(../img/sprites.png) -283px -88px no-repeat;position:absolute;left:50%;top:50%;margin:-5px 0 0 -5px}.page-wrap>footer nav>ul>li,nav ul{display:inline-block}.soc-media-buttons{margin:0;padding:0;list-style:none}.soc-media-buttons li{display:inline-block;line-height:18px;margin-left:2px}.soc-media-buttons li:first-child{margin-left:0}.header-body .header-top .soc-media-buttons{width:auto}.header-body .header-top.coordinators .soc-media-buttons{margin-right:10px}.header-body .header-top .soc-media-buttons li{line-height:14px;margin:0 5px 0 0}.header-body .header-top .soc-media-buttons img{height:14px;vertical-align:middle}.header-body .hb-wrap{padding:22px 0;position:relative}.serv-links{float:left;width:40%}.header-body .hb-wrap .serv-links ul{-moz-box-sizing:border-box;box-sizing:border-box;width:49.9%;min-width:140px;float:left;padding-right:10px}.header-body .hb-wrap ul.soc-media-buttons{width:auto;padding-top:20px;float:left}.header-body .hb-wrap ul li{margin-top:3px}.header-body .hb-wrap ul li:first-child{margin-top:0}.header-body .hb-wrap ul a{color:#a2a2a2}.header-body .hb-wrap ul a:hover{color:#f60;text-decoration:underline}.abn img{max-width:100%;height:auto}.header-body .hb-wrap .abn{float:right;width:468px;height:60px;border:1px solid #eee;margin-right:-470px}.page-wrap>footer{margin-top:20px}.page-wrap>footer .layout-wrap.footer-wrap{padding:25px 10px 25px 230px;margin:0 -10px;box-shadow:inset 0 3px 6px -5px rgba(0,0,0,.4)}.lt-ie9 .page-wrap>footer .layout-wrap.footer-wrap{border-top:1px solid #ddd}.page-wrap>footer .copy{font-size:12px;color:#f60;margin-bottom:10px}.page-wrap>footer nav{width:65%;float:left}nav ul{margin:0;padding:0;list-style:none;font-size:13px;line-height:16px}.page-wrap .layout .layout-wrap>aside nav{margin-bottom:20px}.main-page .page-wrap .layout .layout-wrap>aside nav{margin-bottom:0}aside nav>ul.main-menu>li{margin-top:-4px}aside nav>ul.main-menu>li:first-child{margin-top:0}nav>ul>li.sub>span,nav>ul>li>a{display:block;text-decoration:none;padding:4px 6px 2px;border:1px solid transparent;border-radius:4px}@-moz-document url-prefix(){.page-wrap>footer .footer-wrap{box-shadow:inset 0 3px 5px -5px rgba(0,0,0,.3)}nav ul{line-height:17px}nav>ul>li>a{padding:3px 6px 2px}}aside nav>ul.main-menu>li.sub>span,aside nav>ul.main-menu>li>a{padding:5px 10px 3px}nav>ul>li>a:hover{border-color:#f60}nav .main-menu{font-size:25px;line-height:25px;margin:-5px 0 10px -11px}.page-wrap>footer nav .main-menu{font-size:20px;line-height:20px;margin:-3px 0 1px -10px}.page-wrap>footer nav .main-menu>li{margin-left:10px;letter-spacing:1px}.page-wrap>footer nav .main-menu>li:first-child{margin-left:0}.main-menu>li>a,.main-menu>li>span{color:#464646;padding:5px 9px 2px}@-moz-document url-prefix(){.main-menu>li>a{padding:4px 9px 3px}}.page-wrap>footer nav .main-menu>li.sub>a{padding-right:10px}.main-menu li:hover>a{color:#f60;border-color:#f60}.main-menu>li.sub>a,.main-menu>li.sub>span{-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s}.main-menu>li.sub:hover>a,.main-menu>li.sub:hover>span{color:#ff9e74;background:#f60}.main-menu .sub{position:relative}.main-menu li.sub>a:after,.main-menu li.sub>span:after{content:' ';display:inline-block;vertical-align:middle;width:13px;height:12px;background:url(../img/sprites.png) -46px 0 no-repeat;margin:-3px 0 0 8px}.main-menu .sub:hover>a:after,.main-menu .sub:hover>span:after{background-position:-46px -16px}.page-wrap>footer nav .main-menu li.sub>a:after{width:12px;height:10px;background-position:0 -16px;margin-left:5px}.page-wrap>footer nav .main-menu .sub:hover>a:after{background-position:-13px -16px}.main-menu .sub ul{position:absolute;width:100%;left:0;top:100%;padding:5px 10px;font-size:18px;line-height:22px;letter-spacing:normal;background:#f60;margin-top:-5px;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box;display:none}.page-wrap>footer nav .main-menu .sub ul{top:auto;bottom:100%;font-size:16px;line-height:18px;margin:0 0 -5px}.main-menu .sub:hover ul{display:block}.main-menu .sub ul a{text-decoration:none;color:#fff}.main-menu>li.sub ul a:hover{color:#ffc4aa}aside nav ul.s-menu{display:inline-block;font-size:14px;line-height:17px;margin-top:-2px}nav ul.s-menu{margin:0 0 0 -7px}aside nav ul.s-menu>li{margin-top:-2px}.page-wrap>footer nav ul.s-menu>li{margin-left:3px}.page-wrap>footer ul.s-menu>li:first-child,aside nav ul.s-menu>li:first-child{margin:0}aside nav+hr{margin-top:-5px}.page-wrap>footer .counters{width:33.33%;float:right}.page-wrap>footer .counters>ul{display:inline-block;vertical-align:top;margin:0;padding:0;list-style:none;text-align:left}.page-wrap>footer .counters>ul>li{display:inline-block;vertical-align:top;margin:0 0 5px 3px}.swiper-wrapper{margin:0;padding:0;list-style:none}.main-page section.layout{margin:30px 0}.mp-top .recent-expo{position:relative;overflow:hidden;padding-top:5px}.mp-top .recent-expo ul{margin:0;padding:0;list-style:none}.mp-top .recent-expo ul li{width:100%;background-color:#f8f8f6;display:none}.mp-top .recent-expo ul li:after{display:block;clear:both}.mp-top .recent-expo ul li:first-child{display:block}.mp-top .recent-expo .re-pict{width:220px;height:220px;margin-right:40px;overflow:hidden;float:left;border-radius:4px;max-width:100%;max-height:100%}.mp-top .recent-expo .re-body{position:relative;overflow:hidden;min-height:220px}.mp-top .recent-expo .re-body .re-info{margin-bottom:70px}.mp-top .recent-expo .re-body .re-info a{text-decoration:none}.mp-top .recent-expo .re-title{font-size:50px;line-height:48px;margin:0 80px 5px 0}.mp-top .recent-expo .re-title a{text-decoration:none}.mp-top .recent-expo .re-date{font-size:24px;line-height:27px;color:#464646;margin-bottom:3px}.mp-top .recent-expo .re-date span{color:#afafaf}.mp-top .recent-expo .re-descr{color:#a2a2a2;font-size:14px;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.mp-top .recent-expo footer{position:absolute;width:100%;bottom:0;left:0}.mp-top .recent-expo .re-buttons{margin-bottom:12px}.mp-top .recent-expo .re-tags{color:#a2a2a2;font-size:11px;line-height:15px}.mp-top .recent-expo .re-tags a{color:#a2a2a2;text-decoration:none}.mp-top .recent-expo .re-tags .re-t-total{color:#d4d4d4;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s}.mp-top .recent-expo .re-tags a:hover,.mp-top .recent-expo .re-tags a:hover .re-t-total{color:#f60}.mp-top .recent-expo .re-controls{position:absolute;right:0;top:0;z-index:100;display:none}.mp-top .recent-expo .re-controls.enabled{display:block}.mp-top .recent-expo .re-controls a{position:relative;display:inline-block;width:29px;height:0;padding-top:29px;overflow:hidden;background:#e3e3e3;box-shadow:inset 0 1px 0 rgba(0,0,0,.1),0 1px 0 #fff}.mp-top .recent-expo .re-controls a:before{content:' ';display:block;width:10px;height:12px;background:url(../img/sprites.png) -113px 0 no-repeat;position:absolute;left:50%;top:50%;margin:-6px 0 0 -5px}.mp-top .recent-expo .re-controls a:hover{background:#f60}.mp-top .recent-expo .re-controls a.prev{border-radius:4px 0 0 4px;margin-right:-1px}.mp-top .recent-expo .re-controls a.prev:before{background-position:-113px 0}.mp-top .recent-expo .re-controls a.next{border-radius:0 4px 4px 0;margin-left:-1px}.mp-top .recent-expo .re-controls a.next:before{background-position:-123px 0}.mp-top .recent-expo .re-controls a.next.disabled,.mp-top .recent-expo .re-controls a.prev.disabled{background:#e3e3e3;opacity:.5;cursor:default}.button,.e-form button,.pgc-buttons button{display:inline-block;vertical-align:middle;height:26px;padding:3px 14px 2px;background:0 0;text-decoration:none;color:#f60;border:1px solid #feb17d;text-transform:uppercase;font-weight:700;font-size:13px;line-height:20px;text-shadow:0 1px 0 #fff;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background .3s,color .3s;-o-transition:background .3s,color .3s;transition:background .3s,color .3s;word-spacing:normal;white-space:nowrap}.lc{text-transform:none}.button.lc{font-weight:400;line-height:18px}.button.big{height:36px;font-size:15px;line-height:31px;padding:3px 19px 2px}.e-form .button,.e-form button{color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.3)}@-moz-document url-prefix(){.button.lc{line-height:17px}}.button:hover,.e-form button:hover,.pgc-buttons button:hover{border-color:#f60;background:#f60;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(0,0,0,.1)}.e-form .button:hover,.e-form .input-file:hover .button,.e-form button:hover{background:#ff8000;border-color:#fff}.button.blue{border-color:#90c7e0;color:#2592c5}.button.blue.active,.button.blue:hover{border-color:#2592c5;background:#2592c5;color:#fff}.button.blue2{border-color:#7ed4f5;color:#00adef}.button.blue2 i{font-style:normal;color:#1d447d}.button.blue2:hover{border-color:#1d447d;background:#1d447d;color:#00adef}.button.blue2:hover i{color:#fff}.button.green{border-color:#c1e090;color:#87c525}.button.green.active,.button.green:hover{border-color:#87c525;background:#87c525;color:#fff;text-shadow:none}.button.orange,.button.orange:hover,.cli-services-sm a,.cli-services:hover .button.icon-sm{text-shadow:0 1px 0 rgba(0,0,0,.3)}.button.red{border-color:#e87e7d;color:#d90000}.button.red:hover{border-color:#d90000;background:#d90000;color:#fff}.button.grey{border-color:#c6c6c6;color:#b4b4b4}.button.grey:hover{border-color:#b4b4b4;background:#b4b4b4;color:#fff}.button.orange{border-color:#f60;color:#fff;background:#f60;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ff8000),color-stop(100%,#f60));background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:linear-gradient(to bottom,#ff8000 0,#f60 100%)}.button.pink{color:#ef3976;border-color:#ef3976}.button.pink:hover{color:#fff;background-color:#ef3976}.cli-photo-list .cli-phg-bot .cli-pb-button .button{height:29px;line-height:22px;padding-top:4px}.button.more,.cli-photo-list .cli-phg-bot .cli-pb-button .button.more{height:29px;font-size:17px;line-height:19px;text-transform:none;padding-top:4px}.button.more:after{content:' ';display:inline-block;vertical-align:middle;width:5px;height:9px;background:url(../img/sprites.png) -148px -16px no-repeat;margin:1px 0 0 10px}.button.b-more:after{content:'';display:inline-block;vertical-align:middle;width:8px;height:12px;background:url(../img/sprites.png) -175px 0 no-repeat;margin:-1px -5px 0 8px}.button[class*=icon-]:before,button[class*=icon-]:before{content:' ';display:inline-block;vertical-align:middle}.button.blue.more:after{background-position:-165px -14px}.button.more:hover:after{background-position:-165px -23px}.button[class*=icon-]:before{width:16px;height:16px;background:url(../img/sprites.png) no-repeat;margin:-3px 5px 0 0}.button.big[class*=icon-]:before{margin-right:7px}.button.icon-calendar:before{width:14px;background-position:-60px 0}.button.icon-calendar.active:before,.button.icon-calendar:hover:before{background-position:-60px -16px}.button.icon-calendar-o:before{width:13px;background-position:-183px -145px}.button.icon-calendar-o:hover:before{background-position:-197px -145px}.button.pink.icon-calendar:before{background-position:-406px -90px}.button.pink.icon-calendar.active:before,.button.pink.icon-calendar:hover:before{background-position:-60px -16px}.button.icon-save:before{width:12px;height:13px;background-position:-155px -145px;margin-top:-1px}.button.icon-save:hover:before{background-position:-155px -159px}.button.icon-print:before{width:13px;height:13px;background-position:-169px -145px;margin-top:-2px}.button.icon-print:hover:before{background-position:-169px -159px}.button.icon-note:before{width:11px;height:14px;background-position:-74px 0}.button.icon-note.active:before,.button.icon-note:hover:before{background-position:-74px -16px}.button.icon-sm:before{width:8px;height:9px;background-position:-287px -32px;margin-left:-2px}.button.icon-sm:hover:before{background-position:-287px -41px}.button.icon-edit:before{width:14px;height:13px;background-position:-277px 0}.button.icon-edit:hover:before,.button.orange.icon-edit:before{background-position:-277px -15px}.button.icon-del:before{width:12px;height:14px;background-position:-259px -30px}.button.icon-del:hover:before{background-position:-259px -45px}.button.icon-copy:before{width:15px;height:14px;background-position:-261px 0}.button.icon-copy:hover:before{background-position:-261px -15px}.button.icon-info:before{width:10px;height:11px;background-position:-280px -64px}.button.icon-info:hover:before{background-position:-280px -76px}.button.icon-list:before{width:10px;height:9px}.button.blue.icon-list:before{background-position:-175px -52px}.button.green.icon-list:before{background-position:-186px -52px}.button.icon-list:hover:before{background-position:-197px -52px}.button.icon-msg:before{width:11px;height:11px;background-position:-268px -64px}.button.icon-msg:hover:before{background-position:-268px -76px}.button.icon-photo:before{width:11px;height:11px;background-position:-226px -96px}.button.icon-photo:hover:before{background-position:-226px -108px}.button.icon-reply:before{width:11px;height:12px;background-position:-238px -95px}.button.icon-reply:hover:before{background-position:-238px -108px}.button.icon-go:before{width:8px;height:10px;background-position:-291px -64px}.button.icon-go:hover:before{background-position:-291px -75px}.button.icon-check:before,.pgc-buttons button.icon-check:before{width:13px;height:11px;background-position:-106px -16px}.button.icon-check:hover:before,.button.orange.icon-check:before,.pgc-buttons button.icon-check:hover:before{background-position:-120px -16px}.button.icon-find:before{width:12px;height:13px;background-position:-184px 0}.button.icon-find:hover:before{background-position:-250px -95px}.button.icon-bell:before{width:12px;height:13px;background-position:-211px -49px;margin-top:0}.button.icon-bell:hover:before{background-position:-225px -120px}.button.icon-tag:before{width:10px;height:10px;background-position:-239px 0}.button.icon-tag:hover:before{background-position:-250px 0}.button.icon-clip:before{width:14px;height:16px;background-position:-225px -147px;margin-bottom:-1px}.button.icon-clip:hover:before,.e-form .button.icon-clip:before{background-position:-240px -147px}.button.icon-camera:before{width:16px;height:15px;background-position:-300px -85px}.button.icon-camera:hover:before,.button.orange.icon-camera:before{background-position:-300px -101px}.button.icon-view:before{width:15px;height:11px;background-position:-225px -164px}.button.icon-view:hover:before{background-position:-241px -164px}.button.icon-add:before{width:13px;height:14px;background-position:-268px -116px}.button.icon-add:hover:before{background-position:-282px -116px}.e-price-wrap .button.big.orange,button{border:none;outline:0;height:36px;padding:1px 25px 0;font-family:dindisplay_pro,sans-serif;font-weight:700;font-size:15px;line-height:35px;text-transform:uppercase;text-align:center;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.3);letter-spacing:normal;word-spacing:normal;background:#f60;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ff8000),color-stop(100%,#f60));background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:linear-gradient(to bottom,#ff8000 0,#f60 100%);border-radius:3px;-moz-box-sizing:border-box;box-sizing:border-box}.e-price-wrap .button.big.orange{height:41px;font-size:17px;line-height:40px}.button.orange:hover,.e-price-wrap .button.big.orange:hover,button:hover{background:#ff8000;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fe9150),color-stop(100%,#ff8000));background:-webkit-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-o-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-webkit-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-o-linear-gradient(top,#fe9150 0,#ff8000 100%);background:linear-gradient(to bottom,#fe9150 0,#ff8000 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#fe9150', endColorstr='#ff8000', GradientType=0)}.pw-form button{padding:2px 25px 0;height:46px;line-height:44px}.pw-form button[class*=icon-]{padding:2px 40px 0 30px}.pw-reg .pw-form button{width:265px;cursor:pointer}button[class*=icon-]:before{background:url(../img/sprites.png) no-repeat;margin:-2px 7px 0 0}button.icon-check:before{width:13px;height:11px;background-position:-120px -16px}button.icon-save:before{width:13px;height:14px;background-position:-203px -16px}button.icon-arrow:before{width:8px;height:12px;background-position:-176px 0}.in-search-form,.page-wrap section.layout.search-form .layout-wrap{font-size:14px;line-height:18px;color:#fff;background:url(../img/search-bg.jpg) 100% 100% no-repeat #f60}.page-wrap section.layout.search-form .layout-wrap{font-family:dindisplay_pro,Arial,sans-serif;font-weight:400;height:125px;padding:25px 0 25px 420px;margin-left:-200px;border-radius:0 4px 4px 0;-moz-box-sizing:border-box;box-sizing:border-box}.in-search-form,.sf-field .input-text input[type=text]{font-weight:400;font-family:dindisplay_pro,Arial,sans-serif}.in-search-form{position:relative;height:150px;margin:0 0 15px -40px;padding:30px 0 5px 40px;z-index:3;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box}.in-search-form .s-title,.search-form aside .s-title{font-size:25px;line-height:25px;text-transform:uppercase}.modals .popup-window{display:none}.search-form aside .s-title{white-space:nowrap;margin-right:-20px}.in-search-form .s-title{margin-bottom:15px}.search-form .mcl{padding-right:50px}.search-form-wrap{display:table;width:100%}.search-form-wrap .search-line{display:table-row}.search-form-wrap .search-line .sf-field-wrap{display:table-cell;vertical-align:middle;padding:0 10px 8px 0;color:#ffd9bf;line-height:15px}.search-form-wrap .search-line .sf-field-wrap:first-child{width:48%}.search-form-wrap .search-line .sf-field-wrap+.sf-field-wrap{width:32%}.search-form-wrap .search-line .sf-field-wrap+.sf-field-wrap+.sf-field-wrap{width:20%}.search-line.sl-options a{display:inline-block;color:#fff;text-decoration:none;border-bottom:1px dashed;line-height:13px}.search-line.sl-options a:hover{border-bottom:none}.search-line.sl-options a.sf-clear{position:relative;display:inline-block;vertical-align:middle;border-bottom:none;width:16px;height:0;padding-top:24px;margin:-5px 0 -5px 2px;overflow:hidden}.search-line.sl-options a.sf-clear:before{content:'';display:block;width:6px;height:7px;background:url(../img/sprites.png) -135px -25px no-repeat;position:absolute;left:50%;top:50%;margin:-3px 0 0 -3px}.fancybox-close:before,.mp-photo-gallery .pg-item .pgi-descr .pgi-date b:before,.mp-photo-gallery .re-controls a:before,.mps-sect nav a:after,.online-adviser header b:before,.subscribe-sm ul li a:before,a.more:after{content:' '}.sf-field{position:relative;display:table;width:100%;height:40px;background:#fff;color:#aaa;box-shadow:inset 0 1px 0 #d9d9d9,0 -1px 0 rgba(0,0,0,.2);z-index:1}.sf-field-wrap:first-child .sf-field{border-radius:4px 0 0 4px}.sf-field>*{display:table-cell;vertical-align:middle}.sf-field label{font-size:16px;line-height:20px;font-weight:400;padding:10px 5px 10px 20px;white-space:nowrap}.sf-field .input-text{width:100%;height:100%}.sf-field .input-text input[type=text]{display:block;width:100%;height:100%;background:0 0;border:none;outline:0;padding:10px 10px 10px 0;font-size:16px;line-height:20px;-moz-box-sizing:border-box;box-sizing:border-box}.in-search-form button.modal-approve,.in-search-form button.search_submit,.search-form button.modal-approve,.search-form button.search_submit{display:inline-block;vertical-align:top;height:40px;border:1px solid #fff;outline:0;color:#fff;font-family:dindisplay_pro,Arial,sans-serif;font-weight:700;font-size:15px;line-height:41px;text-transform:uppercase;padding:0 25px;border-radius:0 4px 4px 0;-moz-box-sizing:border-box;box-sizing:border-box;box-shadow:0 1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(0,0,0,.2);-webkit-filter:none;filter:none}button.modal-approve{border-radius:4px!important}.in-search-form button.modal-approve:before,.in-search-form button.search_submit:before,.search-form button.modal-approve:before,.search-form button.search_submit:before{content:' ';display:inline-block;vertical-align:middle;width:15px;height:14px;background:url(../img/sprites.png) -98px 0 no-repeat;margin:-2px 5px 0 -1px}.in-search-form button:hover,.search-form button:hover{position:relative;top:-1px}.sf-autocomplete{position:relative;z-index:3048;height:40px;display:none}.sf-autocomplete.show{display:block}.sf-autocomplete .sfa-wrap{position:absolute;left:0;width:100%;top:0;padding:20px;overflow:hidden;-moz-box-sizing:border-box;box-sizing:border-box;box-shadow:0 0 0 3px rgba(0,0,0,.2);visibility:hidden;background:-webkit-gradient(linear,left top,left bottom,color-stop(10%,#fff),color-stop(100%,#efefef));background:-webkit-linear-gradient(top,#fff 10%,#efefef 100%);background:-o-linear-gradient(top,#fff 10%,#efefef 100%);background:-webkit-linear-gradient(top,#fff 10%,#efefef 100%);background:-o-linear-gradient(top,#fff 10%,#efefef 100%);background:linear-gradient(to bottom,#fff 10%,#efefef 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#efefef', GradientType=0);border-radius:4px 0 4px 4px}.sf-autocomplete .sfa-wrap.show{visibility:visible}.ui-autocomplete{position:relative;width:100%;max-height:265px;overflow-y:auto;overflow-x:hidden;left:0!important;top:0!important;padding:5px 10px 0 0;border-top:1px dotted #ccc;-moz-box-sizing:border-box;box-sizing:border-box}.c-select-box .csb-menu,.custom-select .cs-scroll-container{max-height:230px}.ui-autocomplete-category{font-size:15px;line-height:17px;color:#f60;padding:8px 10px 0 0}.ui-menu .ui-menu-item{padding:0 10px 0 5px;margin-top:2px}.ui-menu .ui-menu-item a{color:#464646;font-size:15px;line-height:15px;border:none;padding:2px 5px;cursor:pointer}.ui-menu .ui-menu-item a.ui-state-active,.ui-menu .ui-menu-item a.ui-state-focus{color:#f60;margin:0}.ui-menu .ui-menu-item a i{font-style:normal;color:#a2a2a2}.in-search-form .modal-clear,.search-form .modal-clear{height:40px;border:1px solid #fff;padding:0 25px;box-shadow:0 1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(0,0,0,.2)}.main-page .page-wrap .mp-catalog .layout-wrap{padding:0 10px 30px 230px;margin:0 -10px;box-shadow:0 3px 6px -5px rgba(0,0,0,.4)}.mp-catalog-lists{display:table;table-layout:fixed;width:100%}.mp-catalog-lists .mpc-list{display:table-cell;vertical-align:top;padding-right:40px;width:33.33%;-moz-box-sizing:border-box;box-sizing:border-box}.mp-catalog-lists .mpc-list:first-child{min-width:260px}.mp-catalog-lists .mpc-list header{font-family:dindisplay_pro,Arial,sans-serif;font-weight:100;font-size:28px;line-height:28px;text-transform:uppercase;color:#f60;margin-bottom:10px}.mp-news-list footer,.mp-news-list header,.mp-photo-gallery,.online-adviser header,.s-news-list footer,.s-news-list header,.s-phone .s-callback,.s-phone .s-tel,.subscribe-sm{font-family:dindisplay_pro,sans-serif}.mp-catalog-lists .mpc-list ul{margin:0 0 7px;padding:0;list-style:none;font-size:12px;line-height:15px}.mp-catalog-lists .mpc-list ul li{margin-bottom:4px}.leter-list a,.mp-catalog-lists .mpc-list ul a{color:#464646;text-decoration:none}.mp-catalog-lists .mpc-list ul a span{text-decoration:underline}.mp-catalog-lists .mpc-list ul a i{font-style:normal;color:#aaa}.leter-list a,.mp-catalog-lists .mpc-list ul a,.mp-catalog-lists .mpc-list ul a *{-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s}.leter-list a:hover,.mp-catalog-lists .mpc-list ul a:hover,.mp-catalog-lists .mpc-list ul a:hover *{color:#f60;text-decoration:none}.mp-catalog-lists .mpc-list footer{font-size:11px}a.more:after{display:inline-block;vertical-align:middle;width:6px;height:7px;background:url(../img/sprites.png) -39px -16px no-repeat;margin-left:5px}a.more.blue2{color:#40bbea}a.more.blue2:after{background-position:-249px -52px}.mp-catalog-lists+.abn{display:inline-block;margin-top:25px;overflow:hidden;border-radius:4px}.main-page .online-adviser .oa-wrap,.main-page .s-phone .sp-wrap{border:none;padding-top:0}.s-phone{margin:0 0 15px;padding-left:25px}.s-phone .s-tel{font-weight:500;font-style:normal;font-size:25px;line-height:25px}.s-phone .s-tel em{display:block;font-style:normal;font-weight:400;font-size:17px;line-height:19px;float:left;margin:0 5px 0 -25px;color:#a2a2a2}@-moz-document url-prefix(){.main-page .page-wrap .mp-catalog .layout-wrap{box-shadow:0 3px 5px -5px rgba(0,0,0,.3)}.s-phone .s-tel em{margin-top:1px}}.main-page .s-phone .s-tel em{color:#f60}.s-phone .s-callback{font-weight:400;font-size:10px;text-transform:uppercase;margin-top:-2px}.s-phone .s-callback a{color:#a2a2a2}.s-phone .s-callback a:hover{color:#f60;text-decoration:none}.online-adviser{margin:0 0 15px;padding-left:40px}.main-page .online-adviser{margin-bottom:40px}.online-adviser header{overflow:hidden;font-weight:500;font-size:16px;text-transform:uppercase;padding-left:40px;margin:0 0 8px -40px}.mp-news-list ul,.s-news-list ul,.subscribe-sm ul{padding:0;list-style:none}.online-adviser header a{color:#464646;text-decoration:none}.online-adviser header b{display:block;font-weight:400;font-size:20px;line-height:20px;text-decoration:underline;color:#87c525}.online-adviser header b:before{display:block;width:31px;height:26px;background:url(../img/sprites.png) 0 -33px no-repeat;float:left;margin:0 -100% 0 -40px}.online-adviser header a,.online-adviser header a *{-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s}.online-adviser header a:hover,.online-adviser header a:hover *{color:#f60;text-decoration:none}.online-adviser header a:hover b:before{background-position:-84px -145px}.online-adviser .oa-descr{font-size:11px;line-height:14px;color:#a2a2a2}.subscribe-sm header{font-weight:100;font-size:18px;line-height:18px;text-transform:uppercase;margin-bottom:10px}.subscribe-sm ul{margin:0 -100% 0 0;font-size:10px;line-height:13px}.subscribe-sm ul li{display:inline-block;vertical-align:bottom;margin-left:5px}.subscribe-sm ul li:first-child{margin-left:0}.subscribe-sm ul li a{text-decoration:none}.subscribe-sm ul li a:before{display:block;background:url(../img/sprites.png) no-repeat;margin:0 auto 5px}a.icon-big-email{color:#5e5e5e}.subscribe-sm ul li a.icon-big-email:before{width:30px;height:26px;background-position:-32px -33px}a.icon-big-rss{color:#f60}.subscribe-sm ul li a.icon-big-rss:before{width:25px;height:26px;background-position:-91px -33px}a.icon-big-twitter{color:#00bff3}.subscribe-sm ul li a.icon-big-twitter:before{width:29px;height:25px;background-position:-117px -33px}a.icon-big-ical{color:#ed1c24}.subscribe-sm ul li a.icon-big-ical:before{width:26px;height:29px;background-position:-64px -33px}.mp-news-list header{font-weight:100;font-size:27px;line-height:28px;color:#a2a2a2;margin-bottom:15px}.mp-news-list header a{color:#a2a2a2;text-decoration:none}.mp-news-list header a:hover{color:#f60}.mp-news-list ul{margin:0}.mp-news-list ul li{margin-bottom:20px;overflow:hidden;font-size:12px;line-height:15px}.mp-news-list ul li a{display:block;text-decoration:none;color:#767675}.mp-news-list ul li a:hover{color:#f60}.mp-news-list li a span{display:block}.mp-news-list .nl-pict img{margin-top:11px}.mp-news-list .nl-pict{width:80px;height:80px;overflow:hidden;margin-right:20px;float:left;border-radius:4px;text-align:center;background:#fff;box-shadow:inset 0 1px 0 #e8e8e7}.mp-news-list .nl-body{overflow:hidden}.mp-news-list .nl-text{margin-bottom:5px}.mp-news-list .nl-date{font-size:11px;line-height:13px;color:#f60}.mp-news-list footer a.more{color:#bbb}.mp-news-list footer a.more:after{background-position:-39px -24px}.mp-news-list footer a.more:hover{color:#f60}.mp-news-list footer a.more:hover:after{background-position:-39px -16px}.s-news-list{margin:20px 0}.s-news-list header{font-weight:100;font-size:23px;line-height:25px;color:#a2a2a2;margin-bottom:15px}.s-news-list header a{text-decoration:none;color:#a2a2a2}.s-news-list header a:hover{color:#f60}.s-news-list ul{margin:0}.s-news-list ul li{margin-bottom:15px;overflow:hidden;font-size:12px;line-height:15px}.s-news-list ul li a{display:block;text-decoration:none;color:#767675}.s-news-list ul li a:hover{color:#f60}.s-news-list li a span{display:block}.s-news-list .nl-pict{width:40px;height:40px;overflow:hidden;margin-right:20px}.s-news-list .nl-pict img{width:100%}.s-news-list .nl-body{overflow:hidden}.s-news-list .nl-text{margin-bottom:5px}.s-news-list .nl-date{font-size:11px;line-height:13px;color:#f60}.s-news-list footer a.more{color:#bbb}.s-news-list footer a.more:after{background-position:-39px -24px}.s-news-list footer a.more:hover{color:#f60}.s-news-list footer a.more:hover:after{background-position:-39px -16px}.mp-photo-gallery{margin-left:-220px}.mp-photo-gallery header{font-weight:100;font-size:27px;line-height:28px;color:#a2a2a2;margin-bottom:15px;padding-left:220px}.mp-photo-gallery header .pg-title{width:225px;margin:0 -220px;float:left}.mp-photo-gallery header .pg-title>a{color:#a2a2a2}.mp-photo-gallery header .pg-title>a:hover{color:#f60}.mp-photo-gallery header h2{display:inline-block;font-weight:400;font-size:28px;line-height:28px;margin:0;color:#f60}.mp-photo-gallery header h2 a:hover{color:#464646}.mp-photo-gallery .photo-gallery{position:relative;width:720px;max-width:100%;height:320px;margin:0}.mp-photo-gallery .photo-gallery ul,.mp-photo-gallery li{height:100%;width:100%}.mp-photo-gallery a{display:inline-block;width:100%;text-decoration:none}.mp-photo-gallery li{float:left}.mp-photo-gallery .pg-item{display:inline-block;position:relative;max-width:100%;overflow:hidden;border-radius:4px}.mp-photo-gallery .pg-item .pgi-pict{max-width:100%;text-align:center}.mp-photo-gallery .pg-item .pgi-pict img{margin:0 -50%}.mp-photo-gallery .pg-item .pgi-descr{position:absolute;width:100%;left:0;bottom:0;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;background:rgba(0,0,0,.6);padding:12px 25px 15px 220px;font-size:14px;line-height:16px;display:none}.lt-ie9 .mp-photo-gallery .pg-item .pgi-descr{background:url(../img/semitransparent-ie8.png)}.mp-photo-gallery li:first-child .pg-item .pgi-descr{display:block}.mp-photo-gallery .pg-item .pgi-descr .pgi-date{width:145px;float:left;margin:0 -145px 0 -180px;font-weight:100;font-size:13px;line-height:16px}.mp-photo-gallery .pg-item .pgi-descr .pgi-date b{display:block;font-weight:500;font-size:15px}.mp-partners .mpp-wrap header,.mp-reviews-wrap .mp-reviews header,.mps-sect header,.popup-window .pw-title{font-weight:100;font-family:dindisplay_pro,sans-serif}.mp-partners .mpp-wrap header,.mps-sect header{font-size:27px}.mp-photo-gallery .pg-item .pgi-descr .pgi-date b:before{display:block;width:12px;height:14px;background:url(../img/sprites.png) -85px 0 no-repeat;float:left;margin:2px -12px -14px -16px}.mp-photo-gallery .re-controls{display:none}.mp-photo-gallery .re-controls.enabled{display:block}.mp-photo-gallery .re-controls a{display:block;width:71px;height:0;padding-top:71px;overflow:hidden;position:absolute;top:50%;margin-top:-55px}.mp-photo-gallery .re-controls a:before{display:block;width:31px;height:62px;background:url(../img/sprites.png) 0 -63px no-repeat;position:absolute;left:50%;top:50%;margin:-31px 0 0 -15px}.mp-photo-gallery .re-controls a.prev{left:0}.mp-photo-gallery .re-controls a.prev:before{background-position:0 -63px}.mp-photo-gallery .re-controls a.next{right:0}.mp-photo-gallery .re-controls a.next:before{background-position:-32px -63px}.mp-photo-gallery .re-controls a.next.disabled,.mp-photo-gallery .re-controls a.prev.disabled{display:none}.mp-partners .layout-wrap{padding-left:200px;margin-left:-200px}.mp-partners .mpp-wrap{margin-left:-200px;padding:10px 0 12px 420px;line-height:71px;background:#fff;border-radius:0 4px 4px 0;box-shadow:0 -1px 0 #f0f0f0}.mp-partners .mpp-wrap header{display:block;float:left;width:220px;margin:0 -220px;color:#a2a2a2}.mp-partners .mpp-wrap ul{margin:0 0 0 -20px;padding:0;list-style:none}.mp-partners .mpp-wrap li{display:inline-block;vertical-align:middle;margin-left:20px}.mps-sect header{line-height:28px;color:#f60;margin-bottom:10px}.mps-sect nav ul{margin:0 -20px 0 -10px;text-transform:none}.mps-sect nav ul li{margin-bottom:2px}.mps-sect nav a{display:inline-block;font-size:14px;line-height:17px;text-decoration:underline;color:#464646;padding:2px 15px 2px 9px;border-color:transparent}.mps-sect nav a:hover{text-decoration:none;color:#f60;border-color:transparent}.mps-sect nav a:after{display:inline-block;vertical-align:middle;width:5px;height:8px;background:url(../img/sprites.png) -86px -16px no-repeat;margin:-1px -12px 0 7px;visibility:hidden}.mps-sect nav a:hover:after{visibility:visible}.hidden,.invisible{visibility:hidden}.mp-reviews-wrap .mp-reviews{width:65.9%;float:left;-moz-box-sizing:border-box;box-sizing:border-box}.mp-reviews-wrap .mp-reviews header{font-size:27px;line-height:28px;color:#a2a2a2;display:table;width:100%;margin-bottom:10px}.mp-reviews-wrap .mp-reviews ul,.popup-window{line-height:17px;font-family:dindisplay_pro,sans-serif}.mp-reviews-wrap .mp-reviews header>*{display:table-cell;width:50%}.mp-reviews-wrap .mp-reviews header .mpr-title a{color:#a2a2a2;text-decoration:none}.mp-reviews-wrap .mp-reviews header .mpr-title a:hover{color:#f60}.mp-reviews-wrap .mp-reviews header .more-link{font-size:13px}.mp-reviews-wrap .mp-reviews ul{margin:0;padding:0;list-style:none;display:table;width:100%;font-size:14px}.mp-reviews-wrap .mp-reviews ul>li{display:table-cell;width:50%;padding-right:35px}.mp-reviews-wrap .mp-reviews li a{display:block;width:220px;color:#464646;text-decoration:none}.mp-reviews-wrap .mp-reviews li a:hover{color:#f60}.mp-reviews-wrap .mp-reviews li .mpr-pict{display:block;overflow:hidden;margin-bottom:7px;border-radius:4px}.mp-reviews-wrap .sbnr{width:33.33%;float:right;padding-top:43px}.mp-reviews-wrap .sbnr .sbnr-wrap{display:inline-block;border:1px solid #e3e3e3}.popups-wrap{position:absolute;left:-20000em;top:-20000em;width:100%;height:1px;overflow:hidden}.fancybox-skin{background:#f8f8f6}.fancybox-close{top:5px;right:5px;width:36px;height:36px;cursor:pointer;z-index:8040;background:0 0}.fancybox-close:before{display:block;width:10px;height:10px;background:url(../img/sprites.png) -133px 0 no-repeat;position:absolute;left:50%;top:50%;margin:-5px 0 0 -5px}.fancybox-close:hover:before{background-position:-144px 0}.popup-window{width:640px;font-size:15px;padding:35px 50px 30px;-moz-box-sizing:border-box;box-sizing:border-box}.popup-window.pw-period{width:530px}.popup-window header{padding-bottom:20px}.popup-window.pw-period header{padding-bottom:30px}.popup-window .pw-title{font-size:35px;line-height:35px;color:#f60}.popup-window footer{border-top:1px dotted #ccc;margin-top:25px;padding-top:25px}.popup-window footer .soc-med-login{display:table}.popup-window footer .soc-med-login>div{display:table-cell;vertical-align:top;line-height:30px}.popup-window footer .soc-med-login .sm-label{font-style:italic;padding-right:15px}.popup-window footer .soc-med-login .sm-body ul{margin:0;padding:0;list-style:none}.popup-window footer .soc-med-login .sm-body ul li{display:inline-block;margin-left:5px}.pw-form .pwf-line{margin-bottom:15px;display:table}#expo_b_popup_2 .pw-form .pwf-line{margin:0 auto 15px}.pw-form .pwf-line.subj-checks{margin-bottom:25px}.pw-form .pwf-line.period{margin-top:25px}.pw-form .pwf-buttons-line{margin-top:30px;display:block}.pw-form .pwf-buttons-line>div,.pw-form .pwf-line>div{display:inline-block;vertical-align:middle;width:auto}.pwf-line>label+div.pwf-field{display:block}.pw-form .pwf-field{padding-right:20px;vertical-align:top;width:310px}.pw-reg .pw-form .pwf-field{width:265px}.pw-form .pwf-field+.pwf-field{padding-right:0}.epf-field{position:relative}.custom-select .custom-select-wrap,.editor-wrap,input[type=email],input[type=password],input[type=text],textarea{border:1px solid #bdbdbd;outline:0;background:#fff;width:100%;height:40px;padding:0 6px;font-family:dindisplay_pro,sans-serif;font-size:15px;border-radius:3px;box-shadow:inset 0 2px 2px -2px #aaa;-moz-box-sizing:border-box;box-sizing:border-box}html[data-useragent*='Trident/7.0'] input[type=password],html[data-useragent*='Trident/7.0'] input[type=text],html[data-useragent*='Trident/7.0'] textarea{padding:0 5px 0 20px}input[type=password]:focus,input[type=text]:focus,textarea:focus{border:2px solid #f60;padding:0 5px}textarea{height:146px;padding:5px;line-height:20px;resize:none}.editor-wrap{height:auto;padding:0;line-height:normal;overflow:hidden}.editor-wrap textarea{border:none;padding:5px;box-shadow:none}textarea:focus{padding:4px}.p-form textarea{height:176px;resize:vertical}.p-form .mf-photos-list textarea{height:146px;resize:none}.pw-form input[type=email],.pw-form input[type=password],.pw-form input[type=text]{height:40px}.pw-period .pw-form .pwf-field+.pwf-field{padding-left:10px}.mf-field .period .pwf-field{display:inline-block;padding-left:30px;font-size:17px;line-height:40px}.period .pwf-field label{font-size:20px;margin:0 5px 0 -15px}.mf-field .period .pwf-field label{font-size:17px}.period input[type=text].date{width:175px;padding-right:35px;background:url(../img/select.png) 100% 50% no-repeat #fff}.period input[type=text].date+button{position:absolute;width:36px;padding:0;overflow:hidden;margin-left:-37px;-moz-box-sizing:border-box;box-sizing:border-box;opacity:0}.period input[type=text].date+button:hover{top:auto}.lt-ie9 .period input[type=text].date+button{-ms-filter:alpha(opacity=0);filter:alpha(opacity=0)}::-webkit-input-placeholder{color:#a2a2a2}:-moz-placeholder{color:#a2a2a2}::-moz-placeholder{color:#676767}:-ms-input-placeholder{color:#a2a2a2}.placeholder{color:#a2a2a2}label.check{display:inline-block;font-size:13px;line-height:15px;padding-left:27px;word-spacing:normal;cursor:pointer;-moz-box-sizing:border-box;box-sizing:border-box}label.check input{opacity:0;outline:0}.lt-ie9 label.check input{-ms-filter:alpha(opacity=0);filter:alpha(opacity=0)}.lt-ie9 .custom-select select,.lt-ie9 .input-file .if-field-wrap input[type=file]{filter:alpha(opacity=0)}.check .custom-checkbox,.check .custom-radio{position:relative;display:block;width:20px;height:20px;margin:-3px -100% 0 -27px;float:left;background:#fff;border:1px solid #bdbdbd;border-radius:3px;box-shadow:inset 0 2px 2px -2px #aaa;-moz-box-sizing:border-box;box-sizing:border-box}.check .custom-checkbox:before,.check .custom-radio:before{content:' ';display:none;position:absolute;left:50%;top:50%;margin:-5px 0 0 -5px}.check .custom-radio{width:22px;height:22px;border-radius:20px}.check .custom-checkbox:before{width:11px;height:9px;background:url(../img/sprites.png) -93px -16px no-repeat}.check .custom-radio:before{width:10px;height:10px;background:#f60;border-radius:10px}.custom-select,.custom-select select{position:relative}.check .custom-checkbox.checked:before,.check .custom-radio.checked:before{display:block}.custom-select{display:block;text-align:left;line-height:18px;height:40px;-moz-box-sizing:border-box;box-sizing:border-box}.pw-form .custom-select{width:100%;height:40px}.e-form .custom-select{width:200px;height:26px}.custom-select select{width:100%;padding-right:30px;height:40px;opacity:0;z-index:0;cursor:pointer;-moz-box-sizing:border-box;box-sizing:border-box}.c-select-box,.custom-select .cs-menu-wrap{background:#fff}.custom-select select[disabled]{cursor:default}.pw-form .custom-select select{height:40px}.custom-select option{padding:2px 10px}.custom-select .custom-select-wrap{display:block;position:absolute;overflow:hidden;left:0;right:0;top:0;z-index:1;padding-top:1px;padding-right:30px;cursor:pointer}.custom-select select[disabled]+.custom-select-wrap{cursor:default}.pw-form .custom-select .custom-select-wrap{line-height:47px;height:40px}.e-form .custom-select .custom-select-wrap{line-height:26px;height:26px;padding-left:7px}.custom-select .custom-select-wrap:after{content:" ";display:block;width:8px;height:5px;overflow:hidden;background:url(../img/sprites.png) -86px -27px no-repeat;position:absolute;right:12px;top:50%;margin-top:-3px}.e-form .custom-select .custom-select-wrap:after{margin-top:-2px}.custom-select .custom-select-text{display:block;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:39px}.pw-form .custom-select .custom-select-text{line-height:39px}.e-form .custom-select .custom-select-text{line-height:25px}.custom-select select:focus+.custom-select-wrap{border:2px solid #f60;padding:0 29px 0 19px}.custom-select select:focus+.custom-select-wrap:after{right:11px}.custom-select .cs-menu-wrap{position:absolute;min-width:100%;left:0;top:100%;margin-top:-1px;white-space:nowrap;z-index:50;padding:5px;border:1px solid #ccc;-moz-box-sizing:border-box;box-sizing:border-box;display:none}.custom-select .scroll-content{padding:5px 18px}.custom-select .scroll-content ul{margin:0;padding:0;list-style:none;font-size:15px;line-height:19px}.custom-select .scroll-content ul li{margin-top:2px;cursor:pointer}.custom-select .scroll-content ul li:first-child{margin-top:0}.custom-select .scroll-content ul li:hover{color:#f60}.input-file{display:block;position:relative}.e-form .input-file{color:#fff;cursor:pointer}.mf-line .input-file{vertical-align:middle}.e-form .input-file .button{float:left;margin-right:10px}.mf-line .input-file .button{float:left;margin-right:20px}.input-file .file-text{display:block;overflow:hidden;height:26px;line-height:26px;text-overflow:ellipsis;font-size:15px;white-space:nowrap}.mf-line .input-file .file-text{font-size:17px;line-height:35px}.mf-line .input-file .file-text.placehlder{color:#aeaeae}.input-file .if-field-wrap{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.input-file .if-field-wrap input[type=file]{position:absolute;left:0;top:0;width:100%;height:100%;letter-spacing:10em;-ms-transform:scale(20);-webkit-transform:scale(20);-o-transform:scale(20);transform:scale(20);font-size:200em;opacity:0;cursor:pointer}form{font-family:dindisplay_pro,sans-serif}form.s-message{padding-left:20px}.s-message .mf-line{padding-left:120px;margin:20px 0 10px}.s-message .mf-line label{margin:5px -120px;float:left;font-size:20px;color:#f60}.s-message .mf-buttons-line{padding-left:120px;margin-top:10px}.s-message .mf-buttons-line a{margin-left:25px;font-size:15px}.pwf-msg .msg-help{color:#f60;padding-left:20px;display:none;max-width:234px}.pw-login a.forgot{font-size:14px;color:#464646}.pw-login .pw-form .pwf-field{width:310px}.pw-login a.forgot:hover{color:#f60}.pw-login button{margin-right:20px}.pw-login a.reg{font-weight:500;font-size:16px}.mf-line.afs-type>.mf-field label.check,.pwf-line.subj-checks>.pwf-field label.check{padding-right:0;width:20%}.pwf-line.subj-checks>.pwf-field label.check{font-size:17px}.c-select-box{position:relative;border:1px solid #bdbdbd;outline:0;width:100%;padding:3px;font-family:dindisplay_pro,sans-serif;font-size:15px;line-height:19px;border-radius:3px;box-shadow:inset 0 2px 2px -2px #aaa;-moz-box-sizing:border-box;box-sizing:border-box}.c-select-box.select{padding-bottom:0;min-height:40px}.e-form .c-select-box.select{min-height:26px;padding:0 1px}.c-select-box .csb-title{padding:0 35px 0 0;height:40px;font-size:16px;line-height:40px;border-bottom:1px dotted #cdcdcd;color:#a2a2a2;background:#fff;margin-bottom:3px}.c-select-box .csb-title input{border:none;padding:0 0 0 18px;height:35px;box-shadow:none}.c-select-box .csb-selected-items{display:none;border-bottom:1px dotted #cdcdcd;padding:2px 0;margin-bottom:3px;min-height:30px;line-height:24px}.e-form .c-select-box .csb-selected-items{min-height:18px;line-height:18px;padding:1px 0;margin-bottom:2px}.c-select-box .csb-selected-items.show{display:block}.c-select-box.select .csb-selected-items{display:block;border:none;padding-right:30px;margin-bottom:0;cursor:pointer}.c-select-box.select.disabled .csb-selected-items{cursor:default}.c-select-box.select .csb-selected-items:after{content:" ";display:block;width:8px;height:5px;overflow:hidden;background:url(../img/sprites.png) -86px -27px no-repeat;position:absolute;right:12px;top:20px;margin-top:-3px}.e-form .c-select-box.select .csb-selected-items:after{top:15px}.c-select-box .csb-selected-items .csb-placeholder{display:none;min-height:28px;line-height:28px;padding-left:18px;color:#aeaeae}.c-select-box .csb-selected-items .csb-placeholder.show{display:block}.c-select-box .csb-selected{position:relative;display:none;vertical-align:top;min-height:26px;line-height:25px;color:#f60;white-space:nowrap;margin:0 3px 3px 0;border:1px solid #f60;padding-right:25px;border-radius:3px}.e-form .c-select-box .csb-selected{min-height:16px;margin:0 2px 1px 0}.c-select-box .csb-selected.show{display:inline-block}.c-select-box .csb-selected>*{display:inline-block;vertical-align:middle}.c-select-box .csb-selected .csbs-text{padding-left:15px;line-height:18px;font-size:16px;white-space:normal}.c-select-box .csb-selected a.csbs-del:hover{text-shadow:0 1px 1px rgba(0,0,0,.3)}.c-select-box .csb-selected a.csbs-del{display:block;position:absolute;right:0;top:0;width:25px;overflow:hidden;height:18px;line-height:25px;text-align:right;padding-right:10px;text-decoration:none;font-family:Verdana,sans-serif}.cl-item header,.cli-info .cli-bot,.cli-photo-gallery .pg-title,.page-title h1,.page-title h2,.pagination .pg-body,.popup-gallery .pg-info,.so-text h2,.ui-datepicker{font-family:dindisplay_pro,sans-serif}.e-form .c-select-box .csb-selected a.csbs-del{padding-top:20px}.popup-window .c-select-box.select .csb-menu{max-height:145px}.c-select-box.select .csb-menu-wrap{position:absolute;left:-1px;right:-1px;top:100%;margin-top:-3px;background:#fff;z-index:50;padding:5px;border:1px solid #ccc;-moz-box-sizing:border-box;box-sizing:border-box;display:none}.e-form .c-select-box.select .csb-menu-wrap{margin-top:0}.c-select-box.places .csb-menu{height:245px}.c-select-box .csb-menu .scroll-content{padding:5px 10px}.c-select-box .csb-menu ul{margin:0;padding:0;list-style:none}.c-select-box .csb-menu ul li{margin-bottom:4px}.c-select-box .csb-menu a,.c-select-box .csb-menu label{cursor:pointer;color:#464646;position:relative;margin-left:12px}.c-select-box .csb-menu label.active{color:#a2a2a2}.c-select-box .csb-menu .places-list>ul>li.active>a,.c-select-box .csb-menu .places-list>ul>li.active>label,.c-select-box .csb-menu a:hover,.c-select-box .csb-menu label:hover{color:#f60}.c-select-box .csb-menu label input[type=checkbox]{opacity:0;outline:0;position:absolute;z-index:-1}.lt-ie9 .c-select-box .csb-menu label input[type=checkbox]{-ms-filter:alpha(opacity=0);filter:alpha(opacity=0)}.c-select-box .csb-menu .places-list{width:260px;float:left}.c-select-box .csb-menu .places-list>ul>li>a{display:inline-block;border-bottom:1px dashed;text-decoration:none;font-size:17px;line-height:15px}.c-select-box .csb-menu .places-list>ul ul{margin:5px 0 0 16px;font-size:16px}.places-list .final-tire{margin-left:16px}.places-list .final-tire .custom-radio-check{padding-left:12px}.c-select-box .csb-menu .places-list>ul>li{margin-bottom:15px}.c-select-box .csb-menu .places-list .active>.sublist{display:block}.c-select-box .csb-menu .places-list .sublist{display:none}.c-select-box .csb-menu .places-list .sublist.parent{display:block}.c-select-box .csb-menu .q-sel{width:190px;float:right}.tabs li,.ui-datepicker-prev{float:left}.c-select-box .csb-menu .q-sel .q-sel-title{font-size:14px;color:#a2a2a2;margin-bottom:3px}.c-select-box .csb-menu .q-sel .q-sel-title+ul{margin-bottom:10px}.c-select-box .csb-menu .q-sel a.clear{display:inline-block;font-size:14px;line-height:12px;text-decoration:none;border-bottom:1px dashed;color:#a2a2a2;margin-left:0}.c-select-box .csb-menu .q-sel a.clear:hover,.ui-datepicker th.ui-datepicker-week-end{color:#f60}.mCSB_scrollTools .mCSB_draggerRail{width:10px;background:#dbdbdb;border:1px solid #ccc;-moz-box-sizing:border-box;box-sizing:border-box}.mCSB_scrollTools .mCSB_dragger{-moz-box-sizing:border-box;box-sizing:border-box}.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:8px;border:solid #dbdbdb;border-width:2px 1px;-moz-box-sizing:border-box;box-sizing:border-box}.tabs li,.tabs li a{display:block}.mCSB_horizontal.mCustomScrollBox>.mCSB_scrollTools{left:20px;right:20px;bottom:5px;width:auto;height:20px}.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{width:100%;height:12px;background:#dbdbdb}.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{height:10px;margin:8px auto;border-width:2px 3px}.pw-subscribe header{margin:-5px 0 20px;padding:0;border-bottom:1px dotted #ccc}.pw-subscribe header .pw-title{float:left;padding:5px 20px 0 0}.tabs{position:relative;margin:0 0 -1px;padding:0;list-style:none;z-index:2}.pw-subscribe header .tabs{margin:0 0 -1px;overflow:hidden}.tabs li{height:51px;-moz-box-sizing:border-box;box-sizing:border-box;opacity:.2;border:dotted transparent;border-width:1px 1px 0;margin-left:5px}.tabs li:hover{opacity:1}.tabs li.active{border:dotted #ccc;border-width:1px 1px 0;background:#fcfcfb;opacity:1}.popup-window .tabs li.active{background:#f8f8f6}.tabs li a{position:relative;height:50px;padding:12px;overflow:hidden;text-decoration:none;-moz-box-sizing:border-box;box-sizing:border-box;font-size:15px}.popup-window .tabs li a{width:54px}.tabs li a:before{content:'';display:inline-block;vertical-align:middle;background:url(../img/sprites.png) no-repeat;margin:0 7px 3px 0}.popup-window .tabs li a:before{display:block;margin:0 auto 50px}.tabs li a.icon-big-email:before{width:30px;height:26px;background-position:-32px -33px}.tabs li a.icon-big-rss:before{width:25px;height:26px;background-position:-91px -33px}.tabs li a.icon-big-twitter:before{width:29px;height:25px;background-position:-117px -33px}.tabs li a.icon-big-ical:before{width:26px;height:29px;background-position:-64px -33px}.tabs-content{margin:0;padding:0;list-style:none}.tabs+.tabs-content{position:relative;border-top:1px dotted #ccc;z-index:1;padding-top:20px}.tabs-content>li{display:none}.tabs-content>li.active{display:block}.pw-subscribe .pw-form .pwf-field{width:370px}.pw-subscribe .mail{margin-bottom:25px}.ui-datepicker{display:none;width:200px;height:auto;padding:10px;font-size:13px;border:1px solid #bdbdbd;background:#fff;border-radius:4px;line-height:13px;box-shadow:0 0 10px 0 rgba(0,0,0,.5)}.ui-datepicker a{text-decoration:none}.ui-datepicker table{width:100%}.ui-datepicker-header{font-weight:500;text-transform:uppercase;border-bottom:1px dotted #bdbdbd;padding-bottom:6px;margin-bottom:6px;font-size:21px;line-height:33px}.ui-datepicker-title{text-align:center;font-weight:100;color:#f60}.ui-datepicker-next,.ui-datepicker-prev{position:relative;display:inline-block;width:31px;height:0;padding-top:31px;cursor:pointer;border:1px solid #bdbdbd;border-radius:3px;overflow:hidden}.ui-datepicker-next:hover,.ui-datepicker-prev:hover{border-color:#f60;background:#f60}.ui-datepicker-next.ui-state-disabled,.ui-datepicker-prev.ui-state-disabled{border-color:#bdbdbd;background:0 0;opacity:.5}.ui-datepicker-next:before,.ui-datepicker-prev:before{content:' ';display:block;width:10px;height:12px;background:url(../img/sprites.png) -155px 0 no-repeat;position:absolute;left:50%;top:50%;margin:-6px 0 0 -5px}.ui-datepicker-prev.ui-state-disabled:hover:before,.ui-datepicker-prev:before{background-position:-155px 0;margin-left:-6px}.ui-datepicker-prev:hover:before{background-position:-113px 0}.ui-datepicker-next{float:right}.ui-datepicker-next.ui-state-disabled:hover:before,.ui-datepicker-next:before{background-position:-165px 0;margin-left:-4px}.ui-datepicker-next:hover:before{background-position:-123px 0}.ui-datepicker th{text-transform:uppercase;font-weight:500;padding:0 0 4px}.ui-datepicker tbody td{padding:2px 0;text-align:center}.ui-datepicker td a,.ui-datepicker td span{display:inline-block;width:24px;height:24px;line-height:24px;text-align:center;border:1px solid #e2e2e2;border-radius:3px;color:#e2e2e2}.ui-datepicker td a{color:#2b2b2b;border-color:#bdbdbd}.ui-datepicker td.ui-datepicker-week-end a{color:#f60;border-color:#f60}.ui-datepicker td a:hover{background:#f0f0f0}.ui-datepicker td.ui-datepicker-today a{background:#565656;border-color:#565656;color:#fff}.ui-datepicker td a.ui-state-active{background:#f60;border-color:#f60;color:#fff}.pw-reply .pw-form .pwf-line{width:100%}.pw-reply .pw-form .pwf-line .pwf-field{display:block;padding-right:0;width:auto}.pwf-line>label{display:block;margin:-5px 0 5px}.pw-reply .pw-form .pwf-line label{font-size:20px;display:block;margin-bottom:10px}.bread-crumbs a:after,.layout-wrap>aside .sbnr .sbnr-wrap,.pagination .pg-body li{display:inline-block}.pw-reply .pw-form .pwf-buttons-line{margin-top:0}.layout-wrap>aside .sbnr{margin:25px 0}.layout-wrap>aside .vk-widget{width:180px;margin:30px 0}.main-part .abn{margin:20px 0;text-align:center}.main-page .abn{margin-bottom:0}.so-text{margin:20px 0;font-size:12px;line-height:15px}.so-text h2{font-weight:100;font-size:30px;line-height:30px;margin:15px 0;color:#f60}.bread-crumbs{margin:17px 0;font-size:11px;line-height:13px}.bread-crumbs a{color:#a2a2a2;margin-right:3px}.bread-crumbs a:hover{color:#f60}.bread-crumbs a:after{content:'→';color:#a2a2a2;margin-left:7px;text-decoration:none}.bread-crumbs b,.bread-crumbs strong{font-weight:400}.page-title{margin:17px 0}.page-title h1,.page-title h2{font-weight:100;font-size:40px;line-height:40px;margin:0;color:#f60}.page-title h1 strong,.page-title h2 strong{font-weight:400;color:#464646}.page-title.clearfix h1,.page-title.clearfix h2{float:left}.p-filter{font-size:12px;color:#a2a2a2;margin:17px 0}.page-title+.p-filter{margin-top:-10px}.p-filter .pf-body{width:100%;float:left;padding:0 280px 0 55px;-moz-box-sizing:border-box;box-sizing:border-box}.p-filter .pf-body .pf-label{width:55px;float:left;margin:0 -55px}.p-filter .pf-body a{color:#464646;white-space:nowrap}.p-filter .pf-body a:hover{color:#f60}.p-filter .ch-dates-range{width:260px;float:right;margin-left:-260px}.p-filter .ch-dates-range a{text-decoration:none;border-bottom:1px dashed;-webkit-transition:border .3s;-o-transition:border .3s;transition:border .3s}.p-filter .ch-dates-range a:hover{border-bottom:none}.page-body{margin:15px 0 0 -20px}.pagination{margin:25px 0 40px}.pagination .pg-info{float:right;padding-right:20px;font-size:12px;line-height:29px}.pagination .pg-info i{font-style:normal;color:#a2a2a2}.pagination .pg-body{overflow:hidden}.pagination .pg-body ul{margin:0;padding:0;list-style:none;display:inline-block;vertical-align:middle}.pagination .pg-body li a,.pagination .pg-body li b,.pagination .pg-body>a{height:29px;line-height:29px;margin-right:1px;text-decoration:none}.pagination .pg-body li a,.pagination .pg-body li b{display:block;min-width:29px;padding:0 5px;font-weight:700;font-size:16px;text-align:center;border:1px solid #fcaf7b;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:1px}.pagination .pg-body li b{border-color:#f60;background:#f60;color:#fff}.pagination .pg-body>a{display:inline-block;vertical-align:middle;padding:0 7px;font-weight:500;font-size:17px;border:1px solid #fcaf7b;-moz-box-sizing:border-box;box-sizing:border-box}.pagination .pg-body a.pg-prev{border-radius:4px 0 0 4px}.pagination .pg-body a.pg-next{border-radius:0 4px 4px 0}.pagination .pg-body a.pg-next:after,.pagination .pg-body a.pg-prev:before{content:' ';display:inline-block;vertical-align:middle;width:5px;height:8px;background:url(../img/sprites.png) -143px -16px no-repeat;margin-top:-1px}.pagination .pg-body a.pg-prev:before{background-position:-143px -16px;margin-right:7px}.pagination .pg-body a.pg-next:after{background-position:-148px -16px;margin-left:7px}.pagination .pg-body a:hover{background:#fcaf7b;color:#fff}.pagination .pg-body a.pg-prev:hover:before{background-position:-143px -24px}.pagination .pg-body a.pg-next:hover:after{background-position:-148px -24px;margin-left:7px}.pagination .pg-body>a.disabled{border-color:#cdcdcc;background:0 0;color:#babab9;cursor:default;width:29px;overflow:hidden;padding:27px 0 0;position:relative}.pagination .pg-body a.pg-next.disabled:after,.pagination .pg-body a.pg-prev.disabled:before{position:absolute;left:50%;top:50%;margin:-4px 0 0 -3px}.pagination .pg-body a.pg-prev.disabled:before,.pagination .pg-body a.pg-prev.disabled:hover:before{background-position:-153px -16px}.pagination .pg-body a.pg-next.disabled:after,.pagination .pg-body a.pg-next.disabled:hover:after{background-position:-158px -16px}.cat-list{margin:0;padding:0;list-style:none}.cat-list>li.ad{overflow:hidden;margin-bottom:20px}.cat-list>.cl-item,.m-article{position:relative;padding:17px 20px 15px;margin-bottom:20px;background:#fcfcfb;box-shadow:inset 0 1px 0 #e8e8e7;border-radius:4px;-webkit-transition:background .3s;-o-transition:background .3s;transition:background .3s}.cancel,.cancel:after,.hit{position:absolute;left:0;top:0;display:block}.m-article .cat-list>.cl-item{margin-bottom:15px}.cat-list>li.cl-item:hover{background:#fff;box-shadow:0 3px 5px -3px #888}.hit{width:81px;height:81px;background:url(../img/sprites.png) -63px -63px no-repeat;z-index:2}.cancel{width:100%;bottom:0;background:rgba(255,255,255,.75);z-index:20}.lt-ie9 .cancel{background:#fff;-ms-filter:alpha(opacity=75);filter:alpha(opacity=75)}.cancel:after{content:' ';width:81px;height:81px;background:url(../img/sprites.png) -144px -63px no-repeat;z-index:21}.cl-item .cl-item-wrap{padding-left:120px;margin-bottom:10px}.cl-photos .cl-item .cl-item-wrap,.e-cat .cl-item .cl-item-wrap{padding-left:90px;margin-bottom:0}.m-article .cl-item .cl-item-wrap{padding-left:100px;margin-bottom:0}.cl-item .cl-item-wrap>a{color:#464646;text-decoration:none}.cli-pict,.i-pict{width:100px;line-height:96px;text-align:center;background:#fff;margin:3px -100% 0 -120px;float:left;box-shadow:inset 0 1px 0 #e8e8e7;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box}.i-pict{margin:0 0 10px;position:relative}.i-pict .user-avatar{display:block;width:100%;height:100%}.cl-photos .cli-pict,.e-cat .cli-pict{width:70px;height:70px;line-height:60px;padding:4px;margin-left:-90px}.m-article .cl-item .cli-pict{width:80px;height:80px;line-height:70px;padding:5px;margin-left:-100px}.cat-list li.cl-item:hover .cli-pict{box-shadow:none}.cli-pict img,.i-pict img{max-width:100%;max-height:100%;border-radius:4px}.cli-info{width:100%;float:left;margin-bottom:15px}.e-cat .cli-info{margin-bottom:0}.cat-list.cl-places .cli-info{margin-bottom:7px}.cli-info .cli-top{margin-bottom:10px}.cat-list.cl-places .cli-info .cli-top{margin-bottom:7px}.cl-item .cli-approved{float:right;margin-left:10px;opacity:.25;-webkit-transition:opacity .3s;-o-transition:opacity .3s;transition:opacity .3s;margin-right:10px}.cli-approved img{width:26px;height:auto}.cat-list li.cl-item:hover .cli-approved,.cat-list>li.cl-item.canceled .cli-approved{opacity:1}.cl-item .cli-status{float:right;font-size:11px;line-height:13px;color:#a2a2a2}.cl-item .cli-status .status{height:13px;overflow:hidden}.cl-item .cli-status .status.active{width:13px}.cl-item .cli-status .status:before{content:' ';display:inline-block;width:13px;height:13px;background:url(../img/sprites.png) -211px -32px no-repeat;margin:0 3px -2px 0}.cli-photo-list .cli-phg-bot .cli-pb-button{background-position:-345px -32px}.cl-item .cli-status .status.moderated:before{background-position:-211px -160px}.cl-item .cli-status .status.draft:before{content:none}.cl-item .cli-status b{display:inline-block;font-size:16px;font-weight:400;padding-top:5px}.cl-item .cli-status b:before{content:' ';display:inline-block;vertical-align:middle;width:16px;height:15px;background:url(../img/sprites.png) -171px -16px no-repeat;margin:-2px 5px 0 0}.cl-item .cli-status b.participant{color:#f60}.cl-item .cli-status b.visitor{color:#464646}.cl-item .cli-status b.visitor:before{width:14px;background-position:-188px -16px;margin-top:-2px}.cl-item header{margin-bottom:2px}.cl-item header .cli-title{display:inline-block;vertical-align:top;font-size:30px;line-height:30px;margin:0 6px 0 0;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s;max-width:490px}.cl-item header .cli-title a{color:#464646;text-decoration:none}.cat-list li.cl-item:hover header .cli-title,.cl-item header .cli-title a:hover{color:#f60}.cat-list>li.cl-item.canceled header .cli-title{text-decoration:line-through;color:#464646}.cli-info .cli-bot .cli-area a,.cli-info .cli-bot .cli-position a,.cli-place a,.cli-services-sm a,.i-info .i-address a.toggle-map,.i-info .i-area a,.i-info .i-position a,dl.add-info dd a,dl.add-info dd a:hover{text-decoration:none}.cl-item header .cli-rate{display:inline-block;vertical-align:top;color:#f60;font-size:16px;margin-top:2px}.cl-item header .cli-rate:before{content:' ';display:inline-block;vertical-align:baseline;width:14px;height:13px;margin:0 4px -1px 0;background:url(../img/sprites.png) -181px -32px no-repeat;opacity:.5}.cli-info .cli-bot .cli-dim:before,.cli-place:before{height:16px;content:' '}.cli-descr{font-size:12px;line-height:15px;color:#a2a2a2}.cli-info .cli-bot{font-size:15px;line-height:19px}.cli-info .cli-bot .cli-area,.cli-info .cli-bot .cli-date{font-size:17px;line-height:18px;float:left}.cli-info .cli-bot .cli-area{font-weight:500;color:#f60}.cli-info .cli-bot .cli-area a:hover{color:#464646}.cli-info .cli-bot .cli-position{font-size:20px;line-height:21px;font-weight:500;color:#f60;float:left}.cli-info .cli-bot .cli-position a{color:#f60}.cli-info .cli-bot .cli-position a:hover,.cli-place a{color:#464646}.cli-info .cli-bot .cli-dim{font-size:16px;line-height:18px;font-weight:700;float:left}.cli-info .cli-bot .cli-dim:before{display:inline-block;width:16px;background:url(../img/sprites.png) -242px -16px no-repeat;vertical-align:middle;margin:-4px 4px 0 0}.cli-place{float:right;padding-left:15px}.cli-place:before{display:block;width:10px;background:url(../img/sprites.png) -217px -16px no-repeat;float:left;margin:1px -10px 0 -15px}.cli-place a:hover{color:#f60}.cli-buttons{position:relative;width:100%;float:left}.cli-m-buttons{float:left}.cli-m-buttons>*{margin-left:5px}.cli-m-buttons>:first-child{margin-left:0}.cli-services{display:inline-block;vertical-align:top}.cli-services:hover{padding-bottom:10px;margin-bottom:-10px;background:#f60;border-radius:4px 4px 0 0}.cli-services:hover .button.icon-sm{border-color:#f60;background:#f60;color:#fff;box-shadow:inset 0 1px 0 rgba(0,0,0,.1)}.cli-services:hover .button.icon-sm:before{background-position:-287px -41px}.cli-services-sm{margin-top:5px;padding:10px 0 1px 15px;position:absolute;background:#f60;color:#fff;font-size:12px;font-weight:700;width:100%;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box;display:none;z-index:100}.cli-services:hover .cli-services-sm{display:block}.cli-services-sm ul{margin:0;padding:0;list-style:none}.cli-services-sm ul li{display:inline-block;vertical-align:top;margin:0 10px 9px 0}.cli-services-sm a{display:block;color:#fff;text-transform:uppercase;padding:2px 10px;border:1px solid #ffb880;border-radius:4px}.cli-services-sm a:hover{border-color:#fff;background:#fff;color:#f60;text-shadow:none}.cli-s-buttons{float:right}.cat-list>li>footer{padding-left:120px;font-size:11px;line-height:16px}.cat-list>li>footer .cli-stats{width:120px;text-align:center;margin:0 -100% 0 -130px;float:left}.i-stats{font-size:11px;text-align:center;margin-left:-5px}.cat-list .cli-stats>*,.i-stats>*{display:inline-block;vertical-align:baseline;white-space:nowrap;margin-left:5px}.cat-list .cli-stats>:first-child{margin-left:0}.cat-list .cli-stats>:before,.i-stats>:before{content:' ';display:inline-block;width:11px;height:12px;background:url(../img/sprites.png) -12px 0 no-repeat;margin:0 3px -1px 0}.cat-list .cli-stats .schedule,.cat-list .cli-stats .visitors,.i-stats .schedule,.i-stats .visitors{color:#464646}.cat-list .cli-stats .visitors:before,.i-stats .visitors:before{width:11px;height:12px;background-position:-12px 0;margin:0 2px -1px 0}.cat-list .cli-stats .schedule:before,.i-stats .schedule:before{width:13px;height:14px;background-position:-228px -16px;margin-bottom:-1px}.cat-list .cli-stats .participants,.cat-list .cli-stats .views,.i-stats .participants,.i-stats .views{color:#f60}.cat-list .cli-stats .participants:before,.i-stats .participants:before{width:13px;height:12px;background-position:-197px 0;margin-bottom:-2px}.cat-list .cli-stats .views:before,.i-stats .views:before{width:13px;height:8px;background-position:-148px -52px;margin-bottom:0}.cat-list>li>footer .cli-tags{color:#a2a2a2}.cat-list>li>footer .cli-tags a{color:#a2a2a2;white-space:nowrap}.cat-list>li>footer .cli-tags a:hover{color:#f60}.cli-photo-list .clipl-wrap{margin:0 0 10px}.sli-slides{overflow:hidden;margin-right:-15px}.cli-photo-list ul{margin:0;padding:0;list-style:none;width:100%}.cli-photo-list ul>li{width:25%;padding-right:15px;float:left;-moz-box-sizing:border-box;box-sizing:border-box}.cli-photo-list ul>li a{display:block;overflow:hidden;border-radius:4px}.cli-photo-list ul>li img{width:100%}.clipl-wrap .re-controls{display:none}.clipl-wrap .re-controls.enabled{display:block}.clipl-wrap .re-controls a{display:block;width:71px;height:0;padding-top:71px;overflow:hidden;position:absolute;top:50%;margin-top:-35px}.clipl-wrap .re-controls a:before{content:' ';display:block;width:31px;height:62px;background:url(../img/sprites.png) 0 -63px no-repeat;position:absolute;left:50%;top:50%;margin:-31px 0 0 -15px}.clipl-wrap .re-controls a.prev{left:0}.clipl-wrap .re-controls a.prev:before{background-position:0 -63px}.clipl-wrap .re-controls a.next{right:15px}.clipl-wrap .re-controls a.next:before{background-position:-32px -63px}.clipl-wrap .re-controls a.next.disabled,.clipl-wrap .re-controls a.prev.disabled{display:none}.cli-photo-list .cli-phg-bot{width:100%}.cli-photo-list .cli-phg-bot>div{-moz-box-sizing:border-box;box-sizing:border-box}.cli-photo-list .cli-phg-bot .cli-pb-button{width:50%;float:left;padding-right:15px}.cli-photo-list .cli-phg-bot .cli-pb-button .button{width:49%;min-width:175px;text-align:center;margin-right:11px}.cli-photo-list .cli-phg-bot .cli-pb-info{padding-left:15px;float:right;font-size:12px;line-height:29px;color:#a2a2a2}.cli-photo-text{font-size:12px;line-height:15px;margin-bottom:15px}.cli-photo-text>:first-child{margin-top:0}.cli-photo-gallery{margin-right:-15px}.i-photos .cli-photo-gallery{margin-right:-20px}.cli-photo-gallery>ul{margin:0;padding:0;list-style:none}.cli-photo-gallery>ul>li{display:inline-block;vertical-align:top;width:33.3%;padding:0 15px 0 0;margin:0 -4px 15px 0;-moz-box-sizing:border-box;box-sizing:border-box}.i-photos .cli-photo-gallery>ul>li{width:20%;padding-right:20px;margin-bottom:20px}.cli-photo-gallery>ul>li>a{position:relative;display:block;width:100%;overflow:hidden;text-align:center;border-radius:4px}.i-photos .cli-photo-gallery>ul>li>a{height:140px}.cli-photo-gallery>ul>li img{display:block;width:100%}.i-photos .cli-photo-gallery>ul>li img{display:inline-block;width:auto;height:100%;margin:0 -50%}.cli-photo-gallery .pg-title{display:none;position:absolute;background:rgba(0,0,0,.7);color:#fff;font-size:15px;width:100%;left:0;bottom:0;text-align:left;padding:20px;-moz-box-sizing:border-box;box-sizing:border-box}.lt-ie9 .cli-photo-gallery .pg-title{background:url(../img/semitransparent-ie8.png)}.popup-gallery-container{position:fixed;width:100%;height:100%;left:0;top:0;overflow:auto;background:rgba(0,0,0,.75);z-index:1000;-moz-box-sizing:border-box;box-sizing:border-box;display:none}.lt-ie9 .popup-gallery-container{background:url(../img/semitransparent-ie8.png)}.pg-container-wrap{display:table;width:100%;height:100%}.popup-gallery-outer{position:fixed;width:100%;height:100px}.popup-gallery{position:absolute;display:block;width:1040px;height:533px;top:50%;left:50%;margin-top:-266px;margin-left:-520px;border-radius:4px;background-color:#fff}.popup-gallery .pg-wrap{position:relative;background:#fff;padding-left:730px;overflow:hidden;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:4px}.popup-gallery .ajax-load-popup{position:absolute;left:0;top:0;width:100%;height:100%}.popup-gallery .ajax-load-popup img{display:block;width:54px;height:55px;position:absolute;top:50%;left:50%;margin-top:-27px;margin-left:-27px}.lt-ie9 .popup-gallery .pg-wrap{border:1px solid #ccc}.popup-gallery .pg-photos{width:730px;height:533px;line-height:530px;background:#eee;margin:0 -730px;float:left}.popup-gallery .pg-photos img{max-width:730px;max-height:533px;text-align:center;vertical-align:middle}.popup-gallery .pg-photos ul{margin:0;padding:0;list-style:none}.popup-gallery .pg-info{padding:15px 20px 145px;width:100%;height:100%;text-align:left;float:left;-moz-box-sizing:border-box;box-sizing:border-box}.pgi-wrap{height:100%;overflow:auto}.pg-photo-title{font-size:20px;padding-right:20px;margin-bottom:10px}.pg-photo-descr,.pg-photo-text{font-size:12px;line-height:15px}.pg-photo-text{font-family:Arial,sans-serif;color:#8d8d8d;margin-bottom:10px}.i-info .i-position,.i-info header,.item-wrap>aside .i-rating{font-family:dindisplay_pro,sans-serif}.popup-gallery .pg-info hr{margin:10px 0}.pg-photo-descr h3{font-size:15px;margin:0 0 3px;font-weight:400}.pg-photo-descr p{margin:3px 0 0}.pg-comments .pgc-title{font-size:15px;margin:0 0 5px}.pg-comments ul{margin:0;padding:0;list-style:none;font-size:12px;line-height:15px;color:#8d8d8d}.pg-comments ul li{margin-top:10px}.pg-only-text .pg-photo-title{font-size:24px;line-height:1em;margin-top:24px;margin-bottom:36px;margin-left:.5em}.pgc-form .pgc-field,.pgc-form label{margin-bottom:5px}.pgc-user{color:#f60}.pgc-form{position:absolute;left:750px;right:20px;bottom:20px}.pgc-form label{display:block;font-size:15px}.pgc-form textarea{height:50px;padding:5px}.pgc-form .pgc-buttons .button,.pgc-form .pgc-buttons button{padding-left:8px;padding-right:8px}.pgc-form .pgc-buttons button{background:0 0;-webkit-filter:none;filter:none}.pgc-form .pgc-buttons button:hover{background:#f60}.pg-photos-controls a{position:absolute;width:60px;height:0;padding-top:533px;overflow:hidden;top:0;opacity:.5}.pg-photos-controls a:hover{opacity:1}.pg-photos-controls a:before{content:' ';display:block;width:21px;height:42px;background:url(../img/sprites.png) -257px -133px no-repeat;position:absolute;left:50%;top:50%;margin:-21px 0 0 -10px}.pg-photos-controls a.pgpc-prev{left:-60px}.pg-photos-controls a.pgpc-next{right:-60px}.pg-photos-controls a.pgpc-next:before{background-position:-279px -133px}.pg-close{display:block;position:absolute;right:0;top:0;width:32px;height:32px;cursor:pointer;z-index:100}.pg-close:before{content:'';display:block;width:10px;height:10px;background:url(../img/sprites.png) -133px 0 no-repeat;position:absolute;left:50%;top:50%;margin:-5px 0 0 -5px}.pg-close:hover:before{background-position:-144px 0}.item-wrap{padding-left:120px}.item-wrap>aside{width:100px;float:left;margin:0 -100% 0 -120px}.item-wrap>aside .i-pict{float:none;margin-bottom:5px}.item-wrap>aside .i-rating{font-size:21px;line-height:22px;text-align:center;color:#f60;padding:4px 10px 3px;margin:15px 0;border:1px solid #fdcfaf;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box}.item-wrap>aside .i-rating:before{content:' ';display:inline-block;vertical-align:middle;width:20px;height:19px;margin:-3px 5px -2px -2px;background:url(../img/sprites.png) -160px -32px no-repeat;opacity:.5}.item-wrap.event>aside .i-rating{margin-top:22px}.i-info{width:100%;float:left}.i-info .i-address a.toggle-map:before,.i-info header .i-place:before{content:' ';width:10px;background:url(../img/sprites.png) -217px -16px no-repeat}.i-info header{margin-bottom:2px}.i-info header .i-place{float:right;font-size:15px;padding:13px 0 0 15px;max-width:235px;white-space:nowrap}.i-info header .i-place:before{display:block;height:16px;float:left;margin:1px -10px 0 -15px}.i-info header .i-place a{color:#464646;text-decoration:none}.i-info header .i-place a:hover{color:#f60}.i-info .i-title{display:inline-block;font-size:40px;line-height:37px;color:#f60;margin:0 6px 5px 0;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s}.i-info .i-area{margin-bottom:15px}.i-address header,.i-info .i-address{margin-bottom:10px}.i-info .i-position{font-size:20px}.i-info .i-position a{color:#464646}.i-info .i-position a:hover{color:#f60}.i-info .i-descr{font-size:12px;line-height:16px;color:#7e7e7e;height:27px;font-family:Arial,sans-serif}.i-additional .ia-title,.i-address header,.i-info .i-area,.i-info .i-contacts .ic-links,.i-statistics>header,.m-article .sect-title{font-family:dindisplay_pro,sans-serif}.place .i-info .i-descr{min-height:30px}.i-info .i-area{font-weight:500;font-size:22px;line-height:23px}.i-info .i-area a{color:#464646}.i-info .i-area a:hover{color:#f60}.i-address header{font-size:18px;line-height:21px}.i-address header>*{display:inline-block;vertical-align:middle}.i-address header .address{margin-right:10px}.i-info .i-address a.toggle-map{display:inline-block;vertical-align:middle;font-size:15px;line-height:12px;color:#a2a2a2;border-bottom:1px dashed;margin-left:15px}.i-info .i-address.map-opened header a.toggle-map{display:none}.i-info .i-address a.toggle-map:hover{color:#f60}.i-info .i-address a.toggle-map:before{display:block;height:16px;float:left;margin:0 -10px 0 -15px}.i-info .i-address .i-map{position:relative;margin:0 0 20px;display:none}.i-info .i-contacts,.i-info .i-tags{margin-bottom:15px}.place .i-info .i-address .i-map{margin-left:-120px}.i-info .i-address.map-opened .i-map{display:block}.i-info .i-address .i-map .close-map{position:absolute;right:0;bottom:100%;z-index:20;margin-bottom:15px}.i-info .i-address .i-map .map-canvas{width:100%;height:305px;background:#eee;overflow:hidden;border-radius:4px}.i-info .i-tags{font-size:11px;line-height:16px;color:#a2a2a2;margin-top:-5px}.i-info .i-tags a{color:#a2a2a2;white-space:nowrap}.i-info .i-tags a:hover{color:#f60}.i-info .i-contacts .ic-buttons{width:265px;margin-right:40px;float:left}.i-info .i-contacts .ic-buttons .icb-exit-edit{display:none}.i-info .i-contacts .ic-buttons .soc-media-buttons{margin-top:25px}.i-info .i-contacts .ic-links{font-size:15px;line-height:20px;width:310px;float:left}.ic-tel{font-size:20px;line-height:21px;margin-bottom:4px}.i-additional{margin-bottom:15px;font-size:12px;line-height:15px}.i-additional .ia-title{font-size:20px;line-height:23px;margin-bottom:30px}dl.add-info p{margin:0}dl.add-info{margin:0 0 -7px;padding:0;font-size:12px;line-height:15px}dl.add-info dt{min-height:15px;width:178px;float:left;clear:left;margin:0 5px 10px 0}dl.add-info dd{min-height:15px;padding:0;overflow:hidden;margin:0 0 12px}dl.add-info dd a{color:#464646}dl.add-info dd a:hover{color:#f60}dl.add-info dd ul{margin:0;padding:0;list-style:none}dl.add-info dd ul li{margin-bottom:3px}.i-statistics>header{padding-left:120px;margin-bottom:20px;font-weight:500;font-size:20px;line-height:23px;color:#f60}.i-statistics>header b{font-weight:700;font-size:40px;letter-spacing:-2px;margin-right:2px}.i-statistics>header .ish-title{width:100px;margin:0 -100% 0 -120px;float:left;font-weight:400;font-size:17px;line-height:18px;text-align:right;color:#464646}.i-statistics>header .ish-data{width:100%;text-align:justify;padding-right:70px;margin-bottom:-20px;-moz-box-sizing:border-box;box-sizing:border-box}.i-discount .discount-button,.i-steps a.step{text-align:center;font-family:dindisplay_pro,sans-serif;text-transform:uppercase;text-decoration:none}.i-statistics>header .ish-data>*{display:inline-block;padding-top:10px;max-width:30%}.i-statistics>header .ish-data:after{content:'';display:inline-block;width:100%;height:0}.i-statistics>header .ish-data a{text-decoration:none;color:#f60}.i-statistics>header .ish-data a:hover{color:#464646}.m-article .sect-title{font-size:23px;font-weight:700;line-height:24px;margin-top:19px;margin-bottom:15px}.e-details .sect-title,.graph-title{font-weight:300;font-family:dindisplay_pro,sans-serif}.e-details .sect-title{font-size:30px;line-height:32px;color:#feb17d}.m-article .sect-title a:not(.button){color:#464646;text-decoration:none}.m-article .sect-title a:not(.button):hover{color:#f60}.graph-title{font-size:25px;line-height:26px;color:#feb17d}.i-staff-list{margin-bottom:15px}.i-staff-list>ul{margin:0;padding:0 0 0 4px;list-style:none}.i-staff-list>ul>li{display:inline-block;width:33%;margin-left:-4px}.i-staff-list>ul>li>a{text-decoration:none;color:#464646}.i-staff-list .sl-item{padding-left:110px}.i-staff-list .sl-pict{display:block;width:90px;height:90px;overflow:hidden;margin:0 -100% 0 -110px;float:left;border-radius:4px}.i-staff-list .sl-info{display:table;width:100%;height:90px}.i-staff-list .sl-info .sl-info-wrap{display:table-cell;vertical-align:middle;padding-right:40px}.i-staff-list .sl-info .sl-name{font-family:dindisplay_pro,sans-serif;font-weight:500;font-size:19px;line-height:20px;color:#f60;margin-bottom:4px}.i-staff-list a:hover .sl-info .sl-name{color:#464646}.i-staff-list .sl-info .sl-position{font-size:11px;line-height:14px}.i-stats{line-height:15px;margin-bottom:7px}.i-date{font-family:dindisplay_pro,sans-serif;font-size:27px;margin:12px 0 10px}.i-date:after{content:"";display:block;clear:both}.i-date .sharing_block{float:right}.i-discount{margin-top:15px;font-size:10px;line-height:12px;color:#a2a2a2}.i-discount .discount-button{display:block;border:none;outline:0;height:26px;padding:1px 5px 0;font-weight:700;font-size:13px;line-height:25px;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.3);background:#f60;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ff8000),color-stop(100%,#f60));background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:linear-gradient(to bottom,#ff8000 0,#f60 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#ff8000', endColorstr='#ff6600', GradientType=0);border-radius:3px;-moz-box-sizing:border-box;box-sizing:border-box}.i-discount .discount-button:hover{background:#ff8000;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fe9150),color-stop(100%,#fe9150));background:-webkit-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-o-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-webkit-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-o-linear-gradient(top,#fe9150 0,#ff8000 100%);background:linear-gradient(to bottom,#fe9150 0,#ff8000 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#fe9150', endColorstr='#ff8000', GradientType=0)}.i-discount .dsc-text{font-size:10px;line-height:11px;margin-top:5px;padding:0 0 0 10px}.i-buttons .ib-main{float:left}.i-buttons .ib-add{float:right}.i-divs{margin-bottom:20px}.i-divs .i-subj{width:55%;float:left;font-family:dindisplay_pro,sans-serif;font-size:14px}.i-divs .i-subj ul{margin:-3px 0 0;padding:0;list-style:none}.i-divs .i-subj a{color:#6d6d6d}.i-divs .i-subj a:hover,.i-steps ul>li.s1,.i-steps ul>li.s1 a{color:#f60}.i-divs .i-tags{width:45%;float:right;margin-bottom:0}.i-divs .i-tags a{white-space:normal}.i-tags.grey,.i-tags.grey a{color:#a2a2a2}.i-tags.grey a:hover{color:#F60}.i-sub-articles{font-family:dindisplay_pro,sans-serif;font-size:16px;padding:0 0 0 10px;background:#fcf4ee;margin-bottom:25px;border-radius:4px}.i-sub-articles ul{margin:0;padding:0;list-style:none;display:table;width:100%}.i-sub-articles ul>li{display:table-cell;padding:15px}.i-steps{margin-bottom:20px}.i-steps .is-title{font-family:dindisplay_pro,sans-serif;font-size:28px;line-height:28px;text-align:center;text-transform:uppercase;margin-bottom:15px;color:#000;font-weight:300}.i-steps ul{margin:0;padding:0;list-style:none;display:table;width:100%}.i-steps ul>li{display:table-cell;width:33.3%;padding:0 3px}.i-steps .label{font-size:12px;line-height:15px;font-style:italic;margin-bottom:5px;white-space:nowrap;text-align:center}.i-steps a.step,.i-steps span.step{position:relative;display:block;height:31px;line-height:30px;border:1px solid;font-weight:700;font-size:16px;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:4px;-webkit-transition:background .3s;-o-transition:background .3s;transition:background .3s}.i-steps ul>li span.step{text-transform:uppercase;text-align:center}.i-steps ul>li.s1 a:after,.i-steps ul>li.s1 span:after,.i-steps ul>li.s2 a:after,.i-steps ul>li.s2 a:before,.i-steps ul>li.s3 a:before{content:' ';display:block;width:15px;height:31px;background:url(../img/sprites.png) 0 -144px no-repeat;position:absolute;top:-1px}.i-steps ul>li a:after,.i-steps ul>li span.step:after{right:-1px}.i-steps ul>li a:before,.i-steps ul>li span.step:before{left:-1px}.i-steps ul>li.s1 a:after{background-position:0 -144px}.i-steps ul>li.s1 a:hover{background:#f60;border-color:#f60;color:#fff}.i-steps ul>li.s2,.i-steps ul>li.s2 a{color:#00adef}.i-steps ul>li.s2 a b{color:#1d447d}.i-steps ul>li.s2 a:before{background-position:-15px -144px}.i-steps ul>li.s2 a:after{background-position:-30px -144px}.i-steps ul>li.s2 a:hover{background:#00adef;border-color:#00adef;color:#fff}.i-steps ul>li.s3,.i-steps ul>li.s3 a{color:#ef3976}.i-steps ul>li.s3 a b{color:#08293a}.i-steps ul>li.s3 a:before{background-position:-45px -144px}.i-steps ul>li.s3 a:hover{background:#ef3976;border-color:#ef3976;color:#fff}.i-photo-slides{margin-bottom:25px}.ps-photo-gallery{width:100%;overflow:hidden;border-radius:4px}.ps-photo-gallery ul{margin:0;padding:0;list-style:none;width:100%}.ps-photo-gallery ul>li{width:100%;float:left}.ps-photo-gallery ul>li img{width:100%}.ps-photo-gallery .re-controls{display:none}.ps-photo-gallery .re-controls.enabled{display:block}.ps-photo-gallery .re-controls a{display:block;width:71px;height:0;padding-top:71px;overflow:hidden;position:absolute;top:50%;margin-top:-35px}.ps-photo-gallery .re-controls a:before{content:' ';display:block;width:31px;height:62px;background:url(../img/sprites.png) 0 -63px no-repeat;position:absolute;left:50%;top:50%;margin:-31px 0 0 -15px}.i-event-description,.ied-title{margin-bottom:15px}.ps-photo-gallery .re-controls a.prev{left:0}.ps-photo-gallery .re-controls a.prev:before{background-position:0 -63px}.ps-photo-gallery .re-controls a.next{right:0}.ps-photo-gallery .re-controls a.next:before{background-position:-32px -63px}.ps-photo-gallery .re-controls a.next.disabled,.ps-photo-gallery .re-controls a.prev.disabled{display:none}.ied-title{font-family:dindisplay_pro,sans-serif;font-weight:400;font-size:21px;line-height:22px}.ied-text{font-size:12px;line-height:15px}.i-event-additional{margin-bottom:20px}.i-event-additional .e-docs{width:30%;float:right;margin:0;padding:0;list-style:none;font-family:dindisplay_pro,sans-serif;font-size:15px;line-height:18px}.i-event-additional .e-docs>li{margin-bottom:5px}.i-event-additional .e-docs a:before{content:' ';display:inline-block;vertical-align:middle;width:11px;height:13px;background:url(../img/sprites.png) -211px 0 no-repeat;margin:-1px 5px 0 0}.i-event-additional .add-info{width:70%;padding-right:30px;-moz-box-sizing:border-box;box-sizing:border-box}.i-members{display:table;width:100%;margin-bottom:15px}.i-members>*{display:table-cell;vertical-align:top;padding-left:25px}.i-members .im-title{display:inline-block;font-family:dindisplay_pro,sans-serif;font-size:23px;font-weight:700;line-height:24px;margin:0 0 12px}.i-members .im-title:before{content:' ';display:block;width:17px;height:15px;background:url(../img/sprites.png) -239px -33px no-repeat;float:left;margin:4px -100% 0 -25px}.i-members .im-visitors .im-title:before{width:13px;background-position:-188px -16px;margin-left:-22px}.i-members a.more{font-size:11px;display:block}.i-members ul{margin:0;padding:0;list-style:none}.i-members ul a{color:#464646}.i-members ul a:hover{color:#f60}.i-members .im-participants{width:70%;padding-right:30px}.i-members .im-participants .button.icon-up:before{background-position:-365px -108px}.i-members .im-participants .button.icon-up:hover:before{background-position:-365px -92px}.i-members .im-title{width:33.3%}.i-members .im-participants a.more{margin-left:-3px}.i-members .im-participants ul{padding:4px 0 0 4px}.i-members .im-participants ul li{display:inline-block;vertical-align:top;width:33.3%;margin-left:-4px;margin-bottom:20px}.eni-area-wrap .eni-area,.eni-stats .enis-item,.eni-stats .enis-item b{vertical-align:middle;display:inline-block}.i-members .im-participants ul li a{display:block;width:140px;font-size:11px;line-height:14px;text-align:center}.i-members .im-participants ul li a .imp-pict{position:relative;display:block;width:140px;overflow:hidden;margin-bottom:5px;border-radius:4px}.i-members .im-participants ul li a img{display:block;width:140px}.i-members .im-participants ul li a .imp-pict:before{content:'';display:block;position:absolute;width:100%;height:100%;border-radius:4px;box-shadow:inset 0 1px 0 rgba(0,0,0,.2)}.i-members .im-visitors{width:30%;font-size:12px;line-height:17px}.i-members .im-visitors ul li{margin-bottom:2px}.e-num-info{padding-left:130px;margin-bottom:30px;font-family:dindisplay_pro,sans-serif;min-height:120px;margin-top:30px}.eni-area-wrap{color:#f60;position:relative}.eni-area-wrap .eni-title{position:absolute;top:0;left:0;margin-left:-130px;display:block;width:110px;margin-right:16px;font-size:20px;line-height:21px;text-align:right;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s;color:#464646;margin-top:28px}.eni-area-wrap .eni-title:hover{color:#f60}.eni-area-wrap .eni-area{font-weight:700;font-size:120px;line-height:120px;letter-spacing:-2px;margin-bottom:-5px}.e-num-info sup{font-size:60%}.eni-stats{line-height:47px;margin-bottom:10px}.eni-stats .enis-item{margin-right:50px;font-size:20px}.eni-stats .enis-item b{font-size:45px}.eni-founded{font-size:23px;color:#a2a2a2}.eni-areas{margin:20px 0}.eni-areas .enis-col{width:225px;display:inline-block;vertical-align:top;margin-right:16px;font-size:15px;line-height:20px}.eni-areas .enis-col b,.eni-holds .enis-item b{display:block;vertical-align:middle;font-size:45px;line-height:40px;margin-bottom:-5px;letter-spacing:-1px}.eni-areas .enis-col b{margin-bottom:-3px}.eni-areas .enis-col .enc-title{color:#f60;margin-bottom:5px}.eni-areas .enis-col ul{margin:0;padding:0;list-style:none}.eni-areas .enis-col ul li{margin-bottom:2px;color:#a2a2a2}.eni-areas .enis-col ul li i{color:#464646;font-style:normal}.eni-holds{margin:25px 0 25px -130px}.eni-holds .eni-title{display:inline-block;vertical-align:middle;width:110px;margin-right:16px;font-size:17px;line-height:20px;text-align:right;color:#f60}.eni-holds .enis-item{display:inline-block;vertical-align:middle;margin-right:50px;font-size:20px;line-height:21px;text-align:center}.i-events-list+.m-article{margin-top:30px}.h-booking{margin:30px -30px 30px 0;padding:0 20px}.m-article .h-booking{margin:0 -30px 0 0;padding:0}.h-booking header{margin-bottom:15px}.h-booking .sect-title{display:inline-block;font-family:dindisplay_pro,sans-serif;font-size:23px;font-weight:700;line-height:24px;color:#40bbea;width:581px;margin:19px 0}.h-booking .sect-title a{color:#40bbea;text-decoration:none}.h-booking .sect-title a:hover{color:#1d447d}.m-article .h-booking .sect-title{margin:0}.h-booking .sect-title b{font-weight:400;color:#1d447d}.h-booking a.more{font-size:11px}.h-booking ul{margin:0;padding:0 0 0 4px;list-style:none}.h-booking ul li{display:inline-block;vertical-align:top;width:150px;margin-right:40px;text-align:center}.h-booking ul li a{font-size:12px;line-height:15px;color:#32a7d3;display:block}.h-booking .hb-link{margin-bottom:.8em;display:block;line-height:1em}.h-booking .hb-pict{display:block;width:150px;height:150px;overflow:hidden;margin-bottom:7px;border-radius:4px}.h-booking .hb-pict img{width:100%}.h-booking ul li .hb-price{font-family:dindisplay_pro,sans-serif;font-weight:700;font-size:16px;line-height:19px;color:#1d447d;margin:3px 0}.h-booking ul li a.button{font-size:13px}.e-cat .sect-title,.i-events-list .sect-title{font-size:23px;line-height:24px;font-family:dindisplay_pro,sans-serif;font-weight:700}.e-cat{margin-bottom:40px}.e-cat .sect-title,.i-services{margin-bottom:20px}.m-article+.e-cat{margin-top:30px}.e-cat .sect-title{color:#f60;padding:0 20px}.e-cat .sect-title a{color:#f60;text-decoration:none}.e-cat .sect-title a:hover{color:#464646}.i-services li{color:#f60}.i-services .is-wrap{margin-right:-20px}.i-services ul{margin:0;padding:0;list-style:none;width:33.3%;float:left}.i-services ul li{margin-bottom:3px;padding-right:30px}.e-pv-container{margin:20px 0}.div-img-wrap img{display:block;width:100%}.e-video-container{margin-top:20px}.div-video-wrap{background:#000}.div-video-wrap iframe{margin:0 auto;display:block}.i-events-list{margin-bottom:20px}.i-events-list .sect-title{color:#f60;padding-left:20px;margin-bottom:20px}.i-contacts{margin:30px 0}.i-contacts .sect-title{margin-bottom:20px}.i-contacts .ic-wrap{display:table;width:100%;font-size:13px;line-height:16px}.i-contacts .ic-wrap .ic-col{display:table-cell;vertical-align:top;width:55%}.i-contacts .ic-wrap .ic-col:first-child{width:45%;padding-right:30px}.i-contacts .ic-addr{min-height:32px}.i-contacts .ic-wrap .ic-col ul.tels{margin:0;padding:0;list-style:none}.s-comments{margin:30px 0}.s-comments .sect-title{padding-left:20px;margin-bottom:15px;font-family:dindisplay_pro,sans-serif;font-size:22px;line-height:23px;color:#f60}.s-comments .sect-title span{display:inline-block;padding-right:140px}.sc-comments .cl-item-wrap{padding-left:90px}.sc-comments .cli-pict{margin-left:-90px;width:70px;height:70px;line-height:65px;padding:2px}.sc-comments .cli-info{margin-bottom:0}.sc-comments .sc-name{font-family:dindisplay_pro,sans-serif;font-weight:500;font-size:17px;line-height:20px;color:#f60;margin:-7px 0 10px}.sc-comments .sc-name a{text-decoration:none;color:#f60}.sc-comments .sc-name a:hover{color:#000}.ma-text h2,.ma-text h3,.order-button,.rq-order-button{color:#f60;font-family:dindisplay_pro,sans-serif}.sc-comments .sc-text{font-size:12px;line-height:16px}.ma-text{font-size:13px;line-height:16px}.ma-text h2{font-weight:400;font-size:25px;line-height:26px;margin:25px 0 20px}.ma-text h3{font-weight:400;font-size:20px;line-height:23px;margin:20px 0 15px}.ma-text p{margin:20px 0}.ma-text>:first-child{margin-top:0}.ma-text .pt-block{margin:25px 0}.ma-text .pt-block img{float:left;margin-right:30px}.ma-text .pt-block.p-right img{float:right;margin-left:30px}.ma-text .pt-block .ptb-text{overflow:hidden}.ma-text .pt-block .ptb-text>:first-child{margin-top:0}.ma-text .pt-block .ptb-text ul{margin:0;padding:0;list-style:none}.ma-text .pt-block .ptb-text ul li{padding-left:16px;margin-bottom:7px}.ma-text .pt-block .ptb-text ul li:before{content:'';display:block;width:11px;height:8px;background:url(../img/sprites.png) -287px -51px no-repeat;float:left;margin:5px -100% 0 -16px}.s-slide-gallery-wrap{width:100%;overflow:hidden}.s-slide-gallery{margin-right:-15px;overflow:hidden}.s-slide-gallery ul{width:100%}.s-slide-gallery li{width:25%;padding-right:15px;float:left;-moz-box-sizing:border-box;box-sizing:border-box}.s-slide-gallery li a{display:block;overflow:hidden;border-radius:4px}.s-slide-gallery li img{width:100%}.s-slide-gallery .re-controls{display:none}.s-slide-gallery .re-controls.enabled{display:block}.s-slide-gallery .re-controls a{display:block;width:71px;height:0;padding-top:71px;overflow:hidden;position:absolute;top:50%;margin-top:-35px}.s-slide-gallery .re-controls a:before{content:' ';display:block;width:31px;height:62px;background:url(../img/sprites.png) 0 -63px no-repeat;position:absolute;left:50%;top:50%;margin:-31px 0 0 -15px}.s-order,.s-order .so-col+.so-col{width:100%}.s-slide-gallery .re-controls a.prev{left:0}.s-slide-gallery .re-controls a.prev:before{background-position:0 -63px}.s-slide-gallery .re-controls a.next{right:15px}.s-slide-gallery .re-controls a.next:before{background-position:-32px -63px}.s-slide-gallery .re-controls a.next.disabled,.s-slide-gallery .re-controls a.prev.disabled{display:none}.s-order{margin:25px 0;display:table}.s-order .so-col{display:table-cell;vertical-align:middle;padding-right:40px}.order-button,.rq-order-button{display:inline-block;text-decoration:none;border:1px solid #f60;height:44px;white-space:nowrap;border-radius:4px}.rq-order-button .rqob-wrap{display:table;border:none;border-collapse:collapse}.order-button>a,.order-button>span{display:inline-block;vertical-align:top;padding:1px 20px 0;line-height:43px;height:44px;-moz-box-sizing:border-box;box-sizing:border-box}.rq-order-button .rqob-wrap>*{display:table-cell;padding:0;line-height:43px;height:44px;-moz-box-sizing:border-box;box-sizing:border-box}.order-button .ob-price{font-size:25px}.rq-order-button .rqob-wrap .rqob-price{vertical-align:middle;padding:0 30px;font-size:25px;line-height:44px}.rqob-price small{font-weight:300}.order-button .rqob-button{vertical-align:top}.order-button .ob-text,.rq-order-button .ob-text,.rq-order-button button{font-weight:700;font-size:17px;text-decoration:none;text-transform:uppercase;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.3);border-radius:0;background:#f60;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ff8000),color-stop(100%,#f60));background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:linear-gradient(to bottom,#ff8000 0,#f60 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#ff8000', endColorstr='#ff6600', GradientType=0)}.rq-order-button .ob-text,.rq-order-button button{display:block;width:100%;height:44px;font-size:17px;line-height:45px;text-align:center;padding:1px 20px 0;-moz-box-sizing:border-box;box-sizing:border-box}.order-button a.ob-text:hover,.rq-order-button a.ob-text:hover,.rq-order-button button:hover,a.order-button:hover .ob-text{background:#ff8000;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fe9150),color-stop(100%,#ff8000));background:-webkit-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-o-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-webkit-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-o-linear-gradient(top,#fe9150 0,#ff8000 100%);background:linear-gradient(to bottom,#fe9150 0,#ff8000 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#fe9150', endColorstr='#ff8000', GradientType=0)}.order-button .ob-text:after,.rq-order-button .ob-text:after,.rq-order-button button:after{content:'';display:inline-block;vertical-align:middle;width:8px;height:12px;background:url(../img/sprites.png) -175px 0 no-repeat;margin:-1px 0 0 7px}.s-note p,.s-note ul{margin:7px 0}.order-button .rub,.rq-order-button .rub{font-size:22px}.order-descr{font-size:13px;line-height:15px;color:#f60}.s-note{font-size:12px;line-height:15px}.s-note ul{padding:0;list-style:none}.s-note ul li{padding-left:10px}.s-note ul li:before{content:'-';float:left;margin:0 -100% 0 -10px}.messages-list{margin:0;padding:0;list-style:none}.messages-list>li{padding:20px 20px 5px;background:#fcfcfb;margin-bottom:15px;border-radius:4px;box-shadow:inset 0 1px 0 rgba(0,0,0,.2)}.messages-list>li.mi-new{padding:19px 19px 4px;border:1px solid #f60;box-shadow:none}.messages-list>li:hover{background:#fff}.messages-list .mi-wrap{position:relative;padding-left:90px;margin-bottom:15px}.messages-list .mi-wrap.me{padding:0 90px 0 0}.messages-list>li>a{color:#464646;text-decoration:none}.messages-list .mi-pict{width:70px;height:70px;line-height:65px;text-align:center;overflow:hidden;margin:0 -100% 0 -90px;float:left;border-radius:4px}.messages-list .me .mi-pict{margin:0 -90px 0 -100%;float:right}.messages-list .mi-pict img{max-width:100%;max-height:100%;vertical-align:middle}.messages-list .mi-body{width:100%;float:left}.messages-list .mi-body>header{padding-right:130px}.messages-list .mi-time{width:110px;float:right;font-size:11px;line-height:16px;color:#a2a2a2;text-align:right;margin:0 0 0 -110px}.messages-list .me .mi-time{float:left;margin:10px 0 0;text-align:left}.messages-list .mi-sender{font-family:dindisplay_pro,sans-serif;font-size:18px;line-height:19px;color:#f60;margin-bottom:7px}.messages-list .mi-sender a{color:#f60;text-decoration:none}.messages-list .mi-sender a:hover{color:#464646}.messages-list .me .mi-sender{color:#2592c5}.messages-list .mi-buttons{margin-bottom:10px;display:none}.set-sect{padding:10px 20px;background:#fcfcfb;margin-bottom:20px;border-radius:4px;box-shadow:inset 0 1px 0 rgba(0,0,0,.2)}.set-sect.p-form{padding:20px}.set-sect>header{font-family:dindisplay_pro,sans-serif;text-transform:uppercase;color:#a2a2a2;padding:5px 0;cursor:pointer}.a-graphic,.cal-lists,.cl-news header .news-header-body,.e-price,.e-programm .ep-item footer,.e-programm .ep-item header,.e-statistic,.edit-wrap .e-form,.ep-sect-title,.mf-photos-list,.p-calendar,.request-form .rq-form .rqf-title,.request-form .rq-info .rqi-body h2,.request-form .rq-info .rqi-body h3,.request-form .rq-info .rqi-body h4,.set-sect .set-sect-title,.tad-price h3,.targets{font-family:dindisplay_pro,Arial,sans-serif}.set-sect>header:before{content:'';display:inline-block;vertical-align:middle;width:14px;height:15px;background:url(../img/sprites.png) -196px -32px no-repeat;margin:0 4px 0 0}.set-sect.closed>header:before{background-position:-250px -109px}.set-sect .set-sect-body{margin:20px 0 10px}.set-sect.closed .set-sect-body{display:none}.mf-buttons-line{margin-top:25px}.mf-line{margin-bottom:15px}.mf-line.cols-2{display:table;width:100%}.mf-line .mf-field{padding-right:10px;width:65%;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;padding-bottom:5px}.mf-line .mf-field.full-width{width:100%}.mf-line.cols-2 .mf-field,.mf-line.cols-2>label{display:table-cell;width:50%;padding:0 0 5px 10px}.mf-line.cols-2 .mf-field:first-child,.mf-line.cols-2>label:first-child{padding:0 10px 5px 0}.mf-line.full-width .mf-field{padding:0 0 5px;width:100%}.ch-pwd .mf-line .mf-field{width:47%}.tabs-content .mf-line .mf-field{display:block}.mf-line.full-width>label{display:block;margin-bottom:5px}.mf-soc-m .sm-i,.mf-soc-m a.clear{display:inline-block;vertical-align:middle}.mf-line>label.check{font-size:15px;margin-right:40px}.mf-line>label.check i{font-style:normal;font-size:12px;color:#a2a2a2}.mf-soc-m{margin:-5px 0 10px}.mf-soc-m .mf-soc-col{padding-right:10px;width:47%;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box}.mfsm-title{font-size:15px;margin-bottom:10px}.mf-soc-m .mf-soc-col+.mf-soc-col .mfsm-title{color:#a2a2a2}.mf-soc-m .sm-i{font-size:18px;line-height:21px;padding-top:4px}.mf-soc-m .sm-i img{vertical-align:middle;margin:-4px 4px 0 0}.mf-soc-m a.clear{position:relative;width:30px;height:0;padding-top:30px;overflow:hidden;margin:-5px 0}.mf-soc-m a.clear:before{content:'';display:block;width:9px;height:10px;background:url(../img/sprites.png) -162px -52px no-repeat;position:absolute;left:50%;top:50%;margin:-5px 0 0 -5px}.mf-soc-m a.clear:hover:before{background-position:-238px -121px}.mf-soc-m .sm-body ul{margin:0;padding:0;list-style:none}.mf-soc-m .sm-body ul li{display:inline-block;margin-right:5px}.mf-checks-title{font-size:15px;margin-bottom:15px;color:#a2a2a2}.mf-announces{padding-left:205px}.mf-announces .mf-subj-checks-title{display:block;width:155px;margin:0 -100% 0 -205px;float:left}.mf-announces .mf-announces-body.disabled{opacity:.5}.lt-ie9 .mf-announces .mf-announces-body.disabled{-ms-filter:alpha(opacity=30);filter:alpha(opacity=30)}.set-sect.subscribe label.check{font-size:17px}.set-sect.subscribe .tabs-content label.check{font-size:15px}.set-sect.subscribe .mf-subj-checks-title label.check{font-size:17px}.set-sect .tabs-content,.tabs-content .mf-line.subj-checks{margin-bottom:25px}.mf-line.subj-checks>label.check{margin-right:30px}.tabs-content .mf-line{margin-bottom:10px}.tabs-content .mf-line .mf-field .custom-select,.tabs-content .mf-line .mf-field select{width:100%}.mf-line.country{margin:20px 0 5px}.mf-line.subj{margin:20px 0 25px}.mf-line.city>label,.mf-line.country>label,.mf-line.subj>label{display:block;font-size:17px;width:65%;margin:0 0 5px;-moz-box-sizing:border-box;box-sizing:border-box}.p-editable{position:relative}.p-editable.pe-active{padding-left:24px}.i-pict.p-editable.pe-active{padding-left:0}.i-info header .i-place.p-editable.pe-active{padding-left:24px}.i-info header .i-place.p-editable.pe-active:before{content:none}.ed-back a:before,.edit-wrap .e-form .ef-close:before,.edit-wrap .e-form:before,.ep-sect-title a:before,.tg-title:before{content:''}.edit-wrap{position:absolute;left:0;top:0;display:none;margin:-1px 0 0 -6px}.e-btn,.e-btn:before,.p-editable.pe-active .edit-wrap{display:block}.i-pict.p-editable .edit-wrap{left:100%;top:5px;margin:0 0 0 -30px;line-height:1em}.i-place.p-editable .edit-wrap{margin-top:10px}.i-additional .p-editable .edit-wrap,.i-descr.p-editable .edit-wrap{margin-top:-6px}.ic-buttons .p-editable .edit-wrap{margin-top:-2px}.ic-tel.p-editable .edit-wrap{margin-top:0}.e-btn{position:relative;width:24px;height:0;padding-top:24px;overflow:hidden;border-radius:3px;-webkit-transition:none;-o-transition:none;transition:none}.i-pict.p-editable .e-btn{background:#fcfcfb;width:25px}.e-btn:before{position:absolute;left:5px;top:4px;font-size:18px;color:#f60}.e-btn:hover{opacity:.7}.lt-ie9 .e-btn:hover{filter:alpha(opacity=70)}.i-pict.p-editable .e-btn:hover{background:#f60}.p-editable.pe-current .e-btn{width:28px;background:#f60;border-radius:3px 0 0 3px}.p-editable.pe-current .e-left .e-btn{width:28px;border-radius:0 3px 3px 0}.i-pict.p-editable .e-btn:hover,.p-editable.pe-current .e-btn:hover{opacity:1}.lt-ie9 .i-pict.p-editable .e-btn:hover,.lt-ie9 .p-editable.pe-current .e-btn:hover{filter:alpha(opacity=100)}.i-pict.p-editable .e-btn:hover:before,.p-editable.pe-current .e-btn:before{color:#fff}.i-pict.p-editable.pe-current .e-btn{width:33px}.edit-wrap .e-form{position:absolute;left:28px;top:0;width:600px;z-index:2;font-size:12px;line-height:15px;text-align:left;background:#f60;padding:9px 20px 15px;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:0 3px 3px;display:none}.i-pict.p-editable .edit-wrap .e-form{left:32px}.ic-links .edit-wrap .e-form{width:330px}.edit-wrap.e-left .e-form{left:auto;right:100%;border-radius:3px 0 3px 3px}.edit-wrap .e-form:before{display:block;width:0;height:0;border:1px solid;border-color:#f60 #f60 transparent transparent;border-radius:2px;position:absolute;right:100%;top:24px}.edit-wrap.e-left .e-form:before{border-color:#f60 transparent transparent #f60;right:auto;left:100%}.p-editable.pe-active.pe-current .edit-wrap .e-form{display:block}.edit-wrap .e-form .ef-body{width:420px;float:left;word-spacing:16px;margin-bottom:-10px}.ic-links .edit-wrap .e-form .ef-body{width:150px}.edit-wrap .e-form .epfl{display:inline-block;vertical-align:top;word-spacing:normal;min-width:200px;margin-bottom:10px}.ic-links .edit-wrap .e-form .epfl{width:150px;min-width:0}.i-pict .edit-wrap .e-form .epfl{display:block}.edit-wrap .e-form .ef-body .epf-field>label,.edit-wrap .e-form .ef-body .epfl>label{color:#fff;display:block;margin-bottom:5px}.edit-wrap .e-form .ef-body .epf-field>label{word-spacing:normal}.edit-wrap .e-form .ef-body .epfl>label img{margin:-3px 0 -2px}.edit-wrap .e-form .epfl .c-select-box{width:200px}.e-form .custom-select select,.e-form select{width:200px;height:26px}.e-form input[type=text]{height:29px;line-height:26px;padding-left:6px}.e-form input[type=text]:focus{border-width:1px}.i-title .e-form input[type=text]{width:420px}.edit-wrap .e-form textarea{width:420px;height:90px;border-width:1px}.edit-wrap .e-form .ef-buttons{float:right;padding-top:20px}.edit-wrap .e-form .ef-close{display:block;width:22px;height:0;padding-top:22px;overflow:hidden;position:absolute;right:15px;top:5px}.edit-wrap .e-form .ef-close:before{display:block;width:9px;height:10px;background:url(../img/sprites.png) -63px -159px no-repeat;position:absolute;left:50%;top:50%;margin:-5px 0 0 -4px}.a-graphic,.ep-item .ep-title span,.tad-price li{position:relative}.ed-back{margin:20px 0}.ed-back a{display:inline-block;font-size:17px;line-height:17px;text-decoration:none;border:1px solid #fcaf7b;padding:5px 25px;border-radius:4px}.ed-back a:before{display:inline-block;width:6px;height:11px;background:url(../img/sprites.png) -157px 0 no-repeat;margin-right:8px}.ed-back a:hover{color:#fff;background:#f60;border-color:#f60}.ed-back a:hover:before{background-position:-115px 0}.e-programm,.ep-sect{margin-bottom:30px}.ep-sect-title{height:12px;border-bottom:1px dotted #ccc;font-size:25px;line-height:25px;font-weight:700}.e-programm .ep-sect-title{height:14px;font-size:30px;line-height:30px}.p-calendar .ep-sect-title{font-size:17px;line-height:20px;border:none;height:auto;color:#959595}.ep-sect-title a{display:inline-block;text-decoration:none;text-transform:uppercase;background:#fcfcfb;padding:0 10px 0 5px;color:#464646}.e-programm .ep-sect-title a{min-width:180px;margin-left:-5px}.p-calendar .ep-sect-title a{color:#959595}.ep-sect-title a:before{display:inline-block;width:18px;height:18px;background:url(../img/sprites.png) -296px -22px no-repeat;margin-right:8px}.e-programm .ep-sect-title a:before{width:21px;height:21px;background-position:-317px 0;margin-right:8px}.eps-opened .ep-sect-title a:before{background-position:-315px -22px}.e-programm .eps-opened .ep-sect-title a:before{background-position:-295px 0}.p-calendar .ep-sect-title a:before{width:13px;height:14px;background-position:-250px -109px;margin-right:5px;vertical-align:middle;margin-top:-2px}.p-calendar .eps-opened .ep-sect-title a:before{background-position:-211px -145px}.ep-sect-body{padding-top:25px;display:none}.eps-opened .ep-sect-body{display:block}.e-programm ul{margin:0;padding:0;list-style:none}.e-programm li{margin-top:20px;padding:15px 0 5px}.e-programm li:first-child{margin-top:0}.e-programm .ep-item{border:1px dotted #ccc;padding:0 10px 0 30px}.e-programm .ep-item header{margin-top:-15px;padding:0 0 0 160px}.ep-item .ep-time{font-size:25px;line-height:25px;color:#f60;background:#fcfcfb;padding:0 5px;float:left;margin:0 -100% 0 -165px}.ep-item .ep-title{display:inline;font-size:22px;line-height:25px;background:#fcfcfb;outline:#fcfcfb solid 6px;outline-offset:-1px}.ep-item .ep-body{font-size:12px;line-height:16px;margin:7px 0}.ep-item .ep-body p{margin:7px 0}.ep-item .ep-body .ep-coord{color:#f60}.e-programm .ep-item footer{font-size:15px;line-height:15px;margin-bottom:-7px}.ep-item .ap-area{display:inline-block;padding:0 5px;color:#8f8f8f;background:#fcfcfb;margin-left:-5px}.e-programm+.i-steps,.e-statistic+.i-steps{margin-top:40px;margin-bottom:15px}.ep-stats{padding:5px 25px 0;border-bottom:1px dotted #ccc;margin-bottom:25px}.ep-stats .eps-item{width:220px;float:right;font-weight:700;font-size:28px;line-height:28px;margin-bottom:-13px}.ep-stats .eps-item:first-child{color:#f60;width:450px;float:left}.ep-stats b{display:block;font-size:120px;line-height:120px;margin-top:-10px;word-spacing:-10px;letter-spacing:-7px;white-space:nowrap}.ep-stats .eps-text{display:block;margin:-18px 0 0;padding:0 5px;background:#fcfcfb;float:left}.ep-info{padding:0 30px;margin-bottom:20px}.ep-info .ep-area-wrap{width:450px;float:left;font-size:80px;line-height:80px}.ep-info .epa-title{font-size:18px;line-height:18px;width:110px;padding-top:12px;float:left}.ep-info .epa-area{display:inline-block;font-weight:100;letter-spacing:-2px;word-spacing:-5px}.ep-info .epa-area sup{display:inline-block;font-size:45px;margin:0 0 0 3px}.ep-info .ep-founded{width:210px;float:right;font-size:16px;line-height:18px;color:#afafae;padding-top:14px}.ep-founded b{display:block;font-size:40px;line-height:40px;letter-spacing:-1px;margin:0 0 -5px -2px}.ep-countries{padding:0 30px 0 140px;border-top:1px dotted #ccc;font-size:18px;color:#f60}.ep-countries .epc-title{color:#feb17d;background:#fcfcfb;margin:-10px -100% 0 -115px;padding:0 5px;float:left}.ep-countries .epc-list{margin-top:-10px;display:table;table-layout:fixed;width:100%}.ep-countries ul{margin:0;padding:0;list-style:none;display:table-cell;vertical-align:top}.ep-countries ul+ul+ul{width:215px}.ep-countries ul li{padding:0 5px;background:#fcfcfb;margin-top:4px;float:left;clear:left}.clear,.clearfix:after,.mf-photos-list li:after,.tad-price li:after{clear:both}.ep-countries ul li:first-child{margin-top:0}.e-price{font-size:15px;line-height:18px;margin-bottom:5px}.epr-title,.pr-list .prl-value{font-weight:700;font-size:28px}.e-price-wrap{margin:0 -20px;padding-top:15px}.epr-layout{display:table;width:100%;border-spacing:20px 0}.eprl-col{border:1px dotted #ccc;display:table-cell;vertical-align:top;padding:0 15px 15px}.eprl-col:first-child{width:350px}.epr-title{margin:-12px 0 20px -5px}.epr-title span{display:inline-block;padding:0 5px;background:#fcfcfb}.epr-subtitle{color:#f60;font-weight:700;text-transform:uppercase;margin-bottom:10px}.pr-list{margin:0 0 20px;padding:0;list-style:none;color:#f60}.pr-list.grey{color:#8b8b8b}.pr-list li{margin-bottom:3px;word-spacing:-2px;white-space:nowrap}.for_participation .pr-list li{display:inline-block;vertical-align:top;width:49%;text-align:center}.for_participation .pr-list .prl-descr,.for_participation .pr-list .prl-value{display:block;max-width:initial;height:auto;white-space:normal}.for_participation .pr-list .prl-value{border-bottom:0;border-radius:4px 4px 0 0}.for_participation .pr-list .prl-descr{border-top:0;border-radius:0 0 4px 4px}.pr-list .prl-value{display:inline-block;vertical-align:middle;border:1px solid #ffd2b2;height:32px;padding:2px 15px 0;line-height:32px;word-spacing:-4px;border-radius:4px 0 0 4px;max-width:94px}.pr-list .prl-value .small{word-spacing:0;white-space:normal;font-size:14px;display:block;line-height:1em;padding-top:2px}.pr-list .prl-descr{display:inline-block;vertical-align:top;border:1px solid #ffd2b2;min-height:34px;padding:0 15px;font-size:18px;line-height:32px;word-spacing:normal;white-space:normal;border-radius:0 4px 4px 0}.pr-list.grey .prl-descr,.pr-list.grey .prl-value{border-color:#c6c6c6}.pr-list .prl-descr span{display:inline-block;vertical-align:middle;line-height:19px}.epr-conditons{margin-top:20px}.epr-conditons p{margin:0}.tp-btn-wrap,.tp-wrap{display:table;table-layout:fixed;width:100%;border-spacing:0;margin-bottom:20px}.tp-btn-wrap>*,.tp-wrap>*{display:table-cell;vertical-align:middle;margin-bottom:0}.t-layout .t-col,.tp-btn-wrap>*{vertical-align:top}.tp-btn-wrap .tp-btn,.tp-wrap .pr-list{width:262px}.tp-btn-wrap .tp-categories,.tp-wrap .tp-descr{font-weight:500;font-size:14px;line-height:17px;text-transform:uppercase;color:#f60}.tp-wrap .tp-descr.grey{color:#8b8b8b}.tp-btn-wrap{margin-bottom:0}.tp-btn-wrap .tp-categories{font-weight:400;text-transform:none}.tp-btn-wrap .tp-categories .tpc-title{font-size:13px;color:#feb17d;margin-bottom:3px}.targets,.tp-btn-wrap .tp-categories ul{font-size:15px;line-height:16px}.tp-btn-wrap .tp-categories ul{margin:0;padding:0 0 0 15px;font-weight:700}.t-layout{display:table;width:100%}.t-layout .t-col{display:table-cell;width:50%;padding-right:20px}.tg-title{font-size:22px;line-height:22px;color:#f60;margin-bottom:10px}.tg-title:before{display:inline-block;width:24px;height:23px;background:url(../img/sprites.png) -300px -41px no-repeat;margin:0 5px -3px 0}.tg-title.icon-case:before{width:23px;height:19px;background-position:-300px -65px;margin:0 6px -1px 0}.targets ul{margin:0;padding:0 0 0 30px;list-style:none}.targets ul li{margin-bottom:5px}.targets small{display:inline-block;font-size:13px}.tad-price ul{margin:0;padding:0;list-style:none}.tad-price li{padding:17px 230px 20px 20px;margin-bottom:20px;background:#fcfcfb;box-shadow:inset 0 1px 0 #e8e8e7;border-radius:4px;-webkit-transition:background .3s;-o-transition:background .3s;transition:background .3s}.tad-price li:after,.tad-price li:before{content:" ";display:table}.tad-price li.p-left{padding:17px 20px 20px 230px}.tad-price .tad-pict{width:190px;float:right;padding:5px 0;margin:0 -210px 0 -100%}.tad-price li.p-left .tad-pict{float:left;margin:0 -100% 0 -210px}.tad-price .tad-pict img{width:190px}.tad-price .tad-pict a:hover img{opacity:.9}.cl-item.cpe-inactive .cl-item-wrap,.cl-item.cpe-inactive .cli-pb-button .button.more,.cl-item.cpe-inactive .cli-pb-info,.cl-item.cpe-inactive .cli-photo-list .clipl-wrap,.set-sect.passed .set-sect-title .afh-right .button,.set-sect.passed .set-sect-title h3{opacity:.5}.tad-price h3{font-weight:400;font-size:25px;line-height:26px;margin:0 0 10px}.tadi-text{font-size:13px;line-height:16px;min-height:55px;margin-bottom:25px}.tad-price p{margin:10px 0 0;color:#464646}.tad-price p:first-child{margin-top:0}.btn-wrap{margin:25px 0 5px}.btn-wrap .tad-prise-descr{padding-left:21px;margin-top:5px;color:#f60}.a-graphic{font-size:12px;line-height:14px;padding-top:10px}.a-graphic table{width:100%}.a-graphic>table>tbody>tr>td{width:100%;padding:0 5px 0 20px;vertical-align:top;background:url(../img/ag-bg.png)}.a-graphic>table>tbody.bottom>tr>td{background:0 0;vertical-align:middle}.a-graphic>table>tbody>tr>td:first-child{width:auto;padding:0 10px 0 0;height:20px;vertical-align:middle;text-align:left;background:0 0}.a-graphic tbody.main table td,.message-standart .fa{vertical-align:bottom}.a-graphic>table>tbody>tr>td>div{display:inline-block;min-width:45px;height:20px;line-height:20px;text-align:right}.a-graphic>table>tbody.bottom>tr>td:first-child{font-size:11px;line-height:12px;color:#aeaeae;height:35px}.a-graphic>table>tbody.bottom>tr>td:first-child div{line-height:12px;text-align:center}.a-graphic table table{table-layout:fixed}.a-graphic table table td{width:20%;padding:0 5px}.a-graphic tbody.bottom table td{text-align:center;font-size:14px;font-weight:500;color:#f60}.a-graphic .at-bar{height:20px;background:#f60;border-radius:4px}.a-graphic .at-bar.bh1{height:20px}.a-graphic .at-bar.bh2{height:40px}.a-graphic .at-bar.bh3{height:60px}.a-graphic .at-bar.bh4{height:80px}.a-graphic .at-bar.bh5{height:100px}.a-graphic .at-bar.bh6{height:120px}.a-graphic .at-bar.bh7{height:140px}.a-graphic .at-bar.bh8{height:160px}.a-graphic .at-bar.bh9{height:180px}.a-graphic .at-bar.bh10{height:200px}.a-graphic .at-bar .atb-text{padding:10px 5px;color:#fff;font-size:13px;text-align:center}.a-graphic .at-bar .atb-text p{margin:30px 0 0}.a-graphic .at-bar .atb-text p:first-child{margin-top:10px;font-size:15px}.a-graphic .at-bar .atb-text p b{display:block;font-weight:500;font-size:20px;line-height:21px;word-spacing:-2px;white-space:nowrap}.a-graphic .at-bar .atb-text p:first-child b{display:block;font-size:25px;line-height:25px;word-spacing:-3px}.p-calendar .ep-sect{margin-bottom:0}.p-calendar .ep-sect-body{padding-top:10px}.p-calendar .ep-sect-body header{height:15px;margin-bottom:25px;text-align:center;border-bottom:1px dotted #ccc}.p-calendar .pc-month-wrap{display:inline-block;padding:0 10px;background:#fcfcfb}.p-calendar .pc-month-wrap a{position:relative;display:inline-block;vertical-align:middle;width:18px;height:0;padding-top:18px;overflow:hidden;background:#464646;border-radius:18px}.p-calendar .pc-month-wrap a:hover{background:#f60}.p-calendar .pc-month-wrap a:before{content:'';display:block;width:8px;height:12px;background:url(../img/sprites.png) -225px -134px no-repeat;position:absolute}.cal-item .cli-title,.ce-ico,.cli-icos,.p-calendar .pc-month{display:inline-block}.p-calendar .pc-month-wrap a.pcm-prev:before{background-position:-225px -134px;left:4px;top:4px}.p-calendar .pc-month-wrap a.pcm-next:before{background-position:-175px 0;right:4px;top:4px}.p-calendar .pc-month{vertical-align:middle;font-weight:700;font-size:30px;line-height:30px;text-transform:uppercase;margin:0 15px}.cal-wrap{margin:0 -20px}.calendar-container{width:100%;position:relative;padding-right:20px;-moz-box-sizing:border-box;box-sizing:border-box}.calendar-container .scroll-content{padding:25px 0 5px;width:100%;-moz-box-sizing:border-box;box-sizing:border-box}.calendar-container .cal-days td>div{width:136px}.calendar-container table td{border-left:1px dotted #ccc;text-align:center;padding:0}.calendar-container table td:first-child{border-left:none}.calendar-container table tr.c-sep td{height:10px}.calendar-container table td.c-cur{background:#fff0e5;border:solid #ffd8bb;border-width:0 1px}.calendar-container .cal-days td{font-size:25px;color:#959595;padding:8px 0 12px;width:136px}.calendar-container .cal-body+.cal-days td{padding:2px 0 28px}.calendar-container .cal-days td.c-cur>div{position:relative;width:136px;background:#fff0e5;padding-top:33px;margin:-33px -1px 0;border:solid #ffd8bb;border-width:1px 1px 0;border-radius:4px 4px 0 0}.calendar-container .cal-body+.cal-days td.c-cur>div{padding:0 0 32px;margin:0 -1px -32px;border-width:0 1px 1px;border-radius:0 0 4px 4px}.calendar-container .cal-days td b{letter-spacing:-1px;color:#464646;margin-right:3px}.calendar-container .cal-days td i{font-style:normal;font-size:20px}.calendar-container .cal-days td.c-cur{color:#ffb380}.calendar-container .cal-days td.c-cur b{color:#f60}.calendar-container .cal-days td.c-cur .cur-mark{position:absolute;width:100%;left:0;top:10px;font-size:14px;color:#f60}.calendar-container .cal-body+.cal-days td.c-cur .cur-mark{top:auto;bottom:12px}.calendar-container .c-event{position:relative;width:100%;padding:0 5px;background:#f60;color:#fff;margin:0 -5px;text-align:left;border-radius:4px}.calendar-container .c-event.grey{background:#7e7e7e}.calendar-container .c-event.cont-prev{padding-left:20px;margin-left:-20px;border-radius:0 4px 4px 0}.calendar-container .c-event.cont-next{padding-right:20px;margin-right:-20px;border-radius:4px 0 0 4px}.calendar-container .c-event.cont-prev.cont-next{border-radius:0}.calendar-container .c-event .ce-wrap{padding:10px 7px 10px 12px}.calendar-container .c-event h3{margin:0 0 5px;font-weight:400;font-size:13px;line-height:14px}.calendar-container .c-event h3 a{color:#fff;text-decoration:none}.calendar-container .c-event .ce-info{font-size:12px;line-height:14px;color:#ffd0ae}.calendar-container .c-event.grey .ce-info{color:silver}.calendar-container .c-event .ce-info>div{display:inline-block;vertical-align:middle;margin-bottom:4px}.ce-ico{position:relative;vertical-align:middle;width:19px;height:19px;margin-right:2px;border:1px solid #ffb380;border-radius:3px}.c-event.grey .ce-ico,.cal-item .ce-ico.icon-fav{border-color:#bfbfbf}.cl-actions,.cl-sect .cls-title,.cl-sect ul li{border-bottom:1px dotted #ccc}.ce-ico:before{content:'';background:url(../img/sprites.png) no-repeat;position:absolute}.ce-ico.icon-check:before{width:12px;height:9px;background-position:-93px -16px;left:4px;top:5px}.c-event .ce-ico.icon-check:before{background-position:-117px -162px}.ce-ico.icon-fav:before{width:11px;height:11px;background-position:-130px -162px;left:4px;top:4px}.c-event .ce-ico.icon-fav:before{background-position:-142px -162px}.cl-sect{margin-top:20px}.cl-sect:first-child{margin-top:0}.cl-sect .cls-title{font-size:25px;line-height:26px;padding-bottom:10px}.cl-sect ul{margin:0;padding:0;list-style:none}.cl-sect ul li{position:relative;padding:10px 50px 10px 0}.cal-item{padding-left:50px}.cal-item .cali-pict{width:40px;float:left;margin:0 -100% 0 -50px}.cal-item .cali-pict img{width:40px}.cal-item .cli-info{margin-bottom:0}.cal-item .cli-info .cli-top{margin-bottom:3px}.cal-item header{margin-bottom:2px}.cal-item .cli-title{font-size:20px;line-height:22px;color:#f60;margin-right:5px;max-width:550px}.cal-item .cli-title a{color:#f60;text-decoration:none}.cal-item .cli-title a:hover{color:#464646}.cli-icos{vertical-align:top}.adm-form .mf-line .mf-field,.i-wait,.i-wait img,.mfpl-button-line>*{vertical-align:middle}.cal-item .cli-info .cli-bot .cli-date{width:150px;font-size:15px}.cal-item .cli-place{font-size:15px;float:left}.cl-sect ul li .check-wrap{position:absolute;right:5px;top:12px}.cl-actions{padding:15px 0 12px;font-size:15px;line-height:16px}.cl-actions .cla-title{float:left;margin-right:20px;line-height:26px;color:#979797}.cl-actions .cla-btns{overflow:hidden}.cl-actions .cla-btns .button{margin-bottom:4px}.to-prev-cal{font-size:15px;margin-top:20px}.to-prev-cal .icon-back:before{width:11px;height:12px;background-position:-183px -162px;margin-right:7px}.a-bot-buttons-line{margin-top:20px;padding-top:20px;border-top:1px dotted #ccc;word-spacing:16px}.p-form .a-bot-buttons-line{border-top:none;padding-top:0}.a-bot-buttons-line .abb-left{float:left;width:75%}.a-bot-buttons-line .abb-right{float:right}.page-title.clearfix .a-pt-button{float:right;margin:3px 0 -3px}.mfpl-button-line{display:table;width:100%;margin-bottom:20px}.mfpl-button-line>*{display:table-cell}.mfpl-button-line .mfpl-button{padding-right:30px}.mfpl-button-line .mfpl-text{width:100%;font-size:14px;line-height:16px;word-spacing:normal}.mfpl-button-line .mfpl-text p{margin:0;max-width:400px}.i-wait{display:inline-block;font-size:18px}.adm-form .i-wait{display:block;text-align:center;margin-bottom:20px}.i-wait img{margin:-4px 3px 0 0}.mf-photos-list ul{margin:0;padding:0;list-style:none}.mf-photos-list li{border-top:1px dotted #ccc;padding:20px 0 20px 210px}.mf-photos-list li:after,.mf-photos-list li:before{content:" ";display:table}.mf-photos-list .mfpli-pict{width:190px;height:190px;float:left;margin:0 -100% 0 -210px}.mf-photos-list .mfpli-pict img{max-width:190px;max-height:190px;border-radius:4px}.set-sect.adm-form{margin-bottom:22px}.set-sect .set-sect-title h3{margin:0;font-weight:300;font-size:25px;line-height:26px;color:#f60;float:left}.set-sect.not-active .set-sect-title h3{color:#d1d1d1}.set-sect .set-sect-title .afh-right{float:right}.lt-ie9 .set-sect.passed .set-sect-title .afh-right .button,.lt-ie9 .set-sect.passed .set-sect-title h3{filter:alpha(opacity=50)}.set-sect.passed .set-sect-title .afh-right .button:hover{opacity:1}.adm-form .adm-form-body.disabled,.mf-line .rq-sub-sect .rq-sub-sect-body.disabled>*{opacity:.5}.lt-ie9 .set-sect.passed .set-sect-title .afh-right .button:hover{filter:alpha(opacity=100)}.set-sect .set-sect-title .afh-right .sst-info{font-weight:300;font-size:20px;color:#f60}.set-sect .set-sect-title .afh-right .sst-info b{font-weight:500}.lt-ie9 .adm-form .adm-form-body.disabled{filter:alpha(opacity=50)}.adm-form h2{margin:-5px 0 15px;font-weight:100;font-size:30px;line-height:30px;color:#f60}.adm-form hr{margin-bottom:21px}.adm-form .mf-line>label{display:inline-block;font-size:17px;line-height:17px;margin-right:5px}.adm-form .mf-line>label.h2{display:inline-block;font-weight:100;font-size:30px;line-height:30px;color:#f60;vertical-align:middle;margin-top:-6px;padding-bottom:5px}.mf-line.afs-type{word-spacing:16px;padding-top:5px}.set-sect-title+form .mf-line.afs-type{padding-top:0}.mf-line.afs-type label{word-spacing:normal}.mf-line.afs-type .mf-field{padding:0}.mf-stat .mf-stat-add-button,.mfs-additional .mf-line{padding-left:135px}.mf-line.s-subj-tag{word-spacing:16px;margin-top:-5px}.mf-line.s-subj-tag .mf-field{width:45%;word-spacing:normal;vertical-align:top}.mf-line.s-subj-tag .mf-field label{display:block;font-size:17px;line-height:18px;margin-bottom:5px}.button.big.a-more:after,button.big.a-more:after{content:'';display:inline-block;vertical-align:middle;width:7px;height:11px;background:url(../img/sprites.png) -234px -134px no-repeat;margin:-1px -3px 0 7px}.button.big.grey.a-more:after,button.big.grey.a-more:after{background-position:-250px -134px}.button.big.a-more:hover:after,.button.big.orange.a-more:after,button.big.orange.a-more:after{background-position:-242px -134px}.mfs-location .mf-line{word-spacing:16px}.mfs-location .mf-line+.mf-line .mf-field{width:45%}.mfs-additional .mf-line>label{display:inline-block;width:120px;float:left;margin:0 -120px 0 -135px;padding-top:3px}.mf-line.mf-time>label,.mfs-additional.mf-stat .mf-line>label{padding-top:11px}.mfs-additional .mf-line .mf-field{width:100%}.mfs-additional .mf-line .mf-field hr{margin:10px 0 0}.mfs-additional .mf-line .mf-field .mff-col{width:45%;margin-right:25px;float:left}.mfs-additional .mf-line.mf-targets .mf-field .mff-col{width:30%}.mfs-additional .mf-line.mf-targets .mf-field .mff-col:first-child{width:45%}.adm-form-body label.check{font-size:15px;min-height:20px}.mf-targets label.check{width:100%;margin-bottom:7px}.mf-membership label.check{display:inline-block;vertical-align:top;width:45%;margin:0 25px 7px 0}.mf-prod input[type=text],.mf-prod textarea{margin:10px 0}.mf-prod input[type=text]:first-child,.mf-prod textarea:first-child{margin-top:0}.mf-prod input[type=text]{width:75%}.w-time{margin-bottom:10px;word-spacing:22px;display:none}.w-time.show,.w-time:first-child{display:block}.w-time>div{display:inline-block;vertical-align:middle;word-spacing:normal}.w-time .w-time-day{width:125px;display:none}.w-time.show .w-time-day{display:inline-block}.w-time .w-time-wrap{position:relative;width:90px}.w-time .w-time-wrap+.w-time-wrap,.w-time.show .w-time-wrap{margin-left:20px}.w-time.show .w-time-day+.w-time-wrap{margin-left:15px}.w-time .w-time-wrap label{font-size:15px;position:absolute;right:100%;margin-right:7px;top:12px;z-index:10}.adm-form-body .mf-line.mf-logo>label{width:130px}.mf-prod.mf-short-input input[type=text],.mf-year{width:140px}.mf-photos-list+hr{margin-top:5px}.mf-line>label.h3{font-size:20px}.mf-stat-item hr{margin-left:135px}.mf-line.mf-prod+.mf-stat-item hr{margin:-10px 0 20px 135px}.mf-year{margin-bottom:15px}.mf-stat-data{display:table;width:100%}.mf-stat-data>div{display:table-cell;padding-right:20px}.mf-stat-data .sd-participants,.mf-stat-data .sd-visitors{width:35%}.mf-stat-data .sd-participants input[type=text],.mf-stat-data .sd-visitors input[type=text]{width:100%}.mf-stat-data .sd-area{font-size:17px}.mf-stat-data .sd-area input[type=text]{width:70%;margin-right:5px}.mf-line.mf-stat-countries{margin-top:-15px}.mf-stat-countries .c-select-box{width:65%}.adm-form .e-price-wrap{margin:0 -20px 30px;padding-top:0}.adm-form .epr-layout{display:table;width:100%;border-spacing:20px 0}.adm-form .eprl-col{padding:0;border:none}.adm-form .eprl-col-wrap{padding:15px 20px;border:1px dotted #ccc}.adm-form .eprl-col:first-child .eprl-col-wrap{min-width:350px}.adm-form .epr-subtitle{font-size:15px}.adm-form .eprl-col hr{margin:10px 0}.adm-form .eprl-col input[type=text]{padding-left:7px;padding-right:7px}.adm-form .eprl-col input[type=text]:focus{padding-left:6px;padding-right:6px}.adm-form .tp-wrap{margin:0}.adm-form .pr-list{color:#464646;margin-bottom:10px}.adm-form .pr-list input[type=text]{width:75%;margin-right:6px;vertical-align:top}.adm-form .tp-wrap .pr-list input[type=text]{width:115px}.adm-form .eprl-col .custom-select{display:inline-block;vertical-align:top;width:70px}.adm-form .eprl-col .custom-select .custom-select-wrap{padding-left:7px}.adm-form .eprl-col .custom-select .scroll-content{padding-left:2px}.eprl-col .mf-line label{display:block;margin-bottom:5px}.eprl-col .mf-line .mf-field{width:100%;padding:0}.eprl-col .mf-line.mf-min-area label{display:inline-block;margin-bottom:0}.adm-form .eprl-col .mf-line.mf-min-area .mf-field{font-size:15px;width:38%}.adm-form .eprl-col .mf-line.mf-min-area .mf-field input[type=text]{width:78%;margin-right:3px}.adm-form .eprl-col .mf-field .period .pwf-field{padding:0}.adm-form .eprl-col .mf-field .period input.date[type=text]{padding-right:35px}.adm-form .eprl-col .mf-field .period input.date[type=text]:focus{padding-right:34px}.mf-reg-payment input[type=text]{width:120px;margin-right:6px}.mf-line.mf-deadline{margin-bottom:0}.cl-news header .news-s-pict{width:100px;height:100px;overflow:hidden;text-align:center;border-radius:4px;margin-right:20px;float:left}.cl-news header .news-s-pict img{height:100%;margin:0 -50%}.cl-news header .news-header-body{overflow:hidden}.cl-news header .news-header-body h2{margin:0 0 7px;font-weight:500;font-size:25px;line-height:26px}.cl-news header .news-header-body .news-header-date{font-size:15px;color:#f60}.request-form .rq-info{margin-bottom:15px;display:table;width:100%}.request-form .rq-info>*{display:table-cell}.request-form .rq-info .rqi-pict{vertical-align:top;width:130px;padding-right:30px;text-align:center}.request-form.rq-tickets .rq-info .rqi-pict{width:155px}.request-form .rq-info .rqi-body{vertical-align:middle;font-size:13px;line-height:15px}.request-form .rq-info .rqi-body h2,.request-form .rq-info .rqi-body h3,.request-form .rq-info .rqi-body h4{font-weight:400}.request-form .rq-info .rqi-body h2{margin:20px 0 10px;font-size:23px;line-height:24px}.request-form .rq-info .rqi-body h3{font-size:22px;line-height:24px;color:#f60;margin:20px 0 10px}.request-form .rq-info .rqi-body h4{font-size:16px;line-height:19px;margin:20px 0 10px}.request-form .rq-info .rqi-body ul{margin:10px 0;padding:0;list-style:none}.request-form .rq-info .rqi-body ul li{padding-left:15px;margin-bottom:10px}.request-form .rq-info .rqi-body ul li:before{content:'';display:block;width:11px;height:8px;background:url(../img/sprites.png) -250px -124px no-repeat;float:left;margin:4px -11px 0 -15px}.request-form .rq-info .rqi-body p{margin:10px 0}.request-form .rq-info .rqi-cols{display:table;width:80%;margin:0}.request-form .rq-info .rqi-cols>*,.request-form .rq-info .rqi-cols>ul{display:table-cell;margin:0;width:50%;padding-right:20px}.request-form .rq-info .rqi-cols>ul li{margin-bottom:5px}.request-form .rq-info .rqi-body>:first-child{margin-top:0}.request-form .rq-form{display:none;margin:10px 0}.request-form.rqf-opened .rq-form{display:block}.request-form.rqf-opened .rq-btn-to-hide,.request-form.rqf-opened .rq-to-hide{display:none}.request-form .rq-form .rqf-title{font-weight:100;font-size:30px;line-height:31px;color:#f60;margin-bottom:15px}.request-form hr{margin:25px 0 15px}.request-form .rq-form hr{margin:20px 0}.request-form .rq-btn-wrap{margin-bottom:15px}.request-form .rq-form hr+.rq-btn-wrap{margin-top:25px}.request-form .rq-btn-wrap .rqb-cols{display:table;width:100%}.request-form .rq-btn-wrap .rqb-cols>*{display:table-cell;width:50%}.request-form .rq-btn-wrap .rqb-cols .rqb-button{vertical-align:top}.request-form .rq-btn-wrap .rqb-cols .rqb-text{vertical-align:middle;padding-left:30px;font-family:Arial,sans-serif;font-size:12px;line-height:16px}.request-form .rq-btn-wrap>.button.big.orange,.request-form .rq-btn-wrap>button.big.orange{height:44px;line-height:40px;padding:2px 30px 0;font-size:17px}@-moz-document url-prefix(){.request-form .rq-btn-wrap>.button.big.orange,.request-form .rq-btn-wrap>button.big.orange{line-height:39px}}.rq-catalog .rq-btn-wrap{width:100%;max-width:650px}.rq-remotely .rq-btn-wrap{width:100%;max-width:770px;margin-bottom:0}.rq-tickets .rq-btn-wrap{width:100%;max-width:800px}.rq-translator .rq-btn-wrap{width:100%;margin-top:20px}.rq-translator .rq-form .rq-btn-wrap{width:50%;min-width:420px}.rq-catalog .rq-order-button,.rq-catalog .rq-order-button .rqob-wrap,.rq-remotely .rq-order-button,.rq-remotely .rq-order-button .rqob-wrap,.rq-tickets .rq-order-button,.rq-tickets .rq-order-button .rqob-wrap,.rq-translator .rq-order-button,.rq-translator .rq-order-button .rqob-wrap{width:100%}.rq-participation .rq-btn-wrap,.rq-tour .rq-btn-wrap{margin-left:160px}.rq-participation .rq-form .rq-btn-wrap,.rq-tour .rq-form .rq-btn-wrap{margin-left:0}.request-form .rq-btn-wrap .ob-descr{padding-left:160px;color:#f60;font-family:Arial,sans-serif;font-size:13px;line-height:15px;margin-top:7px}.about_block h2,.about_block_menu li a,.acticle_list_big h3,.archive_block h4,.blog_avtor table tr td,.blog_avtor table tr th,.blog_avtor_right,.blog_avtormidle,.blog_block h1,.blog_block h2,.blog_block h3,.blog_block h4,.contacts_bottom h3,.contacts_top_block_left,.contacts_top_block_right,.country_content h4,.country_content h5,.country_table tr td ul li,.country_towns,.map_info_block,.profile_top h1,.profile_top h3,.profile_top_left_1,.profile_top_right_1,.profile_top_table tr td,.review_list .sc-name,.review_list header,.s-tour .sect-title,.signature_block{font-family:dindisplay_pro,sans-serif}.request-form.rq-tickets .rq-btn-wrap .ob-descr{padding-left:185px}.rq-note{font-size:13px;line-height:15px}hr+.rq-note{margin-top:-3px}.rq-note p{margin:10px 0 0}.rq-note:first-child{margin-top:0}.s-tour .sect-title{color:#f60;font-size:22px;line-height:23px;margin:25px 0 15px;padding-left:20px}.rq-form{padding-top:1px}.rq-form hr:first-child{margin-top:0}.rq-form-sect .mf-line.cols-2{width:auto}.rq-form-sect .mf-line.cols-2.rq-place{width:75%}.rq-form .mf-line.rq-person .mf-field{width:60%}.rq-form-sect .mf-line.cols-2.rq-tickets-data .mf-field:first-child{padding-right:40px}.rq-form-sect .mf-line.cols-2.rq-contacts{width:85%}.rq-form .mf-line label{font-size:17px}.mf-line.cols-2.rq-remotely-what{width:100%}.mf-line.cols-2.rq-remotely-what label{width:150px;padding-right:0}.mf-line.cols-2.rq-remotely-what label em{font-style:normal;font-size:14px;line-height:16px;margin-top:5px;display:block;color:#b0b0b0}.mf-line.cols-2.rq-remotely-what .mf-field,.mf-line.rq-remotely-options .mf-field,.mf-line.rq-remotely-options>label{width:auto}.mf-line.rq-remotely-options .mf-field label{margin-left:15px}.mf-line.rq-remotely-options .mf-field label:first-child{margin-left:0}.rq-form-sect .mf-line.cols-2 .mf-field.rq-area-val{width:280px}.rq-form-sect .mf-line .rq-num input[type=text],.rq-form-sect .mf-line.cols-2 .mf-field.rq-area-val input[type=text]{width:80px;margin-left:7px}.rq-form-sect .mf-line .rq-num input[type=text]:first-child,.rq-form-sect.rq-tour-form .mf-line .rq-num input[type=text]{margin-left:0}.rq-form-sect .mf-line.cols-2 .mf-field.rq-area-type .custom-select{display:inline-block;vertical-align:middle;width:190px;margin-left:7px}.rq-form .rq-btn-wrap{display:none}.request-form.rqf-opened .rq-form .rq-btn-wrap{display:block}.mf-line.rq-tel2 .mf-field{width:50%}.rq-translator .rq-form-sect .mf-line.cols-2.rq-trans{width:100%}.rq-translator .mf-line .mf-field{vertical-align:middle;font-size:17px;width:auto}.rq-translator .rq-form-sect .mf-line.cols-2.rq-trans .mf-field{width:50%}.rq-translator .mf-line .mf-field.rq-num input[type=text]{margin-right:5px}.rq-translator .mf-line.rq-trans .mf-field>label{display:block;margin-bottom:5px}.rq-translator .mf-line>label{display:inline-block;vertical-align:middle;width:150px;margin-top:-6px}.rq-translator .mf-line.rq-p-days>label{width:124px}.rq-form .rq-tour-form .mf-line{display:table;table-layout:fixed;width:100%}.rq-form .rq-tour-form .mf-line>*{display:table-cell;vertical-align:top;width:auto;padding:0}.rq-form .rq-tour-form .mf-line>label{width:160px;padding-top:11px}.rq-form .rq-tour-form .mf-line.rq-p-days>label{width:130px}.rq-tour-form .mf-field>div{display:inline-block;margin-right:20px}.rq-tour-form .rq-sel-cond .custom-select{display:inline-block;vertical-align:middle;margin-left:5px;max-width:290px}.rq-tour-form .rq-sel-cond .custom-select:first-child{margin-left:0}.mf-line.rq-from-city input[type=text]{width:50%}.custom-radio-check.rq-rad-rate{display:inline-block;vertical-align:middle;height:40px;border:1px solid #feb17d;border-radius:3px;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;overflow:hidden;position:relative;margin-right:2px}.custom-radio-check.rq-rad-rate:hover{border-color:#f60;background:#f60;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ff8000),color-stop(100%,#f60));background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:linear-gradient(to bottom,#ff8000 0,#f60 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#ff8000', endColorstr='#ff6600', GradientType=0)}.ir,.visuallyhidden{border:0;overflow:hidden}.custom-radio-check.rq-rad-rate .custom-checkbox{display:block;height:38px;line-height:38px;padding:0 12px}.custom-radio-check.rq-rad-rate .custom-checkbox:before{content:'';display:inline-block;vertical-align:middle;height:15px;background:url(../img/sprites.png) -340px -16px no-repeat;margin:-2px -1px 0 0}.custom-radio-check.rq-rad-rate .custom-checkbox.checked:before{background-position:-340px -32px}.custom-radio-check.rq-rad-rate:hover .custom-checkbox:before{background-position:-340px 0}.custom-radio-check.rq-rad-rate.rr1 .custom-checkbox:before{width:15px}.custom-radio-check.rq-rad-rate.rr2 .custom-checkbox:before{width:31px}.custom-radio-check.rq-rad-rate.rr3 .custom-checkbox:before{width:47px}.custom-radio-check.rq-rad-rate.rr4 .custom-checkbox:before{width:63px}.custom-radio-check.rq-rad-rate.rr5 .custom-checkbox:before{width:79px}.custom-radio-check.rq-rad-rate input{position:absolute;cursor:pointer;bottom:110%;right:110%}.rq-tour-form .rq-sel-cond.rq-hotel-loc .custom-select{max-width:150px}.rq-tour-form .rq-sel-cond.rq-h-price label{font-size:14px}.rq-tour-form .rq-sel-cond.rq-h-price input[type=text]{width:80px;margin-left:5px}.rq-tour-form .rq-sel-cond.rq-h-price .custom-select{max-width:120px}.rq-form .rq-tour-form .mf-line.rq-notes{width:95%}.mf-line.rq-options{margin-top:20px}.mf-line.rq-options .mf-field>ul{margin:0;padding:15px 20px;list-style:none}.mf-line.rq-options .mf-field>ul li{margin-top:10px}.mf-line.rq-options .mf-field ul li:first-child{margin-top:0}.mf-line .rq-sub-sect{display:table;background:#f3f3ef}.rq-tour-form .mf-field>div.rq-sub-sect{margin-right:0}.mf-line .rq-sub-sect.transl-service{min-width:595px}.mf-line .rq-sub-sect.transl-service .rq-sub-sect-body{width:355px}.mf-line .rq-sub-sect>*{display:table-cell;vertical-align:top;padding:15px 20px;width:auto}.mf-line .rq-sub-sect.transl-service .rq-switch{width:180px;padding-right:0}.mf-line .rq-sub-sect.avia-tickets{max-width:470px}.mf-line .rq-sub-sect.avia-tickets .rq-sub-sect-body{padding-right:0;padding-bottom:5px}.mf-line .rq-sub-sect .rq-sub-sect-body .check{margin:0 20px 10px 0}.mf-line .rq-s-line{margin-top:12px;font-size:15px}.mf-line .rq-s-line:first-child{margin-top:0}.rq-form .mf-line .rq-sub-sect-body label.check{font-size:15px}.mf-line .rq-s-line label{display:inline-block;vertical-align:middle;font-size:15px}.mf-line .rq-s-line .rq-num{display:inline-block;margin-left:10px}.mf-line .rq-s-line .rq-num input[type=text]{width:60px;margin-right:5px}@media only screen and (min-width:1080px){.page-wrap{width:100%;padding-right:40px}.page-wrap .layout{padding-left:3%}.page-wrap .layout.mp-announces .layout-wrap{padding-right:0}.page-wrap .layout.mp-announces .layout-wrap aside{margin-right:0;width:33.33%;margin-left:-100%}.page-wrap .layout.mp-announces .layout-wrap .mcl{width:66.66%}.eprl-col{padding:0 20px 15px}}@media only screen and (min-width:1100px){.e-price-wrap{margin:0 -40px}.epr-layout{border-spacing:40px 0}}@media only screen and (min-width:1170px){.page-wrap .layout{padding-left:6%}.page-wrap .layout .layout-wrap{padding-left:230px}.main-page .page-wrap .header-wrap,.main-page .page-wrap .mp-catalog .layout-wrap,.page-wrap>footer .layout-wrap.footer-wrap{padding-left:240px}.mp-partners .mpp-wrap,.page-wrap section.layout.search-form .layout-wrap{padding-left:430px}.page-wrap .layout .layout-wrap>aside{width:230px;padding-right:50px;margin-left:-230px}.page-wrap>header .logo{margin-left:-230px}.page-wrap>header .logo h1,.page-wrap>header .logo h2,.page-wrap>header .logo h3{margin-left:-67px}.mp-partners .mpp-wrap header{width:230px;margin-left:-230px}.s-phone{margin-left:-25px}.online-adviser{margin-left:-40px}.s-news-list ul li{padding-left:60px;margin-left:-60px}.mp-photo-gallery .pg-item .pgi-descr,.mp-photo-gallery header,.page-wrap .layout.mp-announces .layout-wrap{padding-left:230px}.s-news-list .nl-pict{margin:0 -40px 0 -60px}.mp-photo-gallery,.mp-photo-gallery header .pg-title{margin-left:-230px}.mp-photo-gallery .pg-item .pgi-descr .pgi-date{margin-left:-190px}}@media only screen and (min-width:1200px){.page-wrap>header .logo h1,.page-wrap>header .logo h2,.page-wrap>header .logo h3{margin-left:-67px}.mp-partners .mpp-wrap ul{margin-left:-30px}.mp-partners .mpp-wrap li{margin-left:30px}.eprl-col:first-child{width:50%}}@media only screen and (min-width:1260px){.header-body .header-top{padding-right:510px}.header-body .header-top .ht-main{width:100%}.header-body .header-top .ht-side{width:505px;margin-right:-505px}.mp-partners .mpp-wrap ul{margin-left:-40px}.mp-partners .mpp-wrap li{margin-left:60px}}.ir{background-color:transparent}.ir:before{content:"";display:block;width:0;height:150%}.hidden{display:none!important}.visible{display:block!important}.c-select-box .csb-selected.dna-clone{display:inline-block}.visuallyhidden{clip:rect(0 0 0 0);height:1px;margin:-1px;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.mf-line .mf-error,.mf-line .mf-success,.pwf-field .error{font-size:15px;padding-right:10px;padding-bottom:5px;width:65%}.clearfix:after,.clearfix:before{content:" ";display:table}@media print{blockquote,img,pre,tr{page-break-inside:avoid}*{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999}thead{display:table-header-group}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}}.pwf-msg .msg-error{color:#fe0238;padding-left:20px}.pwf-msg .msg-help:before{content:'—';float:left;margin:0 -15px 0 -20px}.mf-line .mf-error,.pwf-field .error{color:#ff083c}.mf-line .mf-success{display:none;color:#31ff13}.fancybox-inner{overflow:visible!important}.pw-subj{min-height:480px}.pw-subj .csb-menu .level .sublist{display:none}.pw-subj .csb-menu .level.active .sublist{display:block}.pw-subj .csb-menu .level1{display:none}.pw-subj .csb-menu .level1>ul{margin-left:1em;margin-top:.5em}.pw-subj .csb-menu .level1>ul .trigger{margin-left:1em}.pw-subj .csb-menu .level1.visible{display:block}#mCSB_1,#mCSB_3{min-height:188px}.leter-list{float:left;width:30%;min-height:6em}.leter-list .leter{color:#f60;margin-bottom:1em;list-style:none}.about_pic{float:left;margin:0 20px 10px 0;display:block}.about_block h2{margin:0;padding:10px 0 0;color:#f60;font-size:20px;font-weight:400}.about_block ul{position:relative;left:15px;list-style-type:none}.about_block ul li{padding-left:15px}.about_block ul li:before{content:'';display:block;width:11px;height:8px;background:url(../img/sprites.png) -250px -124px no-repeat;float:left;margin:4px -11px 0 -15px}.about_block_menu,.contacts_top_block{width:100%;float:left}.about_block a.clolr_1{color:#3b5998}.about_block a.clolr_2{color:#1ab2e8}.about_block a.clolr_3{color:#597da3}.signature_block{padding:15px 0 42px;font-size:13px;color:#8d8c8c;font-weight:400}.signature_block_pic{display:block;float:left;margin:0 30px 0 10px}.signature_block h3{font-size:16px;font-weight:400;margin:0;color:#010101}.signature_block strong{display:block;font-weight:400;color:#f60;padding:0 0 2px}.signature_block p{padding:0;margin:0}.about_block_menu{border-bottom:1px dotted #ccc;list-style-type:none;padding:0;margin:0 0 25px}.about_block_menu li{float:left;height:35px;padding:15px 25px 0;border:1px dotted #fcfcfb;position:relative;top:1px;list-style-type:none;margin:0;overflow:hidden;border-bottom:none}.about_block_menu li a{font-size:18px;color:#f60;text-decoration:none;background:url(../img/libk_bg.png) left bottom repeat-x;display:inline-block;height:18px;-webkit-transition:none;-o-transition:none;transition:none}.about_block_menu li a:hover{background:0 0}.about_block_menu li:first-child{padding-left:0}.about_block_menu li.active{border-color:#ccc;background:#fcfcfb}.about_block_menu li.active a{background:0 0;color:#000}.about_block_menu li.active:first-child{border-left-color:#fcfcfb}.about_block_menu.about_active{border-top:1px dotted #ccc;border-bottom-color:#fcfcfb}.about_block_menu.about_active li{border:none}.about_block_menu.about_active li.m_05{display:none}.contacts_top_block_left{float:left;width:340px;color:#464646;font-size:13px}.contacts_top_block_left strong{font-size:20px;font-weight:400;padding:0 17px 0 0;position:relative;top:5px}.contacts_top_block_left p{padding:0;margin:0}.contacts_top_block_right{float:right;width:396px;border-bottom:1px dotted #ccc;padding:7px 0 15px;font-size:13px;color:#787777}.contacts_top_block_right table tr th{text-align:left;vertical-align:top;padding:1px 10px 1px 0;font-weight:400}.contacts_top_block_right table tr td{text-align:left;vertical-align:top;padding:1px 0}.contacts_top_block_right table tr td a{display:inline-block;position:relative;text-decoration:none;padding:0 0 0 21px}.contacts_top_block_right table tr td a i{font-style:normal;text-decoration:underline}.acticle_list h3 a,.acticle_list strong a,.acticle_list_big h3 a,.add_pic_block,.blog_avtor table tr td h3 a,.blog_link a,.contacts_top_block_right table tr td a:hover i,.map_info_block tr td p a:hover,.profile_top_right_1 p a,.review_list .sc-name a,.review_list header .cli-title a{text-decoration:none}.contacts_top_block_right table tr td a span{display:block;width:15px;height:12px;position:absolute;left:0;top:3px;background:url(../img/sprites.png) -223px 0 no-repeat}.button.icon-call:before{width:12px;height:12px;background-position:-304px -117px}.button.icon-call:hover:before,.button.orange.icon-call:before{background-position:-304px -130px}.contacts_bottom{padding:25px 0 0;font-size:12px;color:#464646}.contacts_bottom h3{font-size:13px;font-weight:400;color:#8b8b8b;padding:0 0 5px;margin:0}.contacts_bottom p{padding:0;margin:0}.contacts_bottom .soc-media-buttons{float:right;margin:0}.contacts_bottom h3 span{font-size:16px;position:relative;color:#464646;top:1px;padding:0 0 0 5px}.contacts_bottom_map{margin:10px 0 -5px;border-bottom:1px dotted #ccc;padding:0 0 26px}.contacts_bottom_map img{display:block;width:100%}.parnters_about_block_table{width:100%}.parnters_about_block_table a:hover{color:#f60}.parnters_about_block_table tr td{text-align:left;vertical-align:top;width:140px;padding:0 0 20px}.parnters_about_block_table tr td.delimiter{width:auto!important}.parnters_about_block_table tr td a{color:#464646;display:block;width:140px;font-size:11px;line-height:14px;text-align:center}.parnters_about_block_table tr td a .imp-pict{position:relative;display:block;width:140px;overflow:hidden;margin-bottom:5px;border-radius:4px}.parnters_about_block_table tr td a img{display:block;width:140px}.parnters_about_block_table tr td a .imp-pict:before{content:'';display:block;position:absolute;width:100%;height:100%;border-radius:4px;box-shadow:inset 0 1px 0 rgba(0,0,0,.2)}.review_list{list-style-type:none;padding:0;margin:-10px 0 0}.review_list li{position:relative;border-bottom:1px dotted #ccc;padding:25px 0 19px}.review_list li:first-child{padding-top:0}.review_list li:last-child{border-bottom:none}.review_list .cl-item-wrap{padding-left:90px}.review_list .cli-pict{margin-left:-90px;width:70px;height:70px;line-height:65px;padding:2px}.review_list .cli-info{margin-bottom:0}.review_list .sc-name{font-weight:500;font-size:17px;line-height:20px;color:#f60;margin:-7px 0 10px;position:relative}.review_list .sc-name a:hover,.review_list header .cli-title a:hover{color:#464646}.review_list .sc-name span a{font-weight:400;font-size:12px;float:right}.review_list .sc-name span a:before{content:' ';display:inline-block;vertical-align:middle;width:11px;height:13px;background:url(../img/sprites.png) -211px 0 no-repeat;margin:-1px 5px 0 0}.review_list .sc-text{font-size:12px;line-height:16px}.review_list .cli-top{margin-bottom:10px}.review_list header{margin-bottom:2px}.review_list header .cli-title{display:inline-block;vertical-align:top;font-size:30px;line-height:30px;margin:0 6px 0 0;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s;max-width:490px}.add_pic_block,.add_pic_list li a.add_pic_link{-webkit-transition:background .3s,color .3s;-o-transition:background .3s,color .3s}.team_list{width:100%;float:left;margin:0;padding:0;list-style-type:none}.team_list li{display:inline-block;vertical-align:middle;width:33%;font-size:11px;position:relative;line-height:1.25;margin-bottom:2em}.team_list li.delimiter{width:100%;height:25px}.team_list li .team_list_bg{position:relative;float:left;padding:0 0 0 104px}.team_list li .team_list_bg .pic{display:block;position:absolute;left:0;top:50%;margin-top:-45px;width:89px;height:89px;border-radius:4px}.team_list li p{padding:0;margin:0;color:#a6a6a5}.team_list li strong{display:block;font-weight:400;color:#464646;font-size:13px;padding:0 0 5px}.team_list li h4{font-size:21px;font-weight:500;color:#f60;padding:3px 0;margin:0;line-height:1}.blog_block,.team_list li:hover h4{color:#464646}.acticle_list p,.acticle_list_big p{line-height:16px}.team_list li a{display:block;position:absolute;left:0;top:0;width:100%;height:100%;background:url(../img/spacer.gif)}.blog_block{font-size:12px}.blog_block h1{color:#424242;font-size:25px;line-height:1;font-weight:400;margin:0;padding:0}.blog_block h2,.blog_block h3{color:#424242;margin:0 0 -5px;padding:7px 0 0;font-weight:400}.blog_block h2{font-size:22px}.blog_block h3{font-size:19px}.blog_block h4{color:#f60;font-size:14px;font-weight:400;margin:0 0 -10px;padding:4px 0 0}.blog_block_headline{padding:5px 0 0 120px;position:relative;font-size:13px;min-height:95px}.blog_block_headline.full_width{padding-left:0}.blog_block_headline.full_width h1{font-size:36px;line-height:1}.blog_block_headline.full_width .article_info{list-style:none;padding:0}.blog_block_headline.full_width .article_info li{display:inline-block;margin-right:50px}.blog_block_headline.full_width .article_info a{color:#666}.blog_block_headline.full_width .article_info .fa{color:#F60;margin-right:5px}.article_tags{color:#999}.article_tags a{color:#666}.article_tags a:hover{color:#F60}.blog_block_headline strong{display:block;font-weight:400;font-size:14px;color:#f60;padding:8px 0 10px}.blog_block_headline strong span{padding:0 30px 0 0}.blog_block_headline p{margin:0}.blog_block_headline strong a.flag:before,.blog_block_headline strong a.profile_link:before,.blog_block_headline strong span:before{display:inline-block;vertical-align:middle;margin:0 5px 0 0;content:' '}.blog_block_headline strong span:before{width:13px;height:16px;background:url(../img/sprites.png) -183px -145px no-repeat;position:relative;top:-2px}.blog_block_headline strong a.profile_link:before{width:11px;height:13px;background:url(../img/sprites.png) -24px 0 no-repeat}.blog_block_headline strong a.flag:before{width:14px;height:14px;background:url(../img/sprites.png) -329px -49px no-repeat}.blog_block_headline .pic{display:block;position:absolute;left:0;top:0;width:100px;height:100px;border-radius:4px}.blog_block_headline .content-text{margin-left:-120px;margin-top:2em}.blog_block .pic_left{float:left;margin:4px 30px 5px 0}.blog_block .pic_left img{display:block;border-radius:4px}.blog_block .pic_left i{font-size:11px;color:#a1a1a1;display:block;padding:3px 0 0}.blog_block .pic_right{float:right;margin:4px 0 10px 10px}.blog_block .pic_right img{display:block;border-radius:4px}.blog_block .pic_right i{font-size:11px;color:#a1a1a1;display:block;padding:3px 0 0}.blog_avtor{padding:20px 0 0;margin:19px 0 0}.blog_avtor table{float:left}.blog_avtor table tr th{text-align:left;vertical-align:top;padding:3px 20px 0 0;font-weight:400;font-size:13px;color:#a2a2a2}.blog_avtor table tr td{text-align:left;vertical-align:middle;padding:0 9px 0 0}.blog_avtor table tr td .pic{display:block;width:50px;height:50px;border-radius:3px}.blog_avtor table tr td h3{padding:0 0 5px;margin:0}.blog_avtor table tr td h3 a{color:#464646;font-size:20px}.blog_avtor table tr td h3 a:hover{color:#f60}.blog_avtor table tr td a.facebook{font-size:13px;color:#3b5998}.blog_avtor_right,.blog_avtormidle{font-size:13px;color:#f60}.blog_avtor table tr td a.facebook:before{content:' ';display:inline-block;vertical-align:middle;width:17px;height:17px;background:url(../img/sprites.png) -304px -144px no-repeat;margin:0 5px 0 0}.blog_avtor_right{float:right}.blog_avtor_right .soc_icons{margin:0 0 12px;display:block}.blog_avtor_right .icon,.blog_avtormidle .icon{display:inline-block;width:12px;height:13px;top:3px;margin:0 3px 0 0;background:url(../img/sprites.png) -305px -162px no-repeat;position:relative}.blog_avtormidle i{font-style:normal;color:#a2a2a2;padding:0 32px 0 0}.article_author{padding-bottom:20px}.article_author .author img{float:left;margin-right:50px;border-radius:74px}.article_author .author:after{content:'';display:block;clear:both}.article_author .author h4{font-size:40px;font-weight:100;color:#333;margin-bottom:15px;padding-top:25px}.article_author .author li{display:inline-block;list-style:none}.article_author .author li+li{margin-left:20px}.article_author .author ul .fa-envelope{color:#F60;margin-right:12px}.author .author_position{font-size:14px;color:#999}.article_author .author .fa+a{color:#666}.article_author .fa-rss-square{color:#ff6601;font-size:16px}.article_author .fa-facebook-square{color:#3b5998;font-size:16px}.article_author .fa-linkedin-square{color:#069;font-size:16px}.article_author .author_about{font-size:16px;color:#333;line-height:1.5;padding-top:15px}.blog_link{position:relative}.blog_link .button{position:absolute;right:0;top:-5px}.acticle_list{padding:0 0 0 90px;position:relative;font-size:12px;color:#7b7b7b}.acticle_list .pic{display:block;position:absolute;left:0;top:0;width:70px;height:70px;border-radius:3px}.acticle_list h3{margin:0;padding:2px 0 6px;font-size:22px;font-weight:400;font-family:dindisplay_pro,sans-serif}.acticle_list h3 a{color:#464646;line-height:1.1}.acticle_list h3 a:hover{color:#f60}.acticle_list strong{display:block;font-weight:400;font-size:13px;color:#f60;padding:5px 0 0}.acticle_list strong span{padding:0 30px 0 0}.acticle_list p{margin:0}.acticle_list strong b:before,.acticle_list strong i:before,.acticle_list strong span:before{display:inline-block;margin:0 5px 0 0;content:' ';vertical-align:middle}.acticle_list strong span:before{width:13px;height:16px;background:url(../img/sprites.png) -183px -145px no-repeat;position:relative;top:-2px}.acticle_list strong i{font-style:normal;opacity:.5}.acticle_list strong i:before{width:11px;height:13px;background:url(../img/sprites.png) -24px 0 no-repeat;position:relative;top:-1px}.acticle_list strong a:hover i{opacity:1}.acticle_list strong b{font-weight:400;opacity:.6}.acticle_list strong b:before{width:14px;height:14px;background:url(../img/sprites.png) -329px -49px no-repeat}.acticle_list strong a:hover b{opacity:1}.acticle_list_big{padding:0 0 0 270px;position:relative;font-size:12px;color:#7b7b7b;min-height:180px}.acticle_list_big .pic{display:block;position:absolute;left:0;top:0;width:250px;height:180px;border-radius:4px}.acticle_list_big h3{margin:0;padding:2px 0 6px;font-size:22px;font-weight:400}.acticle_list_big h3 a{color:#464646}.acticle_list_big h3 a:hover{color:#f60}.acticle_list_big strong{display:block;font-weight:400;font-size:13px;color:#f60;padding:5px 0 0}.acticle_list_big strong span{padding:0 30px 0 0;display:block;float:left}.acticle_list_big strong span:before{content:' ';display:inline-block;vertical-align:middle;width:13px;height:16px;background:url(../img/sprites.png) -183px -145px no-repeat;margin:0 5px 0 0;position:relative;top:-2px}.acticle_list_big .icon{display:inline-block;width:12px;height:13px;position:relative;top:3px;margin:0 3px 0 0;background:url(../img/sprites.png) -305px -162px no-repeat}.mf-line1{margin-bottom:0}.acticle_list_big .cli-pict .no-logo{width:100px;margin-top:40px}.acticle_list_big .cli-pict{position:absolute;left:0;top:0;width:250px;height:180px;margin-left:0}.country_table{width:100%;margin:6px 0 12px}.country_table tr td{text-align:left;vertical-align:top;width:50%}.country_table tr td ul{list-style-type:none;margin:0;padding:0}.country_table tr td ul li{padding:2px 0;font-size:14px;color:#a2a2a2;font-weight:500}.country_table tr td ul li strong{color:#a2a2a2;font-weight:500;font-size:16px}.country_table tr td ul li span{padding:0 0 0 9px;font-size:16px;color:#424242}.country_table tr td ul li span a{color:#424242;font-size:18px;font-weight:700}.country_table tr td ul li span a:hover{color:#f60}.country_table tr td ul li i{font-style:normal;float:left;display:block;padding:0 0 5px}.country_map .i-map .close-map{bottom:-50px!important}.country_towns{padding:0 0 0 122px;font-weight:500}.country_towns h4{font-size:14px;color:#a2a2a2;font-weight:500;padding:0;margin:0}.country_towns table{width:100%}.country_towns table tr td{text-align:left;vertical-align:top;width:28%}.country_towns table tr td ul{list-style-type:none;margin:0;padding:0}.country_towns table tr td ul li{font-size:16px;padding:3px 0 2px}.country_towns table tr td ul li a{color:#424242}.country_towns table tr td ul li a:hover{color:#f60}.country_content p{color:#464646}.country_content h4,.country_content h5{color:#f60;padding:0;font-weight:400}.country_content h4{font-size:23px;margin:-5px 0}.country_content h5{font-size:20px;margin:15px 0 -5px}.country_content_table{width:100%;font-size:12px;color:#464646}.country_content_table tr td{text-align:left;vertical-align:top;width:58%}.country_content_table tr td.delimiter{width:auto}.country_content_table tr th{text-align:left;vertical-align:top;width:33%;font-weight:400}.country_content_table h4{font-size:18px;font-weight:400;color:#f60;margin:0;padding:0 0 5px}.country_content_table h4 span{color:#464646}.country_content_table p{padding:0;margin:0}.country_content_table tr td ul{list-style-type:none;padding:0;margin:0}.country_content_table tr td ul li:before{content:'•';display:inline-block;margin:0 5px 0 0;vertical-align:middle}.page-title{position:relative}.page-title .button{position:absolute;right:0;top:4px}.archive_block{padding:0 0 20px}.archive_block h4{float:left;font-size:23px;color:#b8b8b7;font-weight:400;padding:8px 28px 0 0;margin:0}.map_info_block tr td,.map_info_block tr th{text-align:left;vertical-align:top;font-weight:500}.archive_block .select_1{float:left;width:148px;margin:0 10px 0 0}.archive_block .select_2{float:left;width:128px}.show-map_1{float:right}.map_info_block{width:100%}.map_info_block tr th{width:15%;color:#a2a2a2;font-size:14px;padding:9px 0 0}.map_info_block tr td{border-bottom:1px dotted #ccc;padding:8px 0;font-size:16px;color:#424242}.map_info_block tr td.width_1{width:35%}.map_info_block tr td p{padding:1px 0;margin:0}.map_info_block tr td p a{display:inline-block;position:relative;color:#424242}.map_info_block tr td p a i{font-style:normal;position:absolute;right:-125px;top:0;font-size:13px;opacity:.7;display:none}.map_info_block tr td p a i:before{content:'';display:inline-block;margin:0 5px 0 0;vertical-align:middle;width:8px;height:14px;background:url(../img/sprites.png) -330px -65px}.map_info_block tr td p a:hover{color:#f60}.map_info_block tr td p a:hover i{display:block}.map_info_block tr:last-child td{border-bottom:none}.i-photo-slides_1{margin-bottom:0}.button.about{padding:3px 12px 2px;margin:10px 0 0}.button.about:before{content:' ';display:inline-block;vertical-align:middle;width:13px;height:14px;background:url(../img/sprites.png) -328px -81px no-repeat;margin:0 4px 0 0;position:relative;top:-1px}.add_link_teg b:before,.add_link_text b:before,.add_pic_block b:before,.content_list li:before,.places_list .space:before,.profile_top_table tr td ul li:before{content:''}.profile_bottom_table tr td,.profile_top_table tr td{vertical-align:top;text-align:left}.content_list,.content_list li{float:none!important;width:auto!important}.button.about:hover:before{background-position:-328px -98px}.content_list{list-style-type:none;padding:13px 0 0!important}.content_list li{margin:0!important;padding:1px 0 1px 17px!important;color:#464646}.content_list li:before{display:block;width:11px;height:8px;background:url(../img/sprites.png) -250px -124px no-repeat;float:left;margin:5px -11px 0 -15px}.i-staff-list>ul>li.delimiter{width:100%;height:25px}.profile_top{padding:21px 0 0 120px;position:relative;min-height:200px}.profile_top_pic{position:absolute;left:0;top:0;width:110px}.profile_top_pic img{display:block;border-radius:4px;float:left}.profile_top_pic .big{width:100px;height:100px}.profile_top_pic .big_link{display:block;width:100px;height:100px}.profile_top_pic .small{width:45px;height:45px;margin:10px 10px 0 0}.profile_top h1,.profile_top h3{color:#f60;font-weight:400;margin:0}.profile_top h1{font-size:40px;padding:0 0 12px}.profile_top h3{font-size:18px;padding:0 0 2px}.profile_top_left_1{float:left;width:72%;font-size:15px;color:#464646}.profile_top_left_1 b{font-size:18px;font-weight:500}.profile_top_right_1,.profile_top_table tr td{font-size:15px}.profile_top_left_1 span,.profile_top_right_1 span{display:inline-block;background:url(../img/sprites.png) no-repeat;position:relative}.profile_top_left_1 span.icon1,.profile_top_right_1 span.icon1{width:16px;height:16px;background-position:-326px -114px;margin:0 5px 0 0;top:3px}.profile_top_left_1 span.icon2,.profile_top_right_1 span.icon2{width:13px;height:19px;background-position:-327px -134px;margin:0 5px 0 0;top:5px}.profile_top_left_1 span.icon3,.profile_top_right_1 span.icon3{width:12px;height:11px;background-position:-327px -154px;margin:0 5px 0 25px;top:1px}.profile_top_left_1 span.icon4,.profile_top_right_1 span.icon4{width:9px;height:15px;background-position:-348px -52px;margin:0 5px 0 0;top:2px}.profile_top_left_1 span.icon5,.profile_top_right_1 span.icon5{width:15px;height:13px;background-position:-346px -70px;margin:0 5px 0 0;top:2px}.profile_top_right_1{float:right;width:26%;text-align:right;color:#464646}.profile_top_left_1 p{margin:0;padding:2px 0}.profile_top_right_1 p{margin:0;padding:4px 0}.profile_top_right_1 p a{color:#464646}.profile_top_right_1 p a:hover{color:#f60}.profile_top_table{width:100%;margin-bottom:16px}.profile_top_table tr td{width:47%;border-bottom:1px dotted #ccc;padding:0 0 16px}.profile_top_table tr td h3{font-size:22px;padding:0 0 10px}.profile_top_table tr td p{padding:0;margin:0}.profile_top_table tr td span{color:#a2a2a2}.profile_top_table tr td ul{list-style-type:none;margin:0;padding:1px 0 9px}.profile_top_table tr td ul li{font-family:Arial,sans-serif;font-size:13px}.profile_top_table tr td ul li:before{display:inline-block;width:12px;height:11px;background:url(../img/sprites.png) -327px -154px no-repeat;margin:0 6px 0 0;top:1px}.profile_top_table_1{margin-bottom:0}.profile_top_table_1 tr td{border-bottom:none;padding:0}.profile_top_table tr td .subjects_list{position:relative}.profile_top_table tr td .subjects_list.more{padding-bottom:21px}.profile_top_table tr td .subjects_list span{display:none;font-size:12px;color:#f60;background:url(../img/subjects_list.png) left bottom repeat-x;position:absolute;left:18px;bottom:15px;height:16px;font-family:Arial,sans-serif;cursor:pointer}.add_indo_table tr th b,.add_link_teg b,.add_link_text a.e-btn,.add_link_text_text,.add_pic_block,.add_pic_list li a.add_pic_link,.doings_block .button,.edit-profile .theme-wrap .label,.i-staff-list>ul>li a.add_pic_link,.ic-buttons_text,.my-companies-block .ia-title,.no-events .c-event .ce-wrap,.profile_bottom_table,.profile_bottom_table1,.site_link{font-family:dindisplay_pro,sans-serif}.profile_top_table tr td .subjects_list span:hover{background:0 0}.profile_top_table tr td .subjects_list span i{font-style:normal}.profile_top_table tr td .subjects_list.more span{display:inline-block}.profile_bottom_table{width:100%;font-size:15px;color:#424242}.profile_bottom_table tr td.headline{width:120px;padding:6px 0 0;font-size:17px;color:#464646}.profile_bottom_table tr td.profile_info{width:48%}.profile_bottom_table tr td.profile_info table{width:100%;border-collapse:separate!important}.profile_bottom_table tr td.profile_info table tr td{padding:10px 15px 10px 20px;vertical-align:middle;font-size:18px;color:#ff6701;border:1px solid #fdd0af;border-radius:4px;font-weight:500;white-space:nowrap}.profile_bottom_table tr td.profile_info table tr td.delimiter{width:4px;border:none;padding:0}.profile_bottom_table tr td.profile_info table tr td.delimiter div{width:4px}.profile_bottom_table tr td.profile_info table tr.delimiter td{height:4px;border:none;padding:0}.profile_bottom_table tr td.profile_info table tr td strong{font-weight:bolder;font-size:25px}.profile_bottom_table tr td.buttons{width:31%}.profile_bottom_table tr td.buttons .buttons_bg{padding:30px 0 0}.profile_bottom_table1{width:100%;font-size:17px;color:#464646}.profile_bottom_table1 tr td{text-align:left;vertical-align:middle}.end_reg_list li table tr td,.end_reg_list li table tr th{text-align:left;vertical-align:top}.profile_bottom_table1 tr td.headline{width:120px}.profile_bottom_table1 tr td.width1,.profile_bottom_table1 tr td.width3{width:31%}.profile_bottom_table1 tr td.widths{font-size:20px;color:#f60;font-weight:500}.profile_bottom_table1 tr td.widths strong{font-size:40px;font-weight:700;padding:0 7px 0 0;position:relative;top:3px}.subscribe_link{display:none}.pw-subscribe_doing .pw-title span{font-size:25px;font-weight:200;display:block;margin-top:-6px}.pw-subscribe_doing .pwf-msg a.reg{position:relative;left:-117px}.subscribe_after p{padding:0;margin:-10px 0 0}.subscribe_after{display:none}.places_list .space{color:#464646;font-size:15px;font-weight:500;float:left}.places_list .space:before{display:inline-block;width:16px;height:16px;background:url(../img/space.png) no-repeat;margin:0 4px 0 0;position:relative;top:2px}.places_list .cli-info,.places_list .cli-top{margin-bottom:5px}.places_list .button.about{margin-top:0}.end_reg_list{margin:0;padding:0}.end_reg_list li{padding:0 0 24px;list-style-type:none}.end_reg_list li:last-child{padding:0}.end_reg_list li.input_top{padding-right:140px}.end_reg_list li table tr th{padding:8px 5px 0 0;font-size:17px;color:#000;font-weight:400}.end_reg_list li table tr td p{padding:0 0 25px;margin:0;text-align:center;font-size:13px;color:#a2a2a2}.end_reg_list li table tr td.width1{width:98px;padding:0 9px 0 0}.end_reg_list li table tr td.width2{width:88px;padding:0 9px 0 0}.end_reg_list li table tr td.width3{width:185px}.add_pic_block{display:block;width:100px;height:80px;text-align:center;font-size:12px;color:#a2a2a2;font-weight:500;position:relative;line-height:1;transition:background .3s,color .3s;cursor:pointer;padding:20px 0 0}.add_pic_block span{display:block;width:36px;font-size:40px;background:center center no-repeat;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;position:relative;margin:0 auto}.add_pic_block .input{display:block;width:100px;height:100px;position:absolute;left:0;top:0;opacity:0;cursor:pointer}.add_pic_block i{display:block;font-style:normal;padding:10px 0 1px}.add_pic_block b{font-size:14px;font-weight:500}.add_link_text a.e-btn,.add_link_text_text{font-size:17px;font-weight:500}.add_pic_block b:before{display:inline-block;width:14px;height:12px;background:url(../img/sprites.png) -365px -53px no-repeat;position:relative;top:1px;margin:0 4px 0 0}.add_pic_block:hover{color:#f60}.add_pic_block:hover b:before{background-position:-181px -32px}.add_pic_block .add-wrapper{margin:0;padding:0}.pic_block{width:100px;display:block;overflow:hidden}.pic_block .input{opacity:0;position:absolute;top:0;left:0;width:0;height:0;z-index:0}.pic_block img{position:relative;z-index:1}.pic-edit-photo{display:none;line-height:1em;margin-top:.5em}.pe-active .pic-edit-photo-wrap{-moz-box-sizing:border-box;box-sizing:border-box;display:block;position:absolute;top:4px;right:4px;z-index:4;padding:4px 1px 4px 4px;background-color:#fff;border-radius:4px;-ms-box-shadow:0 1px 3px rgba(0,0,0,.4);-o-box-shadow:0 1px 3px rgba(0,0,0,.4);box-shadow:0 1px 3px rgba(0,0,0,.4)}.pe-active .pic-edit-photo{display:block;text-indent:-9999999px;width:18px;height:16px;margin:0;background:url(../img/sprites.png) -117px -145px no-repeat #fff}.add_link_text{padding-left:0!important;line-height:20px;min-height:25px}.add_link_text_text{color:#a2a2a2;display:inline-block;position:relative}.add_link_text_top{min-height:60px}.add_link_text a{color:#a2a2a2}.add_link_text .edit-wrap{display:inline-block!important;position:relative;left:0;top:0;height:20px;margin:0 5px 0 0!important}.add_link_text a.e-btn{display:inline-block;width:auto;height:auto;color:#a2a2a2;opacity:1;vertical-align:middle;margin:0 5px 0 0;padding:0;line-height:18px}.add_indo_table tr td.click_td b a:hover,.add_indo_table tr td.click_td span a:hover{opacity:.5}.add_link_text a.e-btn .fa{width:24px}.add_link_text a.e-btn .fa:before{display:inline-block;width:16px;height:17px;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s;position:absolute;top:0;left:0;font-size:18px}.add_link_text b{margin-left:10px}.add_link_text b:before{display:inline-block;width:14px;height:12px;background:url(../img/sprites.png) -365px -53px no-repeat;margin:0 4px 0 0}.add_link_text_medium a:before{top:2px}.add_link_text.p-editable.pe-current .edit-wrap .e-form{display:block!important;top:-5px}.add_link_text.p-editable.pe-current a.e-btn{text-indent:-9000px;padding:5px 0 5px 5px;left:-5px;position:absolute;top:-5px}.dd_width_2,.dd_width_3{padding-right:23px!important}.add_link_text.p-editable.pe-current a.e-btn:before{position:absolute;left:5px;top:5px;display:block!important;background-position:-405px -51px}.add_link_teg b,.ic-buttons_pos{position:relative}.add_link_text.p-editable.pe-current .add_link_text_text,.i-info header .i-place.add_link_text:before{display:none}.add_link_text_medium,.add_link_text_medium .add_link_text_text,.add_link_text_medium a.e-btn{font-size:15px!important}.i-info header .i-place.add_link_text a{text-decoration:underline;color:#a2a2a2}.add_pic_list li a.add_pic_link,.i-staff-list>ul>li a.add_pic_link{text-decoration:none;line-height:1}.add_link_text a:hover,.i-info header .i-place.add_link_text a:hover{color:#f60}.dd_width_1{width:200px!important}.dd_width_2{width:328px;padding-left:75px!important}.dd_width_3{width:218px}.dd_width_4{width:320px!important}.dd_width_5{width:260px!important}.i-place.add_link_text.p-editable.pe-current .add_link_text_text{display:block;padding-left:35px;top:0}.i-place.add_link_text.p-editable.pe-current a.e-btn:before{left:10px}.add_link_text a:hover:before{background-position:-425px -52px}.add_indo_table tr th b:before,.add_link_teg b:before{background:url(../img/sprites.png) -365px -53px no-repeat;height:12px}.add_link_teg .select{float:left;width:368px;margin:0 13px 0 0;min-height:36px}.add_link_teg b{float:left;top:10px;font-size:15px;color:#a2a2a2;font-weight:500}.add_link_teg b:before{display:inline-block;width:14px;margin:0 4px 0 0}.ic-buttons_text{left:0;top:32px;font-size:13px;color:#a2a2a2;font-weight:500}.add_indent{margin-bottom:4px}.ic-links_indent{padding-top:5px}.soc-media-buttons1{display:inline-block;position:relative;margin:0!important;top:-2px;left:5px}.soc-media-indent{margin:10px 0 0}.add_indo_table tr td.click_td b a:before,.add_indo_table tr td.click_td span a:before,.add_indo_table tr th b:before{display:inline-block;margin:0 4px 0 0;content:''}.pe-current .soc-media-buttons1{position:static}.add_indo_table{width:100%;font-family:dindisplay_pro,sans-serif}.add_indo_table tr th{text-align:left;vertical-align:top;font-size:19px;color:#a2a2a2;font-weight:400;padding:0 0 13px}.add_indo_table tr th b{font-size:20px;color:#a2a2a2;font-weight:500}.add_indo_table tr th b:before{width:14px}.add_indo_table tr td{text-align:left;vertical-align:middle;font-size:17px;color:#464646;padding:5px 0}.add_pic_list li a.add_pic_link,.i-staff-list>ul>li a.add_pic_link,.s-news-list .nl-pict{text-align:center;box-shadow:inset 0 1px 0 #e8e8e7}.add_indo_table tr td.click_td span{color:#f60;font-size:14px}.add_indo_table tr td.click_td span a{color:#f60}.add_indo_table tr td.click_td span a:before{width:11px;height:12px;background:url(../img/sprites.png);position:relative;top:2px}.add_indo_table tr td.click_td b{color:#f60;font-weight:400;font-size:14px}.add_indo_table tr td.click_td b a{color:#f60}.add_indo_table tr td.click_td b a:before{width:12px;height:13px;background:url(../img/sprites.png) -368px -69px;position:relative;top:2px}.add_indo_table tr td .headline{width:1px;height:1px;position:relative}.add_indo_table tr td .headline p{position:absolute;left:0;top:5px}.add_pic_list li{position:relative}.add_pic_list li span.close{display:block;position:absolute;right:29px;top:9px;width:16px;height:16px;background:url(../img/sprites.png) -385px -72px no-repeat;cursor:pointer}.add_pic_list li span.close:hover{background-position:-404px -72px}.add_pic_list li a.add_pic_link{background:#fff;display:block;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box;font-size:16px;color:#a2a2a2;font-weight:500;position:relative;transition:background .3s,color .3s}.add_pic_list li a.add_pic_link span,.i-staff-list>ul>li a.add_pic_link{-webkit-transition:background .3s,color .3s;-o-transition:background .3s,color .3s}.add_pic_list li a.add_pic_link span{display:block;margin:30px auto 0;width:46px;height:46px;border-radius:50%;background:url(../img/add_pic_block_bg2.png) center center no-repeat #d0d0d0;transition:background .3s,color .3s;position:relative}.add_pic_list li a.add_pic_link .input{display:block;width:100%;height:100%;position:absolute;left:0;top:0;opacity:0;cursor:pointer}.add_pic_list li a.add_pic_link i{display:block;font-style:normal;padding:10px 0 1px}.add_pic_list li a.add_pic_link b{font-size:14px;font-weight:500}.add_pic_list li a.add_pic_link b:before{content:'';display:inline-block;width:14px;height:12px;background:url(../img/sprites.png) -365px -53px no-repeat;margin:0 4px 0 0;position:relative;top:1px}.add_pic_list li a.add_pic_link:hover{color:#f60}.add_pic_list li a.add_pic_link:hover span{background-color:#f60}.add_pic_list li a.add_pic_link:hover b:before{background-position:-181px -32px}.i-staff-list>ul>li a.add_pic_link{background:#fff;display:block;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box;width:90px;height:79px;padding:11px 0 0;font-size:13px;color:#a2a2a2;font-weight:500;position:relative;transition:background .3s,color .3s}.events-filter,.stub{-moz-box-sizing:border-box}.i-staff-list>ul>li a.add_pic_link span{display:block;margin:0 auto;width:27px;height:27px;border-radius:50%;background:url(../img/add_pic_block_bg1.png) center center no-repeat #d0d0d0;-webkit-transition:background .3s,color .3s;-o-transition:background .3s,color .3s;transition:background .3s,color .3s;position:relative}.service-page .error-blob,.specify-link{-webkit-transition:all .3s;-o-transition:all .3s}.i-staff-list>ul>li a.add_pic_link .input{display:block;width:100%;height:100%;position:absolute;left:0;top:0;opacity:0;cursor:pointer}.i-staff-list>ul>li a.add_pic_link i{display:block;font-style:normal;padding:10px 0 1px}.i-staff-list>ul>li a.add_pic_link b:before,.site_link a:before{display:inline-block;position:relative;content:''}.i-staff-list>ul>li a.add_pic_link b{font-size:14px;font-weight:500}.i-staff-list>ul>li a.add_pic_link b:before{width:14px;height:12px;background:url(../img/sprites.png) -365px -53px no-repeat;margin:0 4px 0 0;top:1px}.i-staff-list>ul>li a.add_pic_link:hover{color:#f60}.i-staff-list>ul>li a.add_pic_link:hover span{background-color:#f60}.i-staff-list>ul>li a.add_pic_link:hover b:before{background-position:-181px -32px}.reason_block{font-size:11px;color:#f60;line-height:13px;margin:-10px 0 0}.reason_block p{padding:6px 0 0;margin:0}.i-info header{position:relative}.site_link{font-size:13px;font-weight:500;margin-bottom:.4em}.site_link a{color:#a2a2a2;text-decoration:underline}.site_link a:hover{text-decoration:none}.site_link a:before{width:16px;height:16px;background:url(../img/sprites.png) -426px -93px;margin:0 5px 0 0;top:4px}.i-contacts1{margin-top:0!important}.i-additional1{margin-bottom:0!important}.cl-item_active{border:1px solid #fe9232}.doings_block{padding-right:0}.doings_block .button{border-color:#ccc;margin:0 10px 10px 0;font-weight:400;color:#424242;font-size:17px}.doings_block .button:hover{color:#fff;border-color:#ff7600}.doings_block .button.more:after{background-position:-158px -16px}.doings_block .button.more:hover:after{background-position:-165px -23px}.button.dark_green{border-color:#a5c67d;color:#4e9000}.button.dark_green:hover{border-color:#4e9000;background:#4e9000;color:#fff}.button.icon-up:before{width:13px;height:15px;background-position:-348px -92px}.button.icon-up:hover:before{background-position:-365px -92px}.s-news-list .nl-pict{float:left;margin:0 10px 5px 0;border-radius:4px;background:#fff;padding:6px 3px 3px}.add_company{text-align:right}.add_company a{color:#fff;text-decoration:underline;word-spacing:normal;position:relative;top:-6px}.add_company a:hover{text-decoration:none;color:#fff}.add_company a:before{content:'';background:url(../img/sprites.png) -405px -51px;display:inline-block!important;width:16px;height:17px;position:relative;left:-5px;top:4px}.add_company a:hover:before{background:url(../img/sprites.png) -405px -51px!important}.hide-element{display:none!important}.show-element{display:block!important}.i-additional .add_link_text .edit-wrap>.e-btn{display:none}.wait-ajax{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);z-index:4}.wait-ajax img{display:block;position:absolute;left:50%;top:50%;margin-top:-27px;margin-left:-27px}.wait-ajax.absolute{position:absolute;width:100%;height:100%;left:0;top:0;background-color:rgba(191,191,191,.3);display:none}.dna-template{display:none}.pw-body .place-box{min-height:282px;position:relative}.c-select-box.topics .csb-title ul.ui-autocomplete{background:#FFF;border:1px solid #CCC;margin-left:0;z-index:1020}.main-field-complete{z-index:3;height:auto}.button.icon-eye:before{width:15px;height:11px;background-position:-225px -164px}.body-fixed,.modal-wrapper{width:100%;height:100%;position:fixed}.button.icon-eye.active:before,.button.icon-eye:hover:before{background-position:-241px -164px}.full-visible{visibility:visible!important}.ov-hidden{overflow:hidden!important}.body-fixed,.search_form .scroll-container{overflow:hidden}.specify-link{color:#464646;text-decoration:none;transition:all .3s;display:block;float:right;clear:right}.specify-link:hover{text-decoration:underline;color:#f60}.no-wrap{white-space:nowrap}.pd-top-14{padding-top:14px}.mt-0{margin-top:0}button.gray{background:#dbdbdb;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#dbdbdb),color-stop(100%,#bdbdbd));background:-webkit-linear-gradient(top,#dbdbdb 0,#bdbdbd 100%);background:-o-linear-gradient(top,#dbdbdb 0,#bdbdbd 100%);background:-webkit-linear-gradient(top,#dbdbdb 0,#bdbdbd 100%);background:-o-linear-gradient(top,#dbdbdb 0,#bdbdbd 100%);background:linear-gradient(to bottom,#dbdbdb 0,#bdbdbd 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#dbdbdb', endColorstr='#bdbdbd', GradientType=0)}.button.apply-filter,.events-filter .csb-selected{filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0)}button.gray:hover{background:#dbdbdb}.inline-block{display:inline-block;vertical-align:top}.modal-wrapper{top:0;left:0;background:rgba(0,0,0,.8);z-index:4}.disable-inner:before{display:none!important}.right{float:right}.min-height{min-height:27px}.mb-05em{margin-bottom:.5em}.mb-2em{margin-bottom:2em}.mb-1em{margin-bottom:1em}.bd-dashed{border-bottom:1px dashed #f60}.orange-text{color:#f60}.stub{text-align:center;background:#fff;box-shadow:inset 0 1px 0 #e8e8e7;border-radius:4px;box-sizing:border-box}.pw-subj .q-sel{top:0;position:absolute;right:0;margin-top:1em}.search-modal-overlay{position:fixed;bottom:0;right:0;top:0;left:0;z-index:110;background:url(../lib/fancybox/fancybox_overlay.png);display:none;overflow-y:auto}.events-filter .c-select-box,.events-filter .csb-selected-items{background-color:transparent}.search-modal-wrap{position:absolute;z-index:11;top:50%;left:50%;width:640px;height:auto;min-height:360px;margin-bottom:3em}.events-feed-page{margin-top:-14px;margin-bottom:2em}.events-feed-page h2{font-size:16px;font-weight:400;margin-left:1em;color:#fff;margin-bottom:0}.events-filter{clear:both;margin-left:-2%;box-sizing:border-box}.events-filter .c-select-box{border:0;padding:0;box-shadow:none}.events-filter .csb-selected{background:#fff;background:-webkit-gradient(linear,left top,left bottom,color-stop(67%,#fff),color-stop(100%,#f5f5f5));background:-webkit-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:-o-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:-webkit-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:-o-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:linear-gradient(to bottom,#fff 67%,#f5f5f5 100%);padding-bottom:0}.events-filter a{color:#fff;text-decoration:underline}.events-filter a:hover{text-decoration:none}.events-filter:after{content:'';display:block;clear:both}.events-filter .csb-selected a{color:#f60}.events-filter .col{margin-left:2%;-moz-box-sizing:border-box;box-sizing:border-box;padding-top:1px}.events-filter-box .csb-selected-items{display:block;border:0;padding:8px;min-height:initial}.events-filter-box .csb-selected-items .csb-selected{margin-bottom:8px}.events-filter-box .csb-selected.dna-clone{display:inline-block}.events-feed-page .cl-exhibitions{border-top:1px dotted #cdcdcd;padding-top:1.5em;margin-top:2em}.events-feed-page .events-filter{display:none;border-radius:4px 0 4px 4px;background:#F60;padding-right:2%;-ms-box-shadow:0 1px 3px rgba(0,0,0,.4);-o-box-shadow:0 1px 3px rgba(0,0,0,.4);box-shadow:0 1px 3px rgba(0,0,0,.4)}.events-filter-wrap{position:relative;overflow:visible;margin-bottom:1em}.events-filter-wrap .button{margin-top:-40px;float:right;line-height:32px;height:36px;position:relative}.events-filter-wrap .button.active:after{position:absolute;content:'';display:block;width:100%;height:5px;background:#f60;border:1px solid #f60;left:0;margin-left:-1px;bottom:0;margin-bottom:-5px}.events-filter-wrap .button.active{background:#f60;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.3);border-color:#f60;box-shadow:inset 0 1px 0 rgba(0,0,0,.1);border-bottom-left-radius:0;border-bottom-right-radius:0}.button.apply-filter{background:#fff;background:-webkit-gradient(linear,left top,left bottom,color-stop(67%,#fff),color-stop(100%,#f5f5f5));background:-webkit-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:-o-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:-webkit-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:-o-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:linear-gradient(to bottom,#fff 67%,#f5f5f5 100%);color:#f60;margin-top:0;-moz-border-radius:4px 4px 0 0;border-bottom:0;display:none;border-radius:4px 4px 0 0}.button.apply-filter.icon-check:hover{box-shadow:inset 0 0 2px 0 rgba(0,0,0,.3);text-shadow:none}.button.apply-filter.icon-check:hover:before{background-position:-106px -16px}.events-feed-page .filter-hint-block{border:1px dashed #87C525;display:none;border-radius:4px}.events-feed-page .filter-hint-block p{margin:8px;text-align:center;color:#464646}.events-feed-page .filter-hint-block p .red{font-weight:700;color:#d80000}.message-not-found{margin-top:19px;margin-left:40px;padding-left:60px;padding-top:18px}.message-not-found .fa{color:#f60;font-size:48px;vertical-align:middle;margin-left:-40px;margin-top:-24px}.message-not-found span{display:inline-block}.message-not-found .message{font-family:dindisplay_pro,Arial,sans-serif;font-size:18px;margin-left:14px;line-height:1.2em}.mp-search .clear-all-button,.search-form-wrap .clear-all-button{display:none;width:17px;height:17px;background:url(../img/sprites.png) -385px -72px no-repeat;cursor:pointer;vertical-align:top;margin-top:2px}.mp-search .clear-all-button.active,.search-form-wrap .clear-all-button.active,.search-modal-wrap .ui-menu .ui-menu-item a{display:inline-block}.mp-search .clear-all-button:active,.search-form-wrap .clear-all-button:active{background-position:-385px -89px}.mp-search .pw-period .pwf-field.err input{border:2px #D80000}.search-modal-wrap .ui-menu .ui-menu-item .subj-category{display:inline-block;color:#a2a2a2;font-size:15px;line-height:15px;border:none;padding:2px 5px;cursor:pointer;text-decoration:none;min-height:0;font-weight:400;white-space:normal}.search-modal-wrap .ui-autocomplete{width:533px}.err-message-box:before,.required.err:before{width:15px;height:16px;content:''}.search-modal-wrap .ui-menu .ui-menu-item{white-space:nowrap}.search-modal-wrap .ui-menu li{margin-bottom:4px}.search-modal-wrap .ui-menu{line-height:15px}@media (max-width:1086px){.mp-search .search-form-wrap{max-width:764px;overflow:hidden;display:block}.mp-search .search-form-wrap .search-line{display:block;word-spacing:-4px}.mp-search .search-form-wrap .search-line .sf-field-wrap{display:inline-block;word-spacing:normal;-moz-box-sizing:border-box;box-sizing:border-box}}@media (max-width:1110px){.serv-links{width:37%}}.required{position:relative}.required.err input{border:2px #d80000}.required.err:before{display:block;position:absolute;top:50%;right:0;margin-right:32px;margin-top:-8px;background:url(../img/sprites.png) -360px -159px;z-index:1}.err-message-box{display:none!important}.err-message-box.active{display:block!important;padding-left:24px;color:#ce0000}.err-message-box:before{display:block;background:url(../img/sprites.png) -390px -159px;margin-left:-24px;float:left}.err-message-box.red:before{background:url(../img/sprites.png) -360px -159px}.button.removecalendar{border-color:#2592c5;background:#2592c5;color:#fff;text-shadow:none}.button.removecalendar:before{background-position:-60px -16px}.button.removecalendar:hover{background:#4c9ec4}.button.pink.removecalendar,.button.pink.removecalendar:hover{border-color:#ef3976;background-color:#ef3976}.button.pink.removecalendar:before,.button.pink.removecalendar:hover:before{background-position:-60px -16px}.button.unvisit{border-color:#f60;background:#f60;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(0,0,0,.1)}.button.unvisit:before,.button.unvisit:hover:before{background-position:-64px -159px;width:9px;height:10px;margin-top:0}.button.unvisit:hover{background:#FF8635}.place .i-info .i-descr-readmore{display:block;padding-bottom:1em;margin-bottom:36px;border-bottom:dashed 1px #7e7e7e;font-size:15px;color:#a2a2a2;text-decoration:none}.place .i-info .i-descr-readmore:hover{text-decoration:underline}.note-wrap,.note-wrap-disabled{display:inline-block;vertical-align:top;position:relative}.add_link_teg .e-btn,.edit-profile .i-info .add_link_text_text,.look-also a:before,.сallback-modal .submit:after{vertical-align:middle}.note-wrap-disabled .note-overlay{display:none}.note-wrap .note-overlay{margin-top:5px;padding:10px 14px;position:absolute;background:#87c525;color:#fff;font-size:12px;font-weight:700;width:240px;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box;display:none;z-index:10}.look-also a,.note-wrap:hover .note-overlay{display:block}.note-wrap:hover .note-text{width:100%;height:100px}.note-wrap:hover .note-text:focus{border:1px solid #6EA01E}.note-wrap:hover .note-button{-webkit-transition:none;-o-transition:none;transition:none;border-color:#87c525;background:#87c525;color:#fff;text-shadow:none;position:relative}.note-wrap:hover .note-button:before{background-position:-74px -16px}.note-wrap:hover .note-button:after{content:'';border:1px solid #87c525;display:block;position:absolute;background:#87c525;width:100%;height:8px;bottom:0;left:0;margin-left:-1px;margin-bottom:-8px}.main-page.note-wrap .note-overlay{bottom:0;margin-bottom:26px}.main-page.note-wrap:hover .note-button:after{margin-bottom:22px}.look-also a{position:relative;color:#6d6d6d;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;margin-bottom:.5em}.look-also a:before,.service-page .error-field.simple-wrap{display:inline-block}.look-also a:hover{color:#f60;text-decoration:none}.look-also a:hover:before{background-position:-235px -134px}.look-also a:before{content:'';height:9px;top:50%;margin-top:-4px;width:8px;background:url(../img/sprites.png) -251px -134px no-repeat;margin-right:10px}.service-page .error-field{position:relative;-moz-box-sizing:border-box;box-sizing:border-box}.service-page .error-field.simple-wrap:before{margin-right:16px;margin-top:-8px}.mf-line.cols-2 .mf-field.error-field:first-child:before{margin-right:30px}.service-page .error-field:before{content:'';display:block;position:absolute;top:50%;right:0;margin-right:20px;margin-top:-11px;width:15px;height:16px;background:url(../img/sprites.png) -360px -159px}.after-register-modal .pwf-line .hint-box:after,.error-blob:after,.error-blob:before,.thanks-page .help-block .figure:after{content:" ";pointer-events:none}.service-page .error-field input{border-color:#d80000}.service-page .error-blob{border-width:2px;border-color:#d80000;background:#696969;text-align:center;color:#fff;position:absolute;padding:8px 16px;top:0;left:50%;margin-top:-41px;width:160px;margin-left:-100px;border-radius:4px;display:none;font-size:14px;transition:all .3s}.service-page .error-field:hover .error-blob{display:block}.error-blob:after,.error-blob:before{top:100%;left:50%;border:solid transparent;height:0;width:0;position:absolute;border-color:#696969 transparent transparent}.error-blob:after{border-width:3px;margin-left:-3px}.error-blob:before{border-width:9px;margin-left:-9px}.service-page .error-blob ul{margin:0;padding:0;display:block;list-style-type:none}.cal-scroll-button .sprite{display:block;width:17px;height:17px;border-radius:10px;background:#464646;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;padding-left:4px;padding-top:3px;-moz-box-sizing:border-box;box-sizing:border-box}.cal-scroll-button .sprite:before{display:block;content:'';width:8px;height:12px;background:url(../img/sprites.png) -225px -134px no-repeat}.cal-scroll-button:hover .sprite{background:#f60}.cal-scroll-button{position:absolute;top:0;width:34px;height:34px;border-radius:17px;background:#FCFCFB;-moz-box-sizing:border-box;box-sizing:border-box;padding-left:9px;padding-top:9px;cursor:pointer;margin-top:96px}.cal-scroll-button.to-left{left:0;margin-left:6px}.cal-scroll-button.to-right{right:0;margin-right:6px}.cal-scroll-button.to-right .sprite{padding-left:5px}.cal-scroll-button.to-right .sprite:before{background-position:-175px 0}.calenadar-body{overflow:hidden}.calenadar-body .mCSB_scrollTools_horizontal{opacity:0!important}.no-events .c-event{background-color:#CACACA}.no-events .c-event .ce-wrap{-moz-box-sizing:border-box;box-sizing:border-box;height:60px;text-align:center;padding-top:20px;font-size:20px;color:#464646;overflow:hidden;position:relative;text-shadow:0 1px 0 rgba(255,255,255,.8)}#get_filters,.filter_form_header{text-shadow:1px 1px rgba(0,0,0,.35);text-transform:uppercase}.no-events .c-event .ce-wrap .message{position:absolute;text-align:center}.no-events .c-event .ce-wrap.small{font-size:14px;padding-top:14px}.edit-profile .edit-wrap{display:block}.edit-profile .i-title .e-form{margin-top:7px}.edit-profile .full-width .static-value{height:27px}.edit-profile .pe-current .e-form{display:block}.edit-profile .social.pe-current .i-descr{opacity:0}.edit-profile .p-editable{padding-left:22px}.edit-profile .p-editable.i-place{padding-left:36px}.edit-profile .p-editable.social .e-btn.full-complete{color:#f60}.edit-profile .p-editable.social .e-btn.full-complete:hover{opacity:.7}.edit-profile .i-pict.p-editable{padding:0}.edit-profile .ic-tel .custom-radio-check{position:relative}.edit-profile .i-pict.p-editable img{z-index:0}.edit-profile .ic-tel .epfl{margin-bottom:0}.edit-profile .check{color:#f5f5f5;margin-top:4px;margin-bottom:0;padding-left:4px}.edit-profile .check .custom-checkbox{width:14px;height:14px;margin:-1px 5px 0 0}.my-companies-block:after{content:'';display:block;clear:both}.my-companies-block .ia-title{font-size:20px;line-height:23px;margin-bottom:10px}.my-companies-block .company{display:block;-moz-box-sizing:border-box;box-sizing:border-box;width:23%;float:left;margin-right:2%;margin-top:20px}.my-companies-block .company .logo,.my-companies-block .company .logo img{width:100%;height:auto;display:block}.my-companies-block .company a{display:block;margin-left:auto;margin-right:auto}.my-companies-block .company .logo{-moz-box-sizing:border-box;box-sizing:border-box;border-radius:4px;border-top:1px solid #CCCBC6;background-color:#fff;overflow:hidden;min-height:141px;position:relative}.after-register-modal .required.err .select2-choice,.create-company-modal .select-input.err .select2-choices{border:2px #d80000}.my-companies-block .company .logo img.portrait{height:141px;width:auto;margin-left:auto;margin-right:auto}.my-companies-block .company .logo img.no-logo{position:absolute;margin-top:-29px;margin-left:-30px;top:50%;left:50%;width:60px;height:58px}.my-companies-block .company .title{display:block;color:#606060;margin-top:8px;text-decoration:underline;text-align:center;position:relative}.my-companies-block .company .title .e-btn{padding:0;border-radius:0;height:16px;top:3px}.my-companies-block .company a:hover .title{text-decoration:none}.my-companies-block.editable .company .fa:before{position:absolute;left:0;top:0;font-size:18px;color:#f60}.add-company-block{margin-top:2em}.edit-profile .hidden{display:none}.edit-profile .i-info .e-btn{margin-right:0}.edit-profile .ic-buttons .add_link_text{display:inline-block}.edit-profile .ic-buttons .p-editable{padding-left:0}.create-company-modal .select-input.err{width:auto}.p-editable.pe-current .e-btn.social{background-color:transparent}.p-editable.pe-current .e-btn.social:before,.p-editable.pe-current.social .e-form:before,.p-editable.social .edit-label{display:none}.edit-profile.company .add-info .edit-label,.p-editable.pe-current.social .edit-label{display:block;width:24px;margin-left:-24px;padding-left:5px;padding-top:4px;padding-bottom:4px;background-color:#f60;position:absolute;top:0;left:0;border-radius:3px 0 0 3px}.edit-profile.company .add-info .edit-label .fa,.p-editable.pe-current.social .edit-label .fa{font-size:18px;color:#fff}.edit-profile .editable-wrap .static-value.website{height:27px!important}.edit-profile .editable-wrap .static-value.address{line-height:28px;min-height:27px;display:block}.edit-profile .i-contacts .editable-wrap .static-value{display:block;height:23px}.edit-profile .editable-wrap>p{display:block;margin:0}.edit-profile .i-additional .editable-wrap>p{min-height:23px}.edit-profile .i-additional .editable-wrap .static-value{min-height:27px}.edit-profile .editable-wrap:before{display:none}.add_link_teg .tags,.edit-profile .theme-wrap .input,.edit-profile .theme-wrap .label{display:inline-block}.edit-profile .social .e-form .err:before{margin-right:9px}.edit-profile .add_link_teg .select2-input{line-height:36px!important;font-size:16px!important}.edit-profile .description-text{font-size:14px}.edit-profile .add_link_teg .label{float:none;margin-left:12px}.outer-profile .i-additional{margin-bottom:36px}.outer-profile .i-info .i-title{margin-bottom:14px}.outer-profile .i-contacts .ic-buttons{margin-right:0;padding-left:32px}.outer-profile .i-contacts .ic-buttons .soc-media-buttons{margin-top:0;margin-bottom:16px;padding-left:8px}.outer-profile .i-info .i-contacts{margin-bottom:24px;margin-top:24px}.outer-profile .ic-tel{margin-bottom:14px}.add_link_teg .tags{font-size:12px;margin-top:0}.edit-profile.company .i-additional .e-btn{vertical-align:middle;margin-right:3px}.edit-profile.company .i-additional dl.add-info dd,.edit-profile.company .i-additional dl.add-info dt{min-height:24px;line-height:24px;padding-top:5px;margin-bottom:0}.edit-profile.company .description-text{padding-top:4px}.edit-profile.company .description-text p{line-height:15px;font-size:12px}.edit-profile .theme-wrap .label{font-size:15px;color:#a2a2a2;font-weight:500;display:inline-block;position:relative;padding-right:6px}.edit-profile .theme-wrap .label p{display:inline}.company-preview .i-info .i-contacts .ic-buttons .soc-media-buttons{margin-top:12px}.company-preview .i-info .brief{font-size:12px;line-height:16px;color:#7e7e7e;font-family:Arial,sans-serif}.message-register-success .message,.message-standart .message{font-family:dindisplay_pro,Arial,sans-serif}.address-wrap .i-descr,.error-404 .figure,.error-404 h2,.event-page .title,.thanks-page .left-part figcaption,ol.numeric li:before{font-family:dindisplay_pro,sans-serif}.company-preview .i-info .brief p{margin:0}.company-preview .i-info,.company-preview .pw-open{margin-bottom:1em}.company-preview .i-info .i-tags{font-size:12px}.company-preview .soc-media-buttons{margin-top:2px!important}.profile-preview-btn{margin-top:1em;margin-bottom:2em}.company-preview .specialization,.edit-profile .specialization .static-value{font-size:13px;font-weight:400;color:#7D7D7D}.edit-profile .specialization{margin-bottom:1em}.edit-profile .specialization .p-editable{min-height:27px}.edit-profile .theme-form select{opacity:0}.about-page .tab{display:none}.about-page .tab.active{display:block}.about-page .tabs-body{padding-top:20px}.about-page .tabs-opening{margin-bottom:20px}.team_list .stub{display:block;position:absolute;left:0;top:50%;margin-top:-40px;width:89px;height:89px;text-align:center;padding-top:15px}.team_list li .team_list_bg .stub img{display:inline;position:relative;top:0;margin-top:0;width:auto;height:auto}.сallback-modal{width:534px}.сallback-modal .pw-form .pwf-field{width:340px}.сallback-modal .submit:before{display:none}.сallback-modal .submit:after{content:' ';display:inline-block;background:url(../img/sprites.png) -176px 0 no-repeat;margin:-2px 7px 0 6px;width:8px;height:12px}.subscribe-modal .required.err:before,.сallback-modal .required.err:before{margin-top:2px}.subscribe-modal{width:560px;color:#000}.subscribe-modal .pw-form .pwf-field{width:340px}.subscribe-modal .submit{cursor:pointer}.subscribe-modal .pw-title{font-size:26px;font-weight:300}.subscribe-modal .sub-header{margin-top:0}.subscribe-modal .submit-arrow{display:inline-block;margin-left:20px}.subscribe-modal header{padding-bottom:0}.subscribe-modal .gray{color:#8d807f}.subscribe-modal .small{font-size:.9em}.subscribe-modal.lessons .form-side{float:left;width:60%;position:relative;z-index:1;-moz-box-sizing:border-box;box-sizing:border-box;padding-left:14px}.subscribe-modal.lessons .image-side{float:left;width:40%}.subscribe-modal.lessons .image-side img{position:absolute;width:233px;margin-left:-42px;margin-bottom:-19px;z-index:0}.subscribe-modal.lessons .label-header{font-size:18px}.subscribe-modal.lessons .label-header .small{font-size:.8em}.subscribe-modal.lessons .pw-form .pwf-field{width:214px}.subscribe-modal.lessons .pw-form .submit{height:42px;line-height:42px;width:214px}.subscribe-modal.lessons .submit-arrow{position:absolute;right:0;margin-right:-20px}.invite-modal{width:560px;color:#000}.invite-modal .logos{display:table;margin-left:auto;margin-right:auto;margin-bottom:26px}.invite-modal .logos .item{display:inline-block;margin-left:16px}.invite-modal .logos .item:first-child{margin-left:0}.invite-modal .label p{margin:0}.invite-modal .pw-title{font-size:24px;font-weight:400;line-height:25px}.invite-modal .button{height:42px;line-height:42px;padding-top:0;padding-bottom:0;font-size:15px;width:214px;text-align:center}.invite-modal .submit-arrow{display:inline-block;margin-left:20px}.add-event-page .set-sect.not-active .form-wrap{display:none}.add-event-page .w-time .mCSB_inside>.mCSB_container{margin-right:0}.add-event-page .w-time .mCustomScrollBox{overflow:hidden!important}.reg-form .msg-help .error{color:#d80000}.after-register-modal .pw-form .pwf-line{margin-bottom:0}.after-register-modal .pw-form .pwf-field{padding:0}.after-register-modal .pwf-field input[type=text]{line-height:30px;height:30px}.after-register-modal .pw-form .input_top .pwf-field,.after-register-modal .pw-form .pwf-line{display:block!important}.after-register-modal .input_top select{width:100%}.after-register-modal input[type=text]:focus{padding:0 6px}.after-register-modal .required.err:before{margin-right:8px;margin-top:-27px}.after-register-modal .input_bottom .required.err:before{margin-right:8px;margin-top:-7px}.after-register-modal .input_top .required.err:before{margin-right:8px;margin-top:-8px}.thank-registering{font-size:16px}.thank-registering header{padding-bottom:16px!important}.after-register-modal .pwf-line.phone .err-message-box{font-size:13px}.after-register-modal .pwf-line .err-message-box{margin-top:4px}.after-register-modal .pwf-line .hint-box{display:none;width:62px;position:absolute;text-align:center;margin-left:31px;padding:8px 12px;color:#000;background-color:#aaa;opacity:.6;margin-top:-68px;border-radius:4px}.message-register-success,.message-standart{margin-top:40px}.after-register-modal .pwf-line .err+.hint-box{display:none!important}.after-register-modal .pwf-line .hint-box:after{top:100%;left:50%;height:0;width:0;position:absolute;border:4px solid rgba(170,170,170,0);border-top-color:#aaa;margin-left:-4px}.message-register-success .fa{color:#f60;font-size:80px;margin-bottom:40px}.message-register-success span{display:block;text-align:center}.message-register-success .message{font-size:26px}.message-standart .fa{color:#f60;font-size:40px;margin-right:9px}.message-standart .message{font-size:18px;line-height:40px;display:inline-block}.recovery-page{padding-bottom:2.6em;-moz-box-sizing:border-box;box-sizing:border-box}.recovery-page .label{font-size:18px;margin-bottom:1.5em;margin-top:1.5em}.recovery-page .error-text,.recovery-page .input{display:inline-block}.recovery-page .submit{height:40px;line-height:40px;display:block;margin:2em 0 0 24px}.recovery-page .input input{margin-left:24px;width:340px}.recovery-page .input.err:before{margin-right:12px}.recovery-page .error-text{padding-left:12px;font-size:14px;color:#d80000}.event-page .title{font-size:23px;line-height:24px;margin:0 0 12px}.event-page .title .fa{font-size:.8em}.advertise-window .pwf-msg{color:#f60;padding-top:8px;padding-left:24px}.advertise-window .pwf-field{width:310px!important}.advertise-window header .pw-title{font-weight:400;margin:19px 0}.advertise-window header{padding-bottom:0}.event-news-subscribe-modal .pw-form .pwf-field{width:340px}.expo-place-page .i-info .i-descr{height:auto}.expo-place-page .i-descr-readmore{margin-bottom:1em;display:block}.eni-areas.stat .enis-col{text-align:center;display:inline-block;width:auto;padding-right:32px}.eni-areas.stat .eni-title{float:left;margin-left:-130px;display:block;width:110px;margin-right:16px;font-size:20px;line-height:21px;text-align:right;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s;color:#f60}.news-filter-block .mf-line.s-subj-tag .mf-field label{margin-bottom:1em}.news-filter-block .select2-container-multi .select2-choices .select2-search-field:first-child input{line-height:36px}.address-wrap .map-wrap{margin-top:1em;margin-bottom:2em}.address-wrap .i-descr{font-size:18px;line-height:21px;color:#464646}.address-wrap .map-wrap .gmap-canvas{height:308px}.address-wrap .map-toggle{display:block;float:right;color:#a2a2a2;text-decoration:none;position:relative;z-index:2}.address-wrap .map-toggle:hover{color:#f60}.address-wrap .map-toggle:hover .label{border:0}.address-wrap .map-toggle .label{font-size:15px;line-height:12px;text-decoration:none;border-bottom:1px dashed}.address-wrap .map-toggle .fa{font-size:1.3em}.paid-partner-link{text-transform:uppercase;padding:15px;text-align:center;display:block;font-weight:700}.paid-partner-block{margin-top:3em}.paid-partner-block .desc{color:#f60;text-align:center;margin-top:6px}.paid-partner-block .partner-title{margin-bottom:4px;text-align:center}.thanks-page .left-part{float:left;position:relative;width:188px;text-align:center;padding-top:12px}.thanks-page .left-part figcaption{position:absolute;top:0;left:50%;margin-top:50px;margin-left:-37px}.thanks-page .left-part figcaption span{display:block;font-weight:700;font-size:32px;line-height:32px}.thanks-page .left-part figcaption span.orange-text{font-size:68px;line-height:30px}.thanks-page .right-part{margin-left:190px}.thanks-page h3{font-size:18px;color:#59666e}.thanks-page .help-block{position:relative}.thanks-page .help-block .item{width:33.333%;float:left}.thanks-page .help-block .figure{display:block;width:60px;height:60px;float:left;margin-right:12px;background:#f60;position:relative}.thanks-page .help-block .figure:after{position:absolute;top:100%;right:0;height:0;width:0;border-style:solid;border-width:0 10px 10px 0;border-color:transparent #f60 transparent transparent}.thanks-page .help-block .icon{background:url(../img/thanks_sprite.png) no-repeat;margin-left:auto;margin-right:auto}.thanks-page .help-block .list{width:32px;height:37px;margin-top:12px}.thanks-page .help-block .mail{width:42px;height:39px;margin-top:10px;background-position:-32px 0}.thanks-page .help-block .zoom{width:43px;height:39px;margin-top:12px;background-position:-74px 0}.period .pwf-field .error-blob{line-height:18px}.service-page .period .pwf-field.error-field:before{margin-right:13px;margin-top:-8px}.organizer-modal .organizer-name{border-bottom:1px solid #f26c2a}.error-404 .items-list{-webkit-column-count:3;-moz-column-count:3;column-count:3;list-style:none inside;margin:0;display:block}.conf_extra,.conf_visitors .visitors-list,.conference_for ul,.filter_form ul,ol.numeric li,ul.orange{list-style:none}.error-404 .items-list li{margin-bottom:8px;display:block;position:relative}.error-404 .items-list .fa{display:block;float:left;font-size:6px;line-height:16px}.error-404 .items-list a{display:block;margin-left:16px;line-height:1.2em;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;text-decoration:none;color:#464646}.error-404 .items-list a:hover{color:#f60}.error-404 .title{font-size:16px;padding-top:12px}.error-404 h2{color:#f60;font-size:30px;line-height:30px;font-weight:400}.error-404 .figure{display:block;color:#f60;float:left;font-size:96px;margin-right:22px;line-height:1em}.sharing_block .social-likes{margin:0;background:#fff;min-height:unset;padding:5px}.sharing_block .social-likes.fixed{position:fixed;top:0;z-index:1000;box-shadow:0 0 2px #aaa;border-radius:0 0 3px 3px}.sharing_block .social-likes__widget{margin:0;border-radius:2px;float:left}.sharing_block .social-likes__widget:not(:first-child){margin-left:5px}.sharing_block .social-likes__button{padding:.04em .15em .18em 1.65em}.news_sharing:after{content:"";display:block;clear:both}.article_sharing .sharing_block,.article_sharing h5{display:inline-block;vertical-align:middle}.news_sharing .sharing_block{float:right}.article_sharing{border-top:1px dashed #ccc;border-bottom:1px dashed #ccc;border-left:2px solid #F60;margin:15px -20px 0;padding:10px 20px;background-color:#fff}.article_sharing .sharing_block .social-likes{padding:0}.article_sharing h5{margin:0 10px 0 0;font-size:14px;font-weight:500;color:#999}.filters .links_block,.filters .period_block{margin-bottom:30px;text-align:center}.filter_form{background-color:#fff;border-radius:3px}.filter_form_header{background-color:#f60;text-align:center;color:#fff;border-radius:3px 3px 0 0;line-height:40px;font-size:13px;font-weight:700}.filter_form_clear_all{border-left:1px solid #eee;border-right:1px solid #eee}.filter_form_clear_all a{display:block;padding:10px;background:#f2f2f2;text-decoration:none}.filter_form_clear_all span{display:inline-block;vertical-align:middle;margin-left:5px;color:#464646;border-bottom:1px dotted #464646}.filter_form ul{padding-left:0}.filter_block_label,.filter_form li label{padding:5px 10px;display:block}.filter_form .filters{border:1px solid #eee;border-top:0;border-radius:0 0 3px 3px}.filter_block_label{color:#f60;font-size:16px;font-weight:700;cursor:pointer}.filter_block_label:after{content:"";display:block;clear:both}.filter_block_label+ul{margin-top:0}.filter_block_label i{float:right;color:#898989}.filters input[type=checkbox]{display:none}.filters input[type=checkbox]+label{cursor:pointer}.filters input[type=checkbox]+label span{display:inline-block;vertical-align:top;width:-webkit-calc(100% - 20px);width:calc(100% - 20px)}.filters input[type=checkbox]+label span i{font-style:normal;color:#b3b3b3}.filters input[type=checkbox]+label:hover{background:#eee}.filters input[type=checkbox]:checked+label{background:#ffbc88}.filters input[type=checkbox]+label:before{content:"";display:inline-block;vertical-align:middle;margin-right:5px;width:10px;height:10px;border:1px solid #c2c2c2;border-radius:2px;background:#fff}.filters input[type=checkbox]:checked+label:before{background:url(../img/cc.png) 1px 1px no-repeat #fff}.filter_help_text{display:block;color:#a3a3a3;line-height:1.2;padding:0 10px}.filters .links_block{margin-top:-15px}.filters .links_block a,.filters .period_block a{display:inline-block;margin-bottom:5px;text-decoration:none;border-bottom:1px dashed #f60}#get_filters{display:block;background-color:#f60;text-align:center;color:#fff;border-radius:3px;line-height:40px;font-size:12px;font-weight:700;text-decoration:none}#id_date_from,#id_date_to,.filterPeriod,.none,label[for=id_date_from],label[for=id_date_to]{display:none}.filterPeriod{width:530px}#filter_form_wraper{position:relative}.filters_overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(255,255,255,.7);display:none}#expo_b_aside_2>a{display:block;text-align:center;margin-top:15px}ul.orange{padding-left:25px}ul.orange li:before{content:'•';color:#F60;margin-right:30px;font-size:18px;line-height:inherit}ul.checked{list-style-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4BpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0RDgyMDE2NEMzRENFMzExOTc2OEQwODY2QzY0MTY1QSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpCODk5MUY3MDlDNDgxMUU2OUI3REU4RTIyMEQwNTVDQiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCODk5MUY2RjlDNDgxMUU2OUI3REU4RTIyMEQwNTVDQiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNCAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3MGFiYjJjOC1kNTUzLTVlNDQtOTM1NC1lZDA0ZDI1ZGQ3ZGMiIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDphMmU2ZDI0NS0yM2NkLTExZTYtODdiNy1jYTVkZWJmZmMzZTYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4kZ+7fAAABq0lEQVR42qzUO0ibURjG8URihSraC0gFpSCuCrVegnaoF8Sl4FCRiuBmRaSQENDNRekggnXwMlQFxcFBEVsRrHERoRoXRdtBvICDUMwidJBC+j/yBE4ODaaQAz++c97vyxPek/PFG4lEPGkYPvh9aQh6gWnE4mHPUI0j1OMWYTTrftiqz6rmRRBDuECjCXuNZSzh2hTxGweam3Gs+Y3CsnV9ixM04NLLnh0ymcB4im0VYgXl+IUaBd5t3Ccs/sf+fEWBWm6JB5mRgW481LoDT5MEVWFTQWb0YMd+wIS91B7MYw77qHCCXmEDj7WewWfUumH96v1KtefYxnutS/EFuVr/QK+Cn7hhXchBCCOqZ2ESC1hDnup/0Klfu03HJeHkFuvqUaD5goDW75x2h7Gn+SPku2GmnahVC+oacILOMGit17Hrttln7YcdOOrUQmovPvx444bZbSYL/K63xB4ptRkfMQWad3BLa899bbajKMlBjWnvVv9xrw6VbtgpplCGBzo/poVMa+6z5uaZVgzogCeEfcBPjOlfwLR8jibNo069BB/1uW922F8BBgAx/1yfsUyMnAAAAABJRU5ErkJggg==)}ul.checked li{padding-left:17px}ol.numeric{counter-reset:myCounter;padding-left:25px}ol.numeric li:before{counter-increment:myCounter;content:counter(myCounter)'.';color:#a8a8a8;margin-right:20px;font-weight:700;font-size:18px;line-height:18px;vertical-align:middle}blockquote{margin-right:0;margin-left:0;border-left:2px solid #F60;padding-left:15px;font-style:italic;font-size:16px}.article_comments,.full_sharing,.recommended_articles{border-top:1px dashed #ccc;margin-left:-20px;margin-right:-20px}.full_sharing{padding:28px 20px;border-bottom:1px dashed #ccc}.full_sharing .social-likes__button{font-weight:500}.recommended_articles{padding:33px 20px}.recommended_articles h2{font-size:40px;font-weight:100;line-height:1;color:#333;margin-bottom:30px}.recommended_articles .articles{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.recommended_articles .article{width:217px}.recommended_articles img{margin-bottom:25px}.recommended_articles a{font-size:14px;font-weight:700;color:#333;text-decoration:none}.recommended_articles a:hover{text-decoration:underline;color:#F60}.recommended_articles time{display:block;padding-top:7px}.recommended_articles time i{color:#F60}.article_comments{padding:33px 20px 0}.article_comments h2{font-size:40px;font-weight:100;line-height:1;color:#333;margin-bottom:30px}.article_comments form button{margin-top:15px}.comment{padding:20px}.comment_author{font-size:18px;color:#F60;margin-bottom:8px}.comment_author time{margin-left:20px;border-left:1px solid #ccc;padding-left:20px;line-height:inherit;font-size:13px;color:#666}.comment_author time i{color:#F60}.comment_text{font-size:14px;color:#333;line-height:1.3;margin-bottom:10px}.comment a{text-decoration:none}.comment a span{color:#333;margin-left:5px}.comment a:hover span{color:#F60;text-decoration:underline}.comment>.comment{margin:45px 0 0 100px;border:1px solid #f4f4f3;background-color:#f8faf9;border-radius:3px;position:relative}.comment>.comment:before{content:'';display:block;width:20px;height:20px;background:url(../../img/comment_arrow.png);position:absolute;left:20px;top:-19px}.conference_slider h2,.connference_speakers h3{font:500 28px dindisplay_pro;color:#000}.speakers_slider>.speaker:not(:first-child){display:none}.speakers_slider{margin:0 auto;width:872px}.speakers_slider .speaker{width:196px;margin:0 11px}.speaker_img{position:relative;border-radius:5px;overflow:hidden}.speaker_img .overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(255,102,0,.8);color:#fff;padding:10px;vertical-align:middle;opacity:0;-webkit-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s;border-radius:3px}.speaker_img .overlay span{position:absolute;top:50%;left:0;right:0;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);font-size:14px;text-align:center}.speakers_slider .speaker:hover .overlay{opacity:1;-webkit-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.speakers_slider .speaker h5{font:600 18px dindisplay_pro;color:#464646;text-align:center;margin-bottom:0}.speakers_slider .speaker>span{display:block;text-align:center;color:#F60}.speakers_slider .slick-next:before,.speakers_slider .slick-prev:before{font-family:Arial,sans-serif;color:#b7b7b6;font-size:38px;font-weight:100}.speakers_slider .slick-prev:before{content:'‹'}.speakers_slider .slick-next:before{content:'›'}.last_photos_slider{margin-bottom:22px;border-radius:5px}.last_photos_slider>img:not(:first-child),.last_photos_thumbs>img:not(:first-child){display:none}.last_photos_thumbs .slick-next:before,.last_photos_thumbs .slick-prev:before{content:'';display:block;width:15px;height:30px;background:url(../../img/slider_arrow.png)}.last_photos_thumbs .slick-next:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.last_photos_slider .slick-prev{left:0;top:0;bottom:0;-webkit-transform:none;-ms-transform:none;-o-transform:none;transform:none;background:rgba(0,0,0,0);height:100%;z-index:100;width:60px;text-align:center}.last_photos_slider .slick-next:before,.last_photos_slider .slick-prev:before{position:absolute;left:50%;margin:-31px 0 0 -15px;display:block;content:''}.last_photos_slider .slick-next:focus,.last_photos_slider .slick-prev:focus{background:rgba(0,0,0,0)}.last_photos_slider .slick-prev:before{width:31px;height:62px;background:url(../img/sprites.png) 0 -63px no-repeat;top:50%}.last_photos_slider .slick-prev:hover{background:rgba(0,0,0,.3)}.last_photos_slider .slick-next{top:0;right:0;bottom:0;-webkit-transform:none;-ms-transform:none;-o-transform:none;transform:none;background:rgba(0,0,0,0);height:100%;z-index:100;width:60px;text-align:center}.last_photos_slider .slick-next:before{width:31px;height:62px;background:url(../img/sprites.png) 0 -63px no-repeat;top:50%;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.last_photos_slider .slick-next:hover{background:rgba(0,0,0,.3)}.conference_about h2{font-weight:500;color:#000;font-size:28px}.conference_about .ied-text{font:16px/28px dindisplay_pro,sans-serif;color:#333}.conference_about .text-indent-1-5em{text-indent:0}.i-photo-slides h2{font-family:dindisplay_pro,sans-serif;font-size:28px;color:#000}.last_photos_thumbs{width:765px;margin:0 auto}.last_photos_thumbs img{margin:0 10px}.top_page_banner{display:block;max-width:1200px;margin:10px auto}.top_page_banner img{max-width:100%;height:auto}.conference_interested{background-color:#fff;border:1px solid #f8f8f6;border-radius:3px;padding:22px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.conference_for{-webkit-box-flex:5;-webkit-flex:5;-moz-box-flex:5;-ms-flex:5;flex:5}.confererence_price{-webkit-box-flex:2;-webkit-flex:2;-moz-box-flex:2;-ms-flex:2;flex:2}.conference_interested h3{font:400 22px dindisplay_pro,sans-serif;color:#000;margin:0 0 20px}.conference_for h3:before{content:'';display:inline-block;width:16px;height:18px;background:url(../img/sprites.png) -384px -108px;margin-right:10px}.confererence_price h3:before{content:'';display:inline-block;width:22px;height:18px;background:url(../img/sprites.png) -407px -109px;margin-right:5px}.conference_for ul{padding-left:0}.conference_for li{-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;width:-webkit-calc(100%/3);width:calc(100%/3);border-bottom:1px dotted #e8e8e8;font:italic 300 14px dindisplay_pro,sans-serif;color:#999;padding-left:20px;line-height:30px}.conference_price{-moz-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:43px;background-color:#fff5eb;border:1px solid #f4b576;border-left:0;padding:0 15px;border-radius:0 3px 3px 0;font:400 22px dindisplay_pro,sans-serif;line-height:39px;color:#f60;position:relative}.conf_place,.place_detail{-moz-box-sizing:border-box}.conference_price:before{content:"";display:inline-block;vertical-align:middle;width:14px;height:40px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAnCAYAAAA/63kvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4BpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0RDgyMDE2NEMzRENFMzExOTc2OEQwODY2QzY0MTY1QSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpBOUQwQUJFQUFBNDExMUU2OThBREVBQTJBRjU0MzcxNCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpBOUQwQUJFOUFBNDExMUU2OThBREVBQTJBRjU0MzcxNCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNCAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphYjE0NjJhNy1lN2FkLTIzNDktOGRhYy05M2UyOTljYjIxYzUiIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDo3YWRjMTQ1YS04YTJkLTExZTYtODkxZS1hOGNhNWExYjdhZWYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7XRKkHAAACeklEQVR42pyWz2sTQRTH3+zsz9T8Am1qW9LaBko3EIqKQitqEVREgxfRg+KlKvgDPEj9G0TbS1GE4sVrperBHvRi/XUSbMUIotRQUYk9xNrG/Nrd8e1Qa02z290+eMwsO59833sz+yaEMQZerTBxdT8ON9ETxCuIUD+RtCeKnqY0GgcRvNuokjxKaaSVP4gelLpxGBG0SOdfyDbHUBEgOFwgonpd2tKnSs09uFpwBxGScbgjhJpPqvoRIGpo1ZpV4BI0Rjcm0qqeBhBo3Yjq5TgqbupKK/rh/0JzVUS1c0Kw6bbWcwKASq5FWwYRaiOinNG2nW4gWmTNvVkZy5DU1usJWlZEtRRRglOBnWeIUzGcFC9Krds9QxxENQ2rd1yM6eDHbMU+Gm4JETngG+ynkTj4NfsApIRgzHmFZUJl5ikYufcAuHNikw5yx14OJogWdeQqM5NglQug7b7Cn8tvx6CSfclDbXTLz8hlQEkdA9wu7vbc+D7NwQ2Eyr5ztEHTzsOxCLEkhncPWHkBWGmez8XNKQ7OsepvR1Du2AOCEoDi5A0oPhvmc7l9Fy9O1iotxKkadoiJgpzYx7021ClrMbeuHF+Y+ey6wMdmfrbCzIo/sOHQtXmwjHHTPhk+FW0bqX55jUfK8gei6iurmJ+ofpv2rWjb5ern50VW+uUPRNWPzCgPljIP8YswvPWcmoZ8V2zsOqV0u/fVem8GjB8fxkvv7rsqO90ddte6hc35rJpM490R9gau+IHzRFSGpPZeVWrZuvZtVed+HBYC0YPajoF/L2zQiy8+GvxkfH3DWGGOu+DjlF0qZx6Y5s9Zb6HWhH1g6V9H5x8BBgA34gsmw854LQAAAABJRU5ErkJggg==);position:absolute;top:0;left:-13px}.conf_extra .file:before,.conf_extra .globe:before{height:17px;display:inline-block;content:''}.conf_extra li{display:inline-block;margin-right:50px}.conf_extra a{text-decoration:none;font-family:dindisplay_pro,sans-serif}.conf_extra span{display:inline-block;text-decoration:underline;margin-left:5px;font-size:16px}.conf_extra a:hover span,h1 .preview_toggle{text-decoration:none}.conf_extra i{display:inline-block;vertical-align:middle}.conf_extra .globe:before{width:17px;background:url(../img/sprites.png) -423px -31px}.conf_extra .file:before{width:14px;background:url(../img/sprites.png) -425px -12px}.conf_visitors h3{font:500 28px dindisplay_pro,sans-serif;margin-bottom:15px;color:#000}.conf_visitors .visitors-list{padding-left:0}.conf_visitors .visitors-list li{display:inline-block;width:25%}.conf_visitors .visitors-list a{display:block;font:400 14px dindisplay_pro,sans-serif;color:#464646;padding-left:15px;line-height:1.5;border-left:2px solid #F60}.conf_comments form h3,.conf_comments form p,.place_detail,.place_image{display:inline-block;vertical-align:top}.conf_comments,.place_detail{font-family:dindisplay_pro,sans-serif}.conf_visitors .visitors-list a:hover{color:#F60}.conf_place{border:1px solid #f8f8f6;background-color:#fff;border-radius:5px;padding:0 20px 20px;box-sizing:border-box;margin-top:40px}.place_detail{box-sizing:border-box;width:-webkit-calc(100% - 350px);width:calc(100% - 350px);padding-right:35px;padding-top:35px}.place_detail h3{font-size:28px;margin-top:0}.place_detail h4{color:#F60;font-size:22px;font-weight:400;text-transform:uppercase;margin-top:0}.place_detail h4 i{margin-left:5px}.place_image{width:350px}.place_detail .grey{font-size:15px;color:#999}.place_detail p{font-size:16px;color:#333;line-height:28px}.сomment_form textarea.error{border:2px solid #d80000;padding:4px}.conf_comments{padding-top:30px}.conf_comments h2{font:500 28px dindisplay_pro;color:#000}.conf_comments .сomment_form{border-top:1px dotted #ccc;border-bottom:1px dotted #ccc;padding:20px 0}.conf_comments form h3{width:195px;font-size:16px}.conf_comments form p{width:-webkit-calc(100% - 195px);width:calc(100% - 195px)}.conf_comments form label{display:none}.conf_comments form button{margin-top:15px}.conf_comments form textarea{border-color:#e8e8e7;border-radius:0;box-shadow:none;height:119px}.сomment_form .delete_parent{display:inline-block;vertical-align:middle;margin-left:25px;text-decoration:none;font-size:16px;padding-top:12px}.сomment_form .delete_parent i{color:#666}.сomment_form .delete_parent:hover i{color:#F60}.conf_sharing{text-align:center;padding-top:20px}.conf_sharing .social-likes__button{border-radius:3px;font-weight:500}.new_article{font-size:16px;line-height:28px;padding-top:20px}.new_article img{min-width:100%;height:auto!important}.white_block{background-color:#fff;border-top:1px dashed #ccc;border-bottom:1px dashed #ccc}.new_article .white_block{margin-left:-20px;margin-right:-20px;padding:0 20px}.new_article.hidden{display:none}h1 .preview_toggle{float:right;border:1px solid #ccc;color:#838383;text-transform:uppercase;font:14px/38px dindisplay_pro,sans-serif;width:180px;text-align:center;border-radius:3px;margin-left:25px;margin-top:3px}h1 .preview_toggle:hover{border-color:#F60;color:#F60}.twitter_email_form input{max-width:300px}.twitter_email_form button{margin-top:15px}.twitter_email_form .errorlist{margin:0;list-style:none;padding-left:0;color:#d80000}.no_login{font-size:18px}.conference_themes .i-subj{width:35%;padding-left:25px;-moz-box-sizing:border-box;box-sizing:border-box}.conference_themes .i-tags{width:65%}.conference_themes .i-tags a{font-size:11px}.conference_themes .i-subj a:hover,.conference_themes .i-tags a:hover{text-decoration:underline}.ib-main .note-wrap,.ib-main .note-wrap+a,.ib-main .note-wrap-disabled,.ib-main .note-wrap-disabled+a,.ib-main a+a{margin-left:5px}.ib-main .addcalendar{color:#ef3976;border-color:#ef3976}.ib-main .addcalendar:hover{background-color:#ef3976;border-color:#ef3976;color:#fff}.ib-main .addcalendar:before{background-position:-406px -90px}.ib-main .removecalendar,.ib-main .removecalendar:hover{background-color:#ef3976;border-color:#ef3976}.tos a{color:#ccc;text-decoration:none}.tos a:hover{color:#F60}.event_org{font:16px dindisplay_pro,sans-serif;color:#464646}.event_org:after{content:'';display:block;clear:both}.new_subribe_btn{float:right;border-color:#ef3976;color:#ef3976}.new_subribe_btn:hover{background-color:#ef3976;color:#fff}.modal_not_found{display:none}.modal_not_found_body{max-width:620px;padding:20px 20px 10px;font-family:dindisplay_pro,sans-serif;font-size:18px;line-height:1.5}.modal_not_found_body h3{font-size:32px;line-height:35px;color:#f60;font-weight:100;margin:0 0 15px}[data-tooltip]{position:relative}[data-tooltip]:hover:before{content:attr(data-tooltip);position:absolute;background-color:#666;color:#fff;top:-26px;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%);padding:0 10px;font-size:12px;line-height:22px;white-space:nowrap} \ No newline at end of file +.authorisation-links a,.cabinet-links .cl-body,.header-body .header-top,.lang-switch li,nav ul{text-transform:uppercase}.page-wrap .layout .layout-wrap:after,hr{clear:both}a.l-button.ico:before,img{vertical-align:middle}.cabinet-links .cl-body a,.header-body .hb-wrap ul a,.page-wrap>header .logo a,.rub,a.l-button,a:hover{text-decoration:none}.button.orange,.e-price-wrap .button.big.orange,button{filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#ff8000', endColorstr='#ff6600', GradientType=0)}.a-graphic table,.calendar-container table,.mp-catalog-lists,.search-form-wrap,.sf-field,.tp-btn-wrap,.tp-wrap,.ui-datepicker table{border-collapse:collapse}button,html,input,select,textarea{color:#222}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}hr{height:1px;padding:0}fieldset{border:0;margin:0;padding:0}.chromeframe{background:#c00;color:#fee;padding:1em;margin:0;font-size:16px}.chromeframe a{color:#fee}.chromeframe a:hover{color:#fff}@font-face{font-family:dindisplay_pro;src:url(../fonts/pfdindisplaypro-med-webfont.eot);src:url(../fonts/pfdindisplaypro-med-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pfdindisplaypro-med-webfont.woff) format('woff'),url(../fonts/pfdindisplaypro-med-webfont.ttf) format('truetype'),url(../fonts/pfdindisplaypro-med-webfont.svg#pf_dindisplay_promedium) format('svg');font-weight:500;font-style:normal}@font-face{font-family:dindisplay_pro;src:url(../fonts/pfdindisplaypro-thin-webfont.eot);src:url(../fonts/pfdindisplaypro-thin-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pfdindisplaypro-thin-webfont.ttf) format('truetype'),url(../fonts/pfdindisplaypro-thin-webfont.woff) format('woff');font-weight:100;font-style:normal}@font-face{font-family:dindisplay_pro;src:url(../fonts/pfdindisplaypro-light-webfont.eot);src:url(../fonts/pfdindisplaypro-light-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pfdindisplaypro-light-webfont.woff) format('woff'),url(../fonts/pfdindisplaypro-light-webfont.ttf) format('truetype');font-weight:300;font-style:normal}@font-face{font-family:dindisplay_pro;src:url(../fonts/pfdindisplaypro-italic-webfont.eot);src:url(../fonts/pfdindisplaypro-italic-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pfdindisplaypro-italic-webfont.woff) format('woff'),url(../fonts/pfdindisplaypro-italic-webfont.ttf) format('truetype');font-weight:400;font-style:italic}@font-face{font-family:dindisplay_pro;src:url(../fonts/pfdindisplaypro-bold-webfont.eot);src:url(../fonts/pfdindisplaypro-bold-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pfdindisplaypro-bold-webfont.ttf) format('truetype'),url(../fonts/pfdindisplaypro-bold-webfont.woff) format('woff');font-weight:700;font-style:normal}@font-face{font-family:dindisplay_pro;src:url(../fonts/pfdindisplaypro-reg-webfont.eot);src:url(../fonts/pfdindisplaypro-reg-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pfdindisplaypro-reg-webfont.woff) format('woff'),url(../fonts/pfdindisplaypro-reg-webfont.ttf) format('truetype');font-weight:400;font-style:normal}@font-face{font-family:pt_sans;src:url(../fonts/pts75f-webfont.eot);src:url(../fonts/pts75f-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pts75f-webfont.woff) format('woff'),url(../fonts/pts75f-webfont.ttf) format('truetype');font-weight:700;font-style:normal}@font-face{font-family:pt_sans;src:url(../fonts/pts55f-webfont.eot);src:url(../fonts/pts55f-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/pts55f-webfont.woff) format('woff'),url(../fonts/pts55f-webfont.ttf) format('truetype');font-weight:400;font-style:normal}body,html{margin:0;padding:0;height:100%;background:#f8f8f6;color:#464646;font-family:Arial,'Helvetica Neue',sans-serif;font-weight:400;font-style:normal;font-size:13px;line-height:18px;-webkit-font-smoothing:antialiased}body{position:relative;height:auto;min-width:1024px}body.no-scroll{overflow:hidden}a{color:#f60;background:0 0;outline:0!important;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s}a[class*=icon-]:before{content:' ';display:inline-block;vertical-align:middle;width:16px;height:16px;background:url(../img/sprites.png) no-repeat;margin-right:4px}a.icon-mail:before{width:15px;height:12px;background-position:-223px 0}a.icon-ext-link:before{width:15px;height:13px;background-position:-261px 0}hr{display:block;border:dotted #ccc;border-width:1px 0 0;margin:17px 0;background:0 0}.lt-ie9 .header-body .header-top,.lt-ie9 .main-page .page-wrap .header-wrap{border-bottom:1px solid #ddd}.e-details .item-wrap.event+hr{margin-top:5px}.rub{font-style:normal}.rub:before{content:'\20CF';font-family:pt_sans,sans-serif}.rub i{display:none}.page-wrap{-moz-box-sizing:border-box;box-sizing:border-box;width:1024px;max-width:1310px;padding:0 7px;margin:0 auto}.page-wrap .layout{padding-left:13px}.page-wrap .layout .layout-wrap{padding-left:220px}.page-wrap .layout .layout-wrap:after,.page-wrap .layout .layout-wrap:before{content:" ";display:table}.page-wrap .layout .layout-wrap>*{-moz-box-sizing:border-box;box-sizing:border-box}.page-wrap .layout .layout-wrap>aside{position:relative;float:left;width:220px;padding-right:40px;margin:0 -100% 0 -220px}.page-wrap .layout.main-part .layout-wrap>aside{padding-top:30px}.page-wrap .layout .layout-wrap>aside>.sbg{width:200em;height:150px;background:url(../img/search-bg.jpg) no-repeat #f60;position:absolute;margin-right:40px;right:100%;top:0;border-radius:4px}.page-wrap .layout .layout-wrap .mcl{width:100%;float:right}.page-wrap .layout.mp-announces .layout-wrap{padding:0 257px 0 220px}.page-wrap .layout.mp-announces .layout-wrap aside{float:right;margin-right:-257px;padding-right:0;width:257px}.page-wrap .layout.mp-announces .layout-wrap .mcl{float:left;padding-right:40px}.page-wrap>header{font-family:dindisplay_pro,Arial,sans-serif}.cabinet-links .cl-body,a.l-button{font-family:dindisplay_pro,sans-serif}.page-wrap .header-wrap{padding:5px 0}.main-page .page-wrap .header-wrap{padding:5px 10px 5px 230px;margin:0 -10px;box-shadow:0 3px 6px -5px rgba(0,0,0,.4)}@-moz-document url-prefix(){.main-page .page-wrap .header-wrap{box-shadow:0 3px 5px -5px rgba(0,0,0,.3)}}.page-wrap>header .logo{width:220px;padding:5px 0 0;float:left;margin:0 -100% 0 -220px;-moz-box-sizing:border-box;box-sizing:border-box}.page-wrap>header .logo h1,.page-wrap>header .logo h2,.page-wrap>header .logo h3{-moz-box-sizing:border-box;box-sizing:border-box;margin:0 0 0 -13px;width:196px;padding-left:67px;font-family:dindisplay_pro,sans-serif;font-weight:500;font-style:normal;font-size:13px;line-height:13px}.button,.e-form button,.page-wrap>footer,.pgc-buttons button,nav ul{font-family:dindisplay_pro,Arial,sans-serif}.page-wrap>header .logo a{color:#a2a2a2}.page-wrap>header .logo strong{display:block;width:196px;height:0;padding-top:59px;overflow:hidden;background:url(../img/logo.png) no-repeat;margin-left:-67px}.page-wrap>header .logo.beta strong{background:url(../img/logo_beta.png) no-repeat;width:225px}.page-wrap>header .logo b{margin-top:-8px;display:block;font-weight:400}.page-wrap>header .header-body{width:79%;min-width:770px;float:right}.header-body .header-top{-moz-box-sizing:border-box;box-sizing:border-box;padding:5px 510px 1px 25px;margin:0 -10px 0 -25px;font-size:12px;line-height:25px;box-shadow:0 3px 6px -5px rgba(0,0,0,.4)}@-moz-document url-prefix(){.header-body .header-top{box-shadow:0 3px 5px -5px rgba(0,0,0,.3)}}.header-body .header-top.coordinators{padding-right:10px}.header-body ul{margin:0;padding:0;list-style:none}.header-body .header-top ul li{display:inline}.header-body .header-top .ht-main{width:100%;float:left}.header-body .header-top.coordinators .ht-main{width:auto}.header-body .header-top .add-link{width:50%;float:left}a.l-button{color:#f60;font-weight:500;font-size:12px;line-height:15px;display:inline-block;margin-left:-21px;padding:5px;border:1px solid transparent;border-radius:4px}a.l-button:hover{color:#000}a.l-button.ico:before{content:' ';display:inline-block;width:11px;height:12px;background:url(../img/sprites.png) no-repeat;margin:-1px 4px 0 0}.add-link a.l-button.ico:hover:before{background-position:-63px -145px}.header-body .header-top ul{float:left}.lang-switch{color:#a2a2a2;position:absolute;top:0;right:0}.lang-switch li{display:inline-block;margin-left:5px}.header-body .hb-wrap .lang-switch a{color:#464646;text-decoration:underline}.header-body .header-top.coordinators .lang-switch{width:auto}.header-body .header-top .lang-switch li:before{content:'|';margin:-1px 7px 0 3px}.cabinet-links .logout a:before,.mp-top .recent-expo ul li:after,a.cl-btn:before,a.icon-msg:before,a.icon-user:before{content:''}.header-body .header-top .lang-switch li:first-child:before{content:'';margin:0;display:none}.header-body .header-top .lang-switch a{color:#464646}.header-body .header-top .lang-switch a:hover{color:#f60}.header-body .header-top .ht-side{width:510px;margin-right:-510px;float:right}.header-body .header-top.coordinators .ht-side{width:auto;margin-right:0}.authorisation-links{float:right;font-weight:500;text-decoration:none;padding-top:20px}.authorisation-links a{margin:0 -6px 0 16px;font-size:14px}.authorisation-links a:first-child{margin-left:0}.authorisation-links a.register{color:#000}.authorisation-links a.register:hover{color:#f60}.authorisation-links a.register:before{background-position:-12px 0;height:13px;margin-top:-2px}.authorisation-links a.register:hover:before{background-position:-24px 0}.authorisation-links a.login:before{background-position:-36px 0;width:9px;height:12px;margin-top:-2px}.authorisation-links a.login:hover:before{background-position:-75px -145px}.cabinet-links{float:right;padding-right:35px;min-width:360px;-moz-box-sizing:border-box;box-sizing:border-box;margin-top:20px}.coordinators .cabinet-links{width:auto}.cabinet-links .cl-body{padding-top:10px;width:100%;float:left;background:#f60;color:#fff;font-size:11px;line-height:20px;font-weight:700;padding-left:10px;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box;height:44px;margin-top:-10px}.mp-top .recent-expo .re-date,.mp-top .recent-expo .re-title{font-weight:100;font-family:dindisplay_pro,Arial,sans-serif}.cabinet-links .cl-body>div,.cabinet-links .cl-body>ul{display:block;border-right:1px solid #fff;float:right;padding:0 5px}.cabinet-links .cl-body>ul{padding:0 0 12px}.cabinet-links .cl-body>ul>li{display:block;padding:0 2px 12px;margin-bottom:-10px;border-right:1px solid #fff;float:left}.cabinet-links .cl-body>:first-child,.cabinet-links .cl-body>ul>li:first-child{border-left:none}.cabinet-links .cl-body>div.clb-settings{border-right:0}.cabinet-links .cl-body>div.clb-docs a.cl-btn{margin-left:-4px;margin-right:-2px}.cabinet-links .cl-body a{color:#fff;position:relative;display:inline-block;line-height:25px;border:1px solid transparent;border-radius:4px}.cabinet-links .clb-profile a{padding-right:5px}.cabinet-links .cl-body a i{font-size:14px;vertical-align:middle;width:25px;text-align:center}.cabinet-links .cl-body .fa-at{margin-top:-2px}.cabinet-links .cl-body a:hover{border-color:#fff}.cabinet-links .cl-body .clb-messages a{text-align:center;display:table;margin-left:auto;margin-right:auto}a.icon-msg:before,a.icon-user:before{display:inline-block;margin:-2px 3px 0 -1px;vertical-align:middle}.cabinet-links .cl-body a.cl-btn{width:30px;height:0;padding:30px 0 0;overflow:hidden}a.icon-user:before{width:11px;height:13px;background:url(../img/sprites.png) -283px -101px no-repeat}a.cl-btn:before,a.icon-msg:before{width:13px}a.icon-msg:before{height:12px;background:url(../img/sprites.png) -268px -88px no-repeat}a.cl-btn:before{display:block;height:13px;background:url(../img/sprites.png) -283px -88px no-repeat;position:absolute;left:50%;top:50%;margin:-6px 0 0 -6px}a.icon-gear:before{background-position:-268px -101px}a.icon-cal:before{height:15px;background-position:-60px -17px;margin-top:-7px}a.icon-doc:before{width:10px;height:14px;background-position:-74px -16px;margin:-7px 0 0 -5px}.cabinet-links .logout{width:32px;float:right;margin:0 -35px 0 -32px}.cabinet-links .logout a{position:relative;display:block;width:30px;height:0;padding-top:30px;overflow:hidden;border:1px solid transparent;border-radius:4px;margin:-1px 0 -6px}.cabinet-links .logout a:hover{border-color:#f60;background:#fff}.cabinet-links .logout a:before{display:block;width:13px;height:12px;background:url(../img/sprites.png) -283px -88px no-repeat;position:absolute;left:50%;top:50%;margin:-5px 0 0 -5px}.page-wrap>footer nav>ul>li,nav ul{display:inline-block}.soc-media-buttons{margin:0;padding:0;list-style:none}.soc-media-buttons li{display:inline-block;line-height:18px;margin-left:2px}.soc-media-buttons li:first-child{margin-left:0}.header-body .header-top .soc-media-buttons{width:auto}.header-body .header-top.coordinators .soc-media-buttons{margin-right:10px}.header-body .header-top .soc-media-buttons li{line-height:14px;margin:0 5px 0 0}.header-body .header-top .soc-media-buttons img{height:14px;vertical-align:middle}.header-body .hb-wrap{padding:22px 0;position:relative}.serv-links{float:left;width:40%}.header-body .hb-wrap .serv-links ul{-moz-box-sizing:border-box;box-sizing:border-box;width:49.9%;min-width:140px;float:left;padding-right:10px}.header-body .hb-wrap ul.soc-media-buttons{width:auto;padding-top:20px;float:left}.header-body .hb-wrap ul li{margin-top:3px}.header-body .hb-wrap ul li:first-child{margin-top:0}.header-body .hb-wrap ul a{color:#a2a2a2}.header-body .hb-wrap ul a:hover{color:#f60;text-decoration:underline}.abn img{max-width:100%;height:auto}.header-body .hb-wrap .abn{float:right;width:468px;height:60px;border:1px solid #eee;margin-right:-470px}.page-wrap>footer{margin-top:20px}.page-wrap>footer .layout-wrap.footer-wrap{padding:25px 10px 25px 230px;margin:0 -10px;box-shadow:inset 0 3px 6px -5px rgba(0,0,0,.4)}.lt-ie9 .page-wrap>footer .layout-wrap.footer-wrap{border-top:1px solid #ddd}.page-wrap>footer .copy{font-size:12px;color:#f60;margin-bottom:10px}.page-wrap>footer nav{width:65%;float:left}nav ul{margin:0;padding:0;list-style:none;font-size:13px;line-height:16px}.page-wrap .layout .layout-wrap>aside nav{margin-bottom:20px}.main-page .page-wrap .layout .layout-wrap>aside nav{margin-bottom:0}aside nav>ul.main-menu>li{margin-top:-4px}aside nav>ul.main-menu>li:first-child{margin-top:0}nav>ul>li.sub>span,nav>ul>li>a{display:block;text-decoration:none;padding:4px 6px 2px;border:1px solid transparent;border-radius:4px}@-moz-document url-prefix(){.page-wrap>footer .footer-wrap{box-shadow:inset 0 3px 5px -5px rgba(0,0,0,.3)}nav ul{line-height:17px}nav>ul>li>a{padding:3px 6px 2px}}aside nav>ul.main-menu>li.sub>span,aside nav>ul.main-menu>li>a{padding:5px 10px 3px}nav>ul>li>a:hover{border-color:#f60}nav .main-menu{font-size:25px;line-height:25px;margin:-5px 0 10px -11px}.page-wrap>footer nav .main-menu{font-size:20px;line-height:20px;margin:-3px 0 1px -10px}.page-wrap>footer nav .main-menu>li{margin-left:10px;letter-spacing:1px}.page-wrap>footer nav .main-menu>li:first-child{margin-left:0}.main-menu>li>a,.main-menu>li>span{color:#464646;padding:5px 9px 2px}@-moz-document url-prefix(){.main-menu>li>a{padding:4px 9px 3px}}.page-wrap>footer nav .main-menu>li.sub>a{padding-right:10px}.main-menu li:hover>a{color:#f60;border-color:#f60}.main-menu>li.sub>a,.main-menu>li.sub>span{-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s}.main-menu>li.sub:hover>a,.main-menu>li.sub:hover>span{color:#ff9e74;background:#f60}.main-menu .sub{position:relative}.main-menu li.sub>a:after,.main-menu li.sub>span:after{content:' ';display:inline-block;vertical-align:middle;width:13px;height:12px;background:url(../img/sprites.png) -46px 0 no-repeat;margin:-3px 0 0 8px}.main-menu .sub:hover>a:after,.main-menu .sub:hover>span:after{background-position:-46px -16px}.page-wrap>footer nav .main-menu li.sub>a:after{width:12px;height:10px;background-position:0 -16px;margin-left:5px}.page-wrap>footer nav .main-menu .sub:hover>a:after{background-position:-13px -16px}.main-menu .sub ul{position:absolute;width:100%;left:0;top:100%;padding:5px 10px;font-size:18px;line-height:22px;letter-spacing:normal;background:#f60;margin-top:-5px;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box;display:none}.page-wrap>footer nav .main-menu .sub ul{top:auto;bottom:100%;font-size:16px;line-height:18px;margin:0 0 -5px}.main-menu .sub:hover ul{display:block}.main-menu .sub ul a{text-decoration:none;color:#fff}.main-menu>li.sub ul a:hover{color:#ffc4aa}aside nav ul.s-menu{display:inline-block;font-size:14px;line-height:17px;margin-top:-2px}nav ul.s-menu{margin:0 0 0 -7px}aside nav ul.s-menu>li{margin-top:-2px}.page-wrap>footer nav ul.s-menu>li{margin-left:3px}.page-wrap>footer ul.s-menu>li:first-child,aside nav ul.s-menu>li:first-child{margin:0}aside nav+hr{margin-top:-5px}.page-wrap>footer .counters{width:33.33%;float:right}.page-wrap>footer .counters>ul{display:inline-block;vertical-align:top;margin:0;padding:0;list-style:none;text-align:left}.page-wrap>footer .counters>ul>li{display:inline-block;vertical-align:top;margin:0 0 5px 3px}.swiper-wrapper{margin:0;padding:0;list-style:none}.main-page section.layout{margin:30px 0}.mp-top .recent-expo{position:relative;overflow:hidden;padding-top:5px}.mp-top .recent-expo ul{margin:0;padding:0;list-style:none}.mp-top .recent-expo ul li{width:100%;background-color:#f8f8f6;display:none}.mp-top .recent-expo ul li:after{display:block;clear:both}.mp-top .recent-expo ul li:first-child{display:block}.mp-top .recent-expo .re-pict{width:220px;height:220px;margin-right:40px;overflow:hidden;float:left;border-radius:4px;max-width:100%;max-height:100%}.mp-top .recent-expo .re-body{position:relative;overflow:hidden;min-height:220px}.mp-top .recent-expo .re-body .re-info{margin-bottom:70px}.mp-top .recent-expo .re-body .re-info a{text-decoration:none}.mp-top .recent-expo .re-title{font-size:50px;line-height:48px;margin:0 80px 5px 0}.mp-top .recent-expo .re-title a{text-decoration:none}.mp-top .recent-expo .re-date{font-size:24px;line-height:27px;color:#464646;margin-bottom:3px}.mp-top .recent-expo .re-date span{color:#afafaf}.mp-top .recent-expo .re-descr{color:#a2a2a2;font-size:14px;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis}.mp-top .recent-expo footer{position:absolute;width:100%;bottom:0;left:0}.mp-top .recent-expo .re-buttons{margin-bottom:12px}.mp-top .recent-expo .re-tags{color:#a2a2a2;font-size:11px;line-height:15px}.mp-top .recent-expo .re-tags a{color:#a2a2a2;text-decoration:none}.mp-top .recent-expo .re-tags .re-t-total{color:#d4d4d4;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s}.mp-top .recent-expo .re-tags a:hover,.mp-top .recent-expo .re-tags a:hover .re-t-total{color:#f60}.mp-top .recent-expo .re-controls{position:absolute;right:0;top:0;z-index:100;display:none}.mp-top .recent-expo .re-controls.enabled{display:block}.mp-top .recent-expo .re-controls a{position:relative;display:inline-block;width:29px;height:0;padding-top:29px;overflow:hidden;background:#e3e3e3;box-shadow:inset 0 1px 0 rgba(0,0,0,.1),0 1px 0 #fff}.mp-top .recent-expo .re-controls a:before{content:' ';display:block;width:10px;height:12px;background:url(../img/sprites.png) -113px 0 no-repeat;position:absolute;left:50%;top:50%;margin:-6px 0 0 -5px}.mp-top .recent-expo .re-controls a:hover{background:#f60}.mp-top .recent-expo .re-controls a.prev{border-radius:4px 0 0 4px;margin-right:-1px}.mp-top .recent-expo .re-controls a.prev:before{background-position:-113px 0}.mp-top .recent-expo .re-controls a.next{border-radius:0 4px 4px 0;margin-left:-1px}.mp-top .recent-expo .re-controls a.next:before{background-position:-123px 0}.mp-top .recent-expo .re-controls a.next.disabled,.mp-top .recent-expo .re-controls a.prev.disabled{background:#e3e3e3;opacity:.5;cursor:default}.button,.e-form button,.pgc-buttons button{display:inline-block;vertical-align:middle;height:26px;padding:3px 14px 2px;background:0 0;text-decoration:none;color:#f60;border:1px solid #feb17d;text-transform:uppercase;font-weight:700;font-size:13px;line-height:20px;text-shadow:0 1px 0 #fff;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:background .3s,color .3s;-o-transition:background .3s,color .3s;transition:background .3s,color .3s;word-spacing:normal;white-space:nowrap}.lc{text-transform:none}.button.lc{font-weight:400;line-height:18px}.button.big{height:36px;font-size:15px;line-height:31px;padding:3px 19px 2px}.e-form .button,.e-form button{color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.3)}@-moz-document url-prefix(){.button.lc{line-height:17px}}.button:hover,.e-form button:hover,.pgc-buttons button:hover{border-color:#f60;background:#f60;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(0,0,0,.1)}.e-form .button:hover,.e-form .input-file:hover .button,.e-form button:hover{background:#ff8000;border-color:#fff}.button.blue{border-color:#90c7e0;color:#2592c5}.button.blue.active,.button.blue:hover{border-color:#2592c5;background:#2592c5;color:#fff}.button.blue2{border-color:#7ed4f5;color:#00adef}.button.blue2 i{font-style:normal;color:#1d447d}.button.blue2:hover{border-color:#1d447d;background:#1d447d;color:#00adef}.button.blue2:hover i{color:#fff}.button.green{border-color:#c1e090;color:#87c525}.button.green.active,.button.green:hover{border-color:#87c525;background:#87c525;color:#fff;text-shadow:none}.button.orange,.button.orange:hover,.cli-services-sm a,.cli-services:hover .button.icon-sm{text-shadow:0 1px 0 rgba(0,0,0,.3)}.button.red{border-color:#e87e7d;color:#d90000}.button.red:hover{border-color:#d90000;background:#d90000;color:#fff}.button.grey{border-color:#c6c6c6;color:#b4b4b4}.button.grey:hover{border-color:#b4b4b4;background:#b4b4b4;color:#fff}.button.orange{border-color:#f60;color:#fff;background:#f60;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ff8000),color-stop(100%,#f60));background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:linear-gradient(to bottom,#ff8000 0,#f60 100%)}.button.pink{color:#ef3976;border-color:#ef3976}.button.pink:hover{color:#fff;background-color:#ef3976}.cli-photo-list .cli-phg-bot .cli-pb-button .button{height:29px;line-height:22px;padding-top:4px}.button.more,.cli-photo-list .cli-phg-bot .cli-pb-button .button.more{height:29px;font-size:17px;line-height:19px;text-transform:none;padding-top:4px}.button.more:after{content:' ';display:inline-block;vertical-align:middle;width:5px;height:9px;background:url(../img/sprites.png) -148px -16px no-repeat;margin:1px 0 0 10px}.button.b-more:after{content:'';display:inline-block;vertical-align:middle;width:8px;height:12px;background:url(../img/sprites.png) -175px 0 no-repeat;margin:-1px -5px 0 8px}.button[class*=icon-]:before,button[class*=icon-]:before{content:' ';display:inline-block;vertical-align:middle}.button.blue.more:after{background-position:-165px -14px}.button.more:hover:after{background-position:-165px -23px}.button[class*=icon-]:before{width:16px;height:16px;background:url(../img/sprites.png) no-repeat;margin:-3px 5px 0 0}.button.big[class*=icon-]:before{margin-right:7px}.button.icon-calendar:before{width:14px;background-position:-60px 0}.button.icon-calendar.active:before,.button.icon-calendar:hover:before{background-position:-60px -16px}.button.icon-calendar-o:before{width:13px;background-position:-183px -145px}.button.icon-calendar-o:hover:before{background-position:-197px -145px}.button.pink.icon-calendar:before{background-position:-406px -90px}.button.pink.icon-calendar.active:before,.button.pink.icon-calendar:hover:before{background-position:-60px -16px}.button.icon-save:before{width:12px;height:13px;background-position:-155px -145px;margin-top:-1px}.button.icon-save:hover:before{background-position:-155px -159px}.button.icon-print:before{width:13px;height:13px;background-position:-169px -145px;margin-top:-2px}.button.icon-print:hover:before{background-position:-169px -159px}.button.icon-note:before{width:11px;height:14px;background-position:-74px 0}.button.icon-note.active:before,.button.icon-note:hover:before{background-position:-74px -16px}.button.icon-sm:before{width:8px;height:9px;background-position:-287px -32px;margin-left:-2px}.button.icon-sm:hover:before{background-position:-287px -41px}.button.icon-edit:before{width:14px;height:13px;background-position:-277px 0}.button.icon-edit:hover:before,.button.orange.icon-edit:before{background-position:-277px -15px}.button.icon-del:before{width:12px;height:14px;background-position:-259px -30px}.button.icon-del:hover:before{background-position:-259px -45px}.button.icon-copy:before{width:15px;height:14px;background-position:-261px 0}.button.icon-copy:hover:before{background-position:-261px -15px}.button.icon-info:before{width:10px;height:11px;background-position:-280px -64px}.button.icon-info:hover:before{background-position:-280px -76px}.button.icon-list:before{width:10px;height:9px}.button.blue.icon-list:before{background-position:-175px -52px}.button.green.icon-list:before{background-position:-186px -52px}.button.icon-list:hover:before{background-position:-197px -52px}.button.icon-msg:before{width:11px;height:11px;background-position:-268px -64px}.button.icon-msg:hover:before{background-position:-268px -76px}.button.icon-photo:before{width:11px;height:11px;background-position:-226px -96px}.button.icon-photo:hover:before{background-position:-226px -108px}.button.icon-reply:before{width:11px;height:12px;background-position:-238px -95px}.button.icon-reply:hover:before{background-position:-238px -108px}.button.icon-go:before{width:8px;height:10px;background-position:-291px -64px}.button.icon-go:hover:before{background-position:-291px -75px}.button.icon-check:before,.pgc-buttons button.icon-check:before{width:13px;height:11px;background-position:-106px -16px}.button.icon-check:hover:before,.button.orange.icon-check:before,.pgc-buttons button.icon-check:hover:before{background-position:-120px -16px}.button.icon-find:before{width:12px;height:13px;background-position:-184px 0}.button.icon-find:hover:before{background-position:-250px -95px}.button.icon-bell:before{width:12px;height:13px;background-position:-211px -49px;margin-top:0}.button.icon-bell:hover:before{background-position:-225px -120px}.button.icon-tag:before{width:10px;height:10px;background-position:-239px 0}.button.icon-tag:hover:before{background-position:-250px 0}.button.icon-clip:before{width:14px;height:16px;background-position:-225px -147px;margin-bottom:-1px}.button.icon-clip:hover:before,.e-form .button.icon-clip:before{background-position:-240px -147px}.button.icon-camera:before{width:16px;height:15px;background-position:-300px -85px}.button.icon-camera:hover:before,.button.orange.icon-camera:before{background-position:-300px -101px}.button.icon-view:before{width:15px;height:11px;background-position:-225px -164px}.button.icon-view:hover:before{background-position:-241px -164px}.button.icon-add:before{width:13px;height:14px;background-position:-268px -116px}.button.icon-add:hover:before{background-position:-282px -116px}.e-price-wrap .button.big.orange,button{border:none;outline:0;height:36px;padding:1px 25px 0;font-family:dindisplay_pro,sans-serif;font-weight:700;font-size:15px;line-height:35px;text-transform:uppercase;text-align:center;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.3);letter-spacing:normal;word-spacing:normal;background:#f60;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ff8000),color-stop(100%,#f60));background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:linear-gradient(to bottom,#ff8000 0,#f60 100%);border-radius:3px;-moz-box-sizing:border-box;box-sizing:border-box}.e-price-wrap .button.big.orange{height:41px;font-size:17px;line-height:40px}.button.orange:hover,.e-price-wrap .button.big.orange:hover,button:hover{background:#ff8000;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fe9150),color-stop(100%,#ff8000));background:-webkit-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-o-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-webkit-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-o-linear-gradient(top,#fe9150 0,#ff8000 100%);background:linear-gradient(to bottom,#fe9150 0,#ff8000 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#fe9150', endColorstr='#ff8000', GradientType=0)}.pw-form button{padding:2px 25px 0;height:46px;line-height:44px}.pw-form button[class*=icon-]{padding:2px 40px 0 30px}.pw-reg .pw-form button{width:265px;cursor:pointer}.pw-reg button[disabled],.pw-reg button[disabled]:hover{background:#666;cursor:default}button[class*=icon-]:before{background:url(../img/sprites.png) no-repeat;margin:-2px 7px 0 0}button.icon-check:before{width:13px;height:11px;background-position:-120px -16px}button.icon-save:before{width:13px;height:14px;background-position:-203px -16px}button.icon-arrow:before{width:8px;height:12px;background-position:-176px 0}.in-search-form,.page-wrap section.layout.search-form .layout-wrap{font-size:14px;line-height:18px;color:#fff;background:url(../img/search-bg.jpg) 100% 100% no-repeat #f60}.page-wrap section.layout.search-form .layout-wrap{font-family:dindisplay_pro,Arial,sans-serif;font-weight:400;height:125px;padding:25px 0 25px 420px;margin-left:-200px;border-radius:0 4px 4px 0;-moz-box-sizing:border-box;box-sizing:border-box}.in-search-form,.sf-field .input-text input[type=text]{font-weight:400;font-family:dindisplay_pro,Arial,sans-serif}.in-search-form{position:relative;height:150px;margin:0 0 15px -40px;padding:30px 0 5px 40px;z-index:3;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box}.in-search-form .s-title,.search-form aside .s-title{font-size:25px;line-height:25px;text-transform:uppercase}.modals .popup-window{display:none}.search-form aside .s-title{white-space:nowrap;margin-right:-20px}.in-search-form .s-title{margin-bottom:15px}.search-form .mcl{padding-right:50px}.search-form-wrap{display:table;width:100%}.search-form-wrap .search-line{display:table-row}.search-form-wrap .search-line .sf-field-wrap{display:table-cell;vertical-align:middle;padding:0 10px 8px 0;color:#ffd9bf;line-height:15px}.search-form-wrap .search-line .sf-field-wrap:first-child{width:48%}.search-form-wrap .search-line .sf-field-wrap+.sf-field-wrap{width:32%}.search-form-wrap .search-line .sf-field-wrap+.sf-field-wrap+.sf-field-wrap{width:20%}.search-line.sl-options a{display:inline-block;color:#fff;text-decoration:none;border-bottom:1px dashed;line-height:13px}.search-line.sl-options a:hover{border-bottom:none}.search-line.sl-options a.sf-clear{position:relative;display:inline-block;vertical-align:middle;border-bottom:none;width:16px;height:0;padding-top:24px;margin:-5px 0 -5px 2px;overflow:hidden}.search-line.sl-options a.sf-clear:before{content:'';display:block;width:6px;height:7px;background:url(../img/sprites.png) -135px -25px no-repeat;position:absolute;left:50%;top:50%;margin:-3px 0 0 -3px}.fancybox-close:before,.mp-photo-gallery .pg-item .pgi-descr .pgi-date b:before,.mp-photo-gallery .re-controls a:before,.mps-sect nav a:after,.online-adviser header b:before,.subscribe-sm ul li a:before,a.more:after{content:' '}.sf-field{position:relative;display:table;width:100%;height:40px;background:#fff;color:#aaa;box-shadow:inset 0 1px 0 #d9d9d9,0 -1px 0 rgba(0,0,0,.2);z-index:1}.sf-field-wrap:first-child .sf-field{border-radius:4px 0 0 4px}.sf-field>*{display:table-cell;vertical-align:middle}.sf-field label{font-size:16px;line-height:20px;font-weight:400;padding:10px 5px 10px 20px;white-space:nowrap}.sf-field .input-text{width:100%;height:100%}.sf-field .input-text input[type=text]{display:block;width:100%;height:100%;background:0 0;border:none;outline:0;padding:10px 10px 10px 0;font-size:16px;line-height:20px;-moz-box-sizing:border-box;box-sizing:border-box}.in-search-form button.modal-approve,.in-search-form button.search_submit,.search-form button.modal-approve,.search-form button.search_submit{display:inline-block;vertical-align:top;height:40px;border:1px solid #fff;outline:0;color:#fff;font-family:dindisplay_pro,Arial,sans-serif;font-weight:700;font-size:15px;line-height:41px;text-transform:uppercase;padding:0 25px;border-radius:0 4px 4px 0;-moz-box-sizing:border-box;box-sizing:border-box;box-shadow:0 1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(0,0,0,.2);-webkit-filter:none;filter:none}button.modal-approve{border-radius:4px!important}.in-search-form button.modal-approve:before,.in-search-form button.search_submit:before,.search-form button.modal-approve:before,.search-form button.search_submit:before{content:' ';display:inline-block;vertical-align:middle;width:15px;height:14px;background:url(../img/sprites.png) -98px 0 no-repeat;margin:-2px 5px 0 -1px}.in-search-form button:hover,.search-form button:hover{position:relative;top:-1px}.sf-autocomplete{position:relative;z-index:3048;height:40px;display:none}.sf-autocomplete.show{display:block}.sf-autocomplete .sfa-wrap{position:absolute;left:0;width:100%;top:0;padding:20px;overflow:hidden;-moz-box-sizing:border-box;box-sizing:border-box;box-shadow:0 0 0 3px rgba(0,0,0,.2);visibility:hidden;background:-webkit-gradient(linear,left top,left bottom,color-stop(10%,#fff),color-stop(100%,#efefef));background:-webkit-linear-gradient(top,#fff 10%,#efefef 100%);background:-o-linear-gradient(top,#fff 10%,#efefef 100%);background:-webkit-linear-gradient(top,#fff 10%,#efefef 100%);background:-o-linear-gradient(top,#fff 10%,#efefef 100%);background:linear-gradient(to bottom,#fff 10%,#efefef 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#efefef', GradientType=0);border-radius:4px 0 4px 4px}.sf-autocomplete .sfa-wrap.show{visibility:visible}.ui-autocomplete{position:relative;width:100%;max-height:265px;overflow-y:auto;overflow-x:hidden;left:0!important;top:0!important;padding:5px 10px 0 0;border-top:1px dotted #ccc;-moz-box-sizing:border-box;box-sizing:border-box}.c-select-box .csb-menu,.custom-select .cs-scroll-container{max-height:230px}.ui-autocomplete-category{font-size:15px;line-height:17px;color:#f60;padding:8px 10px 0 0}.ui-menu .ui-menu-item{padding:0 10px 0 5px;margin-top:2px}.ui-menu .ui-menu-item a{color:#464646;font-size:15px;line-height:15px;border:none;padding:2px 5px;cursor:pointer}.ui-menu .ui-menu-item a.ui-state-active,.ui-menu .ui-menu-item a.ui-state-focus{color:#f60;margin:0}.ui-menu .ui-menu-item a i{font-style:normal;color:#a2a2a2}.in-search-form .modal-clear,.search-form .modal-clear{height:40px;border:1px solid #fff;padding:0 25px;box-shadow:0 1px 0 rgba(0,0,0,.2),inset 0 1px 0 rgba(0,0,0,.2)}.main-page .page-wrap .mp-catalog .layout-wrap{padding:0 10px 30px 230px;margin:0 -10px;box-shadow:0 3px 6px -5px rgba(0,0,0,.4)}.mp-catalog-lists{display:table;table-layout:fixed;width:100%}.mp-catalog-lists .mpc-list{display:table-cell;vertical-align:top;padding-right:40px;width:33.33%;-moz-box-sizing:border-box;box-sizing:border-box}.mp-catalog-lists .mpc-list:first-child{min-width:260px}.mp-catalog-lists .mpc-list header{font-family:dindisplay_pro,Arial,sans-serif;font-weight:100;font-size:28px;line-height:28px;text-transform:uppercase;color:#f60;margin-bottom:10px}.mp-news-list footer,.mp-news-list header,.mp-photo-gallery,.online-adviser header,.s-news-list footer,.s-news-list header,.s-phone .s-callback,.s-phone .s-tel,.subscribe-sm{font-family:dindisplay_pro,sans-serif}.mp-catalog-lists .mpc-list ul{margin:0 0 7px;padding:0;list-style:none;font-size:12px;line-height:15px}.mp-catalog-lists .mpc-list ul li{margin-bottom:4px}.leter-list a,.mp-catalog-lists .mpc-list ul a{color:#464646;text-decoration:none}.mp-catalog-lists .mpc-list ul a span{text-decoration:underline}.mp-catalog-lists .mpc-list ul a i{font-style:normal;color:#aaa}.leter-list a,.mp-catalog-lists .mpc-list ul a,.mp-catalog-lists .mpc-list ul a *{-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s}.leter-list a:hover,.mp-catalog-lists .mpc-list ul a:hover,.mp-catalog-lists .mpc-list ul a:hover *{color:#f60;text-decoration:none}.mp-catalog-lists .mpc-list footer{font-size:11px}a.more:after{display:inline-block;vertical-align:middle;width:6px;height:7px;background:url(../img/sprites.png) -39px -16px no-repeat;margin-left:5px}a.more.blue2{color:#40bbea}a.more.blue2:after{background-position:-249px -52px}.mp-catalog-lists+.abn{display:inline-block;margin-top:25px;overflow:hidden;border-radius:4px}.main-page .online-adviser .oa-wrap,.main-page .s-phone .sp-wrap{border:none;padding-top:0}.s-phone{margin:0 0 15px;padding-left:25px}.s-phone .s-tel{font-weight:500;font-style:normal;font-size:25px;line-height:25px}.s-phone .s-tel em{display:block;font-style:normal;font-weight:400;font-size:17px;line-height:19px;float:left;margin:0 5px 0 -25px;color:#a2a2a2}@-moz-document url-prefix(){.main-page .page-wrap .mp-catalog .layout-wrap{box-shadow:0 3px 5px -5px rgba(0,0,0,.3)}.s-phone .s-tel em{margin-top:1px}}.main-page .s-phone .s-tel em{color:#f60}.s-phone .s-callback{font-weight:400;font-size:10px;text-transform:uppercase;margin-top:-2px}.s-phone .s-callback a{color:#a2a2a2}.s-phone .s-callback a:hover{color:#f60;text-decoration:none}.online-adviser{margin:0 0 15px;padding-left:40px}.main-page .online-adviser{margin-bottom:40px}.online-adviser header{overflow:hidden;font-weight:500;font-size:16px;text-transform:uppercase;padding-left:40px;margin:0 0 8px -40px}.mp-news-list ul,.s-news-list ul,.subscribe-sm ul{padding:0;list-style:none}.online-adviser header a{color:#464646;text-decoration:none}.online-adviser header b{display:block;font-weight:400;font-size:20px;line-height:20px;text-decoration:underline;color:#87c525}.online-adviser header b:before{display:block;width:31px;height:26px;background:url(../img/sprites.png) 0 -33px no-repeat;float:left;margin:0 -100% 0 -40px}.online-adviser header a,.online-adviser header a *{-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s}.online-adviser header a:hover,.online-adviser header a:hover *{color:#f60;text-decoration:none}.online-adviser header a:hover b:before{background-position:-84px -145px}.online-adviser .oa-descr{font-size:11px;line-height:14px;color:#a2a2a2}.subscribe-sm header{font-weight:100;font-size:18px;line-height:18px;text-transform:uppercase;margin-bottom:10px}.subscribe-sm ul{margin:0 -100% 0 0;font-size:10px;line-height:13px}.subscribe-sm ul li{display:inline-block;vertical-align:bottom;margin-left:5px}.subscribe-sm ul li:first-child{margin-left:0}.subscribe-sm ul li a{text-decoration:none}.subscribe-sm ul li a:before{display:block;background:url(../img/sprites.png) no-repeat;margin:0 auto 5px}a.icon-big-email{color:#5e5e5e}.subscribe-sm ul li a.icon-big-email:before{width:30px;height:26px;background-position:-32px -33px}a.icon-big-rss{color:#f60}.subscribe-sm ul li a.icon-big-rss:before{width:25px;height:26px;background-position:-91px -33px}a.icon-big-twitter{color:#00bff3}.subscribe-sm ul li a.icon-big-twitter:before{width:29px;height:25px;background-position:-117px -33px}a.icon-big-ical{color:#ed1c24}.subscribe-sm ul li a.icon-big-ical:before{width:26px;height:29px;background-position:-64px -33px}.mp-news-list header{font-weight:100;font-size:27px;line-height:28px;color:#a2a2a2;margin-bottom:15px}.mp-news-list header a{color:#a2a2a2;text-decoration:none}.mp-news-list header a:hover{color:#f60}.mp-news-list ul{margin:0}.mp-news-list ul li{margin-bottom:20px;overflow:hidden;font-size:12px;line-height:15px}.mp-news-list ul li a{display:block;text-decoration:none;color:#767675}.mp-news-list ul li a:hover{color:#f60}.mp-news-list li a span{display:block}.mp-news-list .nl-pict img{margin-top:11px}.mp-news-list .nl-pict{width:80px;height:80px;overflow:hidden;margin-right:20px;float:left;border-radius:4px;text-align:center;background:#fff;box-shadow:inset 0 1px 0 #e8e8e7}.mp-news-list .nl-body{overflow:hidden}.mp-news-list .nl-text{margin-bottom:5px}.mp-news-list .nl-date{font-size:11px;line-height:13px;color:#f60}.mp-news-list footer a.more{color:#bbb}.mp-news-list footer a.more:after{background-position:-39px -24px}.mp-news-list footer a.more:hover{color:#f60}.mp-news-list footer a.more:hover:after{background-position:-39px -16px}.s-news-list{margin:20px 0}.s-news-list header{font-weight:100;font-size:23px;line-height:25px;color:#a2a2a2;margin-bottom:15px}.s-news-list header a{text-decoration:none;color:#a2a2a2}.s-news-list header a:hover{color:#f60}.s-news-list ul{margin:0}.s-news-list ul li{margin-bottom:15px;overflow:hidden;font-size:12px;line-height:15px}.s-news-list ul li a{display:block;text-decoration:none;color:#767675}.s-news-list ul li a:hover{color:#f60}.s-news-list li a span{display:block}.s-news-list .nl-pict{width:40px;height:40px;overflow:hidden;margin-right:20px}.s-news-list .nl-pict img{width:100%}.s-news-list .nl-body{overflow:hidden}.s-news-list .nl-text{margin-bottom:5px}.s-news-list .nl-date{font-size:11px;line-height:13px;color:#f60}.s-news-list footer a.more{color:#bbb}.s-news-list footer a.more:after{background-position:-39px -24px}.s-news-list footer a.more:hover{color:#f60}.s-news-list footer a.more:hover:after{background-position:-39px -16px}.mp-photo-gallery{margin-left:-220px}.mp-photo-gallery header{font-weight:100;font-size:27px;line-height:28px;color:#a2a2a2;margin-bottom:15px;padding-left:220px}.mp-photo-gallery header .pg-title{width:225px;margin:0 -220px;float:left}.mp-photo-gallery header .pg-title>a{color:#a2a2a2}.mp-photo-gallery header .pg-title>a:hover{color:#f60}.mp-photo-gallery header h2{display:inline-block;font-weight:400;font-size:28px;line-height:28px;margin:0;color:#f60}.mp-photo-gallery header h2 a:hover{color:#464646}.mp-photo-gallery .photo-gallery{position:relative;width:720px;max-width:100%;height:320px;margin:0}.mp-photo-gallery .photo-gallery ul,.mp-photo-gallery li{height:100%;width:100%}.mp-photo-gallery a{display:inline-block;width:100%;text-decoration:none}.mp-photo-gallery li{float:left}.mp-photo-gallery .pg-item{display:inline-block;position:relative;max-width:100%;overflow:hidden;border-radius:4px}.mp-photo-gallery .pg-item .pgi-pict{max-width:100%;text-align:center}.mp-photo-gallery .pg-item .pgi-pict img{margin:0 -50%}.mp-photo-gallery .pg-item .pgi-descr{position:absolute;width:100%;left:0;bottom:0;-moz-box-sizing:border-box;box-sizing:border-box;color:#fff;background:rgba(0,0,0,.6);padding:12px 25px 15px 220px;font-size:14px;line-height:16px;display:none}.lt-ie9 .mp-photo-gallery .pg-item .pgi-descr{background:url(../img/semitransparent-ie8.png)}.mp-photo-gallery li:first-child .pg-item .pgi-descr{display:block}.mp-photo-gallery .pg-item .pgi-descr .pgi-date{width:145px;float:left;margin:0 -145px 0 -180px;font-weight:100;font-size:13px;line-height:16px}.mp-photo-gallery .pg-item .pgi-descr .pgi-date b{display:block;font-weight:500;font-size:15px}.mp-partners .mpp-wrap header,.mp-reviews-wrap .mp-reviews header,.mps-sect header,.popup-window .pw-title{font-weight:100;font-family:dindisplay_pro,sans-serif}.mp-partners .mpp-wrap header,.mps-sect header{font-size:27px}.mp-photo-gallery .pg-item .pgi-descr .pgi-date b:before{display:block;width:12px;height:14px;background:url(../img/sprites.png) -85px 0 no-repeat;float:left;margin:2px -12px -14px -16px}.mp-photo-gallery .re-controls{display:none}.mp-photo-gallery .re-controls.enabled{display:block}.mp-photo-gallery .re-controls a{display:block;width:71px;height:0;padding-top:71px;overflow:hidden;position:absolute;top:50%;margin-top:-55px}.mp-photo-gallery .re-controls a:before{display:block;width:31px;height:62px;background:url(../img/sprites.png) 0 -63px no-repeat;position:absolute;left:50%;top:50%;margin:-31px 0 0 -15px}.mp-photo-gallery .re-controls a.prev{left:0}.mp-photo-gallery .re-controls a.prev:before{background-position:0 -63px}.mp-photo-gallery .re-controls a.next{right:0}.mp-photo-gallery .re-controls a.next:before{background-position:-32px -63px}.mp-photo-gallery .re-controls a.next.disabled,.mp-photo-gallery .re-controls a.prev.disabled{display:none}.mp-partners .layout-wrap{padding-left:200px;margin-left:-200px}.mp-partners .mpp-wrap{margin-left:-200px;padding:10px 0 12px 420px;line-height:71px;background:#fff;border-radius:0 4px 4px 0;box-shadow:0 -1px 0 #f0f0f0}.mp-partners .mpp-wrap header{display:block;float:left;width:220px;margin:0 -220px;color:#a2a2a2}.mp-partners .mpp-wrap ul{margin:0 0 0 -20px;padding:0;list-style:none}.mp-partners .mpp-wrap li{display:inline-block;vertical-align:middle;margin-left:20px}.mps-sect header{line-height:28px;color:#f60;margin-bottom:10px}.mps-sect nav ul{margin:0 -20px 0 -10px;text-transform:none}.mps-sect nav ul li{margin-bottom:2px}.mps-sect nav a{display:inline-block;font-size:14px;line-height:17px;text-decoration:underline;color:#464646;padding:2px 15px 2px 9px;border-color:transparent}.mps-sect nav a:hover{text-decoration:none;color:#f60;border-color:transparent}.mps-sect nav a:after{display:inline-block;vertical-align:middle;width:5px;height:8px;background:url(../img/sprites.png) -86px -16px no-repeat;margin:-1px -12px 0 7px;visibility:hidden}.mps-sect nav a:hover:after{visibility:visible}.hidden,.invisible{visibility:hidden}.mp-reviews-wrap .mp-reviews{width:65.9%;float:left;-moz-box-sizing:border-box;box-sizing:border-box}.mp-reviews-wrap .mp-reviews header{font-size:27px;line-height:28px;color:#a2a2a2;display:table;width:100%;margin-bottom:10px}.mp-reviews-wrap .mp-reviews ul,.popup-window{line-height:17px;font-family:dindisplay_pro,sans-serif}.mp-reviews-wrap .mp-reviews header>*{display:table-cell;width:50%}.mp-reviews-wrap .mp-reviews header .mpr-title a{color:#a2a2a2;text-decoration:none}.mp-reviews-wrap .mp-reviews header .mpr-title a:hover{color:#f60}.mp-reviews-wrap .mp-reviews header .more-link{font-size:13px}.mp-reviews-wrap .mp-reviews ul{margin:0;padding:0;list-style:none;display:table;width:100%;font-size:14px}.mp-reviews-wrap .mp-reviews ul>li{display:table-cell;width:50%;padding-right:35px}.mp-reviews-wrap .mp-reviews li a{display:block;width:220px;color:#464646;text-decoration:none}.mp-reviews-wrap .mp-reviews li a:hover{color:#f60}.mp-reviews-wrap .mp-reviews li .mpr-pict{display:block;overflow:hidden;margin-bottom:7px;border-radius:4px}.mp-reviews-wrap .sbnr{width:33.33%;float:right;padding-top:43px}.mp-reviews-wrap .sbnr .sbnr-wrap{display:inline-block;border:1px solid #e3e3e3}.popups-wrap{position:absolute;left:-20000em;top:-20000em;width:100%;height:1px;overflow:hidden}.fancybox-skin{background:#f8f8f6}.fancybox-close{top:5px;right:5px;width:36px;height:36px;cursor:pointer;z-index:8040;background:0 0}.fancybox-close:before{display:block;width:10px;height:10px;background:url(../img/sprites.png) -133px 0 no-repeat;position:absolute;left:50%;top:50%;margin:-5px 0 0 -5px}.fancybox-close:hover:before{background-position:-144px 0}.popup-window{width:640px;font-size:15px;padding:35px 50px 30px;-moz-box-sizing:border-box;box-sizing:border-box}.popup-window.pw-period{width:530px}.popup-window header{padding-bottom:20px}.popup-window.pw-period header{padding-bottom:30px}.popup-window .pw-title{font-size:35px;line-height:35px;color:#f60}.popup-window footer{border-top:1px dotted #ccc;margin-top:25px;padding-top:25px}.popup-window footer .soc-med-login{display:table}.popup-window footer .soc-med-login>div{display:table-cell;vertical-align:top;line-height:30px}.popup-window footer .soc-med-login .sm-label{font-style:italic;padding-right:15px}.popup-window footer .soc-med-login .sm-body ul{margin:0;padding:0;list-style:none}.popup-window footer .soc-med-login .sm-body ul li{display:inline-block;margin-left:5px}.pw-form .pwf-line{margin-bottom:15px;display:table}#expo_b_popup_2 .pw-form .pwf-line{margin:0 auto 15px}.pw-form .pwf-line.subj-checks{margin-bottom:25px}.pw-form .pwf-line.period{margin-top:25px}.pw-form .pwf-buttons-line{margin-top:30px;display:block}.pw-form .pwf-buttons-line>div,.pw-form .pwf-line>div{display:inline-block;vertical-align:middle;width:auto}.pwf-line>label+div.pwf-field{display:block}.pw-form .pwf-field{padding-right:20px;vertical-align:top;width:310px}.pw-reg .pw-form .pwf-field{width:265px}.pw-form .pwf-field+.pwf-field{padding-right:0}.epf-field{position:relative}.custom-select .custom-select-wrap,.editor-wrap,input[type=email],input[type=password],input[type=text],textarea{border:1px solid #bdbdbd;outline:0;background:#fff;width:100%;height:40px;padding:0 6px;font-family:dindisplay_pro,sans-serif;font-size:15px;border-radius:3px;box-shadow:inset 0 2px 2px -2px #aaa;-moz-box-sizing:border-box;box-sizing:border-box}html[data-useragent*='Trident/7.0'] input[type=password],html[data-useragent*='Trident/7.0'] input[type=text],html[data-useragent*='Trident/7.0'] textarea{padding:0 5px 0 20px}input[type=password]:focus,input[type=text]:focus,textarea:focus{border:2px solid #f60;padding:0 5px}textarea{height:146px;padding:5px;line-height:20px;resize:none}.editor-wrap{height:auto;padding:0;line-height:normal;overflow:hidden}.editor-wrap textarea{border:none;padding:5px;box-shadow:none}textarea:focus{padding:4px}.p-form textarea{height:176px;resize:vertical}.p-form .mf-photos-list textarea{height:146px;resize:none}.pw-form input[type=email],.pw-form input[type=password],.pw-form input[type=text]{height:40px}.pw-period .pw-form .pwf-field+.pwf-field{padding-left:10px}.mf-field .period .pwf-field{display:inline-block;padding-left:30px;font-size:17px;line-height:40px}.period .pwf-field label{font-size:20px;margin:0 5px 0 -15px}.mf-field .period .pwf-field label{font-size:17px}.period input[type=text].date{width:175px;padding-right:35px;background:url(../img/select.png) 100% 50% no-repeat #fff}.period input[type=text].date+button{position:absolute;width:36px;padding:0;overflow:hidden;margin-left:-37px;-moz-box-sizing:border-box;box-sizing:border-box;opacity:0}.period input[type=text].date+button:hover{top:auto}.lt-ie9 .period input[type=text].date+button{-ms-filter:alpha(opacity=0);filter:alpha(opacity=0)}::-webkit-input-placeholder{color:#a2a2a2}:-moz-placeholder{color:#a2a2a2}::-moz-placeholder{color:#676767}:-ms-input-placeholder{color:#a2a2a2}.placeholder{color:#a2a2a2}label.check{display:inline-block;font-size:13px;line-height:15px;padding-left:27px;word-spacing:normal;cursor:pointer;-moz-box-sizing:border-box;box-sizing:border-box}label.check input{opacity:0;outline:0}.lt-ie9 label.check input{-ms-filter:alpha(opacity=0);filter:alpha(opacity=0)}.lt-ie9 .custom-select select,.lt-ie9 .input-file .if-field-wrap input[type=file]{filter:alpha(opacity=0)}.check .custom-checkbox,.check .custom-radio{position:relative;display:block;width:20px;height:20px;margin:-3px -100% 0 -27px;float:left;background:#fff;border:1px solid #bdbdbd;border-radius:3px;box-shadow:inset 0 2px 2px -2px #aaa;-moz-box-sizing:border-box;box-sizing:border-box}.check .custom-checkbox:before,.check .custom-radio:before{content:' ';display:none;position:absolute;left:50%;top:50%;margin:-5px 0 0 -5px}.check .custom-radio{width:22px;height:22px;border-radius:20px}.check .custom-checkbox:before{width:11px;height:9px;background:url(../img/sprites.png) -93px -16px no-repeat}.check .custom-radio:before{width:10px;height:10px;background:#f60;border-radius:10px}.custom-select,.custom-select select{position:relative}.check .custom-checkbox.checked:before,.check .custom-radio.checked:before{display:block}.custom-select{display:block;text-align:left;line-height:18px;height:40px;-moz-box-sizing:border-box;box-sizing:border-box}.pw-form .custom-select{width:100%;height:40px}.e-form .custom-select{width:200px;height:26px}.custom-select select{width:100%;padding-right:30px;height:40px;opacity:0;z-index:0;cursor:pointer;-moz-box-sizing:border-box;box-sizing:border-box}.c-select-box,.custom-select .cs-menu-wrap{background:#fff}.custom-select select[disabled]{cursor:default}.pw-form .custom-select select{height:40px}.custom-select option{padding:2px 10px}.custom-select .custom-select-wrap{display:block;position:absolute;overflow:hidden;left:0;right:0;top:0;z-index:1;padding-top:1px;padding-right:30px;cursor:pointer}.custom-select select[disabled]+.custom-select-wrap{cursor:default}.pw-form .custom-select .custom-select-wrap{line-height:47px;height:40px}.e-form .custom-select .custom-select-wrap{line-height:26px;height:26px;padding-left:7px}.custom-select .custom-select-wrap:after{content:" ";display:block;width:8px;height:5px;overflow:hidden;background:url(../img/sprites.png) -86px -27px no-repeat;position:absolute;right:12px;top:50%;margin-top:-3px}.e-form .custom-select .custom-select-wrap:after{margin-top:-2px}.custom-select .custom-select-text{display:block;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:39px}.pw-form .custom-select .custom-select-text{line-height:39px}.e-form .custom-select .custom-select-text{line-height:25px}.custom-select select:focus+.custom-select-wrap{border:2px solid #f60;padding:0 29px 0 19px}.custom-select select:focus+.custom-select-wrap:after{right:11px}.custom-select .cs-menu-wrap{position:absolute;min-width:100%;left:0;top:100%;margin-top:-1px;white-space:nowrap;z-index:50;padding:5px;border:1px solid #ccc;-moz-box-sizing:border-box;box-sizing:border-box;display:none}.custom-select .scroll-content{padding:5px 18px}.custom-select .scroll-content ul{margin:0;padding:0;list-style:none;font-size:15px;line-height:19px}.custom-select .scroll-content ul li{margin-top:2px;cursor:pointer}.custom-select .scroll-content ul li:first-child{margin-top:0}.custom-select .scroll-content ul li:hover{color:#f60}.input-file{display:block;position:relative}.e-form .input-file{color:#fff;cursor:pointer}.mf-line .input-file{vertical-align:middle}.e-form .input-file .button{float:left;margin-right:10px}.mf-line .input-file .button{float:left;margin-right:20px}.input-file .file-text{display:block;overflow:hidden;height:26px;line-height:26px;text-overflow:ellipsis;font-size:15px;white-space:nowrap}.mf-line .input-file .file-text{font-size:17px;line-height:35px}.mf-line .input-file .file-text.placehlder{color:#aeaeae}.input-file .if-field-wrap{position:absolute;left:0;right:0;top:0;bottom:0;overflow:hidden}.input-file .if-field-wrap input[type=file]{position:absolute;left:0;top:0;width:100%;height:100%;letter-spacing:10em;-ms-transform:scale(20);-webkit-transform:scale(20);-o-transform:scale(20);transform:scale(20);font-size:200em;opacity:0;cursor:pointer}form{font-family:dindisplay_pro,sans-serif}form.s-message{padding-left:20px}.s-message .mf-line{padding-left:120px;margin:20px 0 10px}.s-message .mf-line label{margin:5px -120px;float:left;font-size:20px;color:#f60}.s-message .mf-buttons-line{padding-left:120px;margin-top:10px}.s-message .mf-buttons-line a{margin-left:25px;font-size:15px}.pwf-msg .msg-help{color:#f60;padding-left:20px;display:none;max-width:234px}.pw-login a.forgot{font-size:14px;color:#464646}.pw-login .pw-form .pwf-field{width:310px}.pw-login a.forgot:hover{color:#f60}.pw-login button{margin-right:20px}.pw-login a.reg{font-weight:500;font-size:16px}.mf-line.afs-type>.mf-field label.check,.pwf-line.subj-checks>.pwf-field label.check{padding-right:0;width:20%}.pwf-line.subj-checks>.pwf-field label.check{font-size:17px}.c-select-box{position:relative;border:1px solid #bdbdbd;outline:0;width:100%;padding:3px;font-family:dindisplay_pro,sans-serif;font-size:15px;line-height:19px;border-radius:3px;box-shadow:inset 0 2px 2px -2px #aaa;-moz-box-sizing:border-box;box-sizing:border-box}.c-select-box.select{padding-bottom:0;min-height:40px}.e-form .c-select-box.select{min-height:26px;padding:0 1px}.c-select-box .csb-title{padding:0 35px 0 0;height:40px;font-size:16px;line-height:40px;border-bottom:1px dotted #cdcdcd;color:#a2a2a2;background:#fff;margin-bottom:3px}.c-select-box .csb-title input{border:none;padding:0 0 0 18px;height:35px;box-shadow:none}.c-select-box .csb-selected-items{display:none;border-bottom:1px dotted #cdcdcd;padding:2px 0;margin-bottom:3px;min-height:30px;line-height:24px}.e-form .c-select-box .csb-selected-items{min-height:18px;line-height:18px;padding:1px 0;margin-bottom:2px}.c-select-box .csb-selected-items.show{display:block}.c-select-box.select .csb-selected-items{display:block;border:none;padding-right:30px;margin-bottom:0;cursor:pointer}.c-select-box.select.disabled .csb-selected-items{cursor:default}.c-select-box.select .csb-selected-items:after{content:" ";display:block;width:8px;height:5px;overflow:hidden;background:url(../img/sprites.png) -86px -27px no-repeat;position:absolute;right:12px;top:20px;margin-top:-3px}.e-form .c-select-box.select .csb-selected-items:after{top:15px}.c-select-box .csb-selected-items .csb-placeholder{display:none;min-height:28px;line-height:28px;padding-left:18px;color:#aeaeae}.c-select-box .csb-selected-items .csb-placeholder.show{display:block}.c-select-box .csb-selected{position:relative;display:none;vertical-align:top;min-height:26px;line-height:25px;color:#f60;white-space:nowrap;margin:0 3px 3px 0;border:1px solid #f60;padding-right:25px;border-radius:3px}.e-form .c-select-box .csb-selected{min-height:16px;margin:0 2px 1px 0}.c-select-box .csb-selected.show{display:inline-block}.c-select-box .csb-selected>*{display:inline-block;vertical-align:middle}.c-select-box .csb-selected .csbs-text{padding-left:15px;line-height:18px;font-size:16px;white-space:normal}.c-select-box .csb-selected a.csbs-del:hover{text-shadow:0 1px 1px rgba(0,0,0,.3)}.c-select-box .csb-selected a.csbs-del{display:block;position:absolute;right:0;top:0;width:25px;overflow:hidden;height:18px;line-height:25px;text-align:right;padding-right:10px;text-decoration:none;font-family:Verdana,sans-serif}.cl-item header,.cli-info .cli-bot,.cli-photo-gallery .pg-title,.page-title h1,.page-title h2,.pagination .pg-body,.popup-gallery .pg-info,.so-text h2,.ui-datepicker{font-family:dindisplay_pro,sans-serif}.e-form .c-select-box .csb-selected a.csbs-del{padding-top:20px}.popup-window .c-select-box.select .csb-menu{max-height:145px}.c-select-box.select .csb-menu-wrap{position:absolute;left:-1px;right:-1px;top:100%;margin-top:-3px;background:#fff;z-index:50;padding:5px;border:1px solid #ccc;-moz-box-sizing:border-box;box-sizing:border-box;display:none}.e-form .c-select-box.select .csb-menu-wrap{margin-top:0}.c-select-box.places .csb-menu{height:245px}.c-select-box .csb-menu .scroll-content{padding:5px 10px}.c-select-box .csb-menu ul{margin:0;padding:0;list-style:none}.c-select-box .csb-menu ul li{margin-bottom:4px}.c-select-box .csb-menu a,.c-select-box .csb-menu label{cursor:pointer;color:#464646;position:relative;margin-left:12px}.c-select-box .csb-menu label.active{color:#a2a2a2}.c-select-box .csb-menu .places-list>ul>li.active>a,.c-select-box .csb-menu .places-list>ul>li.active>label,.c-select-box .csb-menu a:hover,.c-select-box .csb-menu label:hover{color:#f60}.c-select-box .csb-menu label input[type=checkbox]{opacity:0;outline:0;position:absolute;z-index:-1}.lt-ie9 .c-select-box .csb-menu label input[type=checkbox]{-ms-filter:alpha(opacity=0);filter:alpha(opacity=0)}.c-select-box .csb-menu .places-list{width:260px;float:left}.c-select-box .csb-menu .places-list>ul>li>a{display:inline-block;border-bottom:1px dashed;text-decoration:none;font-size:17px;line-height:15px}.c-select-box .csb-menu .places-list>ul ul{margin:5px 0 0 16px;font-size:16px}.places-list .final-tire{margin-left:16px}.places-list .final-tire .custom-radio-check{padding-left:12px}.c-select-box .csb-menu .places-list>ul>li{margin-bottom:15px}.c-select-box .csb-menu .places-list .active>.sublist{display:block}.c-select-box .csb-menu .places-list .sublist{display:none}.c-select-box .csb-menu .places-list .sublist.parent{display:block}.c-select-box .csb-menu .q-sel{width:190px;float:right}.tabs li,.ui-datepicker-prev{float:left}.c-select-box .csb-menu .q-sel .q-sel-title{font-size:14px;color:#a2a2a2;margin-bottom:3px}.c-select-box .csb-menu .q-sel .q-sel-title+ul{margin-bottom:10px}.c-select-box .csb-menu .q-sel a.clear{display:inline-block;font-size:14px;line-height:12px;text-decoration:none;border-bottom:1px dashed;color:#a2a2a2;margin-left:0}.c-select-box .csb-menu .q-sel a.clear:hover,.ui-datepicker th.ui-datepicker-week-end{color:#f60}.mCSB_scrollTools .mCSB_draggerRail{width:10px;background:#dbdbdb;border:1px solid #ccc;-moz-box-sizing:border-box;box-sizing:border-box}.mCSB_scrollTools .mCSB_dragger{-moz-box-sizing:border-box;box-sizing:border-box}.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{width:8px;border:solid #dbdbdb;border-width:2px 1px;-moz-box-sizing:border-box;box-sizing:border-box}.tabs li,.tabs li a{display:block}.mCSB_horizontal.mCustomScrollBox>.mCSB_scrollTools{left:20px;right:20px;bottom:5px;width:auto;height:20px}.mCSB_horizontal>.mCSB_scrollTools .mCSB_draggerRail{width:100%;height:12px;background:#dbdbdb}.mCSB_horizontal>.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{height:10px;margin:8px auto;border-width:2px 3px}.pw-subscribe header{margin:-5px 0 20px;padding:0;border-bottom:1px dotted #ccc}.pw-subscribe header .pw-title{float:left;padding:5px 20px 0 0}.tabs{position:relative;margin:0 0 -1px;padding:0;list-style:none;z-index:2}.pw-subscribe header .tabs{margin:0 0 -1px;overflow:hidden}.tabs li{height:51px;-moz-box-sizing:border-box;box-sizing:border-box;opacity:.2;border:dotted transparent;border-width:1px 1px 0;margin-left:5px}.tabs li:hover{opacity:1}.tabs li.active{border:dotted #ccc;border-width:1px 1px 0;background:#fcfcfb;opacity:1}.popup-window .tabs li.active{background:#f8f8f6}.tabs li a{position:relative;height:50px;padding:12px;overflow:hidden;text-decoration:none;-moz-box-sizing:border-box;box-sizing:border-box;font-size:15px}.popup-window .tabs li a{width:54px}.tabs li a:before{content:'';display:inline-block;vertical-align:middle;background:url(../img/sprites.png) no-repeat;margin:0 7px 3px 0}.popup-window .tabs li a:before{display:block;margin:0 auto 50px}.tabs li a.icon-big-email:before{width:30px;height:26px;background-position:-32px -33px}.tabs li a.icon-big-rss:before{width:25px;height:26px;background-position:-91px -33px}.tabs li a.icon-big-twitter:before{width:29px;height:25px;background-position:-117px -33px}.tabs li a.icon-big-ical:before{width:26px;height:29px;background-position:-64px -33px}.tabs-content{margin:0;padding:0;list-style:none}.tabs+.tabs-content{position:relative;border-top:1px dotted #ccc;z-index:1;padding-top:20px}.tabs-content>li{display:none}.tabs-content>li.active{display:block}.pw-subscribe .pw-form .pwf-field{width:370px}.pw-subscribe .mail{margin-bottom:25px}.ui-datepicker{display:none;width:200px;height:auto;padding:10px;font-size:13px;border:1px solid #bdbdbd;background:#fff;border-radius:4px;line-height:13px;box-shadow:0 0 10px 0 rgba(0,0,0,.5)}.ui-datepicker a{text-decoration:none}.ui-datepicker table{width:100%}.ui-datepicker-header{font-weight:500;text-transform:uppercase;border-bottom:1px dotted #bdbdbd;padding-bottom:6px;margin-bottom:6px;font-size:21px;line-height:33px}.ui-datepicker-title{text-align:center;font-weight:100;color:#f60}.ui-datepicker-next,.ui-datepicker-prev{position:relative;display:inline-block;width:31px;height:0;padding-top:31px;cursor:pointer;border:1px solid #bdbdbd;border-radius:3px;overflow:hidden}.ui-datepicker-next:hover,.ui-datepicker-prev:hover{border-color:#f60;background:#f60}.ui-datepicker-next.ui-state-disabled,.ui-datepicker-prev.ui-state-disabled{border-color:#bdbdbd;background:0 0;opacity:.5}.ui-datepicker-next:before,.ui-datepicker-prev:before{content:' ';display:block;width:10px;height:12px;background:url(../img/sprites.png) -155px 0 no-repeat;position:absolute;left:50%;top:50%;margin:-6px 0 0 -5px}.ui-datepicker-prev.ui-state-disabled:hover:before,.ui-datepicker-prev:before{background-position:-155px 0;margin-left:-6px}.ui-datepicker-prev:hover:before{background-position:-113px 0}.ui-datepicker-next{float:right}.ui-datepicker-next.ui-state-disabled:hover:before,.ui-datepicker-next:before{background-position:-165px 0;margin-left:-4px}.ui-datepicker-next:hover:before{background-position:-123px 0}.ui-datepicker th{text-transform:uppercase;font-weight:500;padding:0 0 4px}.ui-datepicker tbody td{padding:2px 0;text-align:center}.ui-datepicker td a,.ui-datepicker td span{display:inline-block;width:24px;height:24px;line-height:24px;text-align:center;border:1px solid #e2e2e2;border-radius:3px;color:#e2e2e2}.ui-datepicker td a{color:#2b2b2b;border-color:#bdbdbd}.ui-datepicker td.ui-datepicker-week-end a{color:#f60;border-color:#f60}.ui-datepicker td a:hover{background:#f0f0f0}.ui-datepicker td.ui-datepicker-today a{background:#565656;border-color:#565656;color:#fff}.ui-datepicker td a.ui-state-active{background:#f60;border-color:#f60;color:#fff}.pw-reply .pw-form .pwf-line{width:100%}.pw-reply .pw-form .pwf-line .pwf-field{display:block;padding-right:0;width:auto}.pwf-line>label{display:block;margin:-5px 0 5px}.pw-reply .pw-form .pwf-line label{font-size:20px;display:block;margin-bottom:10px}.bread-crumbs a:after,.layout-wrap>aside .sbnr .sbnr-wrap,.pagination .pg-body li{display:inline-block}.pw-reply .pw-form .pwf-buttons-line{margin-top:0}.layout-wrap>aside .sbnr{margin:25px 0}.layout-wrap>aside .vk-widget{width:180px;margin:30px 0}.main-part .abn{margin:20px 0;text-align:center}.main-page .abn{margin-bottom:0}.so-text{margin:20px 0;font-size:12px;line-height:15px}.so-text h2{font-weight:100;font-size:30px;line-height:30px;margin:15px 0;color:#f60}.bread-crumbs{margin:17px 0;font-size:11px;line-height:13px}.bread-crumbs a{color:#a2a2a2;margin-right:3px}.bread-crumbs a:hover{color:#f60}.bread-crumbs a:after{content:'→';color:#a2a2a2;margin-left:7px;text-decoration:none}.bread-crumbs b,.bread-crumbs strong{font-weight:400}.page-title{margin:17px 0}.page-title h1,.page-title h2{font-weight:100;font-size:40px;line-height:40px;margin:0;color:#f60}.page-title h1 strong,.page-title h2 strong{font-weight:400;color:#464646}.page-title.clearfix h1,.page-title.clearfix h2{float:left}.p-filter{font-size:12px;color:#a2a2a2;margin:17px 0}.page-title+.p-filter{margin-top:-10px}.p-filter .pf-body{width:100%;float:left;padding:0 280px 0 55px;-moz-box-sizing:border-box;box-sizing:border-box}.p-filter .pf-body .pf-label{width:55px;float:left;margin:0 -55px}.p-filter .pf-body a{color:#464646;white-space:nowrap}.p-filter .pf-body a:hover{color:#f60}.p-filter .ch-dates-range{width:260px;float:right;margin-left:-260px}.p-filter .ch-dates-range a{text-decoration:none;border-bottom:1px dashed;-webkit-transition:border .3s;-o-transition:border .3s;transition:border .3s}.p-filter .ch-dates-range a:hover{border-bottom:none}.page-body{margin:15px 0 0 -20px}.pagination{margin:25px 0 40px}.pagination .pg-info{float:right;padding-right:20px;font-size:12px;line-height:29px}.pagination .pg-info i{font-style:normal;color:#a2a2a2}.pagination .pg-body{overflow:hidden}.pagination .pg-body ul{margin:0;padding:0;list-style:none;display:inline-block;vertical-align:middle}.pagination .pg-body li a,.pagination .pg-body li b,.pagination .pg-body>a{height:29px;line-height:29px;margin-right:1px;text-decoration:none}.pagination .pg-body li a,.pagination .pg-body li b{display:block;min-width:29px;padding:0 5px;font-weight:700;font-size:16px;text-align:center;border:1px solid #fcaf7b;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:1px}.pagination .pg-body li b{border-color:#f60;background:#f60;color:#fff}.pagination .pg-body>a{display:inline-block;vertical-align:middle;padding:0 7px;font-weight:500;font-size:17px;border:1px solid #fcaf7b;-moz-box-sizing:border-box;box-sizing:border-box}.pagination .pg-body a.pg-prev{border-radius:4px 0 0 4px}.pagination .pg-body a.pg-next{border-radius:0 4px 4px 0}.pagination .pg-body a.pg-next:after,.pagination .pg-body a.pg-prev:before{content:' ';display:inline-block;vertical-align:middle;width:5px;height:8px;background:url(../img/sprites.png) -143px -16px no-repeat;margin-top:-1px}.pagination .pg-body a.pg-prev:before{background-position:-143px -16px;margin-right:7px}.pagination .pg-body a.pg-next:after{background-position:-148px -16px;margin-left:7px}.pagination .pg-body a:hover{background:#fcaf7b;color:#fff}.pagination .pg-body a.pg-prev:hover:before{background-position:-143px -24px}.pagination .pg-body a.pg-next:hover:after{background-position:-148px -24px;margin-left:7px}.pagination .pg-body>a.disabled{border-color:#cdcdcc;background:0 0;color:#babab9;cursor:default;width:29px;overflow:hidden;padding:27px 0 0;position:relative}.pagination .pg-body a.pg-next.disabled:after,.pagination .pg-body a.pg-prev.disabled:before{position:absolute;left:50%;top:50%;margin:-4px 0 0 -3px}.pagination .pg-body a.pg-prev.disabled:before,.pagination .pg-body a.pg-prev.disabled:hover:before{background-position:-153px -16px}.pagination .pg-body a.pg-next.disabled:after,.pagination .pg-body a.pg-next.disabled:hover:after{background-position:-158px -16px}.cat-list{margin:0;padding:0;list-style:none}.cat-list>li.ad{overflow:hidden;margin-bottom:20px}.cat-list>.cl-item,.m-article{position:relative;padding:17px 20px 15px;margin-bottom:20px;background:#fcfcfb;box-shadow:inset 0 1px 0 #e8e8e7;border-radius:4px;-webkit-transition:background .3s;-o-transition:background .3s;transition:background .3s}.cancel,.cancel:after,.hit{position:absolute;left:0;top:0;display:block}.m-article .cat-list>.cl-item{margin-bottom:15px}.cat-list>li.cl-item:hover{background:#fff;box-shadow:0 3px 5px -3px #888}.hit{width:81px;height:81px;background:url(../img/sprites.png) -63px -63px no-repeat;z-index:2}.cancel{width:100%;bottom:0;background:rgba(255,255,255,.75);z-index:20}.lt-ie9 .cancel{background:#fff;-ms-filter:alpha(opacity=75);filter:alpha(opacity=75)}.cancel:after{content:' ';width:81px;height:81px;background:url(../img/sprites.png) -144px -63px no-repeat;z-index:21}.cl-item .cl-item-wrap{padding-left:120px;margin-bottom:10px}.cl-photos .cl-item .cl-item-wrap,.e-cat .cl-item .cl-item-wrap{padding-left:90px;margin-bottom:0}.m-article .cl-item .cl-item-wrap{padding-left:100px;margin-bottom:0}.m-article .expo-place-events .cl-item .cl-item-wrap{margin-bottom:10px}.expo-place-events .cat-list>li>footer{padding-left:100px}.expo-place-events .sect-title .button{float:right}.m-article .expo-place-events .sect-title a.orange{color:#f60}.cl-item .cl-item-wrap>a{color:#464646;text-decoration:none}.cli-pict,.i-pict{width:100px;line-height:96px;text-align:center;background:#fff;margin:3px -100% 0 -120px;float:left;box-shadow:inset 0 1px 0 #e8e8e7;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box}.i-pict{margin:0 0 10px;position:relative}.i-pict .user-avatar{display:block;width:100%;height:100%}.cl-photos .cli-pict,.e-cat .cli-pict{width:70px;height:70px;line-height:60px;padding:4px;margin-left:-90px}.m-article .cl-item .cli-pict{width:80px;height:80px;line-height:70px;padding:5px;margin-left:-100px}.cat-list li.cl-item:hover .cli-pict{box-shadow:none}.cli-pict img,.i-pict img{max-width:100%;max-height:100%;border-radius:4px}.cli-info{width:100%;float:left;margin-bottom:15px}.e-cat .cli-info{margin-bottom:0}.cat-list.cl-places .cli-info{margin-bottom:7px}.cli-info .cli-top{margin-bottom:10px}.cat-list.cl-places .cli-info .cli-top{margin-bottom:7px}.cl-item .cli-approved{float:right;margin-left:10px;opacity:.25;-webkit-transition:opacity .3s;-o-transition:opacity .3s;transition:opacity .3s;margin-right:10px}.cli-approved img{width:26px;height:auto}.cat-list li.cl-item:hover .cli-approved,.cat-list>li.cl-item.canceled .cli-approved{opacity:1}.cl-item .cli-status{float:right;font-size:11px;line-height:13px;color:#a2a2a2}.cl-item .cli-status .status{height:13px;overflow:hidden}.cl-item .cli-status .status.active{width:13px}.cl-item .cli-status .status:before{content:' ';display:inline-block;width:13px;height:13px;background:url(../img/sprites.png) -211px -32px no-repeat;margin:0 3px -2px 0}.cli-photo-list .cli-phg-bot .cli-pb-button{background-position:-345px -32px}.cl-item .cli-status .status.moderated:before{background-position:-211px -160px}.cl-item .cli-status .status.draft:before{content:none}.cl-item .cli-status b{display:inline-block;font-size:16px;font-weight:400;padding-top:5px}.cl-item .cli-status b:before{content:' ';display:inline-block;vertical-align:middle;width:16px;height:15px;background:url(../img/sprites.png) -171px -16px no-repeat;margin:-2px 5px 0 0}.cl-item .cli-status b.participant{color:#f60}.cl-item .cli-status b.visitor{color:#464646}.cl-item .cli-status b.visitor:before{width:14px;background-position:-188px -16px;margin-top:-2px}.cl-item header{margin-bottom:2px}.cl-item header .cli-title{display:inline-block;vertical-align:top;font-size:30px;line-height:30px;margin:0 6px 0 0;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s;max-width:490px}.cl-item header .cli-title a{color:#464646;text-decoration:none}.cat-list li.cl-item:hover header .cli-title,.cl-item header .cli-title a:hover{color:#f60}.cat-list>li.cl-item.canceled header .cli-title{text-decoration:line-through;color:#464646}.cli-info .cli-bot .cli-area a,.cli-info .cli-bot .cli-position a,.cli-place a,.cli-services-sm a,.i-info .i-address a.toggle-map,.i-info .i-area a,.i-info .i-position a,dl.add-info dd a,dl.add-info dd a:hover{text-decoration:none}.cl-item header .cli-rate{display:inline-block;vertical-align:top;color:#f60;font-size:16px;margin-top:2px}.cl-item header .cli-rate:before{content:' ';display:inline-block;vertical-align:baseline;width:14px;height:13px;margin:0 4px -1px 0;background:url(../img/sprites.png) -181px -32px no-repeat;opacity:.5}.cli-info .cli-bot .cli-dim:before,.cli-place:before{height:16px;content:' '}.cli-descr{font-size:12px;line-height:15px;color:#a2a2a2}.cli-info .cli-bot{font-size:15px;line-height:19px}.cli-info .cli-bot .cli-area,.cli-info .cli-bot .cli-date{font-size:17px;line-height:18px;float:left}.cli-info .cli-bot .cli-area{font-weight:500;color:#f60}.cli-info .cli-bot .cli-area a:hover{color:#464646}.cli-info .cli-bot .cli-position{font-size:20px;line-height:21px;font-weight:500;color:#f60;float:left}.cli-info .cli-bot .cli-position a{color:#f60}.cli-info .cli-bot .cli-position a:hover,.cli-place a{color:#464646}.cli-info .cli-bot .cli-dim{font-size:16px;line-height:18px;font-weight:700;float:left}.cli-info .cli-bot .cli-dim:before{display:inline-block;width:16px;background:url(../img/sprites.png) -242px -16px no-repeat;vertical-align:middle;margin:-4px 4px 0 0}.cli-place{float:right;padding-left:15px}.cli-place:before{display:block;width:10px;background:url(../img/sprites.png) -217px -16px no-repeat;float:left;margin:1px -10px 0 -15px}.cli-place a:hover{color:#f60}.cli-buttons{position:relative;width:100%;float:left}.cli-m-buttons{float:left}.cli-m-buttons>*{margin-left:5px}.cli-m-buttons>:first-child{margin-left:0}.cli-services{display:inline-block;vertical-align:top}.cli-services:hover{padding-bottom:10px;margin-bottom:-10px;background:#f60;border-radius:4px 4px 0 0}.cli-services:hover .button.icon-sm{border-color:#f60;background:#f60;color:#fff;box-shadow:inset 0 1px 0 rgba(0,0,0,.1)}.cli-services:hover .button.icon-sm:before{background-position:-287px -41px}.cli-services-sm{margin-top:5px;padding:10px 0 1px 15px;position:absolute;background:#f60;color:#fff;font-size:12px;font-weight:700;width:100%;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box;display:none;z-index:100}.cli-services:hover .cli-services-sm{display:block}.cli-services-sm ul{margin:0;padding:0;list-style:none}.cli-services-sm ul li{display:inline-block;vertical-align:top;margin:0 10px 9px 0}.cli-services-sm a{display:block;color:#fff;text-transform:uppercase;padding:2px 10px;border:1px solid #ffb880;border-radius:4px}.cli-services-sm a:hover{border-color:#fff;background:#fff;color:#f60;text-shadow:none}.cli-s-buttons{float:right}.cat-list>li>footer{padding-left:120px;font-size:11px;line-height:16px}.cat-list>li>footer .cli-stats{width:120px;text-align:center;margin:0 -100% 0 -130px;float:left}.i-stats{font-size:11px;text-align:center;margin-left:-5px}.cat-list .cli-stats>*,.i-stats>*{display:inline-block;vertical-align:baseline;white-space:nowrap;margin-left:5px}.cat-list .cli-stats>:first-child{margin-left:0}.cat-list .cli-stats>:before,.i-stats>:before{content:' ';display:inline-block;width:11px;height:12px;background:url(../img/sprites.png) -12px 0 no-repeat;margin:0 3px -1px 0}.cat-list .cli-stats .schedule,.cat-list .cli-stats .visitors,.i-stats .schedule,.i-stats .visitors{color:#464646}.cat-list .cli-stats .visitors:before,.i-stats .visitors:before{width:11px;height:12px;background-position:-12px 0;margin:0 2px -1px 0}.cat-list .cli-stats .schedule:before,.i-stats .schedule:before{width:13px;height:14px;background-position:-228px -16px;margin-bottom:-1px}.cat-list .cli-stats .participants,.cat-list .cli-stats .views,.i-stats .participants,.i-stats .views{color:#f60}.cat-list .cli-stats .participants:before,.i-stats .participants:before{width:13px;height:12px;background-position:-197px 0;margin-bottom:-2px}.cat-list .cli-stats .views:before,.i-stats .views:before{width:13px;height:8px;background-position:-148px -52px;margin-bottom:0}.cat-list>li>footer .cli-tags{color:#a2a2a2}.cat-list>li>footer .cli-tags a{color:#a2a2a2;white-space:nowrap}.cat-list>li>footer .cli-tags a:hover{color:#f60}.cli-photo-list .clipl-wrap{margin:0 0 10px}.sli-slides{overflow:hidden;margin-right:-15px}.cli-photo-list ul{margin:0;padding:0;list-style:none;width:100%}.cli-photo-list ul>li{width:25%;padding-right:15px;float:left;-moz-box-sizing:border-box;box-sizing:border-box}.cli-photo-list ul>li a{display:block;overflow:hidden;border-radius:4px}.cli-photo-list ul>li img{width:100%}.clipl-wrap .re-controls{display:none}.clipl-wrap .re-controls.enabled{display:block}.clipl-wrap .re-controls a{display:block;width:71px;height:0;padding-top:71px;overflow:hidden;position:absolute;top:50%;margin-top:-35px}.clipl-wrap .re-controls a:before{content:' ';display:block;width:31px;height:62px;background:url(../img/sprites.png) 0 -63px no-repeat;position:absolute;left:50%;top:50%;margin:-31px 0 0 -15px}.clipl-wrap .re-controls a.prev{left:0}.clipl-wrap .re-controls a.prev:before{background-position:0 -63px}.clipl-wrap .re-controls a.next{right:15px}.clipl-wrap .re-controls a.next:before{background-position:-32px -63px}.clipl-wrap .re-controls a.next.disabled,.clipl-wrap .re-controls a.prev.disabled{display:none}.cli-photo-list .cli-phg-bot{width:100%}.cli-photo-list .cli-phg-bot>div{-moz-box-sizing:border-box;box-sizing:border-box}.cli-photo-list .cli-phg-bot .cli-pb-button{width:50%;float:left;padding-right:15px}.cli-photo-list .cli-phg-bot .cli-pb-button .button{width:49%;min-width:175px;text-align:center;margin-right:11px}.cli-photo-list .cli-phg-bot .cli-pb-info{padding-left:15px;float:right;font-size:12px;line-height:29px;color:#a2a2a2}.cli-photo-text{font-size:12px;line-height:15px;margin-bottom:15px}.cli-photo-text>:first-child{margin-top:0}.cli-photo-gallery{margin-right:-15px}.i-photos .cli-photo-gallery{margin-right:-20px}.cli-photo-gallery>ul{margin:0;padding:0;list-style:none}.cli-photo-gallery>ul>li{display:inline-block;vertical-align:top;width:33.3%;padding:0 15px 0 0;margin:0 -4px 15px 0;-moz-box-sizing:border-box;box-sizing:border-box}.i-photos .cli-photo-gallery>ul>li{width:20%;padding-right:20px;margin-bottom:20px}.cli-photo-gallery>ul>li>a{position:relative;display:block;width:100%;overflow:hidden;text-align:center;border-radius:4px}.i-photos .cli-photo-gallery>ul>li>a{height:140px}.cli-photo-gallery>ul>li img{display:block;width:100%}.i-photos .cli-photo-gallery>ul>li img{display:inline-block;width:auto;height:100%;margin:0 -50%}.cli-photo-gallery .pg-title{display:none;position:absolute;background:rgba(0,0,0,.7);color:#fff;font-size:15px;width:100%;left:0;bottom:0;text-align:left;padding:20px;-moz-box-sizing:border-box;box-sizing:border-box}.lt-ie9 .cli-photo-gallery .pg-title{background:url(../img/semitransparent-ie8.png)}.popup-gallery-container{position:fixed;width:100%;height:100%;left:0;top:0;overflow:auto;background:rgba(0,0,0,.75);z-index:1000;-moz-box-sizing:border-box;box-sizing:border-box;display:none}.lt-ie9 .popup-gallery-container{background:url(../img/semitransparent-ie8.png)}.pg-container-wrap{display:table;width:100%;height:100%}.popup-gallery-outer{position:fixed;width:100%;height:100px}.popup-gallery{position:absolute;display:block;width:1040px;height:533px;top:50%;left:50%;margin-top:-266px;margin-left:-520px;border-radius:4px;background-color:#fff}.popup-gallery .pg-wrap{position:relative;background:#fff;padding-left:730px;overflow:hidden;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:4px}.popup-gallery .ajax-load-popup{position:absolute;left:0;top:0;width:100%;height:100%}.popup-gallery .ajax-load-popup img{display:block;width:54px;height:55px;position:absolute;top:50%;left:50%;margin-top:-27px;margin-left:-27px}.lt-ie9 .popup-gallery .pg-wrap{border:1px solid #ccc}.popup-gallery .pg-photos{width:730px;height:533px;line-height:530px;background:#eee;margin:0 -730px;float:left}.popup-gallery .pg-photos img{max-width:730px;max-height:533px;text-align:center;vertical-align:middle}.popup-gallery .pg-photos ul{margin:0;padding:0;list-style:none}.popup-gallery .pg-info{padding:15px 20px 145px;width:100%;height:100%;text-align:left;float:left;-moz-box-sizing:border-box;box-sizing:border-box}.pgi-wrap{height:100%;overflow:auto}.pg-photo-title{font-size:20px;padding-right:20px;margin-bottom:10px}.pg-photo-descr,.pg-photo-text{font-size:12px;line-height:15px}.pg-photo-text{font-family:Arial,sans-serif;color:#8d8d8d;margin-bottom:10px}.i-info .i-position,.i-info header,.item-wrap>aside .i-rating{font-family:dindisplay_pro,sans-serif}.popup-gallery .pg-info hr{margin:10px 0}.pg-photo-descr h3{font-size:15px;margin:0 0 3px;font-weight:400}.pg-photo-descr p{margin:3px 0 0}.pg-comments .pgc-title{font-size:15px;margin:0 0 5px}.pg-comments ul{margin:0;padding:0;list-style:none;font-size:12px;line-height:15px;color:#8d8d8d}.pg-comments ul li{margin-top:10px}.pg-only-text .pg-photo-title{font-size:24px;line-height:1em;margin-top:24px;margin-bottom:36px;margin-left:.5em}.pgc-form .pgc-field,.pgc-form label{margin-bottom:5px}.pgc-user{color:#f60}.pgc-form{position:absolute;left:750px;right:20px;bottom:20px}.pgc-form label{display:block;font-size:15px}.pgc-form textarea{height:50px;padding:5px}.pgc-form .pgc-buttons .button,.pgc-form .pgc-buttons button{padding-left:8px;padding-right:8px}.pgc-form .pgc-buttons button{background:0 0;-webkit-filter:none;filter:none}.pgc-form .pgc-buttons button:hover{background:#f60}.pg-photos-controls a{position:absolute;width:60px;height:0;padding-top:533px;overflow:hidden;top:0;opacity:.5}.pg-photos-controls a:hover{opacity:1}.pg-photos-controls a:before{content:' ';display:block;width:21px;height:42px;background:url(../img/sprites.png) -257px -133px no-repeat;position:absolute;left:50%;top:50%;margin:-21px 0 0 -10px}.pg-photos-controls a.pgpc-prev{left:-60px}.pg-photos-controls a.pgpc-next{right:-60px}.pg-photos-controls a.pgpc-next:before{background-position:-279px -133px}.pg-close{display:block;position:absolute;right:0;top:0;width:32px;height:32px;cursor:pointer;z-index:100}.pg-close:before{content:'';display:block;width:10px;height:10px;background:url(../img/sprites.png) -133px 0 no-repeat;position:absolute;left:50%;top:50%;margin:-5px 0 0 -5px}.pg-close:hover:before{background-position:-144px 0}.item-wrap{padding-left:120px}.item-wrap>aside{width:100px;float:left;margin:0 -100% 0 -120px}.item-wrap>aside .i-pict{float:none;margin-bottom:5px}.item-wrap>aside .i-rating{font-size:21px;line-height:22px;text-align:center;color:#f60;padding:4px 10px 3px;margin:15px 0;border:1px solid #fdcfaf;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box}.item-wrap>aside .i-rating:before{content:' ';display:inline-block;vertical-align:middle;width:20px;height:19px;margin:-3px 5px -2px -2px;background:url(../img/sprites.png) -160px -32px no-repeat;opacity:.5}.item-wrap.event>aside .i-rating{margin-top:22px}.i-info{width:100%;float:left}.i-info .i-address a.toggle-map:before,.i-info header .i-place:before{content:' ';width:10px;background:url(../img/sprites.png) -217px -16px no-repeat}.i-info header{margin-bottom:2px}.i-info header .i-place{float:right;font-size:15px;padding:13px 0 0 15px;max-width:235px;white-space:nowrap}.i-info header .i-place:before{display:block;height:16px;float:left;margin:1px -10px 0 -15px}.i-info header .i-place a{color:#464646;text-decoration:none}.i-info header .i-place a:hover{color:#f60}.i-info .i-title{display:inline-block;font-size:40px;line-height:37px;color:#f60;margin:0 6px 5px 0;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s}.i-info .i-area{margin-bottom:15px}.i-address header,.i-info .i-address{margin-bottom:10px}.i-info .i-position{font-size:20px}.i-info .i-position a{color:#464646}.i-info .i-position a:hover{color:#f60}.i-info .i-descr{font-size:12px;line-height:16px;color:#7e7e7e;height:27px;font-family:Arial,sans-serif}.i-additional .ia-title,.i-address header,.i-info .i-area,.i-info .i-contacts .ic-links,.i-statistics>header,.m-article .sect-title{font-family:dindisplay_pro,sans-serif}.place .i-info .i-descr{min-height:30px}.i-info .i-area{font-weight:500;font-size:22px;line-height:23px}.i-info .i-area a{color:#464646}.i-info .i-area a:hover{color:#f60}.i-address header{font-size:18px;line-height:21px}.i-address header>*{display:inline-block;vertical-align:middle}.i-address .place_link{color:#464646;text-decoration:none}.i-address .place_link:hover{color:#f60}.i-address header .address{margin-right:10px}.i-info .i-address a.toggle-map{display:inline-block;vertical-align:middle;font-size:15px;line-height:12px;color:#a2a2a2;border-bottom:1px dashed;margin-left:15px}.i-info .i-address.map-opened .show-map a.toggle-map{display:none}.i-info .i-address a.toggle-map:hover{color:#f60}.i-info .i-address a.toggle-map:before{display:block;height:16px;float:left;margin:0 -10px 0 -15px}.i-info .i-address .i-map{position:relative;margin:0 0 20px;display:none}.i-info .i-contacts,.i-info .i-tags{margin-bottom:15px}.place .i-info .i-address .i-map{margin-left:-120px}.i-info .i-address.map-opened .i-map{display:block}.i-info .i-address .i-map .close-map{position:absolute;right:0;bottom:100%;z-index:20;margin-bottom:15px}.i-info .i-address .i-map .map-canvas{width:100%;height:305px;background:#eee;overflow:hidden;border-radius:4px}.i-info .i-tags{font-size:11px;line-height:16px;color:#a2a2a2;margin-top:-5px}.i-info .i-tags a{color:#a2a2a2;white-space:nowrap}.i-info .i-tags a:hover{color:#f60}.i-info .i-contacts .ic-buttons{width:265px;margin-right:40px;float:left}.i-info .i-contacts .ic-buttons .icb-exit-edit{display:none}.i-info .i-contacts .ic-buttons .soc-media-buttons{margin-top:25px}.i-info .i-contacts .ic-links{font-size:15px;line-height:20px;width:310px;float:left}.ic-tel{font-size:20px;line-height:21px;margin-bottom:4px}.i-additional{margin-bottom:15px;font-size:12px;line-height:15px}.i-additional .ia-title{font-size:20px;line-height:23px;margin-bottom:30px}dl.add-info p{margin:0}dl.add-info{margin:0 0 -7px;padding:0;font-size:12px;line-height:15px}dl.add-info dt{min-height:15px;width:178px;float:left;clear:left;margin:0 5px 10px 0}dl.add-info dd{min-height:15px;padding:0;overflow:hidden;margin:0 0 12px}dl.add-info dd a{color:#464646}dl.add-info dd a:hover{color:#f60}dl.add-info dd ul{margin:0;padding:0;list-style:none}dl.add-info dd ul li{margin-bottom:3px}.i-statistics>header{padding-left:120px;margin-bottom:20px;font-weight:500;font-size:20px;line-height:23px;color:#f60}.i-statistics>header b{font-weight:700;font-size:40px;letter-spacing:-2px;margin-right:2px}.i-statistics>header .ish-title{width:100px;margin:0 -100% 0 -120px;float:left;font-weight:400;font-size:17px;line-height:18px;text-align:right;color:#464646}.i-statistics>header .ish-data{width:100%;text-align:justify;padding-right:70px;margin-bottom:-20px;-moz-box-sizing:border-box;box-sizing:border-box}.i-discount .discount-button,.i-steps a.step{text-align:center;font-family:dindisplay_pro,sans-serif;text-transform:uppercase;text-decoration:none}.i-statistics>header .ish-data>*{display:inline-block;padding-top:10px;max-width:30%}.i-statistics>header .ish-data:after{content:'';display:inline-block;width:100%;height:0}.i-statistics>header .ish-data a{text-decoration:none;color:#f60}.i-statistics>header .ish-data a:hover{color:#464646}.m-article .sect-title{font-size:23px;font-weight:700;line-height:24px;margin-top:19px;margin-bottom:15px}.e-details .sect-title,.graph-title{font-weight:300;font-family:dindisplay_pro,sans-serif}.e-details .sect-title{font-size:30px;line-height:32px;color:#feb17d}.m-article .sect-title a:not(.button){color:#464646;text-decoration:none}.m-article .sect-title a:not(.button):hover{color:#f60}.graph-title{font-size:25px;line-height:26px;color:#feb17d}.i-staff-list{margin-bottom:15px}.i-staff-list>ul{margin:0;padding:0 0 0 4px;list-style:none}.i-staff-list>ul>li{display:inline-block;width:33%;margin-left:-4px}.i-staff-list>ul>li>a{text-decoration:none;color:#464646}.i-staff-list .sl-item{padding-left:110px}.i-staff-list .sl-pict{display:block;width:90px;height:90px;overflow:hidden;margin:0 -100% 0 -110px;float:left;border-radius:4px}.i-staff-list .sl-info{display:table;width:100%;height:90px}.i-staff-list .sl-info .sl-info-wrap{display:table-cell;vertical-align:middle;padding-right:40px}.i-staff-list .sl-info .sl-name{font-family:dindisplay_pro,sans-serif;font-weight:500;font-size:19px;line-height:20px;color:#f60;margin-bottom:4px}.i-staff-list a:hover .sl-info .sl-name{color:#464646}.i-staff-list .sl-info .sl-position{font-size:11px;line-height:14px}.i-stats{line-height:15px;margin-bottom:7px}.i-date{font-family:dindisplay_pro,sans-serif;font-size:27px;margin:12px 0 10px}.i-date:after{content:"";display:block;clear:both}.i-date .sharing_block{float:right}.i-discount{margin-top:15px;font-size:10px;line-height:12px;color:#a2a2a2}.i-discount .discount-button{display:block;border:none;outline:0;height:26px;padding:1px 5px 0;font-weight:700;font-size:13px;line-height:25px;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.3);background:#f60;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ff8000),color-stop(100%,#f60));background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:linear-gradient(to bottom,#ff8000 0,#f60 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#ff8000', endColorstr='#ff6600', GradientType=0);border-radius:3px;-moz-box-sizing:border-box;box-sizing:border-box}.i-discount .discount-button:hover{background:#ff8000;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fe9150),color-stop(100%,#fe9150));background:-webkit-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-o-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-webkit-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-o-linear-gradient(top,#fe9150 0,#ff8000 100%);background:linear-gradient(to bottom,#fe9150 0,#ff8000 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#fe9150', endColorstr='#ff8000', GradientType=0)}.i-discount .dsc-text{font-size:10px;line-height:11px;margin-top:5px;padding:0 0 0 10px}.i-buttons .ib-main{float:left}.i-buttons .ib-add{float:right}.i-divs{margin-bottom:20px}.i-divs .i-subj{width:55%;float:left;font-family:dindisplay_pro,sans-serif;font-size:14px}.i-divs .i-subj ul{margin:-3px 0 0;padding:0;list-style:none}.i-divs .i-subj a{color:#6d6d6d}.i-divs .i-subj a:hover,.i-steps ul>li.s1,.i-steps ul>li.s1 a{color:#f60}.i-divs .i-tags{width:45%;float:right;margin-bottom:0}.i-divs .i-tags a{white-space:normal}.i-tags.grey,.i-tags.grey a{color:#a2a2a2}.i-tags.grey a:hover{color:#F60}.i-sub-articles{font-family:dindisplay_pro,sans-serif;font-size:16px;padding:0 0 0 10px;background:#fcf4ee;margin-bottom:25px;border-radius:4px}.i-sub-articles ul{margin:0;padding:0;list-style:none;display:table;width:100%}.i-sub-articles ul>li{display:table-cell;padding:15px}.i-steps{margin-bottom:20px}.i-steps .is-title{font-family:dindisplay_pro,sans-serif;font-size:28px;line-height:28px;text-align:center;text-transform:uppercase;margin-bottom:15px;color:#000;font-weight:300}.i-steps ul{margin:0;padding:0;list-style:none;display:table;width:100%}.i-steps ul>li{display:table-cell;width:33.3%;padding:0 3px}.i-steps .label{font-size:12px;line-height:15px;font-style:italic;margin-bottom:5px;white-space:nowrap;text-align:center}.i-steps a.step,.i-steps span.step{position:relative;display:block;height:31px;line-height:30px;border:1px solid;font-weight:700;font-size:16px;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:4px;-webkit-transition:background .3s;-o-transition:background .3s;transition:background .3s}.i-steps ul>li span.step{text-transform:uppercase;text-align:center}.i-steps ul>li.s1 a:after,.i-steps ul>li.s1 span:after,.i-steps ul>li.s2 a:after,.i-steps ul>li.s2 a:before,.i-steps ul>li.s3 a:before{content:' ';display:block;width:15px;height:31px;background:url(../img/sprites.png) 0 -144px no-repeat;position:absolute;top:-1px}.i-steps ul>li a:after,.i-steps ul>li span.step:after{right:-1px}.i-steps ul>li a:before,.i-steps ul>li span.step:before{left:-1px}.i-steps ul>li.s1 a:after{background-position:0 -144px}.i-steps ul>li.s1 a:hover{background:#f60;border-color:#f60;color:#fff}.i-steps ul>li.s2,.i-steps ul>li.s2 a{color:#00adef}.i-steps ul>li.s2 a b{color:#1d447d}.i-steps ul>li.s2 a:before{background-position:-15px -144px}.i-steps ul>li.s2 a:after{background-position:-30px -144px}.i-steps ul>li.s2 a:hover{background:#00adef;border-color:#00adef;color:#fff}.i-steps ul>li.s3,.i-steps ul>li.s3 a{color:#ef3976}.i-steps ul>li.s3 a b{color:#08293a}.i-steps ul>li.s3 a:before{background-position:-45px -144px}.i-steps ul>li.s3 a:hover{background:#ef3976;border-color:#ef3976;color:#fff}.i-photo-slides{margin-bottom:25px}.ps-photo-gallery{width:100%;overflow:hidden;border-radius:4px}.ps-photo-gallery ul{margin:0;padding:0;list-style:none;width:100%}.ps-photo-gallery ul>li{width:100%;float:left}.ps-photo-gallery ul>li img{width:100%}.ps-photo-gallery .re-controls{display:none}.ps-photo-gallery .re-controls.enabled{display:block}.ps-photo-gallery .re-controls a{display:block;width:71px;height:0;padding-top:71px;overflow:hidden;position:absolute;top:50%;margin-top:-35px}.ps-photo-gallery .re-controls a:before{content:' ';display:block;width:31px;height:62px;background:url(../img/sprites.png) 0 -63px no-repeat;position:absolute;left:50%;top:50%;margin:-31px 0 0 -15px}.i-event-description,.ied-title{margin-bottom:15px}.ps-photo-gallery .re-controls a.prev{left:0}.ps-photo-gallery .re-controls a.prev:before{background-position:0 -63px}.ps-photo-gallery .re-controls a.next{right:0}.ps-photo-gallery .re-controls a.next:before{background-position:-32px -63px}.ps-photo-gallery .re-controls a.next.disabled,.ps-photo-gallery .re-controls a.prev.disabled{display:none}.ied-title{font-family:dindisplay_pro,sans-serif;font-weight:400;font-size:21px;line-height:22px}.ied-text{font-size:12px;line-height:15px}.i-event-additional{margin-bottom:20px}.i-event-additional .e-docs{width:30%;float:right;margin:0;padding:0;list-style:none;font-family:dindisplay_pro,sans-serif;font-size:15px;line-height:18px}.i-event-additional .e-docs>li{margin-bottom:5px}.i-event-additional .e-docs a:before{content:' ';display:inline-block;vertical-align:middle;width:11px;height:13px;background:url(../img/sprites.png) -211px 0 no-repeat;margin:-1px 5px 0 0}.i-event-additional .add-info{width:70%;padding-right:30px;-moz-box-sizing:border-box;box-sizing:border-box}.i-members{display:table;width:100%;margin-bottom:15px}.i-members>*{display:table-cell;vertical-align:top;padding-left:25px}.i-members .im-title{display:inline-block;font-family:dindisplay_pro,sans-serif;font-size:23px;font-weight:700;line-height:24px;margin:0 0 12px}.i-members .im-title:before{content:' ';display:block;width:17px;height:15px;background:url(../img/sprites.png) -239px -33px no-repeat;float:left;margin:4px -100% 0 -25px}.i-members .im-visitors .im-title:before{width:13px;background-position:-188px -16px;margin-left:-22px}.i-members a.more{font-size:11px;display:block}.i-members ul{margin:0;padding:0;list-style:none}.i-members ul a{color:#464646}.i-members ul a:hover{color:#f60}.i-members .im-participants{width:70%;padding-right:30px}.i-members .im-participants .button.icon-up:before{background-position:-365px -108px}.i-members .im-participants .button.icon-up:hover:before{background-position:-365px -92px}.i-members .im-title{width:33.3%}.i-members .im-participants a.more{margin-left:-3px}.i-members .im-participants ul{padding:4px 0 0 4px}.i-members .im-participants ul li{display:inline-block;vertical-align:top;width:33.3%;margin-left:-4px;margin-bottom:20px}.eni-area-wrap .eni-area,.eni-stats .enis-item,.eni-stats .enis-item b{vertical-align:middle;display:inline-block}.i-members .im-participants ul li a{display:block;width:140px;font-size:11px;line-height:14px;text-align:center}.i-members .im-participants ul li a .imp-pict{position:relative;display:block;width:140px;overflow:hidden;margin-bottom:5px;border-radius:4px}.i-members .im-participants ul li a img{display:block;width:140px}.i-members .im-participants ul li a .imp-pict:before{content:'';display:block;position:absolute;width:100%;height:100%;border-radius:4px;box-shadow:inset 0 1px 0 rgba(0,0,0,.2)}.i-members .im-visitors{width:30%;font-size:12px;line-height:17px}.i-members .im-visitors ul li{margin-bottom:2px}.e-num-info{padding-left:130px;margin-bottom:30px;font-family:dindisplay_pro,sans-serif;min-height:120px;margin-top:30px}.eni-area-wrap{color:#f60;position:relative}.eni-area-wrap .eni-title{position:absolute;top:0;left:0;margin-left:-130px;display:block;width:110px;margin-right:16px;font-size:20px;line-height:21px;text-align:right;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s;color:#464646;margin-top:28px}.eni-area-wrap .eni-title:hover{color:#f60}.eni-area-wrap .eni-area{font-weight:700;font-size:120px;line-height:120px;letter-spacing:-2px;margin-bottom:-5px}.e-num-info sup{font-size:60%}.eni-stats{line-height:47px;margin-bottom:10px}.eni-stats .enis-item{margin-right:50px;font-size:20px}.eni-stats .enis-item b{font-size:45px}.eni-founded{font-size:23px;color:#a2a2a2}.eni-areas{margin:20px 0}.eni-areas .enis-col{width:225px;display:inline-block;vertical-align:top;margin-right:16px;font-size:15px;line-height:20px}.eni-areas .enis-col b,.eni-holds .enis-item b{display:block;vertical-align:middle;font-size:45px;line-height:40px;margin-bottom:-5px;letter-spacing:-1px}.eni-areas .enis-col b{margin-bottom:-3px}.eni-areas .enis-col .enc-title{color:#f60;margin-bottom:5px}.eni-areas .enis-col ul{margin:0;padding:0;list-style:none}.eni-areas .enis-col ul li{margin-bottom:2px;color:#a2a2a2}.eni-areas .enis-col ul li i{color:#464646;font-style:normal}.eni-holds{margin:25px 0 25px -130px}.eni-holds .eni-title{display:inline-block;vertical-align:middle;width:110px;margin-right:16px;font-size:17px;line-height:20px;text-align:right;color:#f60}.eni-holds .enis-item{display:inline-block;vertical-align:middle;margin-right:50px;font-size:20px;line-height:21px;text-align:center}.i-events-list+.m-article{margin-top:30px}.h-booking{margin:30px -30px 30px 0;padding:0 20px}.m-article .h-booking{margin:0 -30px 0 0;padding:0}.h-booking header{margin-bottom:15px}.h-booking .sect-title{display:inline-block;font-family:dindisplay_pro,sans-serif;font-size:23px;font-weight:700;line-height:24px;color:#40bbea;width:581px;margin:19px 0}.h-booking .sect-title a{color:#40bbea;text-decoration:none}.h-booking .sect-title a:hover{color:#1d447d}.m-article .h-booking .sect-title{margin:0}.h-booking .sect-title b{font-weight:400;color:#1d447d}.h-booking a.more{font-size:11px}.h-booking ul{margin:0;padding:0 0 0 4px;list-style:none}.h-booking ul li{display:inline-block;vertical-align:top;width:150px;margin-right:40px;text-align:center}.h-booking ul li a{font-size:12px;line-height:15px;color:#32a7d3;display:block}.h-booking .hb-link{margin-bottom:.8em;display:block;line-height:1em}.h-booking .hb-pict{display:block;width:150px;height:150px;overflow:hidden;margin-bottom:7px;border-radius:4px}.h-booking .hb-pict img{width:100%}.h-booking ul li .hb-price{font-family:dindisplay_pro,sans-serif;font-weight:700;font-size:16px;line-height:19px;color:#1d447d;margin:3px 0}.h-booking ul li a.button{font-size:13px}.e-cat .sect-title,.i-events-list .sect-title{font-size:23px;line-height:24px;font-family:dindisplay_pro,sans-serif;font-weight:700}.e-cat{margin-bottom:40px}.e-cat .sect-title,.i-services{margin-bottom:20px}.m-article+.e-cat{margin-top:30px}.e-cat .sect-title{color:#f60;padding:0 20px}.e-cat .sect-title a{color:#f60;text-decoration:none}.e-cat .sect-title a:hover{color:#464646}.i-services li{color:#f60}.i-services .is-wrap{margin-right:-20px}.i-services ul{margin:0;padding:0;list-style:none;width:33.3%;float:left}.i-services ul li{margin-bottom:3px;padding-right:30px}.e-pv-container{margin:20px 0}.div-img-wrap img{display:block;width:100%}.e-video-container{margin-top:20px}.div-video-wrap{background:#000}.div-video-wrap iframe{margin:0 auto;display:block}.i-events-list{margin-bottom:20px}.i-events-list .sect-title{color:#f60;padding-left:20px;margin-bottom:20px}.i-contacts{margin:30px 0}.i-contacts .sect-title{margin-bottom:20px}.i-contacts .ic-wrap{display:table;width:100%;font-size:13px;line-height:16px}.i-contacts .ic-wrap .ic-col{display:table-cell;vertical-align:top;width:55%}.i-contacts .ic-wrap .ic-col:first-child{width:45%;padding-right:30px}.i-contacts .ic-addr{min-height:32px}.i-contacts .ic-wrap .ic-col ul.tels{margin:0;padding:0;list-style:none}.s-comments{margin:30px 0}.s-comments .sect-title{padding-left:20px;margin-bottom:15px;font-family:dindisplay_pro,sans-serif;font-size:22px;line-height:23px;color:#f60}.s-comments .sect-title span{display:inline-block;padding-right:140px}.sc-comments .cl-item-wrap{padding-left:90px}.sc-comments .cli-pict{margin-left:-90px;width:70px;height:70px;line-height:65px;padding:2px}.sc-comments .cli-info{margin-bottom:0}.sc-comments .sc-name{font-family:dindisplay_pro,sans-serif;font-weight:500;font-size:17px;line-height:20px;color:#f60;margin:-7px 0 10px}.sc-comments .sc-name a{text-decoration:none;color:#f60}.sc-comments .sc-name a:hover{color:#000}.ma-text h2,.ma-text h3,.order-button,.rq-order-button{color:#f60;font-family:dindisplay_pro,sans-serif}.sc-comments .sc-text{font-size:12px;line-height:16px}.ma-text{font-size:13px;line-height:16px}.ma-text h2{font-weight:400;font-size:25px;line-height:26px;margin:25px 0 20px}.ma-text h3{font-weight:400;font-size:20px;line-height:23px;margin:20px 0 15px}.ma-text p{margin:20px 0}.ma-text>:first-child{margin-top:0}.ma-text .pt-block{margin:25px 0}.ma-text .pt-block img{float:left;margin-right:30px}.ma-text .pt-block.p-right img{float:right;margin-left:30px}.ma-text .pt-block .ptb-text{overflow:hidden}.ma-text .pt-block .ptb-text>:first-child{margin-top:0}.ma-text .pt-block .ptb-text ul{margin:0;padding:0;list-style:none}.ma-text .pt-block .ptb-text ul li{padding-left:16px;margin-bottom:7px}.ma-text .pt-block .ptb-text ul li:before{content:'';display:block;width:11px;height:8px;background:url(../img/sprites.png) -287px -51px no-repeat;float:left;margin:5px -100% 0 -16px}.s-slide-gallery-wrap{width:100%;overflow:hidden}.s-slide-gallery{margin-right:-15px;overflow:hidden}.s-slide-gallery ul{width:100%}.s-slide-gallery li{width:25%;padding-right:15px;float:left;-moz-box-sizing:border-box;box-sizing:border-box}.s-slide-gallery li a{display:block;overflow:hidden;border-radius:4px}.s-slide-gallery li img{width:100%}.s-slide-gallery .re-controls{display:none}.s-slide-gallery .re-controls.enabled{display:block}.s-slide-gallery .re-controls a{display:block;width:71px;height:0;padding-top:71px;overflow:hidden;position:absolute;top:50%;margin-top:-35px}.s-slide-gallery .re-controls a:before{content:' ';display:block;width:31px;height:62px;background:url(../img/sprites.png) 0 -63px no-repeat;position:absolute;left:50%;top:50%;margin:-31px 0 0 -15px}.s-order,.s-order .so-col+.so-col{width:100%}.s-slide-gallery .re-controls a.prev{left:0}.s-slide-gallery .re-controls a.prev:before{background-position:0 -63px}.s-slide-gallery .re-controls a.next{right:15px}.s-slide-gallery .re-controls a.next:before{background-position:-32px -63px}.s-slide-gallery .re-controls a.next.disabled,.s-slide-gallery .re-controls a.prev.disabled{display:none}.s-order{margin:25px 0;display:table}.s-order .so-col{display:table-cell;vertical-align:middle;padding-right:40px}.order-button,.rq-order-button{display:inline-block;text-decoration:none;border:1px solid #f60;height:44px;white-space:nowrap;border-radius:4px}.rq-order-button .rqob-wrap{display:table;border:none;border-collapse:collapse}.order-button>a,.order-button>span{display:inline-block;vertical-align:top;padding:1px 20px 0;line-height:43px;height:44px;-moz-box-sizing:border-box;box-sizing:border-box}.rq-order-button .rqob-wrap>*{display:table-cell;padding:0;line-height:43px;height:44px;-moz-box-sizing:border-box;box-sizing:border-box}.order-button .ob-price{font-size:25px}.rq-order-button .rqob-wrap .rqob-price{vertical-align:middle;padding:0 30px;font-size:25px;line-height:44px}.rqob-price small{font-weight:300}.order-button .rqob-button{vertical-align:top}.order-button .ob-text,.rq-order-button .ob-text,.rq-order-button button{font-weight:700;font-size:17px;text-decoration:none;text-transform:uppercase;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.3);border-radius:0;background:#f60;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ff8000),color-stop(100%,#f60));background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:linear-gradient(to bottom,#ff8000 0,#f60 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#ff8000', endColorstr='#ff6600', GradientType=0)}.rq-order-button .ob-text,.rq-order-button button{display:block;width:100%;height:44px;font-size:17px;line-height:45px;text-align:center;padding:1px 20px 0;-moz-box-sizing:border-box;box-sizing:border-box}.order-button a.ob-text:hover,.rq-order-button a.ob-text:hover,.rq-order-button button:hover,a.order-button:hover .ob-text{background:#ff8000;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fe9150),color-stop(100%,#ff8000));background:-webkit-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-o-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-webkit-linear-gradient(top,#fe9150 0,#ff8000 100%);background:-o-linear-gradient(top,#fe9150 0,#ff8000 100%);background:linear-gradient(to bottom,#fe9150 0,#ff8000 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#fe9150', endColorstr='#ff8000', GradientType=0)}.order-button .ob-text:after,.rq-order-button .ob-text:after,.rq-order-button button:after{content:'';display:inline-block;vertical-align:middle;width:8px;height:12px;background:url(../img/sprites.png) -175px 0 no-repeat;margin:-1px 0 0 7px}.s-note p,.s-note ul{margin:7px 0}.order-button .rub,.rq-order-button .rub{font-size:22px}.order-descr{font-size:13px;line-height:15px;color:#f60}.s-note{font-size:12px;line-height:15px}.s-note ul{padding:0;list-style:none}.s-note ul li{padding-left:10px}.s-note ul li:before{content:'-';float:left;margin:0 -100% 0 -10px}.messages-list{margin:0;padding:0;list-style:none}.messages-list>li{padding:20px 20px 5px;background:#fcfcfb;margin-bottom:15px;border-radius:4px;box-shadow:inset 0 1px 0 rgba(0,0,0,.2)}.messages-list>li.mi-new{padding:19px 19px 4px;border:1px solid #f60;box-shadow:none}.messages-list>li:hover{background:#fff}.messages-list .mi-wrap{position:relative;padding-left:90px;margin-bottom:15px}.messages-list .mi-wrap.me{padding:0 90px 0 0}.messages-list>li>a{color:#464646;text-decoration:none}.messages-list .mi-pict{width:70px;height:70px;line-height:65px;text-align:center;overflow:hidden;margin:0 -100% 0 -90px;float:left;border-radius:4px}.messages-list .me .mi-pict{margin:0 -90px 0 -100%;float:right}.messages-list .mi-pict img{max-width:100%;max-height:100%;vertical-align:middle}.messages-list .mi-body{width:100%;float:left}.messages-list .mi-body>header{padding-right:130px}.messages-list .mi-time{width:110px;float:right;font-size:11px;line-height:16px;color:#a2a2a2;text-align:right;margin:0 0 0 -110px}.messages-list .me .mi-time{float:left;margin:10px 0 0;text-align:left}.messages-list .mi-sender{font-family:dindisplay_pro,sans-serif;font-size:18px;line-height:19px;color:#f60;margin-bottom:7px}.messages-list .mi-sender a{color:#f60;text-decoration:none}.messages-list .mi-sender a:hover{color:#464646}.messages-list .me .mi-sender{color:#2592c5}.messages-list .mi-buttons{margin-bottom:10px;display:none}.set-sect{padding:10px 20px;background:#fcfcfb;margin-bottom:20px;border-radius:4px;box-shadow:inset 0 1px 0 rgba(0,0,0,.2)}.set-sect.p-form{padding:20px}.set-sect>header{font-family:dindisplay_pro,sans-serif;text-transform:uppercase;color:#a2a2a2;padding:5px 0;cursor:pointer}.a-graphic,.cal-lists,.cl-news header .news-header-body,.e-price,.e-programm .ep-item footer,.e-programm .ep-item header,.e-statistic,.edit-wrap .e-form,.ep-sect-title,.mf-photos-list,.p-calendar,.request-form .rq-form .rqf-title,.request-form .rq-info .rqi-body h2,.request-form .rq-info .rqi-body h3,.request-form .rq-info .rqi-body h4,.set-sect .set-sect-title,.tad-price h3,.targets{font-family:dindisplay_pro,Arial,sans-serif}.set-sect>header:before{content:'';display:inline-block;vertical-align:middle;width:14px;height:15px;background:url(../img/sprites.png) -196px -32px no-repeat;margin:0 4px 0 0}.set-sect.closed>header:before{background-position:-250px -109px}.set-sect .set-sect-body{margin:20px 0 10px}.set-sect.closed .set-sect-body{display:none}.mf-buttons-line{margin-top:25px}.mf-line{margin-bottom:15px}.mf-line.cols-2{display:table;width:100%}.mf-line .mf-field{padding-right:10px;width:65%;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box;padding-bottom:5px}.mf-line .mf-field.full-width{width:100%}.mf-line.cols-2 .mf-field,.mf-line.cols-2>label{display:table-cell;width:50%;padding:0 0 5px 10px}.mf-line.cols-2 .mf-field:first-child,.mf-line.cols-2>label:first-child{padding:0 10px 5px 0}.mf-line.full-width .mf-field{padding:0 0 5px;width:100%}.ch-pwd .mf-line .mf-field{width:47%}.tabs-content .mf-line .mf-field{display:block}.mf-line.full-width>label{display:block;margin-bottom:5px}.mf-soc-m .sm-i,.mf-soc-m a.clear{display:inline-block;vertical-align:middle}.mf-line>label.check{font-size:15px;margin-right:40px}.mf-line>label.check i{font-style:normal;font-size:12px;color:#a2a2a2}.mf-soc-m{margin:-5px 0 10px}.mf-soc-m .mf-soc-col{padding-right:10px;width:47%;display:inline-block;vertical-align:top;-moz-box-sizing:border-box;box-sizing:border-box}.mfsm-title{font-size:15px;margin-bottom:10px}.mf-soc-m .mf-soc-col+.mf-soc-col .mfsm-title{color:#a2a2a2}.mf-soc-m .sm-i{font-size:18px;line-height:21px;padding-top:4px}.mf-soc-m .sm-i img{vertical-align:middle;margin:-4px 4px 0 0}.mf-soc-m a.clear{position:relative;width:30px;height:0;padding-top:30px;overflow:hidden;margin:-5px 0}.mf-soc-m a.clear:before{content:'';display:block;width:9px;height:10px;background:url(../img/sprites.png) -162px -52px no-repeat;position:absolute;left:50%;top:50%;margin:-5px 0 0 -5px}.mf-soc-m a.clear:hover:before{background-position:-238px -121px}.mf-soc-m .sm-body ul{margin:0;padding:0;list-style:none}.mf-soc-m .sm-body ul li{display:inline-block;margin-right:5px}.mf-checks-title{font-size:15px;margin-bottom:15px;color:#a2a2a2}.mf-announces{padding-left:205px}.mf-announces .mf-subj-checks-title{display:block;width:155px;margin:0 -100% 0 -205px;float:left}.mf-announces .mf-announces-body.disabled{opacity:.5}.lt-ie9 .mf-announces .mf-announces-body.disabled{-ms-filter:alpha(opacity=30);filter:alpha(opacity=30)}.set-sect.subscribe label.check{font-size:17px}.set-sect.subscribe .tabs-content label.check{font-size:15px}.set-sect.subscribe .mf-subj-checks-title label.check{font-size:17px}.set-sect .tabs-content,.tabs-content .mf-line.subj-checks{margin-bottom:25px}.mf-line.subj-checks>label.check{margin-right:30px}.tabs-content .mf-line{margin-bottom:10px}.tabs-content .mf-line .mf-field .custom-select,.tabs-content .mf-line .mf-field select{width:100%}.mf-line.country{margin:20px 0 5px}.mf-line.subj{margin:20px 0 25px}.mf-line.city>label,.mf-line.country>label,.mf-line.subj>label{display:block;font-size:17px;width:65%;margin:0 0 5px;-moz-box-sizing:border-box;box-sizing:border-box}.p-editable{position:relative}.p-editable.pe-active{padding-left:24px}.i-pict.p-editable.pe-active{padding-left:0}.i-info header .i-place.p-editable.pe-active{padding-left:24px}.i-info header .i-place.p-editable.pe-active:before{content:none}.ed-back a:before,.edit-wrap .e-form .ef-close:before,.edit-wrap .e-form:before,.ep-sect-title a:before,.tg-title:before{content:''}.edit-wrap{position:absolute;left:0;top:0;display:none;margin:-1px 0 0 -6px}.e-btn,.e-btn:before,.p-editable.pe-active .edit-wrap{display:block}.i-pict.p-editable .edit-wrap{left:100%;top:5px;margin:0 0 0 -30px;line-height:1em}.i-place.p-editable .edit-wrap{margin-top:10px}.i-additional .p-editable .edit-wrap,.i-descr.p-editable .edit-wrap{margin-top:-6px}.ic-buttons .p-editable .edit-wrap{margin-top:-2px}.ic-tel.p-editable .edit-wrap{margin-top:0}.e-btn{position:relative;width:24px;height:0;padding-top:24px;overflow:hidden;border-radius:3px;-webkit-transition:none;-o-transition:none;transition:none}.i-pict.p-editable .e-btn{background:#fcfcfb;width:25px}.e-btn:before{position:absolute;left:5px;top:4px;font-size:18px;color:#f60}.e-btn:hover{opacity:.7}.lt-ie9 .e-btn:hover{filter:alpha(opacity=70)}.i-pict.p-editable .e-btn:hover{background:#f60}.p-editable.pe-current .e-btn{width:28px;background:#f60;border-radius:3px 0 0 3px}.p-editable.pe-current .e-left .e-btn{width:28px;border-radius:0 3px 3px 0}.i-pict.p-editable .e-btn:hover,.p-editable.pe-current .e-btn:hover{opacity:1}.lt-ie9 .i-pict.p-editable .e-btn:hover,.lt-ie9 .p-editable.pe-current .e-btn:hover{filter:alpha(opacity=100)}.i-pict.p-editable .e-btn:hover:before,.p-editable.pe-current .e-btn:before{color:#fff}.i-pict.p-editable.pe-current .e-btn{width:33px}.edit-wrap .e-form{position:absolute;left:28px;top:0;width:600px;z-index:2;font-size:12px;line-height:15px;text-align:left;background:#f60;padding:9px 20px 15px;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:0 3px 3px;display:none}.i-pict.p-editable .edit-wrap .e-form{left:32px}.ic-links .edit-wrap .e-form{width:330px}.edit-wrap.e-left .e-form{left:auto;right:100%;border-radius:3px 0 3px 3px}.edit-wrap .e-form:before{display:block;width:0;height:0;border:1px solid;border-color:#f60 #f60 transparent transparent;border-radius:2px;position:absolute;right:100%;top:24px}.edit-wrap.e-left .e-form:before{border-color:#f60 transparent transparent #f60;right:auto;left:100%}.p-editable.pe-active.pe-current .edit-wrap .e-form{display:block}.edit-wrap .e-form .ef-body{width:420px;float:left;word-spacing:16px;margin-bottom:-10px}.ic-links .edit-wrap .e-form .ef-body{width:150px}.edit-wrap .e-form .epfl{display:inline-block;vertical-align:top;word-spacing:normal;min-width:200px;margin-bottom:10px}.ic-links .edit-wrap .e-form .epfl{width:150px;min-width:0}.i-pict .edit-wrap .e-form .epfl{display:block}.edit-wrap .e-form .ef-body .epf-field>label,.edit-wrap .e-form .ef-body .epfl>label{color:#fff;display:block;margin-bottom:5px}.edit-wrap .e-form .ef-body .epf-field>label{word-spacing:normal}.edit-wrap .e-form .ef-body .epfl>label img{margin:-3px 0 -2px}.edit-wrap .e-form .epfl .c-select-box{width:200px}.e-form .custom-select select,.e-form select{width:200px;height:26px}.e-form input[type=text]{height:29px;line-height:26px;padding-left:6px}.e-form input[type=text]:focus{border-width:1px}.i-title .e-form input[type=text]{width:420px}.edit-wrap .e-form textarea{width:420px;height:90px;border-width:1px}.edit-wrap .e-form .ef-buttons{float:right;padding-top:20px}.edit-wrap .e-form .ef-close{display:block;width:22px;height:0;padding-top:22px;overflow:hidden;position:absolute;right:15px;top:5px}.edit-wrap .e-form .ef-close:before{display:block;width:9px;height:10px;background:url(../img/sprites.png) -63px -159px no-repeat;position:absolute;left:50%;top:50%;margin:-5px 0 0 -4px}.a-graphic,.ep-item .ep-title span,.tad-price li{position:relative}.ed-back{margin:20px 0}.ed-back a{display:inline-block;font-size:17px;line-height:17px;text-decoration:none;border:1px solid #fcaf7b;padding:5px 25px;border-radius:4px}.ed-back a:before{display:inline-block;width:6px;height:11px;background:url(../img/sprites.png) -157px 0 no-repeat;margin-right:8px}.ed-back a:hover{color:#fff;background:#f60;border-color:#f60}.ed-back a:hover:before{background-position:-115px 0}.e-programm,.ep-sect{margin-bottom:30px}.ep-sect-title{height:12px;border-bottom:1px dotted #ccc;font-size:25px;line-height:25px;font-weight:700}.e-programm .ep-sect-title{height:14px;font-size:30px;line-height:30px}.p-calendar .ep-sect-title{font-size:17px;line-height:20px;border:none;height:auto;color:#959595}.ep-sect-title a{display:inline-block;text-decoration:none;text-transform:uppercase;background:#fcfcfb;padding:0 10px 0 5px;color:#464646}.e-programm .ep-sect-title a{min-width:180px;margin-left:-5px}.p-calendar .ep-sect-title a{color:#959595}.ep-sect-title a:before{display:inline-block;width:18px;height:18px;background:url(../img/sprites.png) -296px -22px no-repeat;margin-right:8px}.e-programm .ep-sect-title a:before{width:21px;height:21px;background-position:-317px 0;margin-right:8px}.eps-opened .ep-sect-title a:before{background-position:-315px -22px}.e-programm .eps-opened .ep-sect-title a:before{background-position:-295px 0}.p-calendar .ep-sect-title a:before{width:13px;height:14px;background-position:-250px -109px;margin-right:5px;vertical-align:middle;margin-top:-2px}.p-calendar .eps-opened .ep-sect-title a:before{background-position:-211px -145px}.ep-sect-body{padding-top:25px;display:none}.eps-opened .ep-sect-body{display:block}.e-programm ul{margin:0;padding:0;list-style:none}.e-programm li{margin-top:20px;padding:15px 0 5px}.e-programm li:first-child{margin-top:0}.e-programm .ep-item{border:1px dotted #ccc;padding:0 10px 0 30px}.e-programm .ep-item header{margin-top:-15px;padding:0 0 0 160px}.ep-item .ep-time{font-size:25px;line-height:25px;color:#f60;background:#fcfcfb;padding:0 5px;float:left;margin:0 -100% 0 -165px}.ep-item .ep-title{display:inline;font-size:22px;line-height:25px;background:#fcfcfb;outline:#fcfcfb solid 6px;outline-offset:-1px}.ep-item .ep-body{font-size:12px;line-height:16px;margin:7px 0}.ep-item .ep-body p{margin:7px 0}.ep-item .ep-body .ep-coord{color:#f60}.e-programm .ep-item footer{font-size:15px;line-height:15px;margin-bottom:-7px}.ep-item .ap-area{display:inline-block;padding:0 5px;color:#8f8f8f;background:#fcfcfb;margin-left:-5px}.e-programm+.i-steps,.e-statistic+.i-steps{margin-top:40px;margin-bottom:15px}.ep-stats{padding:5px 25px 0;border-bottom:1px dotted #ccc;margin-bottom:25px}.ep-stats .eps-item{width:220px;float:right;font-weight:700;font-size:28px;line-height:28px;margin-bottom:-13px}.ep-stats .eps-item:first-child{color:#f60;width:450px;float:left}.ep-stats b{display:block;font-size:120px;line-height:120px;margin-top:-10px;word-spacing:-10px;letter-spacing:-7px;white-space:nowrap}.ep-stats .eps-text{display:block;margin:-18px 0 0;padding:0 5px;background:#fcfcfb;float:left}.ep-info{padding:0 30px;margin-bottom:20px}.ep-info .ep-area-wrap{width:450px;float:left;font-size:80px;line-height:80px}.ep-info .epa-title{font-size:18px;line-height:18px;width:110px;padding-top:12px;float:left}.ep-info .epa-area{display:inline-block;font-weight:100;letter-spacing:-2px;word-spacing:-5px}.ep-info .epa-area sup{display:inline-block;font-size:45px;margin:0 0 0 3px}.ep-info .ep-founded{width:210px;float:right;font-size:16px;line-height:18px;color:#afafae;padding-top:14px}.ep-founded b{display:block;font-size:40px;line-height:40px;letter-spacing:-1px;margin:0 0 -5px -2px}.ep-countries{padding:0 30px 0 140px;border-top:1px dotted #ccc;font-size:18px;color:#f60}.ep-countries .epc-title{color:#feb17d;background:#fcfcfb;margin:-10px -100% 0 -115px;padding:0 5px;float:left}.ep-countries .epc-list{margin-top:-10px;display:table;table-layout:fixed;width:100%}.ep-countries ul{margin:0;padding:0;list-style:none;display:table-cell;vertical-align:top}.ep-countries ul+ul+ul{width:215px}.ep-countries ul li{padding:0 5px;background:#fcfcfb;margin-top:4px;float:left;clear:left}.clear,.clearfix:after,.mf-photos-list li:after,.tad-price li:after{clear:both}.ep-countries ul li:first-child{margin-top:0}.e-price{font-size:15px;line-height:18px;margin-bottom:5px}.epr-title,.pr-list .prl-value{font-weight:700;font-size:28px}.e-price-wrap{margin:0 -20px;padding-top:15px}.epr-layout{display:table;width:100%;border-spacing:20px 0}.eprl-col{border:1px dotted #ccc;display:table-cell;vertical-align:top;padding:0 15px 15px}.eprl-col:first-child{width:350px}.epr-title{margin:-12px 0 20px -5px}.epr-title span{display:inline-block;padding:0 5px;background:#fcfcfb}.epr-subtitle{color:#f60;font-weight:700;text-transform:uppercase;margin-bottom:10px}.pr-list{margin:0 0 20px;padding:0;list-style:none;color:#f60}.pr-list.grey{color:#8b8b8b}.pr-list li{margin-bottom:3px;word-spacing:-2px;white-space:nowrap}.for_participation .pr-list li{display:inline-block;vertical-align:top;width:49%;text-align:center}.for_participation .pr-list .prl-descr,.for_participation .pr-list .prl-value{display:block;max-width:initial;height:auto;white-space:normal}.for_participation .pr-list .prl-value{border-bottom:0;border-radius:4px 4px 0 0}.for_participation .pr-list .prl-descr{border-top:0;border-radius:0 0 4px 4px}.pr-list .prl-value{display:inline-block;vertical-align:middle;border:1px solid #ffd2b2;height:32px;padding:2px 15px 0;line-height:32px;word-spacing:-4px;border-radius:4px 0 0 4px;max-width:94px}.pr-list .prl-value .small{word-spacing:0;white-space:normal;font-size:14px;display:block;line-height:1em;padding-top:2px}.pr-list .prl-descr{display:inline-block;vertical-align:top;border:1px solid #ffd2b2;min-height:34px;padding:0 15px;font-size:18px;line-height:32px;word-spacing:normal;white-space:normal;border-radius:0 4px 4px 0}.pr-list.grey .prl-descr,.pr-list.grey .prl-value{border-color:#c6c6c6}.pr-list .prl-descr span{display:inline-block;vertical-align:middle;line-height:19px}.epr-conditons{margin-top:20px}.epr-conditons p{margin:0}.tp-btn-wrap,.tp-wrap{display:table;table-layout:fixed;width:100%;border-spacing:0;margin-bottom:20px}.tp-btn-wrap>*,.tp-wrap>*{display:table-cell;vertical-align:middle;margin-bottom:0}.t-layout .t-col,.tp-btn-wrap>*{vertical-align:top}.tp-btn-wrap .tp-btn,.tp-wrap .pr-list{width:262px}.tp-btn-wrap .tp-categories,.tp-wrap .tp-descr{font-weight:500;font-size:14px;line-height:17px;text-transform:uppercase;color:#f60}.tp-wrap .tp-descr.grey{color:#8b8b8b}.tp-btn-wrap{margin-bottom:0}.tp-btn-wrap .tp-categories{font-weight:400;text-transform:none}.tp-btn-wrap .tp-categories .tpc-title{font-size:13px;color:#feb17d;margin-bottom:3px}.targets,.tp-btn-wrap .tp-categories ul{font-size:15px;line-height:16px}.tp-btn-wrap .tp-categories ul{margin:0;padding:0 0 0 15px;font-weight:700}.t-layout{display:table;width:100%}.t-layout .t-col{display:table-cell;width:50%;padding-right:20px}.tg-title{font-size:22px;line-height:22px;color:#f60;margin-bottom:10px}.tg-title:before{display:inline-block;width:24px;height:23px;background:url(../img/sprites.png) -300px -41px no-repeat;margin:0 5px -3px 0}.tg-title.icon-case:before{width:23px;height:19px;background-position:-300px -65px;margin:0 6px -1px 0}.targets ul{margin:0;padding:0 0 0 30px;list-style:none}.targets ul li{margin-bottom:5px}.targets small{display:inline-block;font-size:13px}.tad-price ul{margin:0;padding:0;list-style:none}.tad-price li{padding:17px 230px 20px 20px;margin-bottom:20px;background:#fcfcfb;box-shadow:inset 0 1px 0 #e8e8e7;border-radius:4px;-webkit-transition:background .3s;-o-transition:background .3s;transition:background .3s}.tad-price li:after,.tad-price li:before{content:" ";display:table}.tad-price li.p-left{padding:17px 20px 20px 230px}.tad-price .tad-pict{width:190px;float:right;padding:5px 0;margin:0 -210px 0 -100%}.tad-price li.p-left .tad-pict{float:left;margin:0 -100% 0 -210px}.tad-price .tad-pict img{width:190px}.tad-price .tad-pict a:hover img{opacity:.9}.cl-item.cpe-inactive .cl-item-wrap,.cl-item.cpe-inactive .cli-pb-button .button.more,.cl-item.cpe-inactive .cli-pb-info,.cl-item.cpe-inactive .cli-photo-list .clipl-wrap,.set-sect.passed .set-sect-title .afh-right .button,.set-sect.passed .set-sect-title h3{opacity:.5}.tad-price h3{font-weight:400;font-size:25px;line-height:26px;margin:0 0 10px}.tadi-text{font-size:13px;line-height:16px;min-height:55px;margin-bottom:25px}.tad-price p{margin:10px 0 0;color:#464646}.tad-price p:first-child{margin-top:0}.btn-wrap{margin:25px 0 5px}.btn-wrap .tad-prise-descr{padding-left:21px;margin-top:5px;color:#f60}.a-graphic{font-size:12px;line-height:14px;padding-top:10px}.a-graphic table{width:100%}.a-graphic>table>tbody>tr>td{width:100%;padding:0 5px 0 20px;vertical-align:top;background:url(../img/ag-bg.png)}.a-graphic>table>tbody.bottom>tr>td{background:0 0;vertical-align:middle}.a-graphic>table>tbody>tr>td:first-child{width:auto;padding:0 10px 0 0;height:20px;vertical-align:middle;text-align:left;background:0 0}.a-graphic tbody.main table td,.message-standart .fa{vertical-align:bottom}.a-graphic>table>tbody>tr>td>div{display:inline-block;min-width:45px;height:20px;line-height:20px;text-align:right}.a-graphic>table>tbody.bottom>tr>td:first-child{font-size:11px;line-height:12px;color:#aeaeae;height:35px}.a-graphic>table>tbody.bottom>tr>td:first-child div{line-height:12px;text-align:center}.a-graphic table table{table-layout:fixed}.a-graphic table table td{width:20%;padding:0 5px}.a-graphic tbody.bottom table td{text-align:center;font-size:14px;font-weight:500;color:#f60}.a-graphic .at-bar{height:20px;background:#f60;border-radius:4px}.a-graphic .at-bar.bh1{height:20px}.a-graphic .at-bar.bh2{height:40px}.a-graphic .at-bar.bh3{height:60px}.a-graphic .at-bar.bh4{height:80px}.a-graphic .at-bar.bh5{height:100px}.a-graphic .at-bar.bh6{height:120px}.a-graphic .at-bar.bh7{height:140px}.a-graphic .at-bar.bh8{height:160px}.a-graphic .at-bar.bh9{height:180px}.a-graphic .at-bar.bh10{height:200px}.a-graphic .at-bar .atb-text{padding:10px 5px;color:#fff;font-size:13px;text-align:center}.a-graphic .at-bar .atb-text p{margin:30px 0 0}.a-graphic .at-bar .atb-text p:first-child{margin-top:10px;font-size:15px}.a-graphic .at-bar .atb-text p b{display:block;font-weight:500;font-size:20px;line-height:21px;word-spacing:-2px;white-space:nowrap}.a-graphic .at-bar .atb-text p:first-child b{display:block;font-size:25px;line-height:25px;word-spacing:-3px}.p-calendar .ep-sect{margin-bottom:0}.p-calendar .ep-sect-body{padding-top:10px}.p-calendar .ep-sect-body header{height:15px;margin-bottom:25px;text-align:center;border-bottom:1px dotted #ccc}.p-calendar .pc-month-wrap{display:inline-block;padding:0 10px;background:#fcfcfb}.p-calendar .pc-month-wrap a{position:relative;display:inline-block;vertical-align:middle;width:18px;height:0;padding-top:18px;overflow:hidden;background:#464646;border-radius:18px}.p-calendar .pc-month-wrap a:hover{background:#f60}.p-calendar .pc-month-wrap a:before{content:'';display:block;width:8px;height:12px;background:url(../img/sprites.png) -225px -134px no-repeat;position:absolute}.cal-item .cli-title,.ce-ico,.cli-icos,.p-calendar .pc-month{display:inline-block}.p-calendar .pc-month-wrap a.pcm-prev:before{background-position:-225px -134px;left:4px;top:4px}.p-calendar .pc-month-wrap a.pcm-next:before{background-position:-175px 0;right:4px;top:4px}.p-calendar .pc-month{vertical-align:middle;font-weight:700;font-size:30px;line-height:30px;text-transform:uppercase;margin:0 15px}.cal-wrap{margin:0 -20px}.calendar-container{width:100%;position:relative;padding-right:20px;-moz-box-sizing:border-box;box-sizing:border-box}.calendar-container .scroll-content{padding:25px 0 5px;width:100%;-moz-box-sizing:border-box;box-sizing:border-box}.calendar-container .cal-days td>div{width:136px}.calendar-container table td{border-left:1px dotted #ccc;text-align:center;padding:0}.calendar-container table td:first-child{border-left:none}.calendar-container table tr.c-sep td{height:10px}.calendar-container table td.c-cur{background:#fff0e5;border:solid #ffd8bb;border-width:0 1px}.calendar-container .cal-days td{font-size:25px;color:#959595;padding:8px 0 12px;width:136px}.calendar-container .cal-body+.cal-days td{padding:2px 0 28px}.calendar-container .cal-days td.c-cur>div{position:relative;width:136px;background:#fff0e5;padding-top:33px;margin:-33px -1px 0;border:solid #ffd8bb;border-width:1px 1px 0;border-radius:4px 4px 0 0}.calendar-container .cal-body+.cal-days td.c-cur>div{padding:0 0 32px;margin:0 -1px -32px;border-width:0 1px 1px;border-radius:0 0 4px 4px}.calendar-container .cal-days td b{letter-spacing:-1px;color:#464646;margin-right:3px}.calendar-container .cal-days td i{font-style:normal;font-size:20px}.calendar-container .cal-days td.c-cur{color:#ffb380}.calendar-container .cal-days td.c-cur b{color:#f60}.calendar-container .cal-days td.c-cur .cur-mark{position:absolute;width:100%;left:0;top:10px;font-size:14px;color:#f60}.calendar-container .cal-body+.cal-days td.c-cur .cur-mark{top:auto;bottom:12px}.calendar-container .c-event{position:relative;width:100%;padding:0 5px;background:#f60;color:#fff;margin:0 -5px;text-align:left;border-radius:4px}.calendar-container .c-event.grey{background:#7e7e7e}.calendar-container .c-event.cont-prev{padding-left:20px;margin-left:-20px;border-radius:0 4px 4px 0}.calendar-container .c-event.cont-next{padding-right:20px;margin-right:-20px;border-radius:4px 0 0 4px}.calendar-container .c-event.cont-prev.cont-next{border-radius:0}.calendar-container .c-event .ce-wrap{padding:10px 7px 10px 12px}.calendar-container .c-event h3{margin:0 0 5px;font-weight:400;font-size:13px;line-height:14px}.calendar-container .c-event h3 a{color:#fff;text-decoration:none}.calendar-container .c-event .ce-info{font-size:12px;line-height:14px;color:#ffd0ae}.calendar-container .c-event.grey .ce-info{color:silver}.calendar-container .c-event .ce-info>div{display:inline-block;vertical-align:middle;margin-bottom:4px}.ce-ico{position:relative;vertical-align:middle;width:19px;height:19px;margin-right:2px;border:1px solid #ffb380;border-radius:3px}.c-event.grey .ce-ico,.cal-item .ce-ico.icon-fav{border-color:#bfbfbf}.cl-actions,.cl-sect .cls-title,.cl-sect ul li{border-bottom:1px dotted #ccc}.ce-ico:before{content:'';background:url(../img/sprites.png) no-repeat;position:absolute}.ce-ico.icon-check:before{width:12px;height:9px;background-position:-93px -16px;left:4px;top:5px}.c-event .ce-ico.icon-check:before{background-position:-117px -162px}.ce-ico.icon-fav:before{width:11px;height:11px;background-position:-130px -162px;left:4px;top:4px}.c-event .ce-ico.icon-fav:before{background-position:-142px -162px}.cl-sect{margin-top:20px}.cl-sect:first-child{margin-top:0}.cl-sect .cls-title{font-size:25px;line-height:26px;padding-bottom:10px}.cl-sect ul{margin:0;padding:0;list-style:none}.cl-sect ul li{position:relative;padding:10px 50px 10px 0}.cal-item{padding-left:50px}.cal-item .cali-pict{width:40px;float:left;margin:0 -100% 0 -50px}.cal-item .cali-pict img{width:40px}.cal-item .cli-info{margin-bottom:0}.cal-item .cli-info .cli-top{margin-bottom:3px}.cal-item header{margin-bottom:2px}.cal-item .cli-title{font-size:20px;line-height:22px;color:#f60;margin-right:5px;max-width:550px}.cal-item .cli-title a{color:#f60;text-decoration:none}.cal-item .cli-title a:hover{color:#464646}.cli-icos{vertical-align:top}.adm-form .mf-line .mf-field,.i-wait,.i-wait img,.mfpl-button-line>*{vertical-align:middle}.cal-item .cli-info .cli-bot .cli-date{width:150px;font-size:15px}.cal-item .cli-place{font-size:15px;float:left}.cl-sect ul li .check-wrap{position:absolute;right:5px;top:12px}.cl-actions{padding:15px 0 12px;font-size:15px;line-height:16px}.cl-actions .cla-title{float:left;margin-right:20px;line-height:26px;color:#979797}.cl-actions .cla-btns{overflow:hidden}.cl-actions .cla-btns .button{margin-bottom:4px}.to-prev-cal{font-size:15px;margin-top:20px}.to-prev-cal .icon-back:before{width:11px;height:12px;background-position:-183px -162px;margin-right:7px}.a-bot-buttons-line{margin-top:20px;padding-top:20px;border-top:1px dotted #ccc;word-spacing:16px}.p-form .a-bot-buttons-line{border-top:none;padding-top:0}.a-bot-buttons-line .abb-left{float:left;width:75%}.a-bot-buttons-line .abb-right{float:right}.page-title.clearfix .a-pt-button{float:right;margin:3px 0 -3px}.mfpl-button-line{display:table;width:100%;margin-bottom:20px}.mfpl-button-line>*{display:table-cell}.mfpl-button-line .mfpl-button{padding-right:30px}.mfpl-button-line .mfpl-text{width:100%;font-size:14px;line-height:16px;word-spacing:normal}.mfpl-button-line .mfpl-text p{margin:0;max-width:400px}.i-wait{display:inline-block;font-size:18px}.adm-form .i-wait{display:block;text-align:center;margin-bottom:20px}.i-wait img{margin:-4px 3px 0 0}.mf-photos-list ul{margin:0;padding:0;list-style:none}.mf-photos-list li{border-top:1px dotted #ccc;padding:20px 0 20px 210px}.mf-photos-list li:after,.mf-photos-list li:before{content:" ";display:table}.mf-photos-list .mfpli-pict{width:190px;height:190px;float:left;margin:0 -100% 0 -210px}.mf-photos-list .mfpli-pict img{max-width:190px;max-height:190px;border-radius:4px}.set-sect.adm-form{margin-bottom:22px}.set-sect .set-sect-title h3{margin:0;font-weight:300;font-size:25px;line-height:26px;color:#f60;float:left}.set-sect.not-active .set-sect-title h3{color:#d1d1d1}.set-sect .set-sect-title .afh-right{float:right}.lt-ie9 .set-sect.passed .set-sect-title .afh-right .button,.lt-ie9 .set-sect.passed .set-sect-title h3{filter:alpha(opacity=50)}.set-sect.passed .set-sect-title .afh-right .button:hover{opacity:1}.adm-form .adm-form-body.disabled,.mf-line .rq-sub-sect .rq-sub-sect-body.disabled>*{opacity:.5}.lt-ie9 .set-sect.passed .set-sect-title .afh-right .button:hover{filter:alpha(opacity=100)}.set-sect .set-sect-title .afh-right .sst-info{font-weight:300;font-size:20px;color:#f60}.set-sect .set-sect-title .afh-right .sst-info b{font-weight:500}.lt-ie9 .adm-form .adm-form-body.disabled{filter:alpha(opacity=50)}.adm-form h2{margin:-5px 0 15px;font-weight:100;font-size:30px;line-height:30px;color:#f60}.adm-form hr{margin-bottom:21px}.adm-form .mf-line>label{display:inline-block;font-size:17px;line-height:17px;margin-right:5px}.adm-form .mf-line>label.h2{display:inline-block;font-weight:100;font-size:30px;line-height:30px;color:#f60;vertical-align:middle;margin-top:-6px;padding-bottom:5px}.mf-line.afs-type{word-spacing:16px;padding-top:5px}.set-sect-title+form .mf-line.afs-type{padding-top:0}.mf-line.afs-type label{word-spacing:normal}.mf-line.afs-type .mf-field{padding:0}.mf-stat .mf-stat-add-button,.mfs-additional .mf-line{padding-left:135px}.mf-line.s-subj-tag{word-spacing:16px;margin-top:-5px}.mf-line.s-subj-tag .mf-field{width:45%;word-spacing:normal;vertical-align:top}.mf-line.s-subj-tag .mf-field label{display:block;font-size:17px;line-height:18px;margin-bottom:5px}.button.big.a-more:after,button.big.a-more:after{content:'';display:inline-block;vertical-align:middle;width:7px;height:11px;background:url(../img/sprites.png) -234px -134px no-repeat;margin:-1px -3px 0 7px}.button.big.grey.a-more:after,button.big.grey.a-more:after{background-position:-250px -134px}.button.big.a-more:hover:after,.button.big.orange.a-more:after,button.big.orange.a-more:after{background-position:-242px -134px}.mfs-location .mf-line{word-spacing:16px}.mfs-location .mf-line+.mf-line .mf-field{width:45%}.mfs-additional .mf-line>label{display:inline-block;width:120px;float:left;margin:0 -120px 0 -135px;padding-top:3px}.mf-line.mf-time>label,.mfs-additional.mf-stat .mf-line>label{padding-top:11px}.mfs-additional .mf-line .mf-field{width:100%}.mfs-additional .mf-line .mf-field hr{margin:10px 0 0}.mfs-additional .mf-line .mf-field .mff-col{width:45%;margin-right:25px;float:left}.mfs-additional .mf-line.mf-targets .mf-field .mff-col{width:30%}.mfs-additional .mf-line.mf-targets .mf-field .mff-col:first-child{width:45%}.adm-form-body label.check{font-size:15px;min-height:20px}.mf-targets label.check{width:100%;margin-bottom:7px}.mf-membership label.check{display:inline-block;vertical-align:top;width:45%;margin:0 25px 7px 0}.mf-prod input[type=text],.mf-prod textarea{margin:10px 0}.mf-prod input[type=text]:first-child,.mf-prod textarea:first-child{margin-top:0}.mf-prod input[type=text]{width:75%}.w-time{margin-bottom:10px;word-spacing:22px;display:none}.w-time.show,.w-time:first-child{display:block}.w-time>div{display:inline-block;vertical-align:middle;word-spacing:normal}.w-time .w-time-day{width:125px;display:none}.w-time.show .w-time-day{display:inline-block}.w-time .w-time-wrap{position:relative;width:90px}.w-time .w-time-wrap+.w-time-wrap,.w-time.show .w-time-wrap{margin-left:20px}.w-time.show .w-time-day+.w-time-wrap{margin-left:15px}.w-time .w-time-wrap label{font-size:15px;position:absolute;right:100%;margin-right:7px;top:12px;z-index:10}.adm-form-body .mf-line.mf-logo>label{width:130px}.mf-prod.mf-short-input input[type=text],.mf-year{width:140px}.mf-photos-list+hr{margin-top:5px}.mf-line>label.h3{font-size:20px}.mf-stat-item hr{margin-left:135px}.mf-line.mf-prod+.mf-stat-item hr{margin:-10px 0 20px 135px}.mf-year{margin-bottom:15px}.mf-stat-data{display:table;width:100%}.mf-stat-data>div{display:table-cell;padding-right:20px}.mf-stat-data .sd-participants,.mf-stat-data .sd-visitors{width:35%}.mf-stat-data .sd-participants input[type=text],.mf-stat-data .sd-visitors input[type=text]{width:100%}.mf-stat-data .sd-area{font-size:17px}.mf-stat-data .sd-area input[type=text]{width:70%;margin-right:5px}.mf-line.mf-stat-countries{margin-top:-15px}.mf-stat-countries .c-select-box{width:65%}.adm-form .e-price-wrap{margin:0 -20px 30px;padding-top:0}.adm-form .epr-layout{display:table;width:100%;border-spacing:20px 0}.adm-form .eprl-col{padding:0;border:none}.adm-form .eprl-col-wrap{padding:15px 20px;border:1px dotted #ccc}.adm-form .eprl-col:first-child .eprl-col-wrap{min-width:350px}.adm-form .epr-subtitle{font-size:15px}.adm-form .eprl-col hr{margin:10px 0}.adm-form .eprl-col input[type=text]{padding-left:7px;padding-right:7px}.adm-form .eprl-col input[type=text]:focus{padding-left:6px;padding-right:6px}.adm-form .tp-wrap{margin:0}.adm-form .pr-list{color:#464646;margin-bottom:10px}.adm-form .pr-list input[type=text]{width:75%;margin-right:6px;vertical-align:top}.adm-form .tp-wrap .pr-list input[type=text]{width:115px}.adm-form .eprl-col .custom-select{display:inline-block;vertical-align:top;width:70px}.adm-form .eprl-col .custom-select .custom-select-wrap{padding-left:7px}.adm-form .eprl-col .custom-select .scroll-content{padding-left:2px}.eprl-col .mf-line label{display:block;margin-bottom:5px}.eprl-col .mf-line .mf-field{width:100%;padding:0}.eprl-col .mf-line.mf-min-area label{display:inline-block;margin-bottom:0}.adm-form .eprl-col .mf-line.mf-min-area .mf-field{font-size:15px;width:38%}.adm-form .eprl-col .mf-line.mf-min-area .mf-field input[type=text]{width:78%;margin-right:3px}.adm-form .eprl-col .mf-field .period .pwf-field{padding:0}.adm-form .eprl-col .mf-field .period input.date[type=text]{padding-right:35px}.adm-form .eprl-col .mf-field .period input.date[type=text]:focus{padding-right:34px}.mf-reg-payment input[type=text]{width:120px;margin-right:6px}.mf-line.mf-deadline{margin-bottom:0}.cl-news header .news-s-pict{width:100px;height:100px;overflow:hidden;text-align:center;border-radius:4px;margin-right:20px;float:left}.cl-news header .news-s-pict img{height:100%;margin:0 -50%}.cl-news header .news-header-body{overflow:hidden}.cl-news header .news-header-body h2{margin:0 0 7px;font-weight:500;font-size:25px;line-height:26px}.cl-news header .news-header-body .news-header-date{font-size:15px;color:#f60}.request-form .rq-info{margin-bottom:15px;display:table;width:100%}.request-form .rq-info>*{display:table-cell}.request-form .rq-info .rqi-pict{vertical-align:top;width:130px;padding-right:30px;text-align:center}.request-form.rq-tickets .rq-info .rqi-pict{width:155px}.request-form .rq-info .rqi-body{vertical-align:middle;font-size:13px;line-height:15px}.request-form .rq-info .rqi-body h2,.request-form .rq-info .rqi-body h3,.request-form .rq-info .rqi-body h4{font-weight:400}.request-form .rq-info .rqi-body h2{margin:20px 0 10px;font-size:23px;line-height:24px}.request-form .rq-info .rqi-body h3{font-size:22px;line-height:24px;color:#f60;margin:20px 0 10px}.request-form .rq-info .rqi-body h4{font-size:16px;line-height:19px;margin:20px 0 10px}.request-form .rq-info .rqi-body ul{margin:10px 0;padding:0;list-style:none}.request-form .rq-info .rqi-body ul li{padding-left:15px;margin-bottom:10px}.request-form .rq-info .rqi-body ul li:before{content:'';display:block;width:11px;height:8px;background:url(../img/sprites.png) -250px -124px no-repeat;float:left;margin:4px -11px 0 -15px}.request-form .rq-info .rqi-body p{margin:10px 0}.request-form .rq-info .rqi-cols{display:table;width:80%;margin:0}.request-form .rq-info .rqi-cols>*,.request-form .rq-info .rqi-cols>ul{display:table-cell;margin:0;width:50%;padding-right:20px}.request-form .rq-info .rqi-cols>ul li{margin-bottom:5px}.request-form .rq-info .rqi-body>:first-child{margin-top:0}.request-form .rq-form{display:none;margin:10px 0}.request-form.rqf-opened .rq-form{display:block}.request-form.rqf-opened .rq-btn-to-hide,.request-form.rqf-opened .rq-to-hide{display:none}.request-form .rq-form .rqf-title{font-weight:100;font-size:30px;line-height:31px;color:#f60;margin-bottom:15px}.request-form hr{margin:25px 0 15px}.request-form .rq-form hr{margin:20px 0}.request-form .rq-btn-wrap{margin-bottom:15px}.request-form .rq-form hr+.rq-btn-wrap{margin-top:25px}.request-form .rq-btn-wrap .rqb-cols{display:table;width:100%}.request-form .rq-btn-wrap .rqb-cols>*{display:table-cell;width:50%}.request-form .rq-btn-wrap .rqb-cols .rqb-button{vertical-align:top}.request-form .rq-btn-wrap .rqb-cols .rqb-text{vertical-align:middle;padding-left:30px;font-family:Arial,sans-serif;font-size:12px;line-height:16px}.request-form .rq-btn-wrap>.button.big.orange,.request-form .rq-btn-wrap>button.big.orange{height:44px;line-height:40px;padding:2px 30px 0;font-size:17px}@-moz-document url-prefix(){.request-form .rq-btn-wrap>.button.big.orange,.request-form .rq-btn-wrap>button.big.orange{line-height:39px}}.rq-catalog .rq-btn-wrap{width:100%;max-width:650px}.rq-remotely .rq-btn-wrap{width:100%;max-width:770px;margin-bottom:0}.rq-tickets .rq-btn-wrap{width:100%;max-width:800px}.rq-translator .rq-btn-wrap{width:100%;margin-top:20px}.rq-translator .rq-form .rq-btn-wrap{width:50%;min-width:420px}.rq-catalog .rq-order-button,.rq-catalog .rq-order-button .rqob-wrap,.rq-remotely .rq-order-button,.rq-remotely .rq-order-button .rqob-wrap,.rq-tickets .rq-order-button,.rq-tickets .rq-order-button .rqob-wrap,.rq-translator .rq-order-button,.rq-translator .rq-order-button .rqob-wrap{width:100%}.rq-participation .rq-btn-wrap,.rq-tour .rq-btn-wrap{margin-left:160px}.rq-participation .rq-form .rq-btn-wrap,.rq-tour .rq-form .rq-btn-wrap{margin-left:0}.request-form .rq-btn-wrap .ob-descr{padding-left:160px;color:#f60;font-family:Arial,sans-serif;font-size:13px;line-height:15px;margin-top:7px}.about_block h2,.about_block_menu li a,.acticle_list_big h3,.archive_block h4,.blog_avtor table tr td,.blog_avtor table tr th,.blog_avtor_right,.blog_avtormidle,.blog_block h1,.blog_block h2,.blog_block h3,.blog_block h4,.contacts_bottom h3,.contacts_top_block_left,.contacts_top_block_right,.country_content h4,.country_content h5,.country_table tr td ul li,.country_towns,.map_info_block,.profile_top h1,.profile_top h3,.profile_top_left_1,.profile_top_right_1,.profile_top_table tr td,.review_list .sc-name,.review_list header,.s-tour .sect-title,.signature_block{font-family:dindisplay_pro,sans-serif}.request-form.rq-tickets .rq-btn-wrap .ob-descr{padding-left:185px}.rq-note{font-size:13px;line-height:15px}hr+.rq-note{margin-top:-3px}.rq-note p{margin:10px 0 0}.rq-note:first-child{margin-top:0}.s-tour .sect-title{color:#f60;font-size:22px;line-height:23px;margin:25px 0 15px;padding-left:20px}.rq-form{padding-top:1px}.rq-form hr:first-child{margin-top:0}.rq-form-sect .mf-line.cols-2{width:auto}.rq-form-sect .mf-line.cols-2.rq-place{width:75%}.rq-form .mf-line.rq-person .mf-field{width:60%}.rq-form-sect .mf-line.cols-2.rq-tickets-data .mf-field:first-child{padding-right:40px}.rq-form-sect .mf-line.cols-2.rq-contacts{width:85%}.rq-form .mf-line label{font-size:17px}.mf-line.cols-2.rq-remotely-what{width:100%}.mf-line.cols-2.rq-remotely-what label{width:150px;padding-right:0}.mf-line.cols-2.rq-remotely-what label em{font-style:normal;font-size:14px;line-height:16px;margin-top:5px;display:block;color:#b0b0b0}.mf-line.cols-2.rq-remotely-what .mf-field,.mf-line.rq-remotely-options .mf-field,.mf-line.rq-remotely-options>label{width:auto}.mf-line.rq-remotely-options .mf-field label{margin-left:15px}.mf-line.rq-remotely-options .mf-field label:first-child{margin-left:0}.rq-form-sect .mf-line.cols-2 .mf-field.rq-area-val{width:280px}.rq-form-sect .mf-line .rq-num input[type=text],.rq-form-sect .mf-line.cols-2 .mf-field.rq-area-val input[type=text]{width:80px;margin-left:7px}.rq-form-sect .mf-line .rq-num input[type=text]:first-child,.rq-form-sect.rq-tour-form .mf-line .rq-num input[type=text]{margin-left:0}.rq-form-sect .mf-line.cols-2 .mf-field.rq-area-type .custom-select{display:inline-block;vertical-align:middle;width:190px;margin-left:7px}.rq-form .rq-btn-wrap{display:none}.request-form.rqf-opened .rq-form .rq-btn-wrap{display:block}.mf-line.rq-tel2 .mf-field{width:50%}.rq-translator .rq-form-sect .mf-line.cols-2.rq-trans{width:100%}.rq-translator .mf-line .mf-field{vertical-align:middle;font-size:17px;width:auto}.rq-translator .rq-form-sect .mf-line.cols-2.rq-trans .mf-field{width:50%}.rq-translator .mf-line .mf-field.rq-num input[type=text]{margin-right:5px}.rq-translator .mf-line.rq-trans .mf-field>label{display:block;margin-bottom:5px}.rq-translator .mf-line>label{display:inline-block;vertical-align:middle;width:150px;margin-top:-6px}.rq-translator .mf-line.rq-p-days>label{width:124px}.rq-form .rq-tour-form .mf-line{display:table;table-layout:fixed;width:100%}.rq-form .rq-tour-form .mf-line>*{display:table-cell;vertical-align:top;width:auto;padding:0}.rq-form .rq-tour-form .mf-line>label{width:160px;padding-top:11px}.rq-form .rq-tour-form .mf-line.rq-p-days>label{width:130px}.rq-tour-form .mf-field>div{display:inline-block;margin-right:20px}.rq-tour-form .rq-sel-cond .custom-select{display:inline-block;vertical-align:middle;margin-left:5px;max-width:290px}.rq-tour-form .rq-sel-cond .custom-select:first-child{margin-left:0}.mf-line.rq-from-city input[type=text]{width:50%}.custom-radio-check.rq-rad-rate{display:inline-block;vertical-align:middle;height:40px;border:1px solid #feb17d;border-radius:3px;-moz-box-sizing:border-box;box-sizing:border-box;cursor:pointer;overflow:hidden;position:relative;margin-right:2px}.custom-radio-check.rq-rad-rate:hover{border-color:#f60;background:#f60;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#ff8000),color-stop(100%,#f60));background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:-webkit-linear-gradient(top,#ff8000 0,#f60 100%);background:-o-linear-gradient(top,#ff8000 0,#f60 100%);background:linear-gradient(to bottom,#ff8000 0,#f60 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#ff8000', endColorstr='#ff6600', GradientType=0)}.ir,.visuallyhidden{border:0;overflow:hidden}.custom-radio-check.rq-rad-rate .custom-checkbox{display:block;height:38px;line-height:38px;padding:0 12px}.custom-radio-check.rq-rad-rate .custom-checkbox:before{content:'';display:inline-block;vertical-align:middle;height:15px;background:url(../img/sprites.png) -340px -16px no-repeat;margin:-2px -1px 0 0}.custom-radio-check.rq-rad-rate .custom-checkbox.checked:before{background-position:-340px -32px}.custom-radio-check.rq-rad-rate:hover .custom-checkbox:before{background-position:-340px 0}.custom-radio-check.rq-rad-rate.rr1 .custom-checkbox:before{width:15px}.custom-radio-check.rq-rad-rate.rr2 .custom-checkbox:before{width:31px}.custom-radio-check.rq-rad-rate.rr3 .custom-checkbox:before{width:47px}.custom-radio-check.rq-rad-rate.rr4 .custom-checkbox:before{width:63px}.custom-radio-check.rq-rad-rate.rr5 .custom-checkbox:before{width:79px}.custom-radio-check.rq-rad-rate input{position:absolute;cursor:pointer;bottom:110%;right:110%}.rq-tour-form .rq-sel-cond.rq-hotel-loc .custom-select{max-width:150px}.rq-tour-form .rq-sel-cond.rq-h-price label{font-size:14px}.rq-tour-form .rq-sel-cond.rq-h-price input[type=text]{width:80px;margin-left:5px}.rq-tour-form .rq-sel-cond.rq-h-price .custom-select{max-width:120px}.rq-form .rq-tour-form .mf-line.rq-notes{width:95%}.mf-line.rq-options{margin-top:20px}.mf-line.rq-options .mf-field>ul{margin:0;padding:15px 20px;list-style:none}.mf-line.rq-options .mf-field>ul li{margin-top:10px}.mf-line.rq-options .mf-field ul li:first-child{margin-top:0}.mf-line .rq-sub-sect{display:table;background:#f3f3ef}.rq-tour-form .mf-field>div.rq-sub-sect{margin-right:0}.mf-line .rq-sub-sect.transl-service{min-width:595px}.mf-line .rq-sub-sect.transl-service .rq-sub-sect-body{width:355px}.mf-line .rq-sub-sect>*{display:table-cell;vertical-align:top;padding:15px 20px;width:auto}.mf-line .rq-sub-sect.transl-service .rq-switch{width:180px;padding-right:0}.mf-line .rq-sub-sect.avia-tickets{max-width:470px}.mf-line .rq-sub-sect.avia-tickets .rq-sub-sect-body{padding-right:0;padding-bottom:5px}.mf-line .rq-sub-sect .rq-sub-sect-body .check{margin:0 20px 10px 0}.mf-line .rq-s-line{margin-top:12px;font-size:15px}.mf-line .rq-s-line:first-child{margin-top:0}.rq-form .mf-line .rq-sub-sect-body label.check{font-size:15px}.mf-line .rq-s-line label{display:inline-block;vertical-align:middle;font-size:15px}.mf-line .rq-s-line .rq-num{display:inline-block;margin-left:10px}.mf-line .rq-s-line .rq-num input[type=text]{width:60px;margin-right:5px}@media only screen and (min-width:1080px){.page-wrap{width:100%;padding-right:40px}.page-wrap .layout{padding-left:3%}.page-wrap .layout.mp-announces .layout-wrap{padding-right:0}.page-wrap .layout.mp-announces .layout-wrap aside{margin-right:0;width:33.33%;margin-left:-100%}.page-wrap .layout.mp-announces .layout-wrap .mcl{width:66.66%}.eprl-col{padding:0 20px 15px}}@media only screen and (min-width:1100px){.e-price-wrap{margin:0 -40px}.epr-layout{border-spacing:40px 0}}@media only screen and (min-width:1170px){.page-wrap .layout{padding-left:6%}.page-wrap .layout .layout-wrap{padding-left:230px}.main-page .page-wrap .header-wrap,.main-page .page-wrap .mp-catalog .layout-wrap,.page-wrap>footer .layout-wrap.footer-wrap{padding-left:240px}.mp-partners .mpp-wrap,.page-wrap section.layout.search-form .layout-wrap{padding-left:430px}.page-wrap .layout .layout-wrap>aside{width:230px;padding-right:50px;margin-left:-230px}.page-wrap>header .logo{margin-left:-230px}.page-wrap>header .logo h1,.page-wrap>header .logo h2,.page-wrap>header .logo h3{margin-left:-67px}.mp-partners .mpp-wrap header{width:230px;margin-left:-230px}.s-phone{margin-left:-25px}.online-adviser{margin-left:-40px}.s-news-list ul li{padding-left:60px;margin-left:-60px}.mp-photo-gallery .pg-item .pgi-descr,.mp-photo-gallery header,.page-wrap .layout.mp-announces .layout-wrap{padding-left:230px}.s-news-list .nl-pict{margin:0 -40px 0 -60px}.mp-photo-gallery,.mp-photo-gallery header .pg-title{margin-left:-230px}.mp-photo-gallery .pg-item .pgi-descr .pgi-date{margin-left:-190px}}@media only screen and (min-width:1200px){.page-wrap>header .logo h1,.page-wrap>header .logo h2,.page-wrap>header .logo h3{margin-left:-67px}.mp-partners .mpp-wrap ul{margin-left:-30px}.mp-partners .mpp-wrap li{margin-left:30px}.eprl-col:first-child{width:50%}}@media only screen and (min-width:1260px){.header-body .header-top{padding-right:510px}.header-body .header-top .ht-main{width:100%}.header-body .header-top .ht-side{width:505px;margin-right:-505px}.mp-partners .mpp-wrap ul{margin-left:-40px}.mp-partners .mpp-wrap li{margin-left:60px}}.ir{background-color:transparent}.ir:before{content:"";display:block;width:0;height:150%}.hidden{display:none!important}.visible{display:block!important}.c-select-box .csb-selected.dna-clone{display:inline-block}.visuallyhidden{clip:rect(0 0 0 0);height:1px;margin:-1px;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.mf-line .mf-error,.mf-line .mf-success,.pwf-field .error{font-size:15px;padding-right:10px;padding-bottom:5px;width:65%}.clearfix:after,.clearfix:before{content:" ";display:table}@media print{blockquote,img,pre,tr{page-break-inside:avoid}*{background:0 0!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999}thead{display:table-header-group}img{max-width:100%!important}@page{margin:.5cm}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}}.pwf-msg .msg-error{color:#fe0238;padding-left:20px}.pwf-msg .msg-help:before{content:'—';float:left;margin:0 -15px 0 -20px}.mf-line .mf-error,.pwf-field .error{color:#ff083c}.mf-line .mf-success{display:none;color:#31ff13}.fancybox-inner{overflow:visible!important}.pw-subj{min-height:480px}.pw-subj .csb-menu .level .sublist{display:none}.pw-subj .csb-menu .level.active .sublist{display:block}.pw-subj .csb-menu .level1{display:none}.pw-subj .csb-menu .level1>ul{margin-left:1em;margin-top:.5em}.pw-subj .csb-menu .level1>ul .trigger{margin-left:1em}.pw-subj .csb-menu .level1.visible{display:block}#mCSB_1,#mCSB_3{min-height:188px}.leter-list{float:left;width:30%;min-height:6em}.leter-list .leter{color:#f60;margin-bottom:1em;list-style:none}.about_pic{float:left;margin:0 20px 10px 0;display:block}.about_block h2{margin:0;padding:10px 0 0;color:#f60;font-size:20px;font-weight:400}.about_block ul{position:relative;left:15px;list-style-type:none}.about_block ul li{padding-left:15px}.about_block ul li:before{content:'';display:block;width:11px;height:8px;background:url(../img/sprites.png) -250px -124px no-repeat;float:left;margin:4px -11px 0 -15px}.about_block_menu,.contacts_top_block{width:100%;float:left}.about_block a.clolr_1{color:#3b5998}.about_block a.clolr_2{color:#1ab2e8}.about_block a.clolr_3{color:#597da3}.signature_block{padding:15px 0 42px;font-size:13px;color:#8d8c8c;font-weight:400}.signature_block_pic{display:block;float:left;margin:0 30px 0 10px}.signature_block h3{font-size:16px;font-weight:400;margin:0;color:#010101}.signature_block strong{display:block;font-weight:400;color:#f60;padding:0 0 2px}.signature_block p{padding:0;margin:0}.about_block_menu{border-bottom:1px dotted #ccc;list-style-type:none;padding:0;margin:0 0 25px}.about_block_menu li{float:left;height:35px;padding:15px 25px 0;border:1px dotted #fcfcfb;position:relative;top:1px;list-style-type:none;margin:0;overflow:hidden;border-bottom:none}.about_block_menu li a{font-size:18px;color:#f60;text-decoration:none;background:url(../img/libk_bg.png) left bottom repeat-x;display:inline-block;height:18px;-webkit-transition:none;-o-transition:none;transition:none}.about_block_menu li a:hover{background:0 0}.about_block_menu li:first-child{padding-left:0}.about_block_menu li.active{border-color:#ccc;background:#fcfcfb}.about_block_menu li.active a{background:0 0;color:#000}.about_block_menu li.active:first-child{border-left-color:#fcfcfb}.about_block_menu.about_active{border-top:1px dotted #ccc;border-bottom-color:#fcfcfb}.about_block_menu.about_active li{border:none}.about_block_menu.about_active li.m_05{display:none}.contacts_top_block_left{float:left;width:340px;color:#464646;font-size:13px}.contacts_top_block_left strong{font-size:20px;font-weight:400;padding:0 17px 0 0;position:relative;top:5px}.contacts_top_block_left p{padding:0;margin:0}.contacts_top_block_right{float:right;width:396px;border-bottom:1px dotted #ccc;padding:7px 0 15px;font-size:13px;color:#787777}.contacts_top_block_right table tr th{text-align:left;vertical-align:top;padding:1px 10px 1px 0;font-weight:400}.contacts_top_block_right table tr td{text-align:left;vertical-align:top;padding:1px 0}.contacts_top_block_right table tr td a{display:inline-block;position:relative;text-decoration:none;padding:0 0 0 21px}.contacts_top_block_right table tr td a i{font-style:normal;text-decoration:underline}.acticle_list h3 a,.acticle_list strong a,.acticle_list_big h3 a,.add_pic_block,.blog_avtor table tr td h3 a,.blog_link a,.contacts_top_block_right table tr td a:hover i,.map_info_block tr td p a:hover,.profile_top_right_1 p a,.review_list .sc-name a,.review_list header .cli-title a{text-decoration:none}.contacts_top_block_right table tr td a span{display:block;width:15px;height:12px;position:absolute;left:0;top:3px;background:url(../img/sprites.png) -223px 0 no-repeat}.button.icon-call:before{width:12px;height:12px;background-position:-304px -117px}.button.icon-call:hover:before,.button.orange.icon-call:before{background-position:-304px -130px}.contacts_bottom{padding:25px 0 0;font-size:12px;color:#464646}.contacts_bottom h3{font-size:13px;font-weight:400;color:#8b8b8b;padding:0 0 5px;margin:0}.contacts_bottom p{padding:0;margin:0}.contacts_bottom .soc-media-buttons{float:right;margin:0}.contacts_bottom h3 span{font-size:16px;position:relative;color:#464646;top:1px;padding:0 0 0 5px}.contacts_bottom_map{margin:10px 0 -5px;border-bottom:1px dotted #ccc;padding:0 0 26px}.contacts_bottom_map img{display:block;width:100%}.parnters_about_block_table{width:100%}.parnters_about_block_table a:hover{color:#f60}.parnters_about_block_table tr td{text-align:left;vertical-align:top;width:140px;padding:0 0 20px}.parnters_about_block_table tr td.delimiter{width:auto!important}.parnters_about_block_table tr td a{color:#464646;display:block;width:140px;font-size:11px;line-height:14px;text-align:center}.parnters_about_block_table tr td a .imp-pict{position:relative;display:block;width:140px;overflow:hidden;margin-bottom:5px;border-radius:4px}.parnters_about_block_table tr td a img{display:block;width:140px}.parnters_about_block_table tr td a .imp-pict:before{content:'';display:block;position:absolute;width:100%;height:100%;border-radius:4px;box-shadow:inset 0 1px 0 rgba(0,0,0,.2)}.review_list{list-style-type:none;padding:0;margin:-10px 0 0}.review_list li{position:relative;border-bottom:1px dotted #ccc;padding:25px 0 19px}.review_list li:first-child{padding-top:0}.review_list li:last-child{border-bottom:none}.review_list .cl-item-wrap{padding-left:90px}.review_list .cli-pict{margin-left:-90px;width:70px;height:70px;line-height:65px;padding:2px}.review_list .cli-info{margin-bottom:0}.review_list .sc-name{font-weight:500;font-size:17px;line-height:20px;color:#f60;margin:-7px 0 10px;position:relative}.review_list .sc-name a:hover,.review_list header .cli-title a:hover{color:#464646}.review_list .sc-name span a{font-weight:400;font-size:12px;float:right}.review_list .sc-name span a:before{content:' ';display:inline-block;vertical-align:middle;width:11px;height:13px;background:url(../img/sprites.png) -211px 0 no-repeat;margin:-1px 5px 0 0}.review_list .sc-text{font-size:12px;line-height:16px}.review_list .cli-top{margin-bottom:10px}.review_list header{margin-bottom:2px}.review_list header .cli-title{display:inline-block;vertical-align:top;font-size:30px;line-height:30px;margin:0 6px 0 0;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s;max-width:490px}.add_pic_block,.add_pic_list li a.add_pic_link{-webkit-transition:background .3s,color .3s;-o-transition:background .3s,color .3s}.team_list{width:100%;float:left;margin:0;padding:0;list-style-type:none}.team_list li{display:inline-block;vertical-align:middle;width:33%;font-size:11px;position:relative;line-height:1.25;margin-bottom:2em}.team_list li.delimiter{width:100%;height:25px}.team_list li .team_list_bg{position:relative;float:left;padding:0 0 0 104px}.team_list li .team_list_bg .pic{display:block;position:absolute;left:0;top:50%;margin-top:-45px;width:89px;height:89px;border-radius:4px}.team_list li p{padding:0;margin:0;color:#a6a6a5}.team_list li strong{display:block;font-weight:400;color:#464646;font-size:13px;padding:0 0 5px}.team_list li h4{font-size:21px;font-weight:500;color:#f60;padding:3px 0;margin:0;line-height:1}.blog_block,.team_list li:hover h4{color:#464646}.acticle_list p,.acticle_list_big p{line-height:16px}.team_list li a{display:block;position:absolute;left:0;top:0;width:100%;height:100%;background:url(../img/spacer.gif)}.blog_block{font-size:12px}.blog_block h1{color:#424242;font-size:25px;line-height:1;font-weight:400;margin:0;padding:0}.blog_block h2,.blog_block h3{color:#424242;margin:0 0 -5px;padding:7px 0 0;font-weight:400}.blog_block h2{font-size:22px}.blog_block h3{font-size:19px}.blog_block h4{color:#f60;font-size:14px;font-weight:400;margin:0 0 -10px;padding:4px 0 0}.blog_block_headline{padding:5px 0 0 120px;position:relative;font-size:13px;min-height:95px}.blog_block_headline.full_width{padding-left:0}.blog_block_headline.full_width h1{font-size:36px;line-height:1}.blog_block_headline.full_width .article_info{list-style:none;padding:0}.blog_block_headline.full_width .article_info li{display:inline-block;margin-right:50px}.blog_block_headline.full_width .article_info a{color:#666}.blog_block_headline.full_width .article_info .fa{color:#F60;margin-right:5px}.article_tags{color:#999}.article_tags a{color:#666}.article_tags a:hover{color:#F60}.blog_block_headline strong{display:block;font-weight:400;font-size:14px;color:#f60;padding:8px 0 10px}.blog_block_headline strong span{padding:0 30px 0 0}.blog_block_headline p{margin:0}.blog_block_headline strong a.flag:before,.blog_block_headline strong a.profile_link:before,.blog_block_headline strong span:before{display:inline-block;vertical-align:middle;margin:0 5px 0 0;content:' '}.blog_block_headline strong span:before{width:13px;height:16px;background:url(../img/sprites.png) -183px -145px no-repeat;position:relative;top:-2px}.blog_block_headline strong a.profile_link:before{width:11px;height:13px;background:url(../img/sprites.png) -24px 0 no-repeat}.blog_block_headline strong a.flag:before{width:14px;height:14px;background:url(../img/sprites.png) -329px -49px no-repeat}.blog_block_headline .pic{display:block;position:absolute;left:0;top:0;width:100px;height:100px;border-radius:4px}.blog_block_headline .content-text{margin-left:-120px;margin-top:2em}.blog_block .pic_left{float:left;margin:4px 30px 5px 0}.blog_block .pic_left img{display:block;border-radius:4px}.blog_block .pic_left i{font-size:11px;color:#a1a1a1;display:block;padding:3px 0 0}.blog_block .pic_right{float:right;margin:4px 0 10px 10px}.blog_block .pic_right img{display:block;border-radius:4px}.blog_block .pic_right i{font-size:11px;color:#a1a1a1;display:block;padding:3px 0 0}.blog_block .article_image img{max-width:100%;height:auto}.blog_avtor{padding:20px 0 0;margin:19px 0 0}.blog_avtor table{float:left}.blog_avtor table tr th{text-align:left;vertical-align:top;padding:3px 20px 0 0;font-weight:400;font-size:13px;color:#a2a2a2}.blog_avtor table tr td{text-align:left;vertical-align:middle;padding:0 9px 0 0}.blog_avtor table tr td .pic{display:block;width:50px;height:50px;border-radius:3px}.blog_avtor table tr td h3{padding:0 0 5px;margin:0}.blog_avtor table tr td h3 a{color:#464646;font-size:20px}.blog_avtor table tr td h3 a:hover{color:#f60}.blog_avtor table tr td a.facebook{font-size:13px;color:#3b5998}.blog_avtor_right,.blog_avtormidle{font-size:13px;color:#f60}.blog_avtor table tr td a.facebook:before{content:' ';display:inline-block;vertical-align:middle;width:17px;height:17px;background:url(../img/sprites.png) -304px -144px no-repeat;margin:0 5px 0 0}.blog_avtor_right{float:right}.blog_avtor_right .soc_icons{margin:0 0 12px;display:block}.blog_avtor_right .icon,.blog_avtormidle .icon{display:inline-block;width:12px;height:13px;top:3px;margin:0 3px 0 0;background:url(../img/sprites.png) -305px -162px no-repeat;position:relative}.blog_avtormidle i{font-style:normal;color:#a2a2a2;padding:0 32px 0 0}.article_author{padding-bottom:20px}.article_author .author img{float:left;margin-right:50px;border-radius:74px}.article_author .author:after{content:'';display:block;clear:both}.article_author .author h4{font-size:40px;font-weight:100;color:#333;margin-bottom:15px;padding-top:25px}.article_author .author li{display:inline-block;list-style:none}.article_author .author li+li{margin-left:20px}.article_author .author ul .fa-envelope{color:#F60;margin-right:12px}.author .author_position{font-size:14px;color:#999}.article_author .author .fa+a{color:#666}.article_author .fa-rss-square{color:#ff6601;font-size:16px}.article_author .fa-facebook-square{color:#3b5998;font-size:16px}.article_author .fa-linkedin-square{color:#069;font-size:16px}.article_author .author_about{font-size:16px;color:#333;line-height:1.5;padding-top:15px}.blog_link{position:relative}.blog_link .button{position:absolute;right:0;top:-5px}.acticle_list{padding:0 0 0 90px;position:relative;font-size:12px;color:#7b7b7b}.acticle_list .pic{display:block;position:absolute;left:0;top:0;width:70px;height:70px;border-radius:3px}.acticle_list h3{margin:0;padding:2px 0 6px;font-size:22px;font-weight:400;font-family:dindisplay_pro,sans-serif}.acticle_list h3 a{color:#464646;line-height:1.1}.acticle_list h3 a:hover{color:#f60}.acticle_list strong{display:block;font-weight:400;font-size:13px;color:#f60;padding:5px 0 0}.acticle_list strong span{padding:0 30px 0 0}.acticle_list p{margin:0}.acticle_list strong b:before,.acticle_list strong i:before,.acticle_list strong span:before{display:inline-block;margin:0 5px 0 0;content:' ';vertical-align:middle}.acticle_list strong span:before{width:13px;height:16px;background:url(../img/sprites.png) -183px -145px no-repeat;position:relative;top:-2px}.acticle_list strong i{font-style:normal;opacity:.5}.acticle_list strong i:before{width:11px;height:13px;background:url(../img/sprites.png) -24px 0 no-repeat;position:relative;top:-1px}.acticle_list strong a:hover i{opacity:1}.acticle_list strong b{font-weight:400;opacity:.6}.acticle_list strong b:before{width:14px;height:14px;background:url(../img/sprites.png) -329px -49px no-repeat}.acticle_list strong a:hover b{opacity:1}.acticle_list_big{padding:0 0 0 270px;position:relative;font-size:12px;color:#7b7b7b;min-height:180px}.acticle_list_big .pic{display:block;position:absolute;left:0;top:0;width:250px;height:180px;border-radius:4px}.acticle_list_big h3{margin:0;padding:2px 0 6px;font-size:22px;font-weight:400}.acticle_list_big h3 a{color:#464646}.acticle_list_big h3 a:hover{color:#f60}.acticle_list_big strong{display:block;font-weight:400;font-size:13px;color:#f60;padding:5px 0 0}.acticle_list_big strong span{padding:0 30px 0 0;display:block;float:left}.acticle_list_big strong span:before{content:' ';display:inline-block;vertical-align:middle;width:13px;height:16px;background:url(../img/sprites.png) -183px -145px no-repeat;margin:0 5px 0 0;position:relative;top:-2px}.acticle_list_big .icon{display:inline-block;width:12px;height:13px;position:relative;top:3px;margin:0 3px 0 0;background:url(../img/sprites.png) -305px -162px no-repeat}.mf-line1{margin-bottom:0}.acticle_list_big .cli-pict .no-logo{width:100px;margin-top:40px}.acticle_list_big .cli-pict{position:absolute;left:0;top:0;width:250px;height:180px;margin-left:0}.country_table{width:100%;margin:6px 0 12px}.country_table tr td{text-align:left;vertical-align:top;width:50%}.country_table tr td ul{list-style-type:none;margin:0;padding:0}.country_table tr td ul li{padding:2px 0;font-size:14px;color:#a2a2a2;font-weight:500}.country_table tr td ul li strong{color:#a2a2a2;font-weight:500;font-size:16px}.country_table tr td ul li span{padding:0 0 0 9px;font-size:16px;color:#424242}.country_table tr td ul li span a{color:#424242;font-size:18px;font-weight:700}.country_table tr td ul li span a:hover{color:#f60}.country_table tr td ul li i{font-style:normal;float:left;display:block;padding:0 0 5px}.country_map .i-map .close-map{bottom:-50px!important}.country_towns{padding:0 0 0 122px;font-weight:500}.country_towns h4{font-size:14px;color:#a2a2a2;font-weight:500;padding:0;margin:0}.country_towns table{width:100%}.country_towns table tr td{text-align:left;vertical-align:top;width:28%}.country_towns table tr td ul{list-style-type:none;margin:0;padding:0}.country_towns table tr td ul li{font-size:16px;padding:3px 0 2px}.country_towns table tr td ul li a{color:#424242}.country_towns table tr td ul li a:hover{color:#f60}.country_content p{color:#464646}.country_content h4,.country_content h5{color:#f60;padding:0;font-weight:400}.country_content h4{font-size:23px;margin:-5px 0}.country_content h5{font-size:20px;margin:15px 0 -5px}.country_content_table{width:100%;font-size:12px;color:#464646}.country_content_table tr td{text-align:left;vertical-align:top;width:58%}.country_content_table tr td.delimiter{width:auto}.country_content_table tr th{text-align:left;vertical-align:top;width:33%;font-weight:400}.country_content_table h4{font-size:18px;font-weight:400;color:#f60;margin:0;padding:0 0 5px}.country_content_table h4 span{color:#464646}.country_content_table p{padding:0;margin:0}.country_content_table tr td ul{list-style-type:none;padding:0;margin:0}.country_content_table tr td ul li:before{content:'•';display:inline-block;margin:0 5px 0 0;vertical-align:middle}.page-title{position:relative}.page-title .button{position:absolute;right:0;top:4px}.archive_block{padding:0 0 20px}.archive_block h4{float:left;font-size:23px;color:#b8b8b7;font-weight:400;padding:8px 28px 0 0;margin:0}.map_info_block tr td,.map_info_block tr th{text-align:left;vertical-align:top;font-weight:500}.archive_block .select_1{float:left;width:148px;margin:0 10px 0 0}.archive_block .select_2{float:left;width:128px}.show-map_1{float:right}.map_info_block{width:100%}.map_info_block tr th{width:15%;color:#a2a2a2;font-size:14px;padding:9px 0 0}.map_info_block tr td{border-bottom:1px dotted #ccc;padding:8px 0;font-size:16px;color:#424242}.map_info_block tr td.width_1{width:35%}.map_info_block tr td p{padding:1px 0;margin:0}.map_info_block tr td p a{display:inline-block;position:relative;color:#424242}.map_info_block tr td p a i{font-style:normal;position:absolute;right:-125px;top:0;font-size:13px;opacity:.7;display:none}.map_info_block tr td p a i:before{content:'';display:inline-block;margin:0 5px 0 0;vertical-align:middle;width:8px;height:14px;background:url(../img/sprites.png) -330px -65px}.map_info_block tr td p a:hover{color:#f60}.map_info_block tr td p a:hover i{display:block}.map_info_block tr:last-child td{border-bottom:none}.i-photo-slides_1{margin-bottom:0}.button.about{padding:3px 12px 2px;margin:10px 0 0}.button.about:before{content:' ';display:inline-block;vertical-align:middle;width:13px;height:14px;background:url(../img/sprites.png) -328px -81px no-repeat;margin:0 4px 0 0;position:relative;top:-1px}.add_link_teg b:before,.add_link_text b:before,.add_pic_block b:before,.content_list li:before,.places_list .space:before,.profile_top_table tr td ul li:before{content:''}.profile_bottom_table tr td,.profile_top_table tr td{vertical-align:top;text-align:left}.content_list,.content_list li{float:none!important;width:auto!important}.button.about:hover:before{background-position:-328px -98px}.content_list{list-style-type:none;padding:13px 0 0!important}.content_list li{margin:0!important;padding:1px 0 1px 17px!important;color:#464646}.content_list li:before{display:block;width:11px;height:8px;background:url(../img/sprites.png) -250px -124px no-repeat;float:left;margin:5px -11px 0 -15px}.i-staff-list>ul>li.delimiter{width:100%;height:25px}.profile_top{padding:21px 0 0 120px;position:relative;min-height:200px}.profile_top_pic{position:absolute;left:0;top:0;width:110px}.profile_top_pic img{display:block;border-radius:4px;float:left}.profile_top_pic .big{width:100px;height:100px}.profile_top_pic .big_link{display:block;width:100px;height:100px}.profile_top_pic .small{width:45px;height:45px;margin:10px 10px 0 0}.profile_top h1,.profile_top h3{color:#f60;font-weight:400;margin:0}.profile_top h1{font-size:40px;padding:0 0 12px}.profile_top h3{font-size:18px;padding:0 0 2px}.profile_top_left_1{float:left;width:72%;font-size:15px;color:#464646}.profile_top_left_1 b{font-size:18px;font-weight:500}.profile_top_right_1,.profile_top_table tr td{font-size:15px}.profile_top_left_1 span,.profile_top_right_1 span{display:inline-block;background:url(../img/sprites.png) no-repeat;position:relative}.profile_top_left_1 span.icon1,.profile_top_right_1 span.icon1{width:16px;height:16px;background-position:-326px -114px;margin:0 5px 0 0;top:3px}.profile_top_left_1 span.icon2,.profile_top_right_1 span.icon2{width:13px;height:19px;background-position:-327px -134px;margin:0 5px 0 0;top:5px}.profile_top_left_1 span.icon3,.profile_top_right_1 span.icon3{width:12px;height:11px;background-position:-327px -154px;margin:0 5px 0 25px;top:1px}.profile_top_left_1 span.icon4,.profile_top_right_1 span.icon4{width:9px;height:15px;background-position:-348px -52px;margin:0 5px 0 0;top:2px}.profile_top_left_1 span.icon5,.profile_top_right_1 span.icon5{width:15px;height:13px;background-position:-346px -70px;margin:0 5px 0 0;top:2px}.profile_top_right_1{float:right;width:26%;text-align:right;color:#464646}.profile_top_left_1 p{margin:0;padding:2px 0}.profile_top_right_1 p{margin:0;padding:4px 0}.profile_top_right_1 p a{color:#464646}.profile_top_right_1 p a:hover{color:#f60}.profile_top_table{width:100%;margin-bottom:16px}.profile_top_table tr td{width:47%;border-bottom:1px dotted #ccc;padding:0 0 16px}.profile_top_table tr td h3{font-size:22px;padding:0 0 10px}.profile_top_table tr td p{padding:0;margin:0}.profile_top_table tr td span{color:#a2a2a2}.profile_top_table tr td ul{list-style-type:none;margin:0;padding:1px 0 9px}.profile_top_table tr td ul li{font-family:Arial,sans-serif;font-size:13px}.profile_top_table tr td ul li:before{display:inline-block;width:12px;height:11px;background:url(../img/sprites.png) -327px -154px no-repeat;margin:0 6px 0 0;top:1px}.profile_top_table_1{margin-bottom:0}.profile_top_table_1 tr td{border-bottom:none;padding:0}.profile_top_table tr td .subjects_list{position:relative}.profile_top_table tr td .subjects_list.more{padding-bottom:21px}.profile_top_table tr td .subjects_list span{display:none;font-size:12px;color:#f60;background:url(../img/subjects_list.png) left bottom repeat-x;position:absolute;left:18px;bottom:15px;height:16px;font-family:Arial,sans-serif;cursor:pointer}.add_indo_table tr th b,.add_link_teg b,.add_link_text a.e-btn,.add_link_text_text,.add_pic_block,.add_pic_list li a.add_pic_link,.doings_block .button,.edit-profile .theme-wrap .label,.i-staff-list>ul>li a.add_pic_link,.ic-buttons_text,.my-companies-block .ia-title,.no-events .c-event .ce-wrap,.profile_bottom_table,.profile_bottom_table1,.site_link{font-family:dindisplay_pro,sans-serif}.profile_top_table tr td .subjects_list span:hover{background:0 0}.profile_top_table tr td .subjects_list span i{font-style:normal}.profile_top_table tr td .subjects_list.more span{display:inline-block}.profile_bottom_table{width:100%;font-size:15px;color:#424242}.profile_bottom_table tr td.headline{width:120px;padding:6px 0 0;font-size:17px;color:#464646}.profile_bottom_table tr td.profile_info{width:48%}.profile_bottom_table tr td.profile_info table{width:100%;border-collapse:separate!important}.profile_bottom_table tr td.profile_info table tr td{padding:10px 15px 10px 20px;vertical-align:middle;font-size:18px;color:#ff6701;border:1px solid #fdd0af;border-radius:4px;font-weight:500;white-space:nowrap}.profile_bottom_table tr td.profile_info table tr td.delimiter{width:4px;border:none;padding:0}.profile_bottom_table tr td.profile_info table tr td.delimiter div{width:4px}.profile_bottom_table tr td.profile_info table tr.delimiter td{height:4px;border:none;padding:0}.profile_bottom_table tr td.profile_info table tr td strong{font-weight:bolder;font-size:25px}.profile_bottom_table tr td.buttons{width:31%}.profile_bottom_table tr td.buttons .buttons_bg{padding:30px 0 0}.profile_bottom_table1{width:100%;font-size:17px;color:#464646}.profile_bottom_table1 tr td{text-align:left;vertical-align:middle}.end_reg_list li table tr td,.end_reg_list li table tr th{text-align:left;vertical-align:top}.profile_bottom_table1 tr td.headline{width:120px}.profile_bottom_table1 tr td.width1,.profile_bottom_table1 tr td.width3{width:31%}.profile_bottom_table1 tr td.widths{font-size:20px;color:#f60;font-weight:500}.profile_bottom_table1 tr td.widths strong{font-size:40px;font-weight:700;padding:0 7px 0 0;position:relative;top:3px}.subscribe_link{display:none}.pw-subscribe_doing .pw-title span{font-size:25px;font-weight:200;display:block;margin-top:-6px}.pw-subscribe_doing .pwf-msg a.reg{position:relative;left:-117px}.subscribe_after p{padding:0;margin:-10px 0 0}.subscribe_after{display:none}.places_list .space{color:#464646;font-size:15px;font-weight:500;float:left}.places_list .space:before{display:inline-block;width:16px;height:16px;background:url(../img/space.png) no-repeat;margin:0 4px 0 0;position:relative;top:2px}.places_list .cli-info,.places_list .cli-top{margin-bottom:5px}.places_list .button.about{margin-top:0}.end_reg_list{margin:0;padding:0}.end_reg_list li{padding:0 0 24px;list-style-type:none}.end_reg_list li:last-child{padding:0}.end_reg_list li.input_top{padding-right:140px}.end_reg_list li table tr th{padding:8px 5px 0 0;font-size:17px;color:#000;font-weight:400}.end_reg_list li table tr td p{padding:0 0 25px;margin:0;text-align:center;font-size:13px;color:#a2a2a2}.end_reg_list li table tr td.width1{width:98px;padding:0 9px 0 0}.end_reg_list li table tr td.width2{width:88px;padding:0 9px 0 0}.end_reg_list li table tr td.width3{width:185px}.add_pic_block{display:block;width:100px;height:80px;text-align:center;font-size:12px;color:#a2a2a2;font-weight:500;position:relative;line-height:1;transition:background .3s,color .3s;cursor:pointer;padding:20px 0 0}.add_pic_block span{display:block;width:36px;font-size:40px;background:center center no-repeat;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;position:relative;margin:0 auto}.add_pic_block .input{display:block;width:100px;height:100px;position:absolute;left:0;top:0;opacity:0;cursor:pointer}.add_pic_block i{display:block;font-style:normal;padding:10px 0 1px}.add_pic_block b{font-size:14px;font-weight:500}.add_link_text a.e-btn,.add_link_text_text{font-size:17px;font-weight:500}.add_pic_block b:before{display:inline-block;width:14px;height:12px;background:url(../img/sprites.png) -365px -53px no-repeat;position:relative;top:1px;margin:0 4px 0 0}.add_pic_block:hover{color:#f60}.add_pic_block:hover b:before{background-position:-181px -32px}.add_pic_block .add-wrapper{margin:0;padding:0}.pic_block{width:100px;display:block;overflow:hidden}.pic_block .input{opacity:0;position:absolute;top:0;left:0;width:0;height:0;z-index:0}.pic_block img{position:relative;z-index:1}.pic-edit-photo{display:none;line-height:1em;margin-top:.5em}.pe-active .pic-edit-photo-wrap{-moz-box-sizing:border-box;box-sizing:border-box;display:block;position:absolute;top:4px;right:4px;z-index:4;padding:4px 1px 4px 4px;background-color:#fff;border-radius:4px;-ms-box-shadow:0 1px 3px rgba(0,0,0,.4);-o-box-shadow:0 1px 3px rgba(0,0,0,.4);box-shadow:0 1px 3px rgba(0,0,0,.4)}.pe-active .pic-edit-photo{display:block;text-indent:-9999999px;width:18px;height:16px;margin:0;background:url(../img/sprites.png) -117px -145px no-repeat #fff}.add_link_text{padding-left:0!important;line-height:20px;min-height:25px}.add_link_text_text{color:#a2a2a2;display:inline-block;position:relative}.add_link_text_top{min-height:60px}.add_link_text a{color:#a2a2a2}.add_link_text .edit-wrap{display:inline-block!important;position:relative;left:0;top:0;height:20px;margin:0 5px 0 0!important}.add_link_text a.e-btn{display:inline-block;width:auto;height:auto;color:#a2a2a2;opacity:1;vertical-align:middle;margin:0 5px 0 0;padding:0;line-height:18px}.add_indo_table tr td.click_td b a:hover,.add_indo_table tr td.click_td span a:hover{opacity:.5}.add_link_text a.e-btn .fa{width:24px}.add_link_text a.e-btn .fa:before{display:inline-block;width:16px;height:17px;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s;position:absolute;top:0;left:0;font-size:18px}.add_link_text b{margin-left:10px}.add_link_text b:before{display:inline-block;width:14px;height:12px;background:url(../img/sprites.png) -365px -53px no-repeat;margin:0 4px 0 0}.add_link_text_medium a:before{top:2px}.add_link_text.p-editable.pe-current .edit-wrap .e-form{display:block!important;top:-5px}.add_link_text.p-editable.pe-current a.e-btn{text-indent:-9000px;padding:5px 0 5px 5px;left:-5px;position:absolute;top:-5px}.dd_width_2,.dd_width_3{padding-right:23px!important}.add_link_text.p-editable.pe-current a.e-btn:before{position:absolute;left:5px;top:5px;display:block!important;background-position:-405px -51px}.add_link_teg b,.ic-buttons_pos{position:relative}.add_link_text.p-editable.pe-current .add_link_text_text,.i-info header .i-place.add_link_text:before{display:none}.add_link_text_medium,.add_link_text_medium .add_link_text_text,.add_link_text_medium a.e-btn{font-size:15px!important}.i-info header .i-place.add_link_text a{text-decoration:underline;color:#a2a2a2}.add_pic_list li a.add_pic_link,.i-staff-list>ul>li a.add_pic_link{text-decoration:none;line-height:1}.add_link_text a:hover,.i-info header .i-place.add_link_text a:hover{color:#f60}.dd_width_1{width:200px!important}.dd_width_2{width:328px;padding-left:75px!important}.dd_width_3{width:218px}.dd_width_4{width:320px!important}.dd_width_5{width:260px!important}.i-place.add_link_text.p-editable.pe-current .add_link_text_text{display:block;padding-left:35px;top:0}.i-place.add_link_text.p-editable.pe-current a.e-btn:before{left:10px}.add_link_text a:hover:before{background-position:-425px -52px}.add_indo_table tr th b:before,.add_link_teg b:before{background:url(../img/sprites.png) -365px -53px no-repeat;height:12px}.add_link_teg .select{float:left;width:368px;margin:0 13px 0 0;min-height:36px}.add_link_teg b{float:left;top:10px;font-size:15px;color:#a2a2a2;font-weight:500}.add_link_teg b:before{display:inline-block;width:14px;margin:0 4px 0 0}.ic-buttons_text{left:0;top:32px;font-size:13px;color:#a2a2a2;font-weight:500}.add_indent{margin-bottom:4px}.ic-links_indent{padding-top:5px}.soc-media-buttons1{display:inline-block;position:relative;margin:0!important;top:-2px;left:5px}.soc-media-indent{margin:10px 0 0}.add_indo_table tr td.click_td b a:before,.add_indo_table tr td.click_td span a:before,.add_indo_table tr th b:before{display:inline-block;margin:0 4px 0 0;content:''}.pe-current .soc-media-buttons1{position:static}.add_indo_table{width:100%;font-family:dindisplay_pro,sans-serif}.add_indo_table tr th{text-align:left;vertical-align:top;font-size:19px;color:#a2a2a2;font-weight:400;padding:0 0 13px}.add_indo_table tr th b{font-size:20px;color:#a2a2a2;font-weight:500}.add_indo_table tr th b:before{width:14px}.add_indo_table tr td{text-align:left;vertical-align:middle;font-size:17px;color:#464646;padding:5px 0}.add_pic_list li a.add_pic_link,.i-staff-list>ul>li a.add_pic_link,.s-news-list .nl-pict{text-align:center;box-shadow:inset 0 1px 0 #e8e8e7}.add_indo_table tr td.click_td span{color:#f60;font-size:14px}.add_indo_table tr td.click_td span a{color:#f60}.add_indo_table tr td.click_td span a:before{width:11px;height:12px;background:url(../img/sprites.png);position:relative;top:2px}.add_indo_table tr td.click_td b{color:#f60;font-weight:400;font-size:14px}.add_indo_table tr td.click_td b a{color:#f60}.add_indo_table tr td.click_td b a:before{width:12px;height:13px;background:url(../img/sprites.png) -368px -69px;position:relative;top:2px}.add_indo_table tr td .headline{width:1px;height:1px;position:relative}.add_indo_table tr td .headline p{position:absolute;left:0;top:5px}.add_pic_list li{position:relative}.add_pic_list li span.close{display:block;position:absolute;right:29px;top:9px;width:16px;height:16px;background:url(../img/sprites.png) -385px -72px no-repeat;cursor:pointer}.add_pic_list li span.close:hover{background-position:-404px -72px}.add_pic_list li a.add_pic_link{background:#fff;display:block;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box;font-size:16px;color:#a2a2a2;font-weight:500;position:relative;transition:background .3s,color .3s}.add_pic_list li a.add_pic_link span,.i-staff-list>ul>li a.add_pic_link{-webkit-transition:background .3s,color .3s;-o-transition:background .3s,color .3s}.add_pic_list li a.add_pic_link span{display:block;margin:30px auto 0;width:46px;height:46px;border-radius:50%;background:url(../img/add_pic_block_bg2.png) center center no-repeat #d0d0d0;transition:background .3s,color .3s;position:relative}.add_pic_list li a.add_pic_link .input{display:block;width:100%;height:100%;position:absolute;left:0;top:0;opacity:0;cursor:pointer}.add_pic_list li a.add_pic_link i{display:block;font-style:normal;padding:10px 0 1px}.add_pic_list li a.add_pic_link b{font-size:14px;font-weight:500}.add_pic_list li a.add_pic_link b:before{content:'';display:inline-block;width:14px;height:12px;background:url(../img/sprites.png) -365px -53px no-repeat;margin:0 4px 0 0;position:relative;top:1px}.add_pic_list li a.add_pic_link:hover{color:#f60}.add_pic_list li a.add_pic_link:hover span{background-color:#f60}.add_pic_list li a.add_pic_link:hover b:before{background-position:-181px -32px}.i-staff-list>ul>li a.add_pic_link{background:#fff;display:block;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box;width:90px;height:79px;padding:11px 0 0;font-size:13px;color:#a2a2a2;font-weight:500;position:relative;transition:background .3s,color .3s}.events-filter,.stub{-moz-box-sizing:border-box}.i-staff-list>ul>li a.add_pic_link span{display:block;margin:0 auto;width:27px;height:27px;border-radius:50%;background:url(../img/add_pic_block_bg1.png) center center no-repeat #d0d0d0;-webkit-transition:background .3s,color .3s;-o-transition:background .3s,color .3s;transition:background .3s,color .3s;position:relative}.service-page .error-blob,.specify-link{-webkit-transition:all .3s;-o-transition:all .3s}.i-staff-list>ul>li a.add_pic_link .input{display:block;width:100%;height:100%;position:absolute;left:0;top:0;opacity:0;cursor:pointer}.i-staff-list>ul>li a.add_pic_link i{display:block;font-style:normal;padding:10px 0 1px}.i-staff-list>ul>li a.add_pic_link b:before,.site_link a:before{display:inline-block;position:relative;content:''}.i-staff-list>ul>li a.add_pic_link b{font-size:14px;font-weight:500}.i-staff-list>ul>li a.add_pic_link b:before{width:14px;height:12px;background:url(../img/sprites.png) -365px -53px no-repeat;margin:0 4px 0 0;top:1px}.i-staff-list>ul>li a.add_pic_link:hover{color:#f60}.i-staff-list>ul>li a.add_pic_link:hover span{background-color:#f60}.i-staff-list>ul>li a.add_pic_link:hover b:before{background-position:-181px -32px}.reason_block{font-size:11px;color:#f60;line-height:13px;margin:-10px 0 0}.reason_block p{padding:6px 0 0;margin:0}.i-info header{position:relative}.site_link{font-size:13px;font-weight:500;margin-bottom:.4em}.site_link a{color:#a2a2a2;text-decoration:underline}.site_link a:hover{text-decoration:none}.site_link a:before{width:16px;height:16px;background:url(../img/sprites.png) -426px -93px;margin:0 5px 0 0;top:4px}.i-contacts1{margin-top:0!important}.i-additional1{margin-bottom:0!important}.cl-item_active{border:1px solid #fe9232}.doings_block{padding-right:0}.doings_block .button{border-color:#ccc;margin:0 10px 10px 0;font-weight:400;color:#424242;font-size:17px}.doings_block .button:hover{color:#fff;border-color:#ff7600}.doings_block .button.more:after{background-position:-158px -16px}.doings_block .button.more:hover:after{background-position:-165px -23px}.button.dark_green{border-color:#a5c67d;color:#4e9000}.button.dark_green:hover{border-color:#4e9000;background:#4e9000;color:#fff}.button.icon-up:before{width:13px;height:15px;background-position:-348px -92px}.button.icon-up:hover:before{background-position:-365px -92px}.s-news-list .nl-pict{float:left;margin:0 10px 5px 0;border-radius:4px;background:#fff;padding:6px 3px 3px}.add_company{text-align:right}.add_company a{color:#fff;text-decoration:underline;word-spacing:normal;position:relative;top:-6px}.add_company a:hover{text-decoration:none;color:#fff}.add_company a:before{content:'';background:url(../img/sprites.png) -405px -51px;display:inline-block!important;width:16px;height:17px;position:relative;left:-5px;top:4px}.add_company a:hover:before{background:url(../img/sprites.png) -405px -51px!important}.hide-element{display:none!important}.show-element{display:block!important}.i-additional .add_link_text .edit-wrap>.e-btn{display:none}.wait-ajax{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);z-index:4}.wait-ajax img{display:block;position:absolute;left:50%;top:50%;margin-top:-27px;margin-left:-27px}.wait-ajax.absolute{position:absolute;width:100%;height:100%;left:0;top:0;background-color:rgba(191,191,191,.3);display:none}.dna-template{display:none}.pw-body .place-box{min-height:282px;position:relative}.c-select-box.topics .csb-title ul.ui-autocomplete{background:#FFF;border:1px solid #CCC;margin-left:0;z-index:1020}.main-field-complete{z-index:3;height:auto}.button.icon-eye:before{width:15px;height:11px;background-position:-225px -164px}.body-fixed,.modal-wrapper{width:100%;height:100%;position:fixed}.button.icon-eye.active:before,.button.icon-eye:hover:before{background-position:-241px -164px}.full-visible{visibility:visible!important}.ov-hidden{overflow:hidden!important}.body-fixed,.search_form .scroll-container{overflow:hidden}.specify-link{color:#464646;text-decoration:none;transition:all .3s;display:block;float:right;clear:right}.specify-link:hover{text-decoration:underline;color:#f60}.no-wrap{white-space:nowrap}.pd-top-14{padding-top:14px}.mt-0{margin-top:0}button.gray{background:#dbdbdb;background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#dbdbdb),color-stop(100%,#bdbdbd));background:-webkit-linear-gradient(top,#dbdbdb 0,#bdbdbd 100%);background:-o-linear-gradient(top,#dbdbdb 0,#bdbdbd 100%);background:-webkit-linear-gradient(top,#dbdbdb 0,#bdbdbd 100%);background:-o-linear-gradient(top,#dbdbdb 0,#bdbdbd 100%);background:linear-gradient(to bottom,#dbdbdb 0,#bdbdbd 100%);filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#dbdbdb', endColorstr='#bdbdbd', GradientType=0)}.button.apply-filter,.events-filter .csb-selected{filter:progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0)}button.gray:hover{background:#dbdbdb}.inline-block{display:inline-block;vertical-align:top}.modal-wrapper{top:0;left:0;background:rgba(0,0,0,.8);z-index:4}.disable-inner:before{display:none!important}.right{float:right}.min-height{min-height:27px}.mb-05em{margin-bottom:.5em}.mb-2em{margin-bottom:2em}.mb-1em{margin-bottom:1em}.bd-dashed{border-bottom:1px dashed #f60}.orange-text{color:#f60}.stub{text-align:center;background:#fff;box-shadow:inset 0 1px 0 #e8e8e7;border-radius:4px;box-sizing:border-box}.pw-subj .q-sel{top:0;position:absolute;right:0;margin-top:1em}.search-modal-overlay{position:fixed;bottom:0;right:0;top:0;left:0;z-index:110;background:url(../lib/fancybox/fancybox_overlay.png);display:none;overflow-y:auto}.events-filter .c-select-box,.events-filter .csb-selected-items{background-color:transparent}.search-modal-wrap{position:absolute;z-index:11;top:50%;left:50%;width:640px;height:auto;min-height:360px;margin-bottom:3em}.events-feed-page{margin-top:-14px;margin-bottom:2em}.events-feed-page h2{font-size:16px;font-weight:400;margin-left:1em;color:#fff;margin-bottom:0}.events-filter{clear:both;margin-left:-2%;box-sizing:border-box}.events-filter .c-select-box{border:0;padding:0;box-shadow:none}.events-filter .csb-selected{background:#fff;background:-webkit-gradient(linear,left top,left bottom,color-stop(67%,#fff),color-stop(100%,#f5f5f5));background:-webkit-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:-o-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:-webkit-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:-o-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:linear-gradient(to bottom,#fff 67%,#f5f5f5 100%);padding-bottom:0}.events-filter a{color:#fff;text-decoration:underline}.events-filter a:hover{text-decoration:none}.events-filter:after{content:'';display:block;clear:both}.events-filter .csb-selected a{color:#f60}.events-filter .col{margin-left:2%;-moz-box-sizing:border-box;box-sizing:border-box;padding-top:1px}.events-filter-box .csb-selected-items{display:block;border:0;padding:8px;min-height:initial}.events-filter-box .csb-selected-items .csb-selected{margin-bottom:8px}.events-filter-box .csb-selected.dna-clone{display:inline-block}.events-feed-page .cl-exhibitions{border-top:1px dotted #cdcdcd;padding-top:1.5em;margin-top:2em}.events-feed-page .events-filter{display:none;border-radius:4px 0 4px 4px;background:#F60;padding-right:2%;-ms-box-shadow:0 1px 3px rgba(0,0,0,.4);-o-box-shadow:0 1px 3px rgba(0,0,0,.4);box-shadow:0 1px 3px rgba(0,0,0,.4)}.events-filter-wrap{position:relative;overflow:visible;margin-bottom:1em}.events-filter-wrap .button{margin-top:-40px;float:right;line-height:32px;height:36px;position:relative}.events-filter-wrap .button.active:after{position:absolute;content:'';display:block;width:100%;height:5px;background:#f60;border:1px solid #f60;left:0;margin-left:-1px;bottom:0;margin-bottom:-5px}.events-filter-wrap .button.active{background:#f60;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.3);border-color:#f60;box-shadow:inset 0 1px 0 rgba(0,0,0,.1);border-bottom-left-radius:0;border-bottom-right-radius:0}.button.apply-filter{background:#fff;background:-webkit-gradient(linear,left top,left bottom,color-stop(67%,#fff),color-stop(100%,#f5f5f5));background:-webkit-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:-o-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:-webkit-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:-o-linear-gradient(top,#fff 67%,#f5f5f5 100%);background:linear-gradient(to bottom,#fff 67%,#f5f5f5 100%);color:#f60;margin-top:0;-moz-border-radius:4px 4px 0 0;border-bottom:0;display:none;border-radius:4px 4px 0 0}.button.apply-filter.icon-check:hover{box-shadow:inset 0 0 2px 0 rgba(0,0,0,.3);text-shadow:none}.button.apply-filter.icon-check:hover:before{background-position:-106px -16px}.events-feed-page .filter-hint-block{border:1px dashed #87C525;display:none;border-radius:4px}.events-feed-page .filter-hint-block p{margin:8px;text-align:center;color:#464646}.events-feed-page .filter-hint-block p .red{font-weight:700;color:#d80000}.message-not-found{margin-top:19px;margin-left:40px;padding-left:60px;padding-top:18px}.message-not-found .fa{color:#f60;font-size:48px;vertical-align:middle;margin-left:-40px;margin-top:-24px}.message-not-found span{display:inline-block}.message-not-found .message{font-family:dindisplay_pro,Arial,sans-serif;font-size:18px;margin-left:14px;line-height:1.2em}.mp-search .clear-all-button,.search-form-wrap .clear-all-button{display:none;width:17px;height:17px;background:url(../img/sprites.png) -385px -72px no-repeat;cursor:pointer;vertical-align:top;margin-top:2px}.mp-search .clear-all-button.active,.search-form-wrap .clear-all-button.active,.search-modal-wrap .ui-menu .ui-menu-item a{display:inline-block}.mp-search .clear-all-button:active,.search-form-wrap .clear-all-button:active{background-position:-385px -89px}.mp-search .pw-period .pwf-field.err input{border:2px #D80000}.search-modal-wrap .ui-menu .ui-menu-item .subj-category{display:inline-block;color:#a2a2a2;font-size:15px;line-height:15px;border:none;padding:2px 5px;cursor:pointer;text-decoration:none;min-height:0;font-weight:400;white-space:normal}.search-modal-wrap .ui-autocomplete{width:533px}.err-message-box:before,.required.err:before{width:15px;height:16px;content:''}.search-modal-wrap .ui-menu .ui-menu-item{white-space:nowrap}.search-modal-wrap .ui-menu li{margin-bottom:4px}.search-modal-wrap .ui-menu{line-height:15px}@media (max-width:1086px){.mp-search .search-form-wrap{max-width:764px;overflow:hidden;display:block}.mp-search .search-form-wrap .search-line{display:block;word-spacing:-4px}.mp-search .search-form-wrap .search-line .sf-field-wrap{display:inline-block;word-spacing:normal;-moz-box-sizing:border-box;box-sizing:border-box}}@media (max-width:1110px){.serv-links{width:37%}}.required{position:relative}.required.err input{border:2px #d80000}.required.err:before{display:block;position:absolute;top:50%;right:0;margin-right:32px;margin-top:-8px;background:url(../img/sprites.png) -360px -159px;z-index:1}.err-message-box{display:none!important}.err-message-box.active{display:block!important;padding-left:24px;color:#ce0000}.err-message-box:before{display:block;background:url(../img/sprites.png) -390px -159px;margin-left:-24px;float:left}.err-message-box.red:before{background:url(../img/sprites.png) -360px -159px}.button.removecalendar{border-color:#2592c5;background:#2592c5;color:#fff;text-shadow:none}.button.removecalendar:before{background-position:-60px -16px}.button.removecalendar:hover{background:#4c9ec4}.button.pink.removecalendar,.button.pink.removecalendar:hover{border-color:#ef3976;background-color:#ef3976}.button.pink.removecalendar:before,.button.pink.removecalendar:hover:before{background-position:-60px -16px}.button.unvisit{border-color:#f60;background:#f60;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.3);box-shadow:inset 0 1px 0 rgba(0,0,0,.1)}.button.unvisit:before,.button.unvisit:hover:before{background-position:-64px -159px;width:9px;height:10px;margin-top:0}.button.unvisit:hover{background:#FF8635}.place .i-info .i-descr-readmore{display:block;padding-bottom:1em;margin-bottom:36px;border-bottom:dashed 1px #7e7e7e;font-size:15px;color:#a2a2a2;text-decoration:none}.place .i-info .i-descr-readmore:hover{text-decoration:underline}.note-wrap,.note-wrap-disabled{display:inline-block;vertical-align:top;position:relative}.add_link_teg .e-btn,.edit-profile .i-info .add_link_text_text,.look-also a:before,.сallback-modal .submit:after{vertical-align:middle}.note-wrap-disabled .note-overlay{display:none}.note-wrap .note-overlay{margin-top:5px;padding:10px 14px;position:absolute;background:#87c525;color:#fff;font-size:12px;font-weight:700;width:240px;border-radius:4px;-moz-box-sizing:border-box;box-sizing:border-box;display:none;z-index:10}.look-also a,.note-wrap:hover .note-overlay{display:block}.note-wrap:hover .note-text{width:100%;height:100px}.note-wrap:hover .note-text:focus{border:1px solid #6EA01E}.note-wrap:hover .note-button{-webkit-transition:none;-o-transition:none;transition:none;border-color:#87c525;background:#87c525;color:#fff;text-shadow:none;position:relative}.note-wrap:hover .note-button:before{background-position:-74px -16px}.note-wrap:hover .note-button:after{content:'';border:1px solid #87c525;display:block;position:absolute;background:#87c525;width:100%;height:8px;bottom:0;left:0;margin-left:-1px;margin-bottom:-8px}.main-page.note-wrap .note-overlay{bottom:0;margin-bottom:26px}.main-page.note-wrap:hover .note-button:after{margin-bottom:22px}.look-also a{position:relative;color:#6d6d6d;-webkit-transition:all .5s;-o-transition:all .5s;transition:all .5s;margin-bottom:.5em}.look-also a:before,.service-page .error-field.simple-wrap{display:inline-block}.look-also a:hover{color:#f60;text-decoration:none}.look-also a:hover:before{background-position:-235px -134px}.look-also a:before{content:'';height:9px;top:50%;margin-top:-4px;width:8px;background:url(../img/sprites.png) -251px -134px no-repeat;margin-right:10px}.service-page .error-field{position:relative;-moz-box-sizing:border-box;box-sizing:border-box}.service-page .error-field.simple-wrap:before{margin-right:16px;margin-top:-8px}.mf-line.cols-2 .mf-field.error-field:first-child:before{margin-right:30px}.service-page .error-field:before{content:'';display:block;position:absolute;top:50%;right:0;margin-right:20px;margin-top:-11px;width:15px;height:16px;background:url(../img/sprites.png) -360px -159px}.after-register-modal .pwf-line .hint-box:after,.error-blob:after,.error-blob:before,.thanks-page .help-block .figure:after{content:" ";pointer-events:none}.service-page .error-field input{border-color:#d80000}.service-page .error-blob{border-width:2px;border-color:#d80000;background:#696969;text-align:center;color:#fff;position:absolute;padding:8px 16px;top:0;left:50%;margin-top:-41px;width:160px;margin-left:-100px;border-radius:4px;display:none;font-size:14px;transition:all .3s}.service-page .error-field:hover .error-blob{display:block}.error-blob:after,.error-blob:before{top:100%;left:50%;border:solid transparent;height:0;width:0;position:absolute;border-color:#696969 transparent transparent}.error-blob:after{border-width:3px;margin-left:-3px}.error-blob:before{border-width:9px;margin-left:-9px}.service-page .error-blob ul{margin:0;padding:0;display:block;list-style-type:none}.cal-scroll-button .sprite{display:block;width:17px;height:17px;border-radius:10px;background:#464646;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;padding-left:4px;padding-top:3px;-moz-box-sizing:border-box;box-sizing:border-box}.cal-scroll-button .sprite:before{display:block;content:'';width:8px;height:12px;background:url(../img/sprites.png) -225px -134px no-repeat}.cal-scroll-button:hover .sprite{background:#f60}.cal-scroll-button{position:absolute;top:0;width:34px;height:34px;border-radius:17px;background:#FCFCFB;-moz-box-sizing:border-box;box-sizing:border-box;padding-left:9px;padding-top:9px;cursor:pointer;margin-top:96px}.cal-scroll-button.to-left{left:0;margin-left:6px}.cal-scroll-button.to-right{right:0;margin-right:6px}.cal-scroll-button.to-right .sprite{padding-left:5px}.cal-scroll-button.to-right .sprite:before{background-position:-175px 0}.calenadar-body{overflow:hidden}.calenadar-body .mCSB_scrollTools_horizontal{opacity:0!important}.no-events .c-event{background-color:#CACACA}.no-events .c-event .ce-wrap{-moz-box-sizing:border-box;box-sizing:border-box;height:60px;text-align:center;padding-top:20px;font-size:20px;color:#464646;overflow:hidden;position:relative;text-shadow:0 1px 0 rgba(255,255,255,.8)}#get_filters,.filter_form_header{text-shadow:1px 1px rgba(0,0,0,.35);text-transform:uppercase}.no-events .c-event .ce-wrap .message{position:absolute;text-align:center}.no-events .c-event .ce-wrap.small{font-size:14px;padding-top:14px}.edit-profile .edit-wrap{display:block}.edit-profile .i-title .e-form{margin-top:7px}.edit-profile .full-width .static-value{height:27px}.edit-profile .pe-current .e-form{display:block}.edit-profile .social.pe-current .i-descr{opacity:0}.edit-profile .p-editable{padding-left:22px}.edit-profile .p-editable.i-place{padding-left:36px}.edit-profile .p-editable.social .e-btn.full-complete{color:#f60}.edit-profile .p-editable.social .e-btn.full-complete:hover{opacity:.7}.edit-profile .i-pict.p-editable{padding:0}.edit-profile .ic-tel .custom-radio-check{position:relative}.edit-profile .i-pict.p-editable img{z-index:0}.edit-profile .ic-tel .epfl{margin-bottom:0}.edit-profile .check{color:#f5f5f5;margin-top:4px;margin-bottom:0;padding-left:4px}.edit-profile .check .custom-checkbox{width:14px;height:14px;margin:-1px 5px 0 0}.my-companies-block:after{content:'';display:block;clear:both}.my-companies-block .ia-title{font-size:20px;line-height:23px;margin-bottom:10px}.my-companies-block .company{display:block;-moz-box-sizing:border-box;box-sizing:border-box;width:23%;float:left;margin-right:2%;margin-top:20px}.my-companies-block .company .logo,.my-companies-block .company .logo img{width:100%;height:auto;display:block}.my-companies-block .company a{display:block;margin-left:auto;margin-right:auto}.my-companies-block .company .logo{-moz-box-sizing:border-box;box-sizing:border-box;border-radius:4px;border-top:1px solid #CCCBC6;background-color:#fff;overflow:hidden;min-height:141px;position:relative}.after-register-modal .required.err .select2-choice,.create-company-modal .select-input.err .select2-choices{border:2px #d80000}.my-companies-block .company .logo img.portrait{height:141px;width:auto;margin-left:auto;margin-right:auto}.my-companies-block .company .logo img.no-logo{position:absolute;margin-top:-29px;margin-left:-30px;top:50%;left:50%;width:60px;height:58px}.my-companies-block .company .title{display:block;color:#606060;margin-top:8px;text-decoration:underline;text-align:center;position:relative}.my-companies-block .company .title .e-btn{padding:0;border-radius:0;height:16px;top:3px}.my-companies-block .company a:hover .title{text-decoration:none}.my-companies-block.editable .company .fa:before{position:absolute;left:0;top:0;font-size:18px;color:#f60}.add-company-block{margin-top:2em}.edit-profile .hidden{display:none}.edit-profile .i-info .e-btn{margin-right:0}.edit-profile .ic-buttons .add_link_text{display:inline-block}.edit-profile .ic-buttons .p-editable{padding-left:0}.create-company-modal .select-input.err{width:auto}.p-editable.pe-current .e-btn.social{background-color:transparent}.p-editable.pe-current .e-btn.social:before,.p-editable.pe-current.social .e-form:before,.p-editable.social .edit-label{display:none}.edit-profile.company .add-info .edit-label,.p-editable.pe-current.social .edit-label{display:block;width:24px;margin-left:-24px;padding-left:5px;padding-top:4px;padding-bottom:4px;background-color:#f60;position:absolute;top:0;left:0;border-radius:3px 0 0 3px}.edit-profile.company .add-info .edit-label .fa,.p-editable.pe-current.social .edit-label .fa{font-size:18px;color:#fff}.edit-profile .editable-wrap .static-value.website{height:27px!important}.edit-profile .editable-wrap .static-value.address{line-height:28px;min-height:27px;display:block}.edit-profile .i-contacts .editable-wrap .static-value{display:block;height:23px}.edit-profile .editable-wrap>p{display:block;margin:0}.edit-profile .i-additional .editable-wrap>p{min-height:23px}.edit-profile .i-additional .editable-wrap .static-value{min-height:27px}.edit-profile .editable-wrap:before{display:none}.add_link_teg .tags,.edit-profile .theme-wrap .input,.edit-profile .theme-wrap .label{display:inline-block}.edit-profile .social .e-form .err:before{margin-right:9px}.edit-profile .add_link_teg .select2-input{line-height:36px!important;font-size:16px!important}.edit-profile .description-text{font-size:14px}.edit-profile .add_link_teg .label{float:none;margin-left:12px}.outer-profile .i-additional{margin-bottom:36px}.outer-profile .i-info .i-title{margin-bottom:14px}.outer-profile .i-contacts .ic-buttons{margin-right:0;padding-left:32px}.outer-profile .i-contacts .ic-buttons .soc-media-buttons{margin-top:0;margin-bottom:16px;padding-left:8px}.outer-profile .i-info .i-contacts{margin-bottom:24px;margin-top:24px}.outer-profile .ic-tel{margin-bottom:14px}.add_link_teg .tags{font-size:12px;margin-top:0}.edit-profile.company .i-additional .e-btn{vertical-align:middle;margin-right:3px}.edit-profile.company .i-additional dl.add-info dd,.edit-profile.company .i-additional dl.add-info dt{min-height:24px;line-height:24px;padding-top:5px;margin-bottom:0}.edit-profile.company .description-text{padding-top:4px}.edit-profile.company .description-text p{line-height:15px;font-size:12px}.edit-profile .theme-wrap .label{font-size:15px;color:#a2a2a2;font-weight:500;display:inline-block;position:relative;padding-right:6px}.edit-profile .theme-wrap .label p{display:inline}.company-preview .i-info .i-contacts .ic-buttons .soc-media-buttons{margin-top:12px}.company-preview .i-info .brief{font-size:12px;line-height:16px;color:#7e7e7e;font-family:Arial,sans-serif}.message-register-success .message,.message-standart .message{font-family:dindisplay_pro,Arial,sans-serif}.address-wrap .i-descr,.error-404 .figure,.error-404 h2,.event-page .title,.thanks-page .left-part figcaption,ol.numeric li:before{font-family:dindisplay_pro,sans-serif}.company-preview .i-info .brief p{margin:0}.company-preview .i-info,.company-preview .pw-open{margin-bottom:1em}.company-preview .i-info .i-tags{font-size:12px}.company-preview .soc-media-buttons{margin-top:2px!important}.profile-preview-btn{margin-top:1em;margin-bottom:2em}.company-preview .specialization,.edit-profile .specialization .static-value{font-size:13px;font-weight:400;color:#7D7D7D}.edit-profile .specialization{margin-bottom:1em}.edit-profile .specialization .p-editable{min-height:27px}.edit-profile .theme-form select{opacity:0}.about-page .tab{display:none}.about-page .tab.active{display:block}.about-page .tabs-body{padding-top:20px}.about-page .tabs-opening{margin-bottom:20px}.team_list .stub{display:block;position:absolute;left:0;top:50%;margin-top:-40px;width:89px;height:89px;text-align:center;padding-top:15px}.team_list li .team_list_bg .stub img{display:inline;position:relative;top:0;margin-top:0;width:auto;height:auto}.сallback-modal{width:534px}.сallback-modal .pw-form .pwf-field{width:340px}.сallback-modal .submit:before{display:none}.сallback-modal .submit:after{content:' ';display:inline-block;background:url(../img/sprites.png) -176px 0 no-repeat;margin:-2px 7px 0 6px;width:8px;height:12px}.subscribe-modal .required.err:before,.сallback-modal .required.err:before{margin-top:2px}.subscribe-modal{width:560px;color:#000}.subscribe-modal .pw-form .pwf-field{width:340px}.subscribe-modal .submit{cursor:pointer}.subscribe-modal .pw-title{font-size:26px;font-weight:300}.subscribe-modal .sub-header{margin-top:0}.subscribe-modal .submit-arrow{display:inline-block;margin-left:20px}.subscribe-modal header{padding-bottom:0}.subscribe-modal .gray{color:#8d807f}.subscribe-modal .small{font-size:.9em}.subscribe-modal.lessons .form-side{float:left;width:60%;position:relative;z-index:1;-moz-box-sizing:border-box;box-sizing:border-box;padding-left:14px}.subscribe-modal.lessons .image-side{float:left;width:40%}.subscribe-modal.lessons .image-side img{position:absolute;width:233px;margin-left:-42px;margin-bottom:-19px;z-index:0}.subscribe-modal.lessons .label-header{font-size:18px}.subscribe-modal.lessons .label-header .small{font-size:.8em}.subscribe-modal.lessons .pw-form .pwf-field{width:214px}.subscribe-modal.lessons .pw-form .submit{height:42px;line-height:42px;width:214px}.subscribe-modal.lessons .submit-arrow{position:absolute;right:0;margin-right:-20px}.invite-modal{width:560px;color:#000}.invite-modal .logos{display:table;margin-left:auto;margin-right:auto;margin-bottom:26px}.invite-modal .logos .item{display:inline-block;margin-left:16px}.invite-modal .logos .item:first-child{margin-left:0}.invite-modal .label p{margin:0}.invite-modal .pw-title{font-size:24px;font-weight:400;line-height:25px}.invite-modal .button{height:42px;line-height:42px;padding-top:0;padding-bottom:0;font-size:15px;width:214px;text-align:center}.invite-modal .submit-arrow{display:inline-block;margin-left:20px}.add-event-page .set-sect.not-active .form-wrap{display:none}.add-event-page .w-time .mCSB_inside>.mCSB_container{margin-right:0}.add-event-page .w-time .mCustomScrollBox{overflow:hidden!important}.reg-form .msg-help .error{color:#d80000}.after-register-modal .pw-form .pwf-line{margin-bottom:0}.after-register-modal .pw-form .pwf-field{padding:0}.after-register-modal .pwf-field input[type=text]{line-height:30px;height:30px}.after-register-modal .pw-form .input_top .pwf-field,.after-register-modal .pw-form .pwf-line{display:block!important}.after-register-modal .input_top select{width:100%}.after-register-modal input[type=text]:focus{padding:0 6px}.after-register-modal .required.err:before{margin-right:8px;margin-top:-27px}.after-register-modal .input_bottom .required.err:before{margin-right:8px;margin-top:-7px}.after-register-modal .input_top .required.err:before{margin-right:8px;margin-top:-8px}.thank-registering{font-size:16px}.thank-registering header{padding-bottom:16px!important}.after-register-modal .pwf-line.phone .err-message-box{font-size:13px}.after-register-modal .pwf-line .err-message-box{margin-top:4px}.after-register-modal .pwf-line .hint-box{display:none;width:62px;position:absolute;text-align:center;margin-left:31px;padding:8px 12px;color:#000;background-color:#aaa;opacity:.6;margin-top:-68px;border-radius:4px}.message-register-success,.message-standart{margin-top:40px}.after-register-modal .pwf-line .err+.hint-box{display:none!important}.after-register-modal .pwf-line .hint-box:after{top:100%;left:50%;height:0;width:0;position:absolute;border:4px solid rgba(170,170,170,0);border-top-color:#aaa;margin-left:-4px}.message-register-success .fa{color:#f60;font-size:80px;margin-bottom:40px}.message-register-success span{display:block;text-align:center}.message-register-success .message{font-size:26px}.message-standart .fa{color:#f60;font-size:40px;margin-right:9px}.message-standart .message{font-size:18px;line-height:40px;display:inline-block}.recovery-page{padding-bottom:2.6em;-moz-box-sizing:border-box;box-sizing:border-box}.recovery-page .label{font-size:18px;margin-bottom:1.5em;margin-top:1.5em}.recovery-page .error-text,.recovery-page .input{display:inline-block}.recovery-page .submit{height:40px;line-height:40px;display:block;margin:2em 0 0 24px}.recovery-page .input input{margin-left:24px;width:340px}.recovery-page .input.err:before{margin-right:12px}.recovery-page .error-text{padding-left:12px;font-size:14px;color:#d80000}.event-page .title{font-size:23px;line-height:24px;margin:0 0 12px}.event-page .title .fa{font-size:.8em}.advertise-window .pwf-msg{color:#f60;padding-top:8px;padding-left:24px}.advertise-window .pwf-field{width:310px!important}.advertise-window header .pw-title{font-weight:400;margin:19px 0}.advertise-window header{padding-bottom:0}.event-news-subscribe-modal .pw-form .pwf-field{width:340px}.expo-place-page .i-info .i-descr{height:auto}.expo-place-page .i-descr-readmore{margin-bottom:1em;display:block}.eni-areas.stat .enis-col{text-align:center;display:inline-block;width:auto;padding-right:32px}.eni-areas.stat .eni-title{float:left;margin-left:-130px;display:block;width:110px;margin-right:16px;font-size:20px;line-height:21px;text-align:right;-webkit-transition:color .3s;-o-transition:color .3s;transition:color .3s;color:#f60}.news-filter-block .mf-line.s-subj-tag .mf-field label{margin-bottom:1em}.news-filter-block .select2-container-multi .select2-choices .select2-search-field:first-child input{line-height:36px}.address-wrap .map-wrap{margin-top:1em;margin-bottom:2em}.address-wrap .i-descr{font-size:18px;line-height:21px;color:#464646}.address-wrap .map-wrap .gmap-canvas{height:308px}.address-wrap .map-toggle{display:block;float:right;color:#a2a2a2;text-decoration:none;position:relative;z-index:2}.address-wrap .map-toggle:hover{color:#f60}.address-wrap .map-toggle:hover .label{border:0}.address-wrap .map-toggle .label{font-size:15px;line-height:12px;text-decoration:none;border-bottom:1px dashed}.address-wrap .map-toggle .fa{font-size:1.3em}.paid-partner-link{text-transform:uppercase;padding:15px;text-align:center;display:block;font-weight:700}.paid-partner-block{margin-top:3em}.paid-partner-block .desc{color:#f60;text-align:center;margin-top:6px}.paid-partner-block .partner-title{margin-bottom:4px;text-align:center}.thanks-page .left-part{float:left;position:relative;width:188px;text-align:center;padding-top:12px}.thanks-page .left-part figcaption{position:absolute;top:0;left:50%;margin-top:50px;margin-left:-37px}.thanks-page .left-part figcaption span{display:block;font-weight:700;font-size:32px;line-height:32px}.thanks-page .left-part figcaption span.orange-text{font-size:68px;line-height:30px}.thanks-page .right-part{margin-left:190px}.thanks-page h3{font-size:18px;color:#59666e}.thanks-page .help-block{position:relative}.thanks-page .help-block .item{width:33.333%;float:left}.thanks-page .help-block .figure{display:block;width:60px;height:60px;float:left;margin-right:12px;background:#f60;position:relative}.thanks-page .help-block .figure:after{position:absolute;top:100%;right:0;height:0;width:0;border-style:solid;border-width:0 10px 10px 0;border-color:transparent #f60 transparent transparent}.thanks-page .help-block .icon{background:url(../img/thanks_sprite.png) no-repeat;margin-left:auto;margin-right:auto}.thanks-page .help-block .list{width:32px;height:37px;margin-top:12px}.thanks-page .help-block .mail{width:42px;height:39px;margin-top:10px;background-position:-32px 0}.thanks-page .help-block .zoom{width:43px;height:39px;margin-top:12px;background-position:-74px 0}.period .pwf-field .error-blob{line-height:18px}.service-page .period .pwf-field.error-field:before{margin-right:13px;margin-top:-8px}.organizer-modal .organizer-name{border-bottom:1px solid #f26c2a}.error-404 .items-list{-webkit-column-count:3;-moz-column-count:3;column-count:3;list-style:none inside;margin:0;display:block}.conf_extra,.conf_visitors .visitors-list,.conference_for ul,.filter_form ul,ol.numeric li,ul.orange{list-style:none}.error-404 .items-list li{margin-bottom:8px;display:block;position:relative}.error-404 .items-list .fa{display:block;float:left;font-size:6px;line-height:16px}.error-404 .items-list a{display:block;margin-left:16px;line-height:1.2em;-webkit-transition:all .3s;-o-transition:all .3s;transition:all .3s;text-decoration:none;color:#464646}.error-404 .items-list a:hover{color:#f60}.error-404 .title{font-size:16px;padding-top:12px}.error-404 h2{color:#f60;font-size:30px;line-height:30px;font-weight:400}.error-404 .figure{display:block;color:#f60;float:left;font-size:96px;margin-right:22px;line-height:1em}.sharing_block .social-likes{margin:0;background:#fff;min-height:unset;padding:5px}.sharing_block .social-likes.fixed{position:fixed;top:0;z-index:1000;box-shadow:0 0 2px #aaa;border-radius:0 0 3px 3px}.sharing_block .social-likes__widget{margin:0;border-radius:2px;float:left}.sharing_block .social-likes__widget:not(:first-child){margin-left:5px}.sharing_block .social-likes__button{padding:.04em .15em .18em 1.65em}.news_sharing:after{content:"";display:block;clear:both}.article_sharing .sharing_block,.article_sharing h5{display:inline-block;vertical-align:middle}.news_sharing .sharing_block{float:right}.article_sharing{border-top:1px dashed #ccc;border-bottom:1px dashed #ccc;border-left:2px solid #F60;margin:15px -20px 0;padding:10px 20px;background-color:#fff}.article_sharing .sharing_block .social-likes{padding:0}.article_sharing h5{margin:0 10px 0 0;font-size:14px;font-weight:500;color:#999}.filters .links_block,.filters .period_block{margin-bottom:30px;text-align:center}.filter_form{background-color:#fff;border-radius:3px}.filter_form_header{background-color:#f60;text-align:center;color:#fff;border-radius:3px 3px 0 0;line-height:40px;font-size:13px;font-weight:700}.filter_form_clear_all{border-left:1px solid #eee;border-right:1px solid #eee}.filter_form_clear_all a{display:block;padding:10px;background:#f2f2f2;text-decoration:none}.filter_form_clear_all span{display:inline-block;vertical-align:middle;margin-left:5px;color:#464646;border-bottom:1px dotted #464646}.filter_form ul{padding-left:0}.filter_block_label,.filter_form li label{padding:5px 10px;display:block}.filter_form .filters{border:1px solid #eee;border-top:0;border-radius:0 0 3px 3px}.filter_block_label{color:#f60;font-size:16px;font-weight:700;cursor:pointer}.filter_block_label:after{content:"";display:block;clear:both}.filter_block_label+ul{margin-top:0}.filter_block_label i{float:right;color:#898989}.filters input[type=checkbox]{display:none}.filters input[type=checkbox]+label{cursor:pointer}.filters input[type=checkbox]+label span{display:inline-block;vertical-align:top;width:-webkit-calc(100% - 20px);width:calc(100% - 20px)}.filters input[type=checkbox]+label span i{font-style:normal;color:#b3b3b3}.filters input[type=checkbox]+label:hover{background:#eee}.filters input[type=checkbox]:checked+label{background:#ffbc88}.filters input[type=checkbox]+label:before{content:"";display:inline-block;vertical-align:middle;margin-right:5px;width:10px;height:10px;border:1px solid #c2c2c2;border-radius:2px;background:#fff}.filters input[type=checkbox]:checked+label:before{background:url(../img/cc.png) 1px 1px no-repeat #fff}.filter_help_text{display:block;color:#a3a3a3;line-height:1.2;padding:0 10px}.filters .links_block{margin-top:-15px}.filters .links_block a,.filters .period_block a{display:inline-block;margin-bottom:5px;text-decoration:none;border-bottom:1px dashed #f60}#get_filters{display:block;background-color:#f60;text-align:center;color:#fff;border-radius:3px;line-height:40px;font-size:12px;font-weight:700;text-decoration:none}#id_date_from,#id_date_to,.filterPeriod,.none,label[for=id_date_from],label[for=id_date_to]{display:none}.filterPeriod{width:530px}#filter_form_wraper{position:relative}.filters_overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(255,255,255,.7);display:none}#expo_b_aside_2>a{display:block;text-align:center;margin-top:15px}ul.orange{padding-left:25px}ul.orange li:before{content:'•';color:#F60;margin-right:30px;font-size:18px;line-height:inherit}ul.checked{list-style-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4BpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0RDgyMDE2NEMzRENFMzExOTc2OEQwODY2QzY0MTY1QSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpCODk5MUY3MDlDNDgxMUU2OUI3REU4RTIyMEQwNTVDQiIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpCODk5MUY2RjlDNDgxMUU2OUI3REU4RTIyMEQwNTVDQiIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNCAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo3MGFiYjJjOC1kNTUzLTVlNDQtOTM1NC1lZDA0ZDI1ZGQ3ZGMiIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDphMmU2ZDI0NS0yM2NkLTExZTYtODdiNy1jYTVkZWJmZmMzZTYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz4kZ+7fAAABq0lEQVR42qzUO0ibURjG8URihSraC0gFpSCuCrVegnaoF8Sl4FCRiuBmRaSQENDNRekggnXwMlQFxcFBEVsRrHERoRoXRdtBvICDUMwidJBC+j/yBE4ODaaQAz++c97vyxPek/PFG4lEPGkYPvh9aQh6gWnE4mHPUI0j1OMWYTTrftiqz6rmRRBDuECjCXuNZSzh2hTxGweam3Gs+Y3CsnV9ixM04NLLnh0ymcB4im0VYgXl+IUaBd5t3Ccs/sf+fEWBWm6JB5mRgW481LoDT5MEVWFTQWb0YMd+wIS91B7MYw77qHCCXmEDj7WewWfUumH96v1KtefYxnutS/EFuVr/QK+Cn7hhXchBCCOqZ2ESC1hDnup/0Klfu03HJeHkFuvqUaD5goDW75x2h7Gn+SPku2GmnahVC+oacILOMGit17Hrttln7YcdOOrUQmovPvx444bZbSYL/K63xB4ptRkfMQWad3BLa899bbajKMlBjWnvVv9xrw6VbtgpplCGBzo/poVMa+6z5uaZVgzogCeEfcBPjOlfwLR8jibNo069BB/1uW922F8BBgAx/1yfsUyMnAAAAABJRU5ErkJggg==)}ul.checked li{padding-left:17px}ol.numeric{counter-reset:myCounter;padding-left:25px}ol.numeric li:before{counter-increment:myCounter;content:counter(myCounter)'.';color:#a8a8a8;margin-right:20px;font-weight:700;font-size:18px;line-height:18px;vertical-align:middle}blockquote{margin-right:0;margin-left:0;border-left:2px solid #F60;padding-left:15px;font-style:italic;font-size:16px}.article_comments,.full_sharing,.recommended_articles{border-top:1px dashed #ccc;margin-left:-20px;margin-right:-20px}.full_sharing{padding:28px 20px;border-bottom:1px dashed #ccc}.full_sharing .social-likes__button{font-weight:500}.recommended_articles{padding:33px 20px}.recommended_articles h2{font-size:40px;font-weight:100;line-height:1;color:#333;margin-bottom:30px}.recommended_articles .articles{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.recommended_articles .article{width:217px}.recommended_articles img{margin-bottom:25px}.recommended_articles a{font-size:14px;font-weight:700;color:#333;text-decoration:none}.recommended_articles a:hover{text-decoration:underline;color:#F60}.recommended_articles time{display:block;padding-top:7px}.recommended_articles time i{color:#F60}.article_comments{padding:33px 20px 0}.article_comments h2{font-size:40px;font-weight:100;line-height:1;color:#333;margin-bottom:30px}.article_comments form button{margin-top:15px}.comment{padding:20px}.comment_author{font-size:18px;color:#F60;margin-bottom:8px}.comment_author time{margin-left:20px;border-left:1px solid #ccc;padding-left:20px;line-height:inherit;font-size:13px;color:#666}.comment_author time i{color:#F60}.comment_text{font-size:14px;color:#333;line-height:1.3;margin-bottom:10px}.comment a{text-decoration:none}.comment a span{color:#333;margin-left:5px}.comment a:hover span{color:#F60;text-decoration:underline}.comment>.comment{margin:45px 0 0 100px;border:1px solid #f4f4f3;background-color:#f8faf9;border-radius:3px;position:relative}.comment>.comment:before{content:'';display:block;width:20px;height:20px;background:url(../../img/comment_arrow.png);position:absolute;left:20px;top:-19px}.conference_slider h2,.connference_speakers h3{font:500 28px dindisplay_pro;color:#000}.speakers_slider>.speaker:not(:first-child){display:none}.speakers_slider{margin:0 auto;width:872px}.speakers_slider .speaker{width:196px;margin:0 11px}.speaker_img{position:relative;border-radius:5px;overflow:hidden}.speaker_img .overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(255,102,0,.8);color:#fff;padding:10px;vertical-align:middle;opacity:0;-webkit-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s;border-radius:3px}.speaker_img .overlay span{position:absolute;top:50%;left:0;right:0;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);font-size:14px;text-align:center}.speakers_slider .speaker:hover .overlay{opacity:1;-webkit-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.speakers_slider .speaker h5{font:600 18px dindisplay_pro;color:#464646;text-align:center;margin-bottom:0}.speakers_slider .speaker>span{display:block;text-align:center;color:#F60}.speakers_slider .slick-next:before,.speakers_slider .slick-prev:before{font-family:Arial,sans-serif;color:#b7b7b6;font-size:38px;font-weight:100}.speakers_slider .slick-prev:before{content:'‹'}.speakers_slider .slick-next:before{content:'›'}.last_photos_slider{margin-bottom:22px;border-radius:5px}.last_photos_slider>img:not(:first-child),.last_photos_thumbs>img:not(:first-child){display:none}.last_photos_thumbs .slick-next:before,.last_photos_thumbs .slick-prev:before{content:'';display:block;width:15px;height:30px;background:url(../../img/slider_arrow.png)}.last_photos_thumbs .slick-next:before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.last_photos_slider .slick-prev{left:0;top:0;bottom:0;-webkit-transform:none;-ms-transform:none;-o-transform:none;transform:none;background:rgba(0,0,0,0);height:100%;z-index:100;width:60px;text-align:center}.last_photos_slider .slick-next:before,.last_photos_slider .slick-prev:before{position:absolute;left:50%;margin:-31px 0 0 -15px;display:block;content:''}.last_photos_slider .slick-next:focus,.last_photos_slider .slick-prev:focus{background:rgba(0,0,0,0)}.last_photos_slider .slick-prev:before{width:31px;height:62px;background:url(../img/sprites.png) 0 -63px no-repeat;top:50%}.last_photos_slider .slick-prev:hover{background:rgba(0,0,0,.3)}.last_photos_slider .slick-next{top:0;right:0;bottom:0;-webkit-transform:none;-ms-transform:none;-o-transform:none;transform:none;background:rgba(0,0,0,0);height:100%;z-index:100;width:60px;text-align:center}.last_photos_slider .slick-next:before{width:31px;height:62px;background:url(../img/sprites.png) 0 -63px no-repeat;top:50%;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}.last_photos_slider .slick-next:hover{background:rgba(0,0,0,.3)}.conference_about h2{font-weight:500;color:#000;font-size:28px}.conference_about .ied-text{font:16px/28px dindisplay_pro,sans-serif;color:#333}.conference_about .text-indent-1-5em{text-indent:0}.i-photo-slides h2{font-family:dindisplay_pro,sans-serif;font-size:28px;color:#000}.last_photos_thumbs{width:765px;margin:0 auto}.last_photos_thumbs img{margin:0 10px}.top_page_banner{display:block;max-width:1200px;margin:10px auto}.top_page_banner img{max-width:100%;height:auto}.conference_interested{background-color:#fff;border:1px solid #f8f8f6;border-radius:3px;padding:22px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.conference_for{-webkit-box-flex:5;-webkit-flex:5;-moz-box-flex:5;-ms-flex:5;flex:5}.confererence_price{-webkit-box-flex:2;-webkit-flex:2;-moz-box-flex:2;-ms-flex:2;flex:2}.conference_interested h3{font:400 22px dindisplay_pro,sans-serif;color:#000;margin:0 0 20px}.conference_for h3:before{content:'';display:inline-block;width:16px;height:18px;background:url(../img/sprites.png) -384px -108px;margin-right:10px}.confererence_price h3:before{content:'';display:inline-block;width:22px;height:18px;background:url(../img/sprites.png) -407px -109px;margin-right:5px}.conference_for ul{padding-left:0}.conference_for li{-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;width:-webkit-calc(100%/3);width:calc(100%/3);border-bottom:1px dotted #e8e8e8;font:italic 300 14px dindisplay_pro,sans-serif;color:#999;padding-left:20px;line-height:30px}.conference_price{-moz-box-sizing:border-box;box-sizing:border-box;float:left;margin-left:43px;background-color:#fff5eb;border:1px solid #f4b576;border-left:0;padding:0 15px;border-radius:0 3px 3px 0;font:400 22px dindisplay_pro,sans-serif;line-height:39px;color:#f60;position:relative}.conf_place,.place_detail{-moz-box-sizing:border-box}.conference_price:before{content:"";display:inline-block;vertical-align:middle;width:14px;height:40px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAnCAYAAAA/63kvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4BpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0RDgyMDE2NEMzRENFMzExOTc2OEQwODY2QzY0MTY1QSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpBOUQwQUJFQUFBNDExMUU2OThBREVBQTJBRjU0MzcxNCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpBOUQwQUJFOUFBNDExMUU2OThBREVBQTJBRjU0MzcxNCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNCAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphYjE0NjJhNy1lN2FkLTIzNDktOGRhYy05M2UyOTljYjIxYzUiIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDo3YWRjMTQ1YS04YTJkLTExZTYtODkxZS1hOGNhNWExYjdhZWYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7XRKkHAAACeklEQVR42pyWz2sTQRTH3+zsz9T8Am1qW9LaBko3EIqKQitqEVREgxfRg+KlKvgDPEj9G0TbS1GE4sVrperBHvRi/XUSbMUIotRQUYk9xNrG/Nrd8e1Qa02z290+eMwsO59833sz+yaEMQZerTBxdT8ON9ETxCuIUD+RtCeKnqY0GgcRvNuokjxKaaSVP4gelLpxGBG0SOdfyDbHUBEgOFwgonpd2tKnSs09uFpwBxGScbgjhJpPqvoRIGpo1ZpV4BI0Rjcm0qqeBhBo3Yjq5TgqbupKK/rh/0JzVUS1c0Kw6bbWcwKASq5FWwYRaiOinNG2nW4gWmTNvVkZy5DU1usJWlZEtRRRglOBnWeIUzGcFC9Krds9QxxENQ2rd1yM6eDHbMU+Gm4JETngG+ynkTj4NfsApIRgzHmFZUJl5ikYufcAuHNikw5yx14OJogWdeQqM5NglQug7b7Cn8tvx6CSfclDbXTLz8hlQEkdA9wu7vbc+D7NwQ2Eyr5ztEHTzsOxCLEkhncPWHkBWGmez8XNKQ7OsepvR1Du2AOCEoDi5A0oPhvmc7l9Fy9O1iotxKkadoiJgpzYx7021ClrMbeuHF+Y+ey6wMdmfrbCzIo/sOHQtXmwjHHTPhk+FW0bqX55jUfK8gei6iurmJ+ofpv2rWjb5ern50VW+uUPRNWPzCgPljIP8YswvPWcmoZ8V2zsOqV0u/fVem8GjB8fxkvv7rsqO90ddte6hc35rJpM490R9gau+IHzRFSGpPZeVWrZuvZtVed+HBYC0YPajoF/L2zQiy8+GvxkfH3DWGGOu+DjlF0qZx6Y5s9Zb6HWhH1g6V9H5x8BBgA34gsmw854LQAAAABJRU5ErkJggg==);position:absolute;top:0;left:-13px}.conf_extra .file:before,.conf_extra .globe:before{height:17px;display:inline-block;content:''}.conf_extra li{display:inline-block;margin-right:50px}.conf_extra a{text-decoration:none;font-family:dindisplay_pro,sans-serif}.conf_extra span{display:inline-block;text-decoration:underline;margin-left:5px;font-size:16px}.conf_extra a:hover span,h1 .preview_toggle{text-decoration:none}.conf_extra i{display:inline-block;vertical-align:middle}.conf_extra .globe:before{width:17px;background:url(../img/sprites.png) -423px -31px}.conf_extra .file:before{width:14px;background:url(../img/sprites.png) -425px -12px}.conf_visitors h3{font:500 28px dindisplay_pro,sans-serif;margin-bottom:15px;color:#000}.conf_visitors .visitors-list{padding-left:0}.conf_visitors .visitors-list li{display:inline-block;width:25%}.conf_visitors .visitors-list a{display:block;font:400 14px dindisplay_pro,sans-serif;color:#464646;padding-left:15px;line-height:1.5;border-left:2px solid #F60}.conf_comments form h3,.conf_comments form p,.place_detail,.place_image{display:inline-block;vertical-align:top}.conf_comments,.place_detail{font-family:dindisplay_pro,sans-serif}.conf_visitors .visitors-list a:hover{color:#F60}.conf_place{border:1px solid #f8f8f6;background-color:#fff;border-radius:5px;padding:0 20px 20px;box-sizing:border-box;margin-top:40px}.place_detail{box-sizing:border-box;width:-webkit-calc(100% - 350px);width:calc(100% - 350px);padding-right:35px;padding-top:35px}.place_detail h3{font-size:28px;margin-top:0}.place_detail h4{color:#F60;font-size:22px;font-weight:400;text-transform:uppercase;margin-top:0}.place_detail h4 i{margin-left:5px}.place_image{width:350px}.place_detail .grey{font-size:15px;color:#999}.place_detail p{font-size:16px;color:#333;line-height:28px}.сomment_form textarea.error{border:2px solid #d80000;padding:4px}.conf_comments{padding-top:30px}.conf_comments h2{font:500 28px dindisplay_pro;color:#000}.conf_comments .сomment_form{border-top:1px dotted #ccc;border-bottom:1px dotted #ccc;padding:20px 0}.conf_comments form h3{width:195px;font-size:16px}.conf_comments form p{width:-webkit-calc(100% - 195px);width:calc(100% - 195px)}.conf_comments form label{display:none}.conf_comments form button{margin-top:15px}.conf_comments form textarea{border-color:#e8e8e7;border-radius:0;box-shadow:none;height:119px}.сomment_form .delete_parent{display:inline-block;vertical-align:middle;margin-left:25px;text-decoration:none;font-size:16px;padding-top:12px}.сomment_form .delete_parent i{color:#666}.сomment_form .delete_parent:hover i{color:#F60}.conf_sharing{text-align:center;padding-top:20px}.conf_sharing .social-likes__button{border-radius:3px;font-weight:500}.new_article{font-size:16px;line-height:28px;padding-top:20px}.new_article img{width:100%;max-width:100%;height:auto}.white_block{background-color:#fff;border-top:1px dashed #ccc;border-bottom:1px dashed #ccc}.new_article .white_block{margin-left:-20px;margin-right:-20px;padding:0 20px}.new_article.hidden{display:none}h1 .preview_toggle{float:right;border:1px solid #ccc;color:#838383;text-transform:uppercase;font:14px/38px dindisplay_pro,sans-serif;width:180px;text-align:center;border-radius:3px;margin-left:25px;margin-top:3px}h1 .preview_toggle:hover{border-color:#F60;color:#F60}.twitter_email_form input{max-width:300px}.twitter_email_form button{margin-top:15px}.twitter_email_form .errorlist{margin:0;list-style:none;padding-left:0;color:#d80000}.no_login{font-size:18px}.conference_themes .i-subj{width:35%;padding-left:25px;-moz-box-sizing:border-box;box-sizing:border-box}.conference_themes .i-tags{width:65%}.conference_themes .i-tags a{font-size:11px}.conference_themes .i-subj a:hover,.conference_themes .i-tags a:hover{text-decoration:underline}.ib-main .note-wrap,.ib-main .note-wrap+a,.ib-main .note-wrap-disabled,.ib-main .note-wrap-disabled+a,.ib-main a+a{margin-left:5px}.ib-main .addcalendar{color:#ef3976;border-color:#ef3976}.ib-main .addcalendar:hover{background-color:#ef3976;border-color:#ef3976;color:#fff}.ib-main .addcalendar:before{background-position:-406px -90px}.ib-main .removecalendar,.ib-main .removecalendar:hover{background-color:#ef3976;border-color:#ef3976}.tos a{color:#ccc;text-decoration:none}.tos a:hover{color:#F60}.event_org{font:16px dindisplay_pro,sans-serif;color:#464646}.event_org:after{content:'';display:block;clear:both}.new_subribe_btn{float:right;border-color:#ef3976;color:#ef3976}.new_subribe_btn:hover{background-color:#ef3976;color:#fff}.modal_not_found{display:none}.modal_not_found_body{max-width:620px;padding:20px 20px 10px;font-family:dindisplay_pro,sans-serif;font-size:18px;line-height:1.5}.modal_not_found_body h3{font-size:32px;line-height:35px;color:#f60;font-weight:100;margin:0 0 15px}[data-tooltip]{position:relative}[data-tooltip]:hover:before{content:attr(data-tooltip);position:absolute;background-color:#666;color:#fff;top:-26px;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);-o-transform:translateX(-50%);transform:translateX(-50%);padding:0 10px;font-size:12px;line-height:22px;white-space:nowrap} \ No newline at end of file diff --git a/static/client/js/_modules/block.common.js b/static/client/js/_modules/block.common.js index 40d95de6..e1da8bf1 100644 --- a/static/client/js/_modules/block.common.js +++ b/static/client/js/_modules/block.common.js @@ -270,6 +270,7 @@ if (EXPO.common){ /** * registration form requires a special form of error messages */ + // TODO: refactor same code $('form.simple-validate-register').on('submit', function(e){ e.preventDefault(); var $form = $(this), @@ -333,6 +334,59 @@ if (EXPO.common){ } }); + var timer; + $('form.simple-validate-register').on('keyup', 'input', function (e) { + e.preventDefault(); + var $form = $(this).parents('form'); + clearTimeout(timer); + + timer = setTimeout(function () { + $.post($form.data('validate-url'), $form.serializeArray(), function (data) { + if (data.success){ + $(".error", $form).remove(); + $(".required.err", $form).removeClass("required err"); + + $(".pwf-line .msg-help",$form).each(function () { + var $this = $(this), + defaultT = $this.attr("data-default"); + + if($.trim(defaultT) != '') { + $this.html('').text(defaultT); + } + }); + } else { + // delete previous error messages + $(".error", $form).remove(); + $(".required.err", $form).removeClass("required err"); + $('.has_error', $form).removeClass('has_error'); + $(".pwf-line .msg-help",$form).each(function () { + var $this = $(this), + defaultT = $this.attr("data-default"); + if($.trim(defaultT) != ''){ + $this.html('').text(defaultT).hide(); + } + }); + + $.each(data.errors, function (index, value) { + var $input = $("#id_" + index, $form), + $error = $("
").attr("class", "error").append(value), + $msg = $input.closest(".pwf-line").find(".msg-help"); + + if ($.trim($input.val()).length > 0){ + $input.parent().addClass('required err'); + $input.parents('.pwf-line').addClass('has_error'); + $msg.attr("data-default", $msg.text()); + $msg.text('').prepend($error); + $msg.show(); + } + }); + + } + }); + }, 500); + + }); + }); //private $(function () { @@ -381,7 +435,8 @@ if (EXPO.common){ }); /** - * very simple (probably in much need of improvement) Jquery plugin I've thrown together that will get you the value of an inline style property + * very simple (probably in much need of improvement) Jquery plugin I've thrown together + * that will get you the value of an inline style property */ (function ($) { $.fn.inlineStyle = function (prop) { diff --git a/static/client/js/main.js b/static/client/js/main.js index a3682942..f44ea633 100644 --- a/static/client/js/main.js +++ b/static/client/js/main.js @@ -1,1175 +1,1177 @@ var map; function mapInit() { - var canvas = document.getElementById('map-canvas'); - var coords = canvas.getAttribute('data-coords'); - var commaPos = coords.indexOf(','); - var lat = parseFloat(coords.substring(0, commaPos)); - var lng = parseFloat(coords.substring(commaPos + 1, coords.length)); - var myLatlng = new google.maps.LatLng(lat, lng); - var mapOptions = { - zoom: 15, - center: myLatlng - }; - map = new google.maps.Map(canvas, mapOptions); - - var marker = new google.maps.Marker({ - position: myLatlng, - map: map - }); + var canvas = document.getElementById('map-canvas'); + var coords = canvas.getAttribute('data-coords'); + var commaPos = coords.indexOf(','); + var lat = parseFloat(coords.substring(0, commaPos)); + var lng = parseFloat(coords.substring(commaPos + 1, coords.length)); + var myLatlng = new google.maps.LatLng(lat, lng); + var mapOptions = { + zoom: 15, + center: myLatlng, + scrollwheel: false + }; + map = new google.maps.Map(canvas, mapOptions); + + var marker = new google.maps.Marker({ + position: myLatlng, + map: map + }); } /* */ function addError(inputId, msg){ - var $input = $('#reg_form '+ inputId); - var $error = $("
").attr("class", "pwf-msg").append( - $("
").attr("class", "msg-error").append(msg) - ); + var $input = $('#reg_form '+ inputId); + var $error = $("
").attr("class", "pwf-msg").append( + $("
").attr("class", "msg-error").append(msg) + ); - $input.parent().parent().append($error) + $input.parent().parent().append($error) } function placeInput(width){ - $('#id_country').val('159').select2({ - placeholder: "Ваша страна", - width: width - }); - - $('#id_city').select2({ - placeholder: "Ваш город", - width: width, - ajax: { - - url: "/city/get-city/", - dataType: "json", - quietMillis: 200, - - data: function(term, page, country){ - var country = $('#id_country').val() - return {term: term, - page: page, - country: country}; - }, - - results: function (data) { - var results = []; - $.each(data, function(index, item){ - results.push({ - id: item.id, - text: item.label - }); - }); - return {results: results}; - } - }, - initSelection : function(element, callback) { - var id= $(element).val(); - var text = $(element).attr('data-init-text'); - callback({id: id, text:text}); - - } - - }); + $('#id_country').val('159').select2({ + placeholder: "Ваша страна", + width: width + }); + + $('#id_city').select2({ + placeholder: "Ваш город", + width: width, + ajax: { + + url: "/city/get-city/", + dataType: "json", + quietMillis: 200, + + data: function(term, page, country){ + var country = $('#id_country').val() + return {term: term, + page: page, + country: country}; + }, + + results: function (data) { + var results = []; + $.each(data, function(index, item){ + results.push({ + id: item.id, + text: item.label + }); + }); + return {results: results}; + } + }, + initSelection : function(element, callback) { + var id= $(element).val(); + var text = $(element).attr('data-init-text'); + callback({id: id, text:text}); + + } + + }); } !function ($) { - var $win = $(window); - var $html = $('html'); - var $body = $('body'); - var $doc = $(document); - - - $.widget( "custom.catcomplete", $.ui.autocomplete, { - _renderMenu: function( ul, items ) { - var that = this, - currentCategory = ""; - $.each( items, function( index, item ) { - if ( item.category != currentCategory ) { - ul.append( "
  • " + item.category + "
  • " ); - currentCategory = item.category; - } - that._renderItemData( ul, item ); - }); - } - }); - - /* submiting registration form */ - $(function () { - - - $('#send_message_form').on('submit', function(event){ - event.preventDefault(); - $this = $(this); - var formData = $this.serialize(); - var url = $this.attr('action') - $.post(url, formData, function(data){ - if (data.success){ - $.fancybox.close(); - $this.find('#id_body').val('') - } - }); - }); - $('#reply_form').on('submit', function(event){ - event.preventDefault(); - $this = $(this); - var formData = $this.serialize(); - var reply_message = $('#reply_message').val() - var url = '/profile/messages/reply/'+reply_message+'/' - - $.post(url, formData, function(data){ - if (data.success){ - $.fancybox.close(); - $this.find('#id_recipient').val('') - $this.find('#id_body').val('') - } - }); - - }); - - $('.visit, .unvisit').on('click', function(event){ - event.preventDefault(); - var $this = $(this); - var url = $(this).attr('href'); - $.get(url, function(data){ - if (data.not_authorized){ - $.fancybox.open('#pw-login'); - } - else{ - if(data.success){ - if(data.in){ - if($this.hasClass('visit')){ - $this.hide(); - $this.siblings('.unvisit').show() - } - } - else{ - if($this.hasClass('unvisit')){ - $this.hide(); - $this.siblings('.visit').show() - } - } - } - } - }); - - }); - - - /* - $('#reg_form').on('submit', function(event){ - event.preventDefault(); - var formData = $(this).serialize(); - var url = '/register/'; - console.log(url); - - - $.post(url, formData, function(data){ - if(data.success){ - //register success - - // remove input values - $('#reg_form input').each(function(i){ - $(this).val(""); - }); - // close popup - $.fancybox.open('#pw-reg-complete'); - //$.fancybox.close(); - - } - else{ - console.log(data); - // hide help messages - $("#reg_form .msg-help:visible").hide(); - // delete previous errors - $("#reg_form .msg-error").parent().remove(); - - // generate new errors - var form_inputs = ['first_name', 'last_name', 'email', 'password1', 'password2'] - for(var i= 0; i < form_inputs.length; i++){ - if(form_inputs[i] in data){ - var input_id = '#id_'+form_inputs[i]; - addError(input_id, data[form_inputs[i]]) - } - } - } - }); - - }); - */ - /* submiting change password form */ - $('#paswd_change').on('submit', function(event){ - event.preventDefault(); - var formData = $(this).serialize(); - var url = '/profile/change-password/'; - var $form = $(this); - $.post(url, formData, function(data){ - if (data.success){ - $('#paswd_change .mf-success').fadeIn(300); - setTimeout(function(){ - $('#paswd_change .mf-success').fadeOut(300); - }, 3000); - $form.find('#id_old password').val('') - - } - else{ - // remove previous error - $('#paswd_change .mf-error').parent().remove(); - // add new error - var $element = $("
    ").attr("class", "mf-line").append( - $("
    ").attr("class", "mf-error").append(data.errors[0])) - $form.find('.mf-buttons-line').before($element); - } - }); - }); - $('.reg').on('click', function(event){ - event.preventDefault(); - $('.register').click(); - }); - - - /* ******************************************* - * Нестандартное оформление для поля select - * Изменено 24.04.2014 - * */ - $.fn.customSelect = function () { - return $(this).each(function() { - - var $this = $(this); - var $options = $this.children('option'); - var numberOfOptions = $this.children('option').length; - var $selected = $(":selected", $this); - - $this.addClass('s-hidden'); - - $this.wrap('
    '); - $this.after('
    '); - - var $styledSelect = $this.next('div.custom-select-wrap'); - var $styledSelectText = $styledSelect.children('.custom-select-text'); - var soText = $selected.length != 0 ? $selected.text() : $this.children('option').eq(0).text(); - - $styledSelectText.text(soText); - - if ( $options.index($selected) == 0 && (!$this.children('option').eq(0).val() || !$this.children('option').eq(0).attr('value')) ) { - $styledSelectText.addClass('placeholder'); - } - - var $menu = $('
    ').insertAfter($styledSelect); - var $optionsWrap = $menu.find('.scroll-content'); - - var $list = $('
      ').appendTo($optionsWrap); - - for (var i = 0; i < numberOfOptions; i++) { - var oText = ($this.children('option').eq(i).text() != '') ? $this.children('option').eq(i).html() : ' '; - $('
    • ', { - html: oText, - 'data-value': $this.children('option').eq(i).val() - }).appendTo($list); - } - - var $listItems = $list.children('li'); - - $styledSelect.on('click', function(e) { - e.stopPropagation(); - $('div.custom-select-wrap.active').not(this).each(function() { - $(this).removeClass('active').next('.options').hide(); - }); - if (!$this.prop('disabled')) { - $(this).toggleClass('active').next('.options').toggle(); - } - }); - - $listItems.on('click', function(e) { - var $el = $(this); - e.stopPropagation(); - $styledSelectText.text($el.text()); - $styledSelect.removeClass('active'); - $this.val($el.data('value')); - if ( $el.index() == 0 && (!$this.children('option').eq(0).val() || !$this.children('option').eq(0).attr('value')) ) { - $styledSelectText.addClass('placeholder'); - } else { - $styledSelectText.removeClass('placeholder'); - } - $menu.hide(); - }); - - if ($.fn.mCustomScrollbar) { - var customSelectScrollOptions = { - scrollInertia: 200, - contentTouchScroll: true, - scrollButtons: { - enable: false - }, - advanced:{ - autoScrollOnFocus:false, - updateOnContentResize: true - } - }; - - var $scrollContainer = $menu.find('div.cs-scroll-container'); - $scrollContainer.mCustomScrollbar(customSelectScrollOptions); - } - - $(document).on('click', function() { - $styledSelect.removeClass('active'); - $menu.hide(); - }); - - $this.on('change', function () { - var $cThis = $(this); - var selectedIndex = $cThis.prop('selectedIndex'); - var Text = $cThis.children('option').eq(selectedIndex).text(); - $styledSelectText.text(Text); - if ( selectedIndex == 0 && (!$this.children('option').eq(0).val() || !$this.children('option').eq(0).attr('value')) ) { - $styledSelectText.addClass('placeholder'); - } else { - $styledSelectText.removeClass('placeholder'); - } - }); - - }); - }; - $("select:not([multiple])").each(function () { - var $el = $(this); - if (!$el.hasClass('select2')) { - $el.customSelect(); - } - }); - - - - /* Обработка autocomplete в полях поиска - * используется jQuery UI Autocomplete - * */ - /* Галереи-слайдеры на главной - * использован плагин Swiper - * http://www.idangero.us/sliders/swiper/api.php - * */ - $('#mp-recent-expo').each(function () { - var $reContainer = $(this); - var $reSwipeWrap = $reContainer.children('ul'); - var $reSwipeItems = $reSwipeWrap.children('li'); - var $reControls = $reContainer.children('div.re-controls'); - - if ($reSwipeItems.length > 1) { - $reControls.addClass('enabled'); - } - }); - - $('#mp-photo-gallery').each(function () { - var $reContainer = $(this); - var $reSwipeWrap = $reContainer.children('ul'); - var $reSwipeItems = $reSwipeWrap.children('li'); - var $reControls = $reContainer.children('div.re-controls'); - var $recPrev = $reControls.children('a.prev'); - var $recNext = $reControls.children('a.next'); - - if ($reSwipeItems.length > 1) { - $reControls.addClass('enabled'); - var $reSwiper = $reContainer.swiper({ - speed: 500, - mode:'horizontal', - loop: false, - simulateTouch: false, - onInit: function (swiper) { - $recPrev.addClass('disabled'); - }, - onSlideChangeStart: function (swiper) { - var $descrs = $reSwipeItems.find('div.pgi-descr'); - $descrs.animate({ - height: 'hide', - opacity: 'hide' - }, 500); - if (swiper.activeIndex == 0) { - if (!$recPrev.hasClass('disabled')) { - $recPrev.addClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } else if (swiper.activeIndex == swiper.slides.length-1) { - if (!$recNext.hasClass('disabled')) { - $recNext.addClass('disabled'); - } - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - } else { - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } - }, - onSlideChangeEnd: function (swiper) { - var $descrs = $reSwipeItems.find('div.pgi-descr'); - $descrs.eq(swiper.activeIndex).slideDown(250); - } - }); - - $recPrev.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipePrev(); - } - return false; - }); - $recNext.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipeNext(); - } - return false; - }); - } - }); - - $('#ps-photo-gallery').each(function () { - var $reContainer = $(this); - var $reSwipeWrap = $reContainer.children('ul'); - var $reSwipeItems = $reSwipeWrap.children('li'); - var $reControls = $reContainer.children('div.re-controls'); - var $recPrev = $reControls.children('a.prev'); - var $recNext = $reControls.children('a.next'); - - if ($reSwipeItems.length > 1) { - $reControls.addClass('enabled'); - $reSwipeItems.css({ - display: 'block' - }); - var $reSwiper = $reContainer.swiper({ - speed: 500, - mode:'horizontal', - calculateHeight: true, - loop: false, - simulateTouch: false, - onInit: function (swiper) { - $recPrev.addClass('disabled'); - }, - onSlideChangeStart: function (swiper) { - if (swiper.activeIndex == 0) { - if (!$recPrev.hasClass('disabled')) { - $recPrev.addClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } else if (swiper.activeIndex == swiper.slides.length-1) { - if (!$recNext.hasClass('disabled')) { - $recNext.addClass('disabled'); - } - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - } else { - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } - } - }); - - $recPrev.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipePrev(); - } - return false; - }); - $recNext.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipeNext(); - } - return false; - }); - } - - }); - - $('#s-slide-gallery').each(function () { - var $reContainer = $(this); - var $reSwipeWrap = $reContainer.children('ul'); - var $reSwipeItems = $reSwipeWrap.children('li'); - var $reControls = $reContainer.children('div.re-controls'); - var $recPrev = $reControls.children('a.prev'); - var $recNext = $reControls.children('a.next'); - - if ($reSwipeItems.length > 4) { - $reControls.addClass('enabled'); - $reSwipeItems.css({ - display: 'block' - }); - - $win.on('resize', function () { - $reContainer.height($reSwipeItems.eq(0).height()); - }).trigger('resize'); - - var $reSwiper = $reContainer.swiper({ - slidesPerView: 4, - slidesPerGroup: 4, - speed: 500, - mode:'horizontal', - calculateHeight: true, - loop: false, - simulateTouch: false, - onInit: function (swiper) { - $recPrev.addClass('disabled'); - }, - onSlideChangeStart: function (swiper) { - if (swiper.activeIndex == 0) { - if (!$recPrev.hasClass('disabled')) { - $recPrev.addClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } else if (swiper.activeIndex == swiper.slides.length-4) { - if (!$recNext.hasClass('disabled')) { - $recNext.addClass('disabled'); - } - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - } else { - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } - } - }); - - $recPrev.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipePrev(); - } - return false; - }); - $recNext.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipeNext(); - } - return false; - }); - - } - - }); - - $('.sli-slides').each(function () { - var $reContainer = $(this); - var $reSwipeWrap = $reContainer.children('ul'); - var $reSwipeItems = $reSwipeWrap.children('li'); - var $reControls = $reContainer.children('div.re-controls'); - var $recPrev = $reControls.children('a.prev'); - var $recNext = $reControls.children('a.next'); - - if ($reSwipeItems.length > 4) { - $reControls.addClass('enabled'); - $reSwipeItems.css({ - display: 'block' - }); - - $win.on('resize', function () { - $reContainer.css({ - height: $reSwipeItems.eq(0).height() - }); - }).trigger('resize'); - - var $reSwiper = $reContainer.swiper({ - slidesPerView: 4, - slidesPerGroup: 4, - calculateHeight: true, - speed: 500, - mode:'horizontal', - loop: false, - simulateTouch: false, - onInit: function (swiper) { - $recPrev.addClass('disabled'); - }, - onSlideChangeStart: function (swiper) { - if (swiper.activeIndex == 0) { - if (!$recPrev.hasClass('disabled')) { - $recPrev.addClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } else if (swiper.activeIndex == swiper.slides.length-4) { - if (!$recNext.hasClass('disabled')) { - $recNext.addClass('disabled'); - } - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - } else { - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } - } - }); - - $recPrev.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipePrev(); - } - return false; - }); - $recNext.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipeNext(); - } - return false; - }); - - } - - }); - - /* Открытие popup диалогов */ - var fbPopupOptions = { - padding: 0, - fitToView: false - }; - - $('a.pw-open').fancybox(fbPopupOptions); - - /* Обработка placeholder для старых браузеров */ - $('input[placeholder], textarea[placeholder]').placeholder(); - - /* показ сообщений помощи в полях диалогов*/ - $doc.on('focus', 'form.pw-form input[type="text"], form.pw-form input[type="password"]', function (event) { - var $input = $(this); - var $fLine = $input.closest(".pwf-line"); - var $help = $fLine.find('div.msg-help'); - var $error = $fLine.find('div.msg-error'); - var $error2 = $(this).parent().parent().parent().find('.mf-error'); - $error.parent().remove(); - $error2.parent().remove(); - - if ($help.is(':hidden')) { - $help.fadeIn(300); - } - }); - - $doc.on('blur', 'form.pw-form input[type="text"], form.pw-form input[type="password"]', function (event) { - var $input = $(this); - var $fLine = $input.closest(".pwf-line"); - var $help = $fLine.find('div.msg-help'); - if ($help.is(':visible') && !$fLine.hasClass('has_error')) { - $help.fadeOut(300); - } - }); - - - /* Custom scroll - * использован плагин malihu-custom-scrollbar-plugin - * http://manos.malihu.gr/jquery-custom-content-scroller/ - * */ - var customScrollOptions = { - scrollInertia: 200, - contentTouchScroll: true, - scrollButtons: { - enable: false - }, - advanced:{ - updateOnContentResize: true - } - }; - - - $('div.scroll-container').each(function () { - var $scrollContainer = $(this); - $scrollContainer.mCustomScrollbar(customScrollOptions); - }); - - /* Открыть диалог подписки на нужной вкладке */ - $('#subscribe-sm').each(function () { - var $container = $(this); - var $links = $container.find('a'); - - $links.on('click', function () { - var $link = $(this); - var index = $links.index(this); - var popupSubscribe = $('#pw-subscribe'); - - $.fancybox(popupSubscribe, fbPopupOptions); - var $tabs = popupSubscribe.find('ul.tabs > li'); - $tabs.eq(index).trigger('click'); - return false; - }); - }); - - /* Обработка поведения вкладок */ - $("ul.tabs > li").on('click', function () { - var $curTab = $(this); - var $parentUl = $curTab.closest('ul'); - var index = $parentUl.children('li').index(this); - var $contentUl = $parentUl.siblings('.tabs-content'); - var $link = $curTab.find("a"); - var $popupSubscr = $curTab.closest('#pw-subscribe'); - - if (!$curTab.hasClass('active')) { - if ($popupSubscr.length) { - $contentUl = $popupSubscr.find('.tabs-content'); - } - var $activeTab = $parentUl.children('li.active'); - var $activeTContent = $contentUl.find('li.active'); - var $currentTContent = $contentUl.children('li').eq(index); - - $activeTab.removeClass("active"); - $activeTContent.removeClass("active"); - $curTab.addClass("active"); - $currentTContent.addClass("active"); - } - - $link.blur(); - closeSelectBox(); - return false; - }); - - /* Показ подписей картинок в деталях фото галерей */ - $('#cli-pg').each(function () { - var $wrap = $(this); - var $link = $wrap.find('a'); - $link.on({ - mouseenter: function () { - var $el = $(this); - var $title = $el.find('.pg-title'); - - $title - .stop(true, true) - .slideDown(300, function () { - $title.css({ - display: 'block' - }); - }); - }, - mouseleave: function () { - var $el = $(this); - var $title = $el.find('.pg-title'); - - $title - .stop(true, true) - .slideUp(300); - } - }); - }); - - $('#map-canvas').each(function () { - var $mapCanvas = $(this); - if(!$mapCanvas.is(':hidden')) { - google.maps.event.addDomListener(window, 'load', mapInit); - $mapCanvas.data('init', true); - } - }); - - $('a.toggle-map').on({ - click: function () { - var $tLink = $(this); - var $tContainer = $tLink.closest('.i-address'); - var $mapWrap = $tContainer.children('.i-map'); - var $mapCanvas = $('#map-canvas'); - var $hlink = $tContainer.find('header a.toggle-map'); - - if ($mapWrap.is(':hidden')) { - $mapWrap - .stop(true, true) - .animate({ - opacity: 'show', - height: 'show' - }, 300, function () { - if(!$mapCanvas.data('init')) { - mapInit(); - $mapCanvas.data('init', true); - } - $tContainer.addClass('map-opened'); - }); - } else { - $mapWrap - .stop(true, true) - .animate({ - opacity: 'hide', - height: 'hide' - }, 300, function () { - $tContainer.removeClass('map-opened'); - }); - } - return false; - } - }); - - $('ul.messages-list').each(function () { - var $mList = $(this); - var $mItems = $mList.children('li'); - - $mItems.on({ - mouseenter: function () { - var $item = $(this); - var $mButtons = $item.find('div.mi-buttons'); - - $mButtons - .stop(true, true) - .animate({ - opacity: 'show', - height: 'show' - }, 250); - }, - mouseleave: function () { - var $item = $(this); - var $mButtons = $item.find('div.mi-buttons'); - - $mButtons - .stop(true, true) - .animate({ - opacity: 'hide', - height: 'hide' - }, 250); - } - }); - }); - - $('.set-sect > header').on('click', function () { - var $trigger = $(this); - var $container = $trigger.closest('.set-sect'); - var $fBody = $container.children('div.set-sect-body'); - - if ($fBody.is(':visible')) { - $fBody - .stop(true, true) - .animate({ - height: 'hide', - opacity: 'hide' - }, 300, function () { - $container.addClass('closed') - }); - } else { - $fBody - .stop(true, true) - .animate({ - height: 'show', - opacity: 'show' - }, 300, function () { - $container.removeClass('closed') - }); - } - }); - - - $('input[type="checkbox"].annoncesFlag').each(function () { - var $check = $(this); - - $check.on('change', function () { - var $aInputsWrap = $check.closest('div.mf-announces').children('div.mf-announces-body'); - var $inputs = $aInputsWrap.find('input, select, textarea'); - var $selectBox = $aInputsWrap.find('div.c-select-box'); - - if ($check.prop('checked')) { - $aInputsWrap.removeClass('disabled'); - $selectBox.removeClass('disabled'); - $inputs.prop('disabled', false); - } else { - $aInputsWrap.addClass('disabled'); - $selectBox.addClass('disabled'); - $inputs.prop('disabled', true); - } - }).trigger('change'); - }); - $('a.icb-edit-profile').on('click', function () { - var $editBtn = $(this); - var $exitBtn = $editBtn.next('a.icb-exit-edit'); - var $editable = $('div.p-editable'); - - $editBtn.css({ - display: 'none' - }); - $exitBtn.css({ - display: 'inline-block' - }); - $editable.addClass('pe-active'); - - return false; - }); - - $('a.icb-exit-edit').on('click', function () { - var $exitBtn = $(this); - var $editBtn = $exitBtn.prev('a.icb-edit-profile'); - var $editable = $('div.p-editable'); - - $editBtn.css({ - display: 'inline-block' - }); - $exitBtn.css({ - display: 'none' - }); - $editable.removeClass('pe-active'); - - return false; - }); - - - - - - /* Временная функция для указания файла */ - $('input[type="file"]').each(function () { - var $iFile = $(this); - var $ifContainer = $iFile.closest('.input-file'); - var $inpText = $ifContainer.children('.file-text'); - - if ($iFile.val() != "") { - $inpText.text($iFile.val()); - $inpText.removeClass('placeholder'); - } else { - $inpText.text($inpText.data('placeholder')); - $inpText.addClass('placeholder'); - } - - $iFile.on({ - change: function () { - if ($iFile.val() != "") { - $inpText.text($iFile.val()); - $inpText.removeClass('placeholder'); - } else { - $inpText.text($inpText.data('placeholder')); - $inpText.addClass('placeholder'); - } - } - }); - }); - - - - /* Добавление секций "Статистика за" на нажатие кнопки "добавить данные за другой период" */ - $('form.af-statistic div.mf-stat').each(function () { - var $statWrap = $(this); - var $addButtonWrap = $statWrap.children('.mf-stat-add-button'); - var $addButton = $addButtonWrap.find('a.icon-add'); - - $addButton.on('click', function () { - var $statItem = $statWrap.children('.mf-stat-item'); - var numItems = $statItem.length; - var numYears = $statItem.eq(0).find('select').eq(0).find('option').length-1; - - var $cloneItem = $statItem.eq(0).clone(); - var $selects = $cloneItem.find('select'); - var $inputs = $cloneItem.find('input'); - - $inputs.val(''); - $selects.each(function () { - var $el = $(this); - var $cWrap = $el.closest('.custom-select'); - var $cloneSel = $el.clone(); - $cloneSel.insertAfter($cWrap); - $cloneSel.customSelect(); - $cWrap.remove(); - }); - - $cloneItem.insertBefore($addButtonWrap); - - if (numItems == numYears - 1){ - $addButtonWrap.hide(); - } - return false; - }) - }); - - - /* - * Управление расписанием проведения выставки - * */ - - /* Пeреключение между общим временем для всех дней и уникальным для каждого дня */ - $('input[type="checkbox"].w-time-switcher').each(function () { - var $switch = $(this); - var $wTimeContainer = $switch.closest('.mf-field'); - - function checkSwitch () { - var $tLines = $wTimeContainer.find('div.w-time'); - var $firstTimeLine = $tLines.eq(0); - var $ftlSelects = $firstTimeLine.find('select'); - - $tLines.each(function (index) { - var $timeLine = $(this); - if (index != 0) { - var $selects = $timeLine.find('select'); - - for (var i = 1; i < $selects.length; i++ ) { - $selects.eq(i).prop('selectedIndex', $ftlSelects.eq(i).prop('selectedIndex')).trigger('change'); - } - } - }); - - if ($switch.prop('checked')) { - $tLines.removeClass('show'); - } else { - $tLines.addClass('show'); - } - } - - checkSwitch(); - $switch.on('change', checkSwitch); - }); - - function getDateStr(date) { - return (date.getDate() < 10 ? '0' : '') + date.getDate() + '.' + (date.getMonth() < 9 ? '0' : '') + (date.getMonth() + 1) + '.' + date.getFullYear(); - } - - /* Построение сетки расписания в зависимости от выбранного диапазона дат */ - $('#dates-range').each(function () { - var $dRange = $(this); - var $dateFrom = $dRange.find('input.dateFrom'); - var $dateTo = $dRange.find('input.dateTo'); - var startDay = new Date(); - var endDay = new Date(); - var $wtSchedule = $('#work-time'); - - function numScheduleDays() { - return (endDay - startDay)/(1000*60*60*24) + 1; - } - - function drawSchedule() { - var $timeLines = $wtSchedule.children('.w-time'); - var $timeLine = $timeLines.eq(0); - var $datesSelect = $timeLine.find('select').eq(0); - var $switch = $timeLine.find('input[type="checkbox"].w-time-switcher'); - - startDay = $dateFrom.datepicker('getDate') ? $dateFrom.datepicker('getDate') : new Date(); - endDay = $dateTo.datepicker('getDate') ? $dateTo.datepicker('getDate') : new Date(); - var numDays = numScheduleDays(); - - var $selects = $timeLine.find('select'); - $timeLines.filter(':not(:first)').remove(); - - $datesSelect.each(function () { - var date = startDay; - var $select = $(this); - var $cWrap = $select.closest('.custom-select'); - var $option = $('
    • " + item.category + "
    • " ); + currentCategory = item.category; + } + that._renderItemData( ul, item ); + }); + } + }); + + /* submiting registration form */ + $(function () { + + + $('#send_message_form').on('submit', function(event){ + event.preventDefault(); + $this = $(this); + var formData = $this.serialize(); + var url = $this.attr('action') + $.post(url, formData, function(data){ + if (data.success){ + $.fancybox.close(); + $this.find('#id_body').val('') + } + }); + }); + $('#reply_form').on('submit', function(event){ + event.preventDefault(); + $this = $(this); + var formData = $this.serialize(); + var reply_message = $('#reply_message').val() + var url = '/profile/messages/reply/'+reply_message+'/' + + $.post(url, formData, function(data){ + if (data.success){ + $.fancybox.close(); + $this.find('#id_recipient').val('') + $this.find('#id_body').val('') + } + }); + + }); + + $('.visit, .unvisit').on('click', function(event){ + event.preventDefault(); + var $this = $(this); + var url = $(this).attr('href'); + $.get(url, function(data){ + if (data.not_authorized){ + $.fancybox.open('#pw-login'); + } + else{ + if(data.success){ + if(data.in){ + if($this.hasClass('visit')){ + $this.hide(); + $this.siblings('.unvisit').show() + } + } + else{ + if($this.hasClass('unvisit')){ + $this.hide(); + $this.siblings('.visit').show() + } + } + } + } + }); + + }); + + + /* + $('#reg_form').on('submit', function(event){ + event.preventDefault(); + var formData = $(this).serialize(); + var url = '/register/'; + console.log(url); + + + $.post(url, formData, function(data){ + if(data.success){ + //register success + + // remove input values + $('#reg_form input').each(function(i){ + $(this).val(""); + }); + // close popup + $.fancybox.open('#pw-reg-complete'); + //$.fancybox.close(); + + } + else{ + console.log(data); + // hide help messages + $("#reg_form .msg-help:visible").hide(); + // delete previous errors + $("#reg_form .msg-error").parent().remove(); + + // generate new errors + var form_inputs = ['first_name', 'last_name', 'email', 'password1', 'password2'] + for(var i= 0; i < form_inputs.length; i++){ + if(form_inputs[i] in data){ + var input_id = '#id_'+form_inputs[i]; + addError(input_id, data[form_inputs[i]]) + } + } + } + }); + + }); + */ + /* submiting change password form */ + $('#paswd_change').on('submit', function(event){ + event.preventDefault(); + var formData = $(this).serialize(); + var url = '/profile/change-password/'; + var $form = $(this); + $.post(url, formData, function(data){ + if (data.success){ + $('#paswd_change .mf-success').fadeIn(300); + setTimeout(function(){ + $('#paswd_change .mf-success').fadeOut(300); + }, 3000); + $form.find('#id_old password').val('') + + } + else{ + // remove previous error + $('#paswd_change .mf-error').parent().remove(); + // add new error + var $element = $("
      ").attr("class", "mf-line").append( + $("
      ").attr("class", "mf-error").append(data.errors[0])) + $form.find('.mf-buttons-line').before($element); + } + }); + }); + $('.reg').on('click', function(event){ + event.preventDefault(); + $('.register').click(); + }); + + + /* ******************************************* + * Нестандартное оформление для поля select + * Изменено 24.04.2014 + * */ + $.fn.customSelect = function () { + return $(this).each(function() { + + var $this = $(this); + var $options = $this.children('option'); + var numberOfOptions = $this.children('option').length; + var $selected = $(":selected", $this); + + $this.addClass('s-hidden'); + + $this.wrap('
      '); + $this.after('
      '); + + var $styledSelect = $this.next('div.custom-select-wrap'); + var $styledSelectText = $styledSelect.children('.custom-select-text'); + var soText = $selected.length != 0 ? $selected.text() : $this.children('option').eq(0).text(); + + $styledSelectText.text(soText); + + if ( $options.index($selected) == 0 && (!$this.children('option').eq(0).val() || !$this.children('option').eq(0).attr('value')) ) { + $styledSelectText.addClass('placeholder'); + } + + var $menu = $('
      ').insertAfter($styledSelect); + var $optionsWrap = $menu.find('.scroll-content'); + + var $list = $('
        ').appendTo($optionsWrap); + + for (var i = 0; i < numberOfOptions; i++) { + var oText = ($this.children('option').eq(i).text() != '') ? $this.children('option').eq(i).html() : ' '; + $('
      • ', { + html: oText, + 'data-value': $this.children('option').eq(i).val() + }).appendTo($list); + } + + var $listItems = $list.children('li'); + + $styledSelect.on('click', function(e) { + e.stopPropagation(); + $('div.custom-select-wrap.active').not(this).each(function() { + $(this).removeClass('active').next('.options').hide(); + }); + if (!$this.prop('disabled')) { + $(this).toggleClass('active').next('.options').toggle(); + } + }); + + $listItems.on('click', function(e) { + var $el = $(this); + e.stopPropagation(); + $styledSelectText.text($el.text()); + $styledSelect.removeClass('active'); + $this.val($el.data('value')); + if ( $el.index() == 0 && (!$this.children('option').eq(0).val() || !$this.children('option').eq(0).attr('value')) ) { + $styledSelectText.addClass('placeholder'); + } else { + $styledSelectText.removeClass('placeholder'); + } + $menu.hide(); + }); + + if ($.fn.mCustomScrollbar) { + var customSelectScrollOptions = { + scrollInertia: 200, + contentTouchScroll: true, + scrollButtons: { + enable: false + }, + advanced:{ + autoScrollOnFocus:false, + updateOnContentResize: true + } + }; + + var $scrollContainer = $menu.find('div.cs-scroll-container'); + $scrollContainer.mCustomScrollbar(customSelectScrollOptions); + } + + $(document).on('click', function() { + $styledSelect.removeClass('active'); + $menu.hide(); + }); + + $this.on('change', function () { + var $cThis = $(this); + var selectedIndex = $cThis.prop('selectedIndex'); + var Text = $cThis.children('option').eq(selectedIndex).text(); + $styledSelectText.text(Text); + if ( selectedIndex == 0 && (!$this.children('option').eq(0).val() || !$this.children('option').eq(0).attr('value')) ) { + $styledSelectText.addClass('placeholder'); + } else { + $styledSelectText.removeClass('placeholder'); + } + }); + + }); + }; + $("select:not([multiple])").each(function () { + var $el = $(this); + if (!$el.hasClass('select2')) { + $el.customSelect(); + } + }); + + + + /* Обработка autocomplete в полях поиска + * используется jQuery UI Autocomplete + * */ + /* Галереи-слайдеры на главной + * использован плагин Swiper + * http://www.idangero.us/sliders/swiper/api.php + * */ + $('#mp-recent-expo').each(function () { + var $reContainer = $(this); + var $reSwipeWrap = $reContainer.children('ul'); + var $reSwipeItems = $reSwipeWrap.children('li'); + var $reControls = $reContainer.children('div.re-controls'); + + if ($reSwipeItems.length > 1) { + $reControls.addClass('enabled'); + } + }); + + $('#mp-photo-gallery').each(function () { + var $reContainer = $(this); + var $reSwipeWrap = $reContainer.children('ul'); + var $reSwipeItems = $reSwipeWrap.children('li'); + var $reControls = $reContainer.children('div.re-controls'); + var $recPrev = $reControls.children('a.prev'); + var $recNext = $reControls.children('a.next'); + + if ($reSwipeItems.length > 1) { + $reControls.addClass('enabled'); + var $reSwiper = $reContainer.swiper({ + speed: 500, + mode:'horizontal', + loop: false, + simulateTouch: false, + onInit: function (swiper) { + $recPrev.addClass('disabled'); + }, + onSlideChangeStart: function (swiper) { + var $descrs = $reSwipeItems.find('div.pgi-descr'); + $descrs.animate({ + height: 'hide', + opacity: 'hide' + }, 500); + if (swiper.activeIndex == 0) { + if (!$recPrev.hasClass('disabled')) { + $recPrev.addClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } else if (swiper.activeIndex == swiper.slides.length-1) { + if (!$recNext.hasClass('disabled')) { + $recNext.addClass('disabled'); + } + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + } else { + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } + }, + onSlideChangeEnd: function (swiper) { + var $descrs = $reSwipeItems.find('div.pgi-descr'); + $descrs.eq(swiper.activeIndex).slideDown(250); + } + }); + + $recPrev.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipePrev(); + } + return false; + }); + $recNext.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipeNext(); + } + return false; + }); + } + }); + + $('#ps-photo-gallery').each(function () { + var $reContainer = $(this); + var $reSwipeWrap = $reContainer.children('ul'); + var $reSwipeItems = $reSwipeWrap.children('li'); + var $reControls = $reContainer.children('div.re-controls'); + var $recPrev = $reControls.children('a.prev'); + var $recNext = $reControls.children('a.next'); + + if ($reSwipeItems.length > 1) { + $reControls.addClass('enabled'); + $reSwipeItems.css({ + display: 'block' + }); + var $reSwiper = $reContainer.swiper({ + speed: 500, + mode:'horizontal', + calculateHeight: true, + loop: false, + simulateTouch: false, + onInit: function (swiper) { + $recPrev.addClass('disabled'); + }, + onSlideChangeStart: function (swiper) { + if (swiper.activeIndex == 0) { + if (!$recPrev.hasClass('disabled')) { + $recPrev.addClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } else if (swiper.activeIndex == swiper.slides.length-1) { + if (!$recNext.hasClass('disabled')) { + $recNext.addClass('disabled'); + } + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + } else { + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } + } + }); + + $recPrev.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipePrev(); + } + return false; + }); + $recNext.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipeNext(); + } + return false; + }); + } + + }); + + $('#s-slide-gallery').each(function () { + var $reContainer = $(this); + var $reSwipeWrap = $reContainer.children('ul'); + var $reSwipeItems = $reSwipeWrap.children('li'); + var $reControls = $reContainer.children('div.re-controls'); + var $recPrev = $reControls.children('a.prev'); + var $recNext = $reControls.children('a.next'); + + if ($reSwipeItems.length > 4) { + $reControls.addClass('enabled'); + $reSwipeItems.css({ + display: 'block' + }); + + $win.on('resize', function () { + $reContainer.height($reSwipeItems.eq(0).height()); + }).trigger('resize'); + + var $reSwiper = $reContainer.swiper({ + slidesPerView: 4, + slidesPerGroup: 4, + speed: 500, + mode:'horizontal', + calculateHeight: true, + loop: false, + simulateTouch: false, + onInit: function (swiper) { + $recPrev.addClass('disabled'); + }, + onSlideChangeStart: function (swiper) { + if (swiper.activeIndex == 0) { + if (!$recPrev.hasClass('disabled')) { + $recPrev.addClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } else if (swiper.activeIndex == swiper.slides.length-4) { + if (!$recNext.hasClass('disabled')) { + $recNext.addClass('disabled'); + } + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + } else { + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } + } + }); + + $recPrev.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipePrev(); + } + return false; + }); + $recNext.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipeNext(); + } + return false; + }); + + } + + }); + + $('.sli-slides').each(function () { + var $reContainer = $(this); + var $reSwipeWrap = $reContainer.children('ul'); + var $reSwipeItems = $reSwipeWrap.children('li'); + var $reControls = $reContainer.children('div.re-controls'); + var $recPrev = $reControls.children('a.prev'); + var $recNext = $reControls.children('a.next'); + + if ($reSwipeItems.length > 4) { + $reControls.addClass('enabled'); + $reSwipeItems.css({ + display: 'block' + }); + + $win.on('resize', function () { + $reContainer.css({ + height: $reSwipeItems.eq(0).height() + }); + }).trigger('resize'); + + var $reSwiper = $reContainer.swiper({ + slidesPerView: 4, + slidesPerGroup: 4, + calculateHeight: true, + speed: 500, + mode:'horizontal', + loop: false, + simulateTouch: false, + onInit: function (swiper) { + $recPrev.addClass('disabled'); + }, + onSlideChangeStart: function (swiper) { + if (swiper.activeIndex == 0) { + if (!$recPrev.hasClass('disabled')) { + $recPrev.addClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } else if (swiper.activeIndex == swiper.slides.length-4) { + if (!$recNext.hasClass('disabled')) { + $recNext.addClass('disabled'); + } + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + } else { + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } + } + }); + + $recPrev.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipePrev(); + } + return false; + }); + $recNext.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipeNext(); + } + return false; + }); + + } + + }); + + /* Открытие popup диалогов */ + var fbPopupOptions = { + padding: 0, + fitToView: false + }; + + $('a.pw-open').fancybox(fbPopupOptions); + + /* Обработка placeholder для старых браузеров */ + $('input[placeholder], textarea[placeholder]').placeholder(); + + /* показ сообщений помощи в полях диалогов*/ + $doc.on('focus', 'form.pw-form input[type="text"], form.pw-form input[type="password"]', function (event) { + var $input = $(this); + var $fLine = $input.closest(".pwf-line"); + var $help = $fLine.find('div.msg-help'); + var $error = $fLine.find('div.msg-error'); + var $error2 = $(this).parent().parent().parent().find('.mf-error'); + $error.parent().remove(); + $error2.parent().remove(); + + if ($help.is(':hidden')) { + $help.fadeIn(300); + } + }); + + $doc.on('blur', 'form.pw-form input[type="text"], form.pw-form input[type="password"]', function (event) { + var $input = $(this); + var $fLine = $input.closest(".pwf-line"); + var $help = $fLine.find('div.msg-help'); + if ($help.is(':visible') && !$fLine.hasClass('has_error')) { + $help.fadeOut(300); + } + }); + + + /* Custom scroll + * использован плагин malihu-custom-scrollbar-plugin + * http://manos.malihu.gr/jquery-custom-content-scroller/ + * */ + var customScrollOptions = { + scrollInertia: 200, + contentTouchScroll: true, + scrollButtons: { + enable: false + }, + advanced:{ + updateOnContentResize: true + } + }; + + + $('div.scroll-container').each(function () { + var $scrollContainer = $(this); + $scrollContainer.mCustomScrollbar(customScrollOptions); + }); + + /* Открыть диалог подписки на нужной вкладке */ + $('#subscribe-sm').each(function () { + var $container = $(this); + var $links = $container.find('a'); + + $links.on('click', function () { + var $link = $(this); + var index = $links.index(this); + var popupSubscribe = $('#pw-subscribe'); + + $.fancybox(popupSubscribe, fbPopupOptions); + var $tabs = popupSubscribe.find('ul.tabs > li'); + $tabs.eq(index).trigger('click'); + return false; + }); + }); + + /* Обработка поведения вкладок */ + $("ul.tabs > li").on('click', function () { + var $curTab = $(this); + var $parentUl = $curTab.closest('ul'); + var index = $parentUl.children('li').index(this); + var $contentUl = $parentUl.siblings('.tabs-content'); + var $link = $curTab.find("a"); + var $popupSubscr = $curTab.closest('#pw-subscribe'); + + if (!$curTab.hasClass('active')) { + if ($popupSubscr.length) { + $contentUl = $popupSubscr.find('.tabs-content'); + } + var $activeTab = $parentUl.children('li.active'); + var $activeTContent = $contentUl.find('li.active'); + var $currentTContent = $contentUl.children('li').eq(index); + + $activeTab.removeClass("active"); + $activeTContent.removeClass("active"); + $curTab.addClass("active"); + $currentTContent.addClass("active"); + } + + $link.blur(); + closeSelectBox(); + return false; + }); + + /* Показ подписей картинок в деталях фото галерей */ + $('#cli-pg').each(function () { + var $wrap = $(this); + var $link = $wrap.find('a'); + $link.on({ + mouseenter: function () { + var $el = $(this); + var $title = $el.find('.pg-title'); + + $title + .stop(true, true) + .slideDown(300, function () { + $title.css({ + display: 'block' + }); + }); + }, + mouseleave: function () { + var $el = $(this); + var $title = $el.find('.pg-title'); + + $title + .stop(true, true) + .slideUp(300); + } + }); + }); + + $('#map-canvas').each(function () { + var $mapCanvas = $(this); + if(!$mapCanvas.is(':hidden')) { + google.maps.event.addDomListener(window, 'load', mapInit); + $mapCanvas.data('init', true); + } + }); + + $('a.toggle-map').on({ + click: function () { + var $tLink = $(this); + var $tContainer = $tLink.closest('.i-address'); + var $mapWrap = $tContainer.children('.i-map'); + var $mapCanvas = $('#map-canvas'); + var $hlink = $tContainer.find('header a.toggle-map'); + + if ($mapWrap.is(':hidden')) { + $mapWrap + .stop(true, true) + .animate({ + opacity: 'show', + height: 'show' + }, 300, function () { + if(!$mapCanvas.data('init')) { + mapInit(); + $mapCanvas.data('init', true); + } + //$tContainer.addClass('map-opened'); + }); + $tContainer.addClass('map-opened'); + } else { + $mapWrap + .stop(true, true) + .animate({ + opacity: 'hide', + height: 'hide' + }, 300, function () { + $tContainer.removeClass('map-opened'); + }); + } + return false; + } + }); + + $('ul.messages-list').each(function () { + var $mList = $(this); + var $mItems = $mList.children('li'); + + $mItems.on({ + mouseenter: function () { + var $item = $(this); + var $mButtons = $item.find('div.mi-buttons'); + + $mButtons + .stop(true, true) + .animate({ + opacity: 'show', + height: 'show' + }, 250); + }, + mouseleave: function () { + var $item = $(this); + var $mButtons = $item.find('div.mi-buttons'); + + $mButtons + .stop(true, true) + .animate({ + opacity: 'hide', + height: 'hide' + }, 250); + } + }); + }); + + $('.set-sect > header').on('click', function () { + var $trigger = $(this); + var $container = $trigger.closest('.set-sect'); + var $fBody = $container.children('div.set-sect-body'); + + if ($fBody.is(':visible')) { + $fBody + .stop(true, true) + .animate({ + height: 'hide', + opacity: 'hide' + }, 300, function () { + $container.addClass('closed') + }); + } else { + $fBody + .stop(true, true) + .animate({ + height: 'show', + opacity: 'show' + }, 300, function () { + $container.removeClass('closed') + }); + } + }); + + + $('input[type="checkbox"].annoncesFlag').each(function () { + var $check = $(this); + + $check.on('change', function () { + var $aInputsWrap = $check.closest('div.mf-announces').children('div.mf-announces-body'); + var $inputs = $aInputsWrap.find('input, select, textarea'); + var $selectBox = $aInputsWrap.find('div.c-select-box'); + + if ($check.prop('checked')) { + $aInputsWrap.removeClass('disabled'); + $selectBox.removeClass('disabled'); + $inputs.prop('disabled', false); + } else { + $aInputsWrap.addClass('disabled'); + $selectBox.addClass('disabled'); + $inputs.prop('disabled', true); + } + }).trigger('change'); + }); + $('a.icb-edit-profile').on('click', function () { + var $editBtn = $(this); + var $exitBtn = $editBtn.next('a.icb-exit-edit'); + var $editable = $('div.p-editable'); + + $editBtn.css({ + display: 'none' + }); + $exitBtn.css({ + display: 'inline-block' + }); + $editable.addClass('pe-active'); + + return false; + }); + + $('a.icb-exit-edit').on('click', function () { + var $exitBtn = $(this); + var $editBtn = $exitBtn.prev('a.icb-edit-profile'); + var $editable = $('div.p-editable'); + + $editBtn.css({ + display: 'inline-block' + }); + $exitBtn.css({ + display: 'none' + }); + $editable.removeClass('pe-active'); + + return false; + }); + + + + + + /* Временная функция для указания файла */ + $('input[type="file"]').each(function () { + var $iFile = $(this); + var $ifContainer = $iFile.closest('.input-file'); + var $inpText = $ifContainer.children('.file-text'); + + if ($iFile.val() != "") { + $inpText.text($iFile.val()); + $inpText.removeClass('placeholder'); + } else { + $inpText.text($inpText.data('placeholder')); + $inpText.addClass('placeholder'); + } + + $iFile.on({ + change: function () { + if ($iFile.val() != "") { + $inpText.text($iFile.val()); + $inpText.removeClass('placeholder'); + } else { + $inpText.text($inpText.data('placeholder')); + $inpText.addClass('placeholder'); + } + } + }); + }); + + + + /* Добавление секций "Статистика за" на нажатие кнопки "добавить данные за другой период" */ + $('form.af-statistic div.mf-stat').each(function () { + var $statWrap = $(this); + var $addButtonWrap = $statWrap.children('.mf-stat-add-button'); + var $addButton = $addButtonWrap.find('a.icon-add'); + + $addButton.on('click', function () { + var $statItem = $statWrap.children('.mf-stat-item'); + var numItems = $statItem.length; + var numYears = $statItem.eq(0).find('select').eq(0).find('option').length-1; + + var $cloneItem = $statItem.eq(0).clone(); + var $selects = $cloneItem.find('select'); + var $inputs = $cloneItem.find('input'); + + $inputs.val(''); + $selects.each(function () { + var $el = $(this); + var $cWrap = $el.closest('.custom-select'); + var $cloneSel = $el.clone(); + $cloneSel.insertAfter($cWrap); + $cloneSel.customSelect(); + $cWrap.remove(); + }); + + $cloneItem.insertBefore($addButtonWrap); + + if (numItems == numYears - 1){ + $addButtonWrap.hide(); + } + return false; + }) + }); + + + /* + * Управление расписанием проведения выставки + * */ + + /* Пeреключение между общим временем для всех дней и уникальным для каждого дня */ + $('input[type="checkbox"].w-time-switcher').each(function () { + var $switch = $(this); + var $wTimeContainer = $switch.closest('.mf-field'); + + function checkSwitch () { + var $tLines = $wTimeContainer.find('div.w-time'); + var $firstTimeLine = $tLines.eq(0); + var $ftlSelects = $firstTimeLine.find('select'); + + $tLines.each(function (index) { + var $timeLine = $(this); + if (index != 0) { + var $selects = $timeLine.find('select'); + + for (var i = 1; i < $selects.length; i++ ) { + $selects.eq(i).prop('selectedIndex', $ftlSelects.eq(i).prop('selectedIndex')).trigger('change'); + } + } + }); + + if ($switch.prop('checked')) { + $tLines.removeClass('show'); + } else { + $tLines.addClass('show'); + } + } + + checkSwitch(); + $switch.on('change', checkSwitch); + }); + + function getDateStr(date) { + return (date.getDate() < 10 ? '0' : '') + date.getDate() + '.' + (date.getMonth() < 9 ? '0' : '') + (date.getMonth() + 1) + '.' + date.getFullYear(); + } + + /* Построение сетки расписания в зависимости от выбранного диапазона дат */ + $('#dates-range').each(function () { + var $dRange = $(this); + var $dateFrom = $dRange.find('input.dateFrom'); + var $dateTo = $dRange.find('input.dateTo'); + var startDay = new Date(); + var endDay = new Date(); + var $wtSchedule = $('#work-time'); + + function numScheduleDays() { + return (endDay - startDay)/(1000*60*60*24) + 1; + } + + function drawSchedule() { + var $timeLines = $wtSchedule.children('.w-time'); + var $timeLine = $timeLines.eq(0); + var $datesSelect = $timeLine.find('select').eq(0); + var $switch = $timeLine.find('input[type="checkbox"].w-time-switcher'); + + startDay = $dateFrom.datepicker('getDate') ? $dateFrom.datepicker('getDate') : new Date(); + endDay = $dateTo.datepicker('getDate') ? $dateTo.datepicker('getDate') : new Date(); + var numDays = numScheduleDays(); + + var $selects = $timeLine.find('select'); + $timeLines.filter(':not(:first)').remove(); + + $datesSelect.each(function () { + var date = startDay; + var $select = $(this); + var $cWrap = $select.closest('.custom-select'); + var $option = $('
      • " + item.category + "
      • " ); - currentCategory = item.category; - } - that._renderItemData( ul, item ); - }); - } - }); - - /* submiting registration form */ - $(function () { + var $win = $(window); + var $html = $('html'); + var $body = $('body'); + var $doc = $(document); - $('#send_message_form').on('submit', function(event){ - event.preventDefault(); - $this = $(this); - var formData = $this.serialize(); - var url = $this.attr('action') - $.post(url, formData, function(data){ - if (data.success){ - $.fancybox.close(); - $this.find('#id_body').val('') - } - }); - }); - $('#reply_form').on('submit', function(event){ - event.preventDefault(); - $this = $(this); - var formData = $this.serialize(); - var reply_message = $('#reply_message').val() - var url = '/profile/messages/reply/'+reply_message+'/' - - $.post(url, formData, function(data){ - if (data.success){ - $.fancybox.close(); - $this.find('#id_recipient').val('') - $this.find('#id_body').val('') - } - }); + $.widget( "custom.catcomplete", $.ui.autocomplete, { + _renderMenu: function( ul, items ) { + var that = this, + currentCategory = ""; + $.each( items, function( index, item ) { + if ( item.category != currentCategory ) { + ul.append( "
      • " + item.category + "
      • " ); + currentCategory = item.category; + } + that._renderItemData( ul, item ); + }); + } + }); - }); + /* submiting registration form */ + $(function () { - $('.visit, .unvisit').on('click', function(event){ - event.preventDefault(); - var $this = $(this); - var url = $(this).attr('href'); - $.get(url, function(data){ - if (data.not_authorized){ - $.fancybox.open('#pw-login'); - } - else{ - if(data.success){ - if(data.in){ - if($this.hasClass('visit')){ - $this.hide(); - $this.siblings('.unvisit').show() - } - } - else{ - if($this.hasClass('unvisit')){ - $this.hide(); - $this.siblings('.visit').show() - } - } - } - } - }); - }); + $('#send_message_form').on('submit', function(event){ + event.preventDefault(); + $this = $(this); + var formData = $this.serialize(); + var url = $this.attr('action') + $.post(url, formData, function(data){ + if (data.success){ + $.fancybox.close(); + $this.find('#id_body').val('') + } + }); + }); + $('#reply_form').on('submit', function(event){ + event.preventDefault(); + $this = $(this); + var formData = $this.serialize(); + var reply_message = $('#reply_message').val() + var url = '/profile/messages/reply/'+reply_message+'/' + + $.post(url, formData, function(data){ + if (data.success){ + $.fancybox.close(); + $this.find('#id_recipient').val('') + $this.find('#id_body').val('') + } + }); + }); - /* - $('#reg_form').on('submit', function(event){ - event.preventDefault(); - var formData = $(this).serialize(); - var url = '/register/'; - console.log(url); + $('.visit, .unvisit').on('click', function(event){ + event.preventDefault(); + var $this = $(this); + var url = $(this).attr('href'); + $.get(url, function(data){ + if (data.not_authorized){ + $.fancybox.open('#pw-login'); + } + else{ + if(data.success){ + if(data.in){ + if($this.hasClass('visit')){ + $this.hide(); + $this.siblings('.unvisit').show() + } + } + else{ + if($this.hasClass('unvisit')){ + $this.hide(); + $this.siblings('.visit').show() + } + } + } + } + }); + }); - $.post(url, formData, function(data){ - if(data.success){ - //register success - // remove input values - $('#reg_form input').each(function(i){ - $(this).val(""); - }); - // close popup - $.fancybox.open('#pw-reg-complete'); - //$.fancybox.close(); + /* + $('#reg_form').on('submit', function(event){ + event.preventDefault(); + var formData = $(this).serialize(); + var url = '/register/'; + console.log(url); - } - else{ - console.log(data); - // hide help messages - $("#reg_form .msg-help:visible").hide(); - // delete previous errors - $("#reg_form .msg-error").parent().remove(); - - // generate new errors - var form_inputs = ['first_name', 'last_name', 'email', 'password1', 'password2'] - for(var i= 0; i < form_inputs.length; i++){ - if(form_inputs[i] in data){ - var input_id = '#id_'+form_inputs[i]; - addError(input_id, data[form_inputs[i]]) - } - } - } - }); - }); - */ - /* submiting change password form */ - $('#paswd_change').on('submit', function(event){ - event.preventDefault(); - var formData = $(this).serialize(); - var url = '/profile/change-password/'; - var $form = $(this); - $.post(url, formData, function(data){ - if (data.success){ - $('#paswd_change .mf-success').fadeIn(300); - setTimeout(function(){ - $('#paswd_change .mf-success').fadeOut(300); - }, 3000); - $form.find('#id_old password').val('') + $.post(url, formData, function(data){ + if(data.success){ + //register success - } - else{ - // remove previous error - $('#paswd_change .mf-error').parent().remove(); - // add new error - var $element = $("
        ").attr("class", "mf-line").append( - $("
        ").attr("class", "mf-error").append(data.errors[0])) - $form.find('.mf-buttons-line').before($element); - } - }); - }); - $('.reg').on('click', function(event){ - event.preventDefault(); - $('.register').click(); - }); + // remove input values + $('#reg_form input').each(function(i){ + $(this).val(""); + }); + // close popup + $.fancybox.open('#pw-reg-complete'); + //$.fancybox.close(); + } + else{ + console.log(data); + // hide help messages + $("#reg_form .msg-help:visible").hide(); + // delete previous errors + $("#reg_form .msg-error").parent().remove(); + + // generate new errors + var form_inputs = ['first_name', 'last_name', 'email', 'password1', 'password2'] + for(var i= 0; i < form_inputs.length; i++){ + if(form_inputs[i] in data){ + var input_id = '#id_'+form_inputs[i]; + addError(input_id, data[form_inputs[i]]) + } + } + } + }); - /* ******************************************* - * Нестандартное оформление для поля select - * Изменено 24.04.2014 - * */ - $.fn.customSelect = function () { - return $(this).each(function() { + }); + */ + /* submiting change password form */ + $('#paswd_change').on('submit', function(event){ + event.preventDefault(); + var formData = $(this).serialize(); + var url = '/profile/change-password/'; + var $form = $(this); + $.post(url, formData, function(data){ + if (data.success){ + $('#paswd_change .mf-success').fadeIn(300); + setTimeout(function(){ + $('#paswd_change .mf-success').fadeOut(300); + }, 3000); + $form.find('#id_old password').val('') - var $this = $(this); - var $options = $this.children('option'); - var numberOfOptions = $this.children('option').length; - var $selected = $(":selected", $this); + } + else{ + // remove previous error + $('#paswd_change .mf-error').parent().remove(); + // add new error + var $element = $("
        ").attr("class", "mf-line").append( + $("
        ").attr("class", "mf-error").append(data.errors[0])) + $form.find('.mf-buttons-line').before($element); + } + }); + }); + $('.reg').on('click', function(event){ + event.preventDefault(); + $('.register').click(); + }); - $this.addClass('s-hidden'); - $this.wrap('
        '); - $this.after('
        '); + /* ******************************************* + * Нестандартное оформление для поля select + * Изменено 24.04.2014 + * */ + $.fn.customSelect = function () { + return $(this).each(function() { - var $styledSelect = $this.next('div.custom-select-wrap'); - var $styledSelectText = $styledSelect.children('.custom-select-text'); - var soText = $selected.length != 0 ? $selected.text() : $this.children('option').eq(0).text(); + var $this = $(this); + var $options = $this.children('option'); + var numberOfOptions = $this.children('option').length; + var $selected = $(":selected", $this); - $styledSelectText.text(soText); + $this.addClass('s-hidden'); - if ( $options.index($selected) == 0 && (!$this.children('option').eq(0).val() || !$this.children('option').eq(0).attr('value')) ) { - $styledSelectText.addClass('placeholder'); - } + $this.wrap('
        '); + $this.after('
        '); - var $menu = $('
        ').insertAfter($styledSelect); - var $optionsWrap = $menu.find('.scroll-content'); + var $styledSelect = $this.next('div.custom-select-wrap'); + var $styledSelectText = $styledSelect.children('.custom-select-text'); + var soText = $selected.length != 0 ? $selected.text() : $this.children('option').eq(0).text(); - var $list = $('
          ').appendTo($optionsWrap); + $styledSelectText.text(soText); - for (var i = 0; i < numberOfOptions; i++) { - var oText = ($this.children('option').eq(i).text() != '') ? $this.children('option').eq(i).html() : ' '; - $('
        • ', { - html: oText, - 'data-value': $this.children('option').eq(i).val() - }).appendTo($list); - } + if ( $options.index($selected) == 0 && (!$this.children('option').eq(0).val() || !$this.children('option').eq(0).attr('value')) ) { + $styledSelectText.addClass('placeholder'); + } - var $listItems = $list.children('li'); + var $menu = $('
          ').insertAfter($styledSelect); + var $optionsWrap = $menu.find('.scroll-content'); - $styledSelect.on('click', function(e) { - e.stopPropagation(); - $('div.custom-select-wrap.active').not(this).each(function() { - $(this).removeClass('active').next('.options').hide(); - }); - if (!$this.prop('disabled')) { - $(this).toggleClass('active').next('.options').toggle(); - } - }); + var $list = $('
            ').appendTo($optionsWrap); - $listItems.on('click', function(e) { - var $el = $(this); - e.stopPropagation(); - $styledSelectText.text($el.text()); - $styledSelect.removeClass('active'); - $this.val($el.data('value')); - if ( $el.index() == 0 && (!$this.children('option').eq(0).val() || !$this.children('option').eq(0).attr('value')) ) { - $styledSelectText.addClass('placeholder'); - } else { - $styledSelectText.removeClass('placeholder'); - } - $menu.hide(); - }); - - if ($.fn.mCustomScrollbar) { - var customSelectScrollOptions = { - scrollInertia: 200, - contentTouchScroll: true, - scrollButtons: { - enable: false - }, - advanced:{ - autoScrollOnFocus:false, - updateOnContentResize: true - } - }; + for (var i = 0; i < numberOfOptions; i++) { + var oText = ($this.children('option').eq(i).text() != '') ? $this.children('option').eq(i).html() : ' '; + $('
          • ', { + html: oText, + 'data-value': $this.children('option').eq(i).val() + }).appendTo($list); + } - var $scrollContainer = $menu.find('div.cs-scroll-container'); - $scrollContainer.mCustomScrollbar(customSelectScrollOptions); - } + var $listItems = $list.children('li'); - $(document).on('click', function() { - $styledSelect.removeClass('active'); - $menu.hide(); - }); + $styledSelect.on('click', function(e) { + e.stopPropagation(); + $('div.custom-select-wrap.active').not(this).each(function() { + $(this).removeClass('active').next('.options').hide(); + }); + if (!$this.prop('disabled')) { + $(this).toggleClass('active').next('.options').toggle(); + } + }); + + $listItems.on('click', function(e) { + var $el = $(this); + e.stopPropagation(); + $styledSelectText.text($el.text()); + $styledSelect.removeClass('active'); + $this.val($el.data('value')); + if ( $el.index() == 0 && (!$this.children('option').eq(0).val() || !$this.children('option').eq(0).attr('value')) ) { + $styledSelectText.addClass('placeholder'); + } else { + $styledSelectText.removeClass('placeholder'); + } + $menu.hide(); + }); + + if ($.fn.mCustomScrollbar) { + var customSelectScrollOptions = { + scrollInertia: 200, + contentTouchScroll: true, + scrollButtons: { + enable: false + }, + advanced:{ + autoScrollOnFocus:false, + updateOnContentResize: true + } + }; - $this.on('change', function () { - var $cThis = $(this); - var selectedIndex = $cThis.prop('selectedIndex'); - var Text = $cThis.children('option').eq(selectedIndex).text(); - $styledSelectText.text(Text); - if ( selectedIndex == 0 && (!$this.children('option').eq(0).val() || !$this.children('option').eq(0).attr('value')) ) { - $styledSelectText.addClass('placeholder'); - } else { - $styledSelectText.removeClass('placeholder'); - } - }); + var $scrollContainer = $menu.find('div.cs-scroll-container'); + $scrollContainer.mCustomScrollbar(customSelectScrollOptions); + } - }); - }; - $("select:not([multiple])").each(function () { - var $el = $(this); - if (!$el.hasClass('select2')) { - $el.customSelect(); - } - }); + $(document).on('click', function() { + $styledSelect.removeClass('active'); + $menu.hide(); + }); + + $this.on('change', function () { + var $cThis = $(this); + var selectedIndex = $cThis.prop('selectedIndex'); + var Text = $cThis.children('option').eq(selectedIndex).text(); + $styledSelectText.text(Text); + if ( selectedIndex == 0 && (!$this.children('option').eq(0).val() || !$this.children('option').eq(0).attr('value')) ) { + $styledSelectText.addClass('placeholder'); + } else { + $styledSelectText.removeClass('placeholder'); + } + }); + }); + }; + $("select:not([multiple])").each(function () { + var $el = $(this); + if (!$el.hasClass('select2')) { + $el.customSelect(); + } + }); - /* Обработка autocomplete в полях поиска - * используется jQuery UI Autocomplete - * */ - /* Галереи-слайдеры на главной - * использован плагин Swiper - * http://www.idangero.us/sliders/swiper/api.php - * */ - $('#mp-recent-expo').each(function () { - var $reContainer = $(this); - var $reSwipeWrap = $reContainer.children('ul'); - var $reSwipeItems = $reSwipeWrap.children('li'); - var $reControls = $reContainer.children('div.re-controls'); - if ($reSwipeItems.length > 1) { - $reControls.addClass('enabled'); - } - }); + /* Обработка autocomplete в полях поиска + * используется jQuery UI Autocomplete + * */ + /* Галереи-слайдеры на главной + * использован плагин Swiper + * http://www.idangero.us/sliders/swiper/api.php + * */ + $('#mp-recent-expo').each(function () { + var $reContainer = $(this); + var $reSwipeWrap = $reContainer.children('ul'); + var $reSwipeItems = $reSwipeWrap.children('li'); + var $reControls = $reContainer.children('div.re-controls'); - $('#mp-photo-gallery').each(function () { - var $reContainer = $(this); - var $reSwipeWrap = $reContainer.children('ul'); - var $reSwipeItems = $reSwipeWrap.children('li'); - var $reControls = $reContainer.children('div.re-controls'); - var $recPrev = $reControls.children('a.prev'); - var $recNext = $reControls.children('a.next'); - - if ($reSwipeItems.length > 1) { - $reControls.addClass('enabled'); - var $reSwiper = $reContainer.swiper({ - speed: 500, - mode:'horizontal', - loop: false, - simulateTouch: false, - onInit: function (swiper) { - $recPrev.addClass('disabled'); - }, - onSlideChangeStart: function (swiper) { - var $descrs = $reSwipeItems.find('div.pgi-descr'); - $descrs.animate({ - height: 'hide', - opacity: 'hide' - }, 500); - if (swiper.activeIndex == 0) { - if (!$recPrev.hasClass('disabled')) { - $recPrev.addClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } else if (swiper.activeIndex == swiper.slides.length-1) { - if (!$recNext.hasClass('disabled')) { - $recNext.addClass('disabled'); - } - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - } else { - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } - }, - onSlideChangeEnd: function (swiper) { - var $descrs = $reSwipeItems.find('div.pgi-descr'); - $descrs.eq(swiper.activeIndex).slideDown(250); - } - }); + if ($reSwipeItems.length > 1) { + $reControls.addClass('enabled'); + } + }); - $recPrev.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipePrev(); - } - return false; - }); - $recNext.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipeNext(); - } - return false; - }); - } - }); + $('#mp-photo-gallery').each(function () { + var $reContainer = $(this); + var $reSwipeWrap = $reContainer.children('ul'); + var $reSwipeItems = $reSwipeWrap.children('li'); + var $reControls = $reContainer.children('div.re-controls'); + var $recPrev = $reControls.children('a.prev'); + var $recNext = $reControls.children('a.next'); + + if ($reSwipeItems.length > 1) { + $reControls.addClass('enabled'); + var $reSwiper = $reContainer.swiper({ + speed: 500, + mode:'horizontal', + loop: false, + simulateTouch: false, + onInit: function (swiper) { + $recPrev.addClass('disabled'); + }, + onSlideChangeStart: function (swiper) { + var $descrs = $reSwipeItems.find('div.pgi-descr'); + $descrs.animate({ + height: 'hide', + opacity: 'hide' + }, 500); + if (swiper.activeIndex == 0) { + if (!$recPrev.hasClass('disabled')) { + $recPrev.addClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } else if (swiper.activeIndex == swiper.slides.length-1) { + if (!$recNext.hasClass('disabled')) { + $recNext.addClass('disabled'); + } + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + } else { + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } + }, + onSlideChangeEnd: function (swiper) { + var $descrs = $reSwipeItems.find('div.pgi-descr'); + $descrs.eq(swiper.activeIndex).slideDown(250); + } + }); - $('#ps-photo-gallery').each(function () { - var $reContainer = $(this); - var $reSwipeWrap = $reContainer.children('ul'); - var $reSwipeItems = $reSwipeWrap.children('li'); - var $reControls = $reContainer.children('div.re-controls'); - var $recPrev = $reControls.children('a.prev'); - var $recNext = $reControls.children('a.next'); - - if ($reSwipeItems.length > 1) { - $reControls.addClass('enabled'); - $reSwipeItems.css({ - display: 'block' - }); - var $reSwiper = $reContainer.swiper({ - speed: 500, - mode:'horizontal', - calculateHeight: true, - loop: false, - simulateTouch: false, - onInit: function (swiper) { - $recPrev.addClass('disabled'); - }, - onSlideChangeStart: function (swiper) { - if (swiper.activeIndex == 0) { - if (!$recPrev.hasClass('disabled')) { - $recPrev.addClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } else if (swiper.activeIndex == swiper.slides.length-1) { - if (!$recNext.hasClass('disabled')) { - $recNext.addClass('disabled'); - } - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - } else { - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } - } - }); + $recPrev.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipePrev(); + } + return false; + }); + $recNext.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipeNext(); + } + return false; + }); + } + }); - $recPrev.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipePrev(); - } - return false; - }); - $recNext.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipeNext(); - } - return false; - }); - } + $('#ps-photo-gallery').each(function () { + var $reContainer = $(this); + var $reSwipeWrap = $reContainer.children('ul'); + var $reSwipeItems = $reSwipeWrap.children('li'); + var $reControls = $reContainer.children('div.re-controls'); + var $recPrev = $reControls.children('a.prev'); + var $recNext = $reControls.children('a.next'); + + if ($reSwipeItems.length > 1) { + $reControls.addClass('enabled'); + $reSwipeItems.css({ + display: 'block' + }); + var $reSwiper = $reContainer.swiper({ + speed: 500, + mode:'horizontal', + calculateHeight: true, + loop: false, + simulateTouch: false, + onInit: function (swiper) { + $recPrev.addClass('disabled'); + }, + onSlideChangeStart: function (swiper) { + if (swiper.activeIndex == 0) { + if (!$recPrev.hasClass('disabled')) { + $recPrev.addClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } else if (swiper.activeIndex == swiper.slides.length-1) { + if (!$recNext.hasClass('disabled')) { + $recNext.addClass('disabled'); + } + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + } else { + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } + } + }); - }); + $recPrev.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipePrev(); + } + return false; + }); + $recNext.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipeNext(); + } + return false; + }); + } - $('#s-slide-gallery').each(function () { - var $reContainer = $(this); - var $reSwipeWrap = $reContainer.children('ul'); - var $reSwipeItems = $reSwipeWrap.children('li'); - var $reControls = $reContainer.children('div.re-controls'); - var $recPrev = $reControls.children('a.prev'); - var $recNext = $reControls.children('a.next'); - - if ($reSwipeItems.length > 4) { - $reControls.addClass('enabled'); - $reSwipeItems.css({ - display: 'block' - }); + }); - $win.on('resize', function () { - $reContainer.height($reSwipeItems.eq(0).height()); - }).trigger('resize'); - - var $reSwiper = $reContainer.swiper({ - slidesPerView: 4, - slidesPerGroup: 4, - speed: 500, - mode:'horizontal', - calculateHeight: true, - loop: false, - simulateTouch: false, - onInit: function (swiper) { - $recPrev.addClass('disabled'); - }, - onSlideChangeStart: function (swiper) { - if (swiper.activeIndex == 0) { - if (!$recPrev.hasClass('disabled')) { - $recPrev.addClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } else if (swiper.activeIndex == swiper.slides.length-4) { - if (!$recNext.hasClass('disabled')) { - $recNext.addClass('disabled'); - } - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - } else { - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } - } - }); + $('#s-slide-gallery').each(function () { + var $reContainer = $(this); + var $reSwipeWrap = $reContainer.children('ul'); + var $reSwipeItems = $reSwipeWrap.children('li'); + var $reControls = $reContainer.children('div.re-controls'); + var $recPrev = $reControls.children('a.prev'); + var $recNext = $reControls.children('a.next'); + + if ($reSwipeItems.length > 4) { + $reControls.addClass('enabled'); + $reSwipeItems.css({ + display: 'block' + }); + + $win.on('resize', function () { + $reContainer.height($reSwipeItems.eq(0).height()); + }).trigger('resize'); + + var $reSwiper = $reContainer.swiper({ + slidesPerView: 4, + slidesPerGroup: 4, + speed: 500, + mode:'horizontal', + calculateHeight: true, + loop: false, + simulateTouch: false, + onInit: function (swiper) { + $recPrev.addClass('disabled'); + }, + onSlideChangeStart: function (swiper) { + if (swiper.activeIndex == 0) { + if (!$recPrev.hasClass('disabled')) { + $recPrev.addClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } else if (swiper.activeIndex == swiper.slides.length-4) { + if (!$recNext.hasClass('disabled')) { + $recNext.addClass('disabled'); + } + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + } else { + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } + } + }); - $recPrev.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipePrev(); - } - return false; - }); - $recNext.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipeNext(); - } - return false; - }); + $recPrev.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipePrev(); + } + return false; + }); + $recNext.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipeNext(); + } + return false; + }); - } + } - }); + }); - $('.sli-slides').each(function () { - var $reContainer = $(this); - var $reSwipeWrap = $reContainer.children('ul'); - var $reSwipeItems = $reSwipeWrap.children('li'); - var $reControls = $reContainer.children('div.re-controls'); - var $recPrev = $reControls.children('a.prev'); - var $recNext = $reControls.children('a.next'); - - if ($reSwipeItems.length > 4) { - $reControls.addClass('enabled'); - $reSwipeItems.css({ - display: 'block' - }); + $('.sli-slides').each(function () { + var $reContainer = $(this); + var $reSwipeWrap = $reContainer.children('ul'); + var $reSwipeItems = $reSwipeWrap.children('li'); + var $reControls = $reContainer.children('div.re-controls'); + var $recPrev = $reControls.children('a.prev'); + var $recNext = $reControls.children('a.next'); + + if ($reSwipeItems.length > 4) { + $reControls.addClass('enabled'); + $reSwipeItems.css({ + display: 'block' + }); + + $win.on('resize', function () { + $reContainer.css({ + height: $reSwipeItems.eq(0).height() + }); + }).trigger('resize'); + + var $reSwiper = $reContainer.swiper({ + slidesPerView: 4, + slidesPerGroup: 4, + calculateHeight: true, + speed: 500, + mode:'horizontal', + loop: false, + simulateTouch: false, + onInit: function (swiper) { + $recPrev.addClass('disabled'); + }, + onSlideChangeStart: function (swiper) { + if (swiper.activeIndex == 0) { + if (!$recPrev.hasClass('disabled')) { + $recPrev.addClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } else if (swiper.activeIndex == swiper.slides.length-4) { + if (!$recNext.hasClass('disabled')) { + $recNext.addClass('disabled'); + } + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + } else { + if ($recPrev.hasClass('disabled')) { + $recPrev.removeClass('disabled'); + } + if ($recNext.hasClass('disabled')) { + $recNext.removeClass('disabled'); + } + } + } + }); - $win.on('resize', function () { - $reContainer.css({ - height: $reSwipeItems.eq(0).height() - }); - }).trigger('resize'); - - var $reSwiper = $reContainer.swiper({ - slidesPerView: 4, - slidesPerGroup: 4, - calculateHeight: true, - speed: 500, - mode:'horizontal', - loop: false, - simulateTouch: false, - onInit: function (swiper) { - $recPrev.addClass('disabled'); - }, - onSlideChangeStart: function (swiper) { - if (swiper.activeIndex == 0) { - if (!$recPrev.hasClass('disabled')) { - $recPrev.addClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } else if (swiper.activeIndex == swiper.slides.length-4) { - if (!$recNext.hasClass('disabled')) { - $recNext.addClass('disabled'); - } - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - } else { - if ($recPrev.hasClass('disabled')) { - $recPrev.removeClass('disabled'); - } - if ($recNext.hasClass('disabled')) { - $recNext.removeClass('disabled'); - } - } - } - }); + $recPrev.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipePrev(); + } + return false; + }); + $recNext.on('click', function () { + if (!$(this).hasClass('disabled')) { + $reSwiper.swipeNext(); + } + return false; + }); - $recPrev.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipePrev(); - } - return false; - }); - $recNext.on('click', function () { - if (!$(this).hasClass('disabled')) { - $reSwiper.swipeNext(); - } - return false; - }); + } - } + }); - }); + /* Открытие popup диалогов */ + var fbPopupOptions = { + padding: 0, + fitToView: false + }; - /* Открытие popup диалогов */ - var fbPopupOptions = { - padding: 0, - fitToView: false - }; + $('a.pw-open').fancybox(fbPopupOptions); - $('a.pw-open').fancybox(fbPopupOptions); + /* Обработка placeholder для старых браузеров */ + $('input[placeholder], textarea[placeholder]').placeholder(); - /* Обработка placeholder для старых браузеров */ - $('input[placeholder], textarea[placeholder]').placeholder(); + /* показ сообщений помощи в полях диалогов*/ + $doc.on('focus', 'form.pw-form input[type="text"], form.pw-form input[type="password"]', function (event) { + var $input = $(this); + var $fLine = $input.closest(".pwf-line"); + var $help = $fLine.find('div.msg-help'); + var $error = $fLine.find('div.msg-error'); + var $error2 = $(this).parent().parent().parent().find('.mf-error'); + $error.parent().remove(); + $error2.parent().remove(); - /* показ сообщений помощи в полях диалогов*/ - $doc.on('focus', 'form.pw-form input[type="text"], form.pw-form input[type="password"]', function (event) { - var $input = $(this); - var $fLine = $input.closest(".pwf-line"); - var $help = $fLine.find('div.msg-help'); - var $error = $fLine.find('div.msg-error'); - var $error2 = $(this).parent().parent().parent().find('.mf-error'); - $error.parent().remove(); - $error2.parent().remove(); + if ($help.is(':hidden')) { + $help.fadeIn(300); + } + }); - if ($help.is(':hidden')) { - $help.fadeIn(300); - } - }); + $doc.on('blur', 'form.pw-form input[type="text"], form.pw-form input[type="password"]', function (event) { + var $input = $(this); + var $fLine = $input.closest(".pwf-line"); + var $help = $fLine.find('div.msg-help'); + if ($help.is(':visible') && !$fLine.hasClass('has_error')) { + $help.fadeOut(300); + } + }); - $doc.on('blur', 'form.pw-form input[type="text"], form.pw-form input[type="password"]', function (event) { - var $input = $(this); - var $fLine = $input.closest(".pwf-line"); - var $help = $fLine.find('div.msg-help'); - if ($help.is(':visible') && !$fLine.hasClass('has_error')) { - $help.fadeOut(300); - } - }); + /* Custom scroll + * использован плагин malihu-custom-scrollbar-plugin + * http://manos.malihu.gr/jquery-custom-content-scroller/ + * */ + var customScrollOptions = { + scrollInertia: 200, + contentTouchScroll: true, + scrollButtons: { + enable: false + }, + advanced:{ + updateOnContentResize: true + } + }; - /* Custom scroll - * использован плагин malihu-custom-scrollbar-plugin - * http://manos.malihu.gr/jquery-custom-content-scroller/ - * */ - var customScrollOptions = { - scrollInertia: 200, - contentTouchScroll: true, - scrollButtons: { - enable: false - }, - advanced:{ - updateOnContentResize: true - } - }; + $('div.scroll-container').each(function () { + var $scrollContainer = $(this); + $scrollContainer.mCustomScrollbar(customScrollOptions); + }); - $('div.scroll-container').each(function () { - var $scrollContainer = $(this); - $scrollContainer.mCustomScrollbar(customScrollOptions); - }); + /* Открыть диалог подписки на нужной вкладке */ + $('#subscribe-sm').each(function () { + var $container = $(this); + var $links = $container.find('a'); - /* Открыть диалог подписки на нужной вкладке */ - $('#subscribe-sm').each(function () { - var $container = $(this); - var $links = $container.find('a'); + $links.on('click', function () { + var $link = $(this); + var index = $links.index(this); + var popupSubscribe = $('#pw-subscribe'); - $links.on('click', function () { - var $link = $(this); - var index = $links.index(this); - var popupSubscribe = $('#pw-subscribe'); + $.fancybox(popupSubscribe, fbPopupOptions); + var $tabs = popupSubscribe.find('ul.tabs > li'); + $tabs.eq(index).trigger('click'); + return false; + }); + }); - $.fancybox(popupSubscribe, fbPopupOptions); - var $tabs = popupSubscribe.find('ul.tabs > li'); - $tabs.eq(index).trigger('click'); - return false; - }); - }); + /* Обработка поведения вкладок */ + $("ul.tabs > li").on('click', function () { + var $curTab = $(this); + var $parentUl = $curTab.closest('ul'); + var index = $parentUl.children('li').index(this); + var $contentUl = $parentUl.siblings('.tabs-content'); + var $link = $curTab.find("a"); + var $popupSubscr = $curTab.closest('#pw-subscribe'); + + if (!$curTab.hasClass('active')) { + if ($popupSubscr.length) { + $contentUl = $popupSubscr.find('.tabs-content'); + } + var $activeTab = $parentUl.children('li.active'); + var $activeTContent = $contentUl.find('li.active'); + var $currentTContent = $contentUl.children('li').eq(index); + + $activeTab.removeClass("active"); + $activeTContent.removeClass("active"); + $curTab.addClass("active"); + $currentTContent.addClass("active"); + } - /* Обработка поведения вкладок */ - $("ul.tabs > li").on('click', function () { - var $curTab = $(this); - var $parentUl = $curTab.closest('ul'); - var index = $parentUl.children('li').index(this); - var $contentUl = $parentUl.siblings('.tabs-content'); - var $link = $curTab.find("a"); - var $popupSubscr = $curTab.closest('#pw-subscribe'); - - if (!$curTab.hasClass('active')) { - if ($popupSubscr.length) { - $contentUl = $popupSubscr.find('.tabs-content'); - } - var $activeTab = $parentUl.children('li.active'); - var $activeTContent = $contentUl.find('li.active'); - var $currentTContent = $contentUl.children('li').eq(index); + $link.blur(); + closeSelectBox(); + return false; + }); - $activeTab.removeClass("active"); - $activeTContent.removeClass("active"); - $curTab.addClass("active"); - $currentTContent.addClass("active"); - } + /* Показ подписей картинок в деталях фото галерей */ + $('#cli-pg').each(function () { + var $wrap = $(this); + var $link = $wrap.find('a'); + $link.on({ + mouseenter: function () { + var $el = $(this); + var $title = $el.find('.pg-title'); + + $title + .stop(true, true) + .slideDown(300, function () { + $title.css({ + display: 'block' + }); + }); + }, + mouseleave: function () { + var $el = $(this); + var $title = $el.find('.pg-title'); + + $title + .stop(true, true) + .slideUp(300); + } + }); + }); - $link.blur(); - closeSelectBox(); - return false; - }); + $('#map-canvas').each(function () { + var $mapCanvas = $(this); + if(!$mapCanvas.is(':hidden')) { + google.maps.event.addDomListener(window, 'load', mapInit); + $mapCanvas.data('init', true); + } + }); - /* Показ подписей картинок в деталях фото галерей */ - $('#cli-pg').each(function () { - var $wrap = $(this); - var $link = $wrap.find('a'); - $link.on({ - mouseenter: function () { - var $el = $(this); - var $title = $el.find('.pg-title'); - - $title - .stop(true, true) - .slideDown(300, function () { - $title.css({ - display: 'block' - }); - }); - }, - mouseleave: function () { - var $el = $(this); - var $title = $el.find('.pg-title'); + $('a.toggle-map').on({ + click: function () { + var $tLink = $(this); + var $tContainer = $tLink.closest('.i-address'); + var $mapWrap = $tContainer.children('.i-map'); + var $mapCanvas = $('#map-canvas'); + var $hlink = $tContainer.find('header a.toggle-map'); + + if ($mapWrap.is(':hidden')) { + $mapWrap + .stop(true, true) + .animate({ + opacity: 'show', + height: 'show' + }, 300, function () { + if(!$mapCanvas.data('init')) { + mapInit(); + $mapCanvas.data('init', true); + } + //$tContainer.addClass('map-opened'); + }); + $tContainer.addClass('map-opened'); + } else { + $mapWrap + .stop(true, true) + .animate({ + opacity: 'hide', + height: 'hide' + }, 300, function () { + $tContainer.removeClass('map-opened'); + }); + } + return false; + } + }); - $title - .stop(true, true) - .slideUp(300); - } - }); - }); + $('ul.messages-list').each(function () { + var $mList = $(this); + var $mItems = $mList.children('li'); + + $mItems.on({ + mouseenter: function () { + var $item = $(this); + var $mButtons = $item.find('div.mi-buttons'); + + $mButtons + .stop(true, true) + .animate({ + opacity: 'show', + height: 'show' + }, 250); + }, + mouseleave: function () { + var $item = $(this); + var $mButtons = $item.find('div.mi-buttons'); + + $mButtons + .stop(true, true) + .animate({ + opacity: 'hide', + height: 'hide' + }, 250); + } + }); + }); - $('#map-canvas').each(function () { - var $mapCanvas = $(this); - if(!$mapCanvas.is(':hidden')) { - google.maps.event.addDomListener(window, 'load', mapInit); - $mapCanvas.data('init', true); - } - }); + $('.set-sect > header').on('click', function () { + var $trigger = $(this); + var $container = $trigger.closest('.set-sect'); + var $fBody = $container.children('div.set-sect-body'); + + if ($fBody.is(':visible')) { + $fBody + .stop(true, true) + .animate({ + height: 'hide', + opacity: 'hide' + }, 300, function () { + $container.addClass('closed') + }); + } else { + $fBody + .stop(true, true) + .animate({ + height: 'show', + opacity: 'show' + }, 300, function () { + $container.removeClass('closed') + }); + } + }); - $('a.toggle-map').on({ - click: function () { - var $tLink = $(this); - var $tContainer = $tLink.closest('.i-address'); - var $mapWrap = $tContainer.children('.i-map'); - var $mapCanvas = $('#map-canvas'); - var $hlink = $tContainer.find('header a.toggle-map'); - - if ($mapWrap.is(':hidden')) { - $mapWrap - .stop(true, true) - .animate({ - opacity: 'show', - height: 'show' - }, 300, function () { - if(!$mapCanvas.data('init')) { - mapInit(); - $mapCanvas.data('init', true); - } - $tContainer.addClass('map-opened'); - }); - } else { - $mapWrap - .stop(true, true) - .animate({ - opacity: 'hide', - height: 'hide' - }, 300, function () { - $tContainer.removeClass('map-opened'); - }); - } - return false; - } - }); - $('ul.messages-list').each(function () { - var $mList = $(this); - var $mItems = $mList.children('li'); - - $mItems.on({ - mouseenter: function () { - var $item = $(this); - var $mButtons = $item.find('div.mi-buttons'); - - $mButtons - .stop(true, true) - .animate({ - opacity: 'show', - height: 'show' - }, 250); - }, - mouseleave: function () { - var $item = $(this); - var $mButtons = $item.find('div.mi-buttons'); - - $mButtons - .stop(true, true) - .animate({ - opacity: 'hide', - height: 'hide' - }, 250); - } - }); - }); + $('input[type="checkbox"].annoncesFlag').each(function () { + var $check = $(this); - $('.set-sect > header').on('click', function () { - var $trigger = $(this); - var $container = $trigger.closest('.set-sect'); - var $fBody = $container.children('div.set-sect-body'); - - if ($fBody.is(':visible')) { - $fBody - .stop(true, true) - .animate({ - height: 'hide', - opacity: 'hide' - }, 300, function () { - $container.addClass('closed') - }); - } else { - $fBody - .stop(true, true) - .animate({ - height: 'show', - opacity: 'show' - }, 300, function () { - $container.removeClass('closed') - }); - } - }); + $check.on('change', function () { + var $aInputsWrap = $check.closest('div.mf-announces').children('div.mf-announces-body'); + var $inputs = $aInputsWrap.find('input, select, textarea'); + var $selectBox = $aInputsWrap.find('div.c-select-box'); + if ($check.prop('checked')) { + $aInputsWrap.removeClass('disabled'); + $selectBox.removeClass('disabled'); + $inputs.prop('disabled', false); + } else { + $aInputsWrap.addClass('disabled'); + $selectBox.addClass('disabled'); + $inputs.prop('disabled', true); + } + }).trigger('change'); + }); + $('a.icb-edit-profile').on('click', function () { + var $editBtn = $(this); + var $exitBtn = $editBtn.next('a.icb-exit-edit'); + var $editable = $('div.p-editable'); - $('input[type="checkbox"].annoncesFlag').each(function () { - var $check = $(this); + $editBtn.css({ + display: 'none' + }); + $exitBtn.css({ + display: 'inline-block' + }); + $editable.addClass('pe-active'); - $check.on('change', function () { - var $aInputsWrap = $check.closest('div.mf-announces').children('div.mf-announces-body'); - var $inputs = $aInputsWrap.find('input, select, textarea'); - var $selectBox = $aInputsWrap.find('div.c-select-box'); + return false; + }); - if ($check.prop('checked')) { - $aInputsWrap.removeClass('disabled'); - $selectBox.removeClass('disabled'); - $inputs.prop('disabled', false); - } else { - $aInputsWrap.addClass('disabled'); - $selectBox.addClass('disabled'); - $inputs.prop('disabled', true); - } - }).trigger('change'); - }); - $('a.icb-edit-profile').on('click', function () { - var $editBtn = $(this); - var $exitBtn = $editBtn.next('a.icb-exit-edit'); - var $editable = $('div.p-editable'); + $('a.icb-exit-edit').on('click', function () { + var $exitBtn = $(this); + var $editBtn = $exitBtn.prev('a.icb-edit-profile'); + var $editable = $('div.p-editable'); - $editBtn.css({ - display: 'none' - }); - $exitBtn.css({ - display: 'inline-block' - }); - $editable.addClass('pe-active'); + $editBtn.css({ + display: 'inline-block' + }); + $exitBtn.css({ + display: 'none' + }); + $editable.removeClass('pe-active'); - return false; - }); + return false; + }); - $('a.icb-exit-edit').on('click', function () { - var $exitBtn = $(this); - var $editBtn = $exitBtn.prev('a.icb-edit-profile'); - var $editable = $('div.p-editable'); - $editBtn.css({ - display: 'inline-block' - }); - $exitBtn.css({ - display: 'none' - }); - $editable.removeClass('pe-active'); - return false; - }); + /* Временная функция для указания файла */ + $('input[type="file"]').each(function () { + var $iFile = $(this); + var $ifContainer = $iFile.closest('.input-file'); + var $inpText = $ifContainer.children('.file-text'); + if ($iFile.val() != "") { + $inpText.text($iFile.val()); + $inpText.removeClass('placeholder'); + } else { + $inpText.text($inpText.data('placeholder')); + $inpText.addClass('placeholder'); + } + $iFile.on({ + change: function () { + if ($iFile.val() != "") { + $inpText.text($iFile.val()); + $inpText.removeClass('placeholder'); + } else { + $inpText.text($inpText.data('placeholder')); + $inpText.addClass('placeholder'); + } + } + }); + }); - /* Временная функция для указания файла */ - $('input[type="file"]').each(function () { - var $iFile = $(this); - var $ifContainer = $iFile.closest('.input-file'); - var $inpText = $ifContainer.children('.file-text'); - if ($iFile.val() != "") { - $inpText.text($iFile.val()); - $inpText.removeClass('placeholder'); - } else { - $inpText.text($inpText.data('placeholder')); - $inpText.addClass('placeholder'); - } - $iFile.on({ - change: function () { - if ($iFile.val() != "") { - $inpText.text($iFile.val()); - $inpText.removeClass('placeholder'); - } else { - $inpText.text($inpText.data('placeholder')); - $inpText.addClass('placeholder'); - } - } - }); - }); + /* Добавление секций "Статистика за" на нажатие кнопки "добавить данные за другой период" */ + $('form.af-statistic div.mf-stat').each(function () { + var $statWrap = $(this); + var $addButtonWrap = $statWrap.children('.mf-stat-add-button'); + var $addButton = $addButtonWrap.find('a.icon-add'); + $addButton.on('click', function () { + var $statItem = $statWrap.children('.mf-stat-item'); + var numItems = $statItem.length; + var numYears = $statItem.eq(0).find('select').eq(0).find('option').length-1; + var $cloneItem = $statItem.eq(0).clone(); + var $selects = $cloneItem.find('select'); + var $inputs = $cloneItem.find('input'); - /* Добавление секций "Статистика за" на нажатие кнопки "добавить данные за другой период" */ - $('form.af-statistic div.mf-stat').each(function () { - var $statWrap = $(this); - var $addButtonWrap = $statWrap.children('.mf-stat-add-button'); - var $addButton = $addButtonWrap.find('a.icon-add'); + $inputs.val(''); + $selects.each(function () { + var $el = $(this); + var $cWrap = $el.closest('.custom-select'); + var $cloneSel = $el.clone(); + $cloneSel.insertAfter($cWrap); + $cloneSel.customSelect(); + $cWrap.remove(); + }); - $addButton.on('click', function () { - var $statItem = $statWrap.children('.mf-stat-item'); - var numItems = $statItem.length; - var numYears = $statItem.eq(0).find('select').eq(0).find('option').length-1; + $cloneItem.insertBefore($addButtonWrap); - var $cloneItem = $statItem.eq(0).clone(); - var $selects = $cloneItem.find('select'); - var $inputs = $cloneItem.find('input'); + if (numItems == numYears - 1){ + $addButtonWrap.hide(); + } + return false; + }) + }); - $inputs.val(''); - $selects.each(function () { - var $el = $(this); - var $cWrap = $el.closest('.custom-select'); - var $cloneSel = $el.clone(); - $cloneSel.insertAfter($cWrap); - $cloneSel.customSelect(); - $cWrap.remove(); - }); - $cloneItem.insertBefore($addButtonWrap); + /* + * Управление расписанием проведения выставки + * */ - if (numItems == numYears - 1){ - $addButtonWrap.hide(); - } - return false; - }) - }); + /* Пeреключение между общим временем для всех дней и уникальным для каждого дня */ + $('input[type="checkbox"].w-time-switcher').each(function () { + var $switch = $(this); + var $wTimeContainer = $switch.closest('.mf-field'); + function checkSwitch () { + var $tLines = $wTimeContainer.find('div.w-time'); + var $firstTimeLine = $tLines.eq(0); + var $ftlSelects = $firstTimeLine.find('select'); - /* - * Управление расписанием проведения выставки - * */ - - /* Пeреключение между общим временем для всех дней и уникальным для каждого дня */ - $('input[type="checkbox"].w-time-switcher').each(function () { - var $switch = $(this); - var $wTimeContainer = $switch.closest('.mf-field'); - - function checkSwitch () { - var $tLines = $wTimeContainer.find('div.w-time'); - var $firstTimeLine = $tLines.eq(0); - var $ftlSelects = $firstTimeLine.find('select'); - - $tLines.each(function (index) { - var $timeLine = $(this); - if (index != 0) { - var $selects = $timeLine.find('select'); - - for (var i = 1; i < $selects.length; i++ ) { - $selects.eq(i).prop('selectedIndex', $ftlSelects.eq(i).prop('selectedIndex')).trigger('change'); - } - } - }); + $tLines.each(function (index) { + var $timeLine = $(this); + if (index != 0) { + var $selects = $timeLine.find('select'); - if ($switch.prop('checked')) { - $tLines.removeClass('show'); - } else { - $tLines.addClass('show'); - } - } + for (var i = 1; i < $selects.length; i++ ) { + $selects.eq(i).prop('selectedIndex', $ftlSelects.eq(i).prop('selectedIndex')).trigger('change'); + } + } + }); - checkSwitch(); - $switch.on('change', checkSwitch); - }); + if ($switch.prop('checked')) { + $tLines.removeClass('show'); + } else { + $tLines.addClass('show'); + } + } - function getDateStr(date) { - return (date.getDate() < 10 ? '0' : '') + date.getDate() + '.' + (date.getMonth() < 9 ? '0' : '') + (date.getMonth() + 1) + '.' + date.getFullYear(); - } + checkSwitch(); + $switch.on('change', checkSwitch); + }); - /* Построение сетки расписания в зависимости от выбранного диапазона дат */ - $('#dates-range').each(function () { - var $dRange = $(this); - var $dateFrom = $dRange.find('input.dateFrom'); - var $dateTo = $dRange.find('input.dateTo'); - var startDay = new Date(); - var endDay = new Date(); - var $wtSchedule = $('#work-time'); - - function numScheduleDays() { - return (endDay - startDay)/(1000*60*60*24) + 1; - } - - function drawSchedule() { - var $timeLines = $wtSchedule.children('.w-time'); - var $timeLine = $timeLines.eq(0); - var $datesSelect = $timeLine.find('select').eq(0); - var $switch = $timeLine.find('input[type="checkbox"].w-time-switcher'); - - startDay = $dateFrom.datepicker('getDate') ? $dateFrom.datepicker('getDate') : new Date(); - endDay = $dateTo.datepicker('getDate') ? $dateTo.datepicker('getDate') : new Date(); - var numDays = numScheduleDays(); - - var $selects = $timeLine.find('select'); - $timeLines.filter(':not(:first)').remove(); - - $datesSelect.each(function () { - var date = startDay; - var $select = $(this); - var $cWrap = $select.closest('.custom-select'); - var $option = $('
          • "),v.addClass("select2-results-dept-"+d),v.addClass("select2-result"),v.addClass(f?"select2-result-selectable":"select2-result-unselectable"),g&&v.addClass("select2-disabled"),m&&v.addClass("select2-result-with-children"),v.addClass(c.opts.formatResultCssClass(p)),v.attr("role","presentation"),w=e(document.createElement("div")),w.addClass("select2-result-label"),w.attr("id","select2-result-label-"+D()),w.attr("role","option"),x=i.formatResult(p,w,o,c.opts.escapeMarkup),x!==t&&(w.html(x),v.append(w)),m&&(b=e("
              "),b.addClass("select2-result-sub"),s(p.children,b,d+1),v.append(b)),v.data("select2-data",p),y.push(v[0]);a.append(y),l.text(i.formatMatches(n.length))})(a,n,0)}},e.fn.select2.defaults,i),"function"!=typeof i.id&&(o=i.id,i.id=function(e){return e[o]}),e.isArray(i.element.data("select2Tags"))){if("tags"in i)throw"tags specified as both an attribute 'data-select2-tags' and in options of Select2 "+i.element.attr("id");i.tags=i.element.data("select2Tags")}if(a?(i.query=this.bind(function(e){var i,a,o,s={results:[],more:!1},r=e.term;o=function(t,i){var n;t.is("option")?e.matcher(r,t.text(),t)&&i.push(c.optionToData(t)):t.is("optgroup")&&(n=c.optionToData(t),t.children().each2(function(e,t){o(t,n.children)}),n.children.length>0&&i.push(n))},i=n.children(),this.getPlaceholder()!==t&&i.length>0&&(a=this.getPlaceholderOption(),a&&(i=i.not(a))),i.each2(function(e,t){o(t,s.results)}),e.callback(s)}),i.id=function(e){return e.id}):"query"in i||("ajax"in i?(l=i.element.data("ajax-url"),l&&l.length>0&&(i.ajax.url=l),i.query=y.call(i.element,i.ajax)):"data"in i?i.query=C(i.data):"tags"in i&&(i.query=S(i.tags),i.createSearchChoice===t&&(i.createSearchChoice=function(t){return{id:e.trim(t),text:e.trim(t)}}),i.initSelection===t&&(i.initSelection=function(t,n){var a=[];e(r(t.val(),i.separator)).each(function(){var t={id:this,text:this},n=i.tags;e.isFunction(n)&&(n=n()),e(n).each(function(){return s(this.id,t.id)?(t=this,!1):void 0}),a.push(t)}),n(a)}))),"function"!=typeof i.query)throw"query function not defined for Select2 "+i.element.attr("id");if("top"===i.createSearchChoicePosition)i.createSearchChoicePosition=function(e,t){e.unshift(t)};else if("bottom"===i.createSearchChoicePosition)i.createSearchChoicePosition=function(e,t){e.push(t)};else if("function"!=typeof i.createSearchChoicePosition)throw"invalid createSearchChoicePosition option must be 'top', 'bottom' or a custom function";return i},monitorSource:function(){var i,n=this.opts.element,a=this;n.on("change.select2",this.bind(function(){this.opts.element.data("select2-change-triggered")!==!0&&this.initSelection()})),this._sync=this.bind(function(){var e=n.prop("disabled");e===t&&(e=!1),this.enable(!e);var i=n.prop("readonly");i===t&&(i=!1),this.readonly(i),w(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.addClass(T(this.opts.containerCssClass,this.opts.element)),w(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(T(this.opts.dropdownCssClass,this.opts.element))}),n.length&&n[0].attachEvent&&n.each(function(){this.attachEvent("onpropertychange",a._sync)}),i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,i!==t&&(this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),this.propertyObserver=new i(function(t){e.each(t,a._sync)}),this.propertyObserver.observe(n.get(0),{attributes:!0,subtree:!1}))},triggerSelect:function(t){var i=e.Event("select2-selecting",{val:this.id(t),object:t,choice:t});return this.opts.element.trigger(i),!i.isDefaultPrevented()},triggerChange:function(t){t=t||{},t=e.extend({},t,{type:"change",val:this.val()}),this.opts.element.data("select2-change-triggered",!0),this.opts.element.trigger(t),this.opts.element.data("select2-change-triggered",!1),this.opts.element.click(),this.opts.blurOnChange&&this.opts.element.blur()},isInterfaceEnabled:function(){return this.enabledInterface===!0},enableInterface:function(){var e=this._enabled&&!this._readonly,t=!e;return e===this.enabledInterface?!1:(this.container.toggleClass("select2-container-disabled",t),this.close(),this.enabledInterface=e,!0)},enable:function(e){e===t&&(e=!0),this._enabled!==e&&(this._enabled=e,this.opts.element.prop("disabled",!e),this.enableInterface())},disable:function(){this.enable(!1)},readonly:function(e){e===t&&(e=!1),this._readonly!==e&&(this._readonly=e,this.opts.element.prop("readonly",e),this.enableInterface())},opened:function(){return this.container?this.container.hasClass("select2-dropdown-open"):!1},positionDropdown:function(){var t,i,n,a,o,s=this.dropdown,r=this.container.offset(),l=this.container.outerHeight(!1),c=this.container.outerWidth(!1),d=s.outerHeight(!1),h=e(window),u=h.width(),p=h.height(),f=h.scrollLeft()+u,g=h.scrollTop()+p,m=r.top+l,v=r.left,w=g>=m+d,b=r.top-d>=h.scrollTop(),x=s.outerWidth(!1),y=f>=v+x,C=s.hasClass("select2-drop-above");C?(i=!0,!b&&w&&(n=!0,i=!1)):(i=!1,!w&&b&&(n=!0,i=!0)),n&&(s.hide(),r=this.container.offset(),l=this.container.outerHeight(!1),c=this.container.outerWidth(!1),d=s.outerHeight(!1),f=h.scrollLeft()+u,g=h.scrollTop()+p,m=r.top+l,v=r.left,x=s.outerWidth(!1),y=f>=v+x,s.show(),this.focusSearch()),this.opts.dropdownAutoWidth?(o=e(".select2-results",s)[0],s.addClass("select2-drop-auto-width"),s.css("width",""),x=s.outerWidth(!1)+(o.scrollHeight===o.clientHeight?0:W.width),x>c?c=x:x=c,d=s.outerHeight(!1),y=f>=v+x):this.container.removeClass("select2-drop-auto-width"),"static"!==this.body.css("position")&&(t=this.body.offset(),m-=t.top,v-=t.left),y||(v=r.left+this.container.outerWidth(!1)-x),a={left:v,width:c},i?(a.top=r.top-d,a.bottom="auto",this.container.addClass("select2-drop-above"),s.addClass("select2-drop-above")):(a.top=m,a.bottom="auto",this.container.removeClass("select2-drop-above"),s.removeClass("select2-drop-above")),a=e.extend(a,T(this.opts.dropdownCss,this.opts.element)),s.css(a)},shouldOpen:function(){var t;return this.opened()?!1:this._enabled===!1||this._readonly===!0?!1:(t=e.Event("select2-opening"),this.opts.element.trigger(t),!t.isDefaultPrevented())},clearDropdownAlignmentPreference:function(){this.container.removeClass("select2-drop-above"),this.dropdown.removeClass("select2-drop-above")},open:function(){return this.shouldOpen()?(this.opening(),R.on("mousemove.select2Event",function(e){H.x=e.pageX,H.y=e.pageY}),!0):!1},opening:function(){var t,n=this.containerEventName,a="scroll."+n,o="resize."+n,s="orientationchange."+n;this.container.addClass("select2-dropdown-open").addClass("select2-container-active"),this.clearDropdownAlignmentPreference(),this.dropdown[0]!==this.body.children().last()[0]&&this.dropdown.detach().appendTo(this.body),t=e("#select2-drop-mask"),0==t.length&&(t=e(document.createElement("div")),t.attr("id","select2-drop-mask").attr("class","select2-drop-mask"),t.hide(),t.appendTo(this.body),t.on("mousedown touchstart click",function(n){i(t);var a,o=e("#select2-drop");o.length>0&&(a=o.data("select2"),a.opts.selectOnBlur&&a.selectHighlighted({noFocus:!0}),a.close(),n.preventDefault(),n.stopPropagation())})),this.dropdown.prev()[0]!==t[0]&&this.dropdown.before(t),e("#select2-drop").removeAttr("id"),this.dropdown.attr("id","select2-drop"),t.show(),this.positionDropdown(),this.dropdown.show(),this.positionDropdown(),this.dropdown.addClass("select2-drop-active");var r=this;this.container.parents().add(window).each(function(){e(this).on(o+" "+a+" "+s,function(){r.opened()&&r.positionDropdown()})})},close:function(){if(this.opened()){var t=this.containerEventName,i="scroll."+t,n="resize."+t,a="orientationchange."+t;this.container.parents().add(window).each(function(){e(this).off(i).off(n).off(a)}),this.clearDropdownAlignmentPreference(),e("#select2-drop-mask").hide(),this.dropdown.removeAttr("id"),this.dropdown.hide(),this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active"),this.results.empty(),R.off("mousemove.select2Event"),this.clearSearch(),this.search.removeClass("select2-active"),this.opts.element.trigger(e.Event("select2-close"))}},externalSearch:function(e){this.open(),this.search.val(e),this.updateResults(!1)},clearSearch:function(){},getMaximumSelectionSize:function(){return T(this.opts.maximumSelectionSize,this.opts.element)},ensureHighlightVisible:function(){var t,i,n,a,o,s,r,l,c=this.results;if(i=this.highlight(),!(0>i)){if(0==i)return void c.scrollTop(0);t=this.findHighlightableChoices().find(".select2-result-label"),n=e(t[i]),l=(n.offset()||{}).top||0,a=l+n.outerHeight(!0),i===t.length-1&&(r=c.find("li.select2-more-results"),r.length>0&&(a=r.offset().top+r.outerHeight(!0))),o=c.offset().top+c.outerHeight(!0),a>o&&c.scrollTop(c.scrollTop()+(a-o)),s=l-c.offset().top,0>s&&"none"!=n.css("display")&&c.scrollTop(c.scrollTop()+s)}},findHighlightableChoices:function(){return this.results.find(".select2-result-selectable:not(.select2-disabled):not(.select2-selected)")},moveHighlight:function(t){for(var i=this.findHighlightableChoices(),n=this.highlight();n>-1&&n=o.length&&(t=o.length-1),0>t&&(t=0),this.removeHighlight(),i=e(o[t]),i.addClass("select2-highlighted"),this.search.attr("aria-activedescendant",i.find(".select2-result-label").attr("id")),this.ensureHighlightVisible(),this.liveRegion.text(i.text()),n=i.data("select2-data"),void(n&&this.opts.element.trigger({type:"select2-highlight",val:this.id(n),choice:n})))},removeHighlight:function(){this.results.find(".select2-highlighted").removeClass("select2-highlighted")},touchMoved:function(){this._touchMoved=!0},clearTouchMoved:function(){this._touchMoved=!1},countSelectableResults:function(){return this.findHighlightableChoices().length},highlightUnderEvent:function(t){ var i=e(t.target).closest(".select2-result-selectable");if(i.length>0&&!i.is(".select2-highlighted")){var n=this.findHighlightableChoices();this.highlight(n.index(i))}else 0==i.length&&this.removeHighlight()},loadMoreIfNeeded:function(){var e,t=this.results,i=t.find("li.select2-more-results"),n=this.resultsPage+1,a=this,o=this.search.val(),s=this.context;0!==i.length&&(e=i.offset().top-t.offset().top-t.height(),e<=this.opts.loadMorePadding&&(i.addClass("select2-active"),this.opts.query({element:this.opts.element,term:o,page:n,context:s,matcher:this.opts.matcher,callback:this.bind(function(e){a.opened()&&(a.opts.populateResults.call(this,t,e.results,{term:o,page:n,context:s}),a.postprocessResults(e,!1,!1),e.more===!0?(i.detach().appendTo(t).text(T(a.opts.formatLoadMore,a.opts.element,n+1)),window.setTimeout(function(){a.loadMoreIfNeeded()},10)):i.remove(),a.positionDropdown(),a.resultsPage=n,a.context=e.context,this.opts.element.trigger({type:"select2-loaded",items:e}))})})))},tokenize:function(){},updateResults:function(i){function n(){c.removeClass("select2-active"),u.positionDropdown(),d.find(".select2-no-results,.select2-selection-limit,.select2-searching").length?u.liveRegion.text(d.text()):u.liveRegion.text(u.opts.formatMatches(d.find(".select2-result-selectable").length))}function a(e){d.html(e),n()}var o,r,l,c=this.search,d=this.results,h=this.opts,u=this,p=c.val(),f=e.data(this.container,"select2-last-term");if((i===!0||!f||!s(p,f))&&(e.data(this.container,"select2-last-term",p),i===!0||this.showSearchInput!==!1&&this.opened())){l=++this.queryCount;var g=this.getMaximumSelectionSize();if(g>=1&&(o=this.data(),e.isArray(o)&&o.length>=g&&_(h.formatSelectionTooBig,"formatSelectionTooBig")))return void a("
            • "+T(h.formatSelectionTooBig,h.element,g)+"
            • ");if(c.val().length"+T(h.formatInputTooShort,h.element,c.val(),h.minimumInputLength)+"":""),void(i&&this.showSearch&&this.showSearch(!0));if(h.maximumInputLength&&c.val().length>h.maximumInputLength)return void a(_(h.formatInputTooLong,"formatInputTooLong")?"
            • "+T(h.formatInputTooLong,h.element,c.val(),h.maximumInputLength)+"
            • ":"");h.formatSearching&&0===this.findHighlightableChoices().length&&a("
            • "+T(h.formatSearching,h.element)+"
            • "),c.addClass("select2-active"),this.removeHighlight(),r=this.tokenize(),r!=t&&null!=r&&c.val(r),this.resultsPage=1,h.query({element:h.element,term:c.val(),page:this.resultsPage,context:null,matcher:h.matcher,callback:this.bind(function(o){var r;if(l==this.queryCount){if(!this.opened())return void this.search.removeClass("select2-active");if(o.hasError!==t&&_(h.formatAjaxError,"formatAjaxError"))return void a("
            • "+T(h.formatAjaxError,h.element,o.jqXHR,o.textStatus,o.errorThrown)+"
            • ");if(this.context=o.context===t?null:o.context,this.opts.createSearchChoice&&""!==c.val()&&(r=this.opts.createSearchChoice.call(u,c.val(),o.results),r!==t&&null!==r&&u.id(r)!==t&&null!==u.id(r)&&0===e(o.results).filter(function(){return s(u.id(this),u.id(r))}).length&&this.opts.createSearchChoicePosition(o.results,r)),0===o.results.length&&_(h.formatNoMatches,"formatNoMatches"))return void a("
            • "+T(h.formatNoMatches,h.element,c.val())+"
            • ");d.empty(),u.opts.populateResults.call(this,d,o.results,{term:c.val(),page:this.resultsPage,context:null}),o.more===!0&&_(h.formatLoadMore,"formatLoadMore")&&(d.append("
            • "+h.escapeMarkup(T(h.formatLoadMore,h.element,this.resultsPage))+"
            • "),window.setTimeout(function(){u.loadMoreIfNeeded()},10)),this.postprocessResults(o,i),n(),this.opts.element.trigger({type:"select2-loaded",items:o})}})})}},cancel:function(){this.close()},blur:function(){this.opts.selectOnBlur&&this.selectHighlighted({noFocus:!0}),this.close(),this.container.removeClass("select2-container-active"),this.search[0]===document.activeElement&&this.search.blur(),this.clearSearch(),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus")},focusSearch:function(){p(this.search)},selectHighlighted:function(e){if(this._touchMoved)return void this.clearTouchMoved();var t=this.highlight(),i=this.results.find(".select2-highlighted"),n=i.closest(".select2-result").data("select2-data");n?(this.highlight(t),this.onSelect(n,e)):e&&e.noFocus&&this.close()},getPlaceholder:function(){var e;return this.opts.element.attr("placeholder")||this.opts.element.attr("data-placeholder")||this.opts.element.data("placeholder")||this.opts.placeholder||((e=this.getPlaceholderOption())!==t?e.text():t)},getPlaceholderOption:function(){if(this.select){var i=this.select.children("option").first();if(this.opts.placeholderOption!==t)return"first"===this.opts.placeholderOption&&i||"function"==typeof this.opts.placeholderOption&&this.opts.placeholderOption(this.select);if(""===e.trim(i.text())&&""===i.val())return i}},initContainerWidth:function(){function i(){var i,n,a,o,s,r;if("off"===this.opts.width)return null;if("element"===this.opts.width)return 0===this.opts.element.outerWidth(!1)?"100%":this.opts.element.outerWidth(!1)+"px";if("copy"===this.opts.width||"resolve"===this.opts.width){if(i=this.opts.element.attr("style"),i!==t)for(n=i.split(";"),o=0,s=n.length;s>o;o+=1)if(r=n[o].replace(/\s/g,""),a=r.match(/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i),null!==a&&a.length>=1)return a[1];return"resolve"===this.opts.width?(i=this.opts.element.css("width"),i.indexOf("%")>0?i:0===this.opts.element.outerWidth(!1)?"100%":this.opts.element.outerWidth(!1)+"px"):null}return e.isFunction(this.opts.width)?this.opts.width():this.opts.width}var n=i.call(this);null!==n&&this.container.css("width",n)}}),O=P(L,{createContainer:function(){var t=e(document.createElement("div")).attr({"class":"select2-container"}).html(["","  "," ","","","","
              "," ","
                ","
              ","
              "].join(""));return t},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var i,n,a;this.opts.minimumResultsForSearch>=0&&this.showSearch(!0),this.parent.opening.apply(this,arguments),this.showSearchInput!==!1&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),i=this.search.get(0),i.createTextRange?(n=i.createTextRange(),n.collapse(!1),n.select()):i.setSelectionRange&&(a=this.search.val().length,i.setSelectionRange(a,a))),""===this.search.val()&&this.nextSearchTerm!=t&&(this.search.val(this.nextSearchTerm),this.search.select()),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(e.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){e("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),M.call(this,"selection","focusser")},initContainer:function(){var t,n,a=this.container,o=this.dropdown,s=D();this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=t=a.find(".select2-choice"),this.focusser=a.find(".select2-focusser"),t.find(".select2-chosen").attr("id","select2-chosen-"+s),this.focusser.attr("aria-labelledby","select2-chosen-"+s),this.results.attr("id","select2-results-"+s),this.search.attr("aria-owns","select2-results-"+s),this.focusser.attr("id","s2id_autogen"+s),n=e("label[for='"+this.opts.element.attr("id")+"']"),this.focusser.prev().text(n.text()).attr("for",this.focusser.attr("id"));var r=this.opts.element.attr("title");this.opts.element.attr("title",r||n.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(e("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()&&229!=e.keyCode){if(e.which===I.PAGE_UP||e.which===I.PAGE_DOWN)return void g(e);switch(e.which){case I.UP:case I.DOWN:return this.moveHighlight(e.which===I.UP?-1:1),void g(e);case I.ENTER:return this.selectHighlighted(),void g(e);case I.TAB:return void this.selectHighlighted({noFocus:!0});case I.ESC:return this.cancel(e),void g(e)}}})),this.search.on("blur",this.bind(function(){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.search.focus()}),0)})),this.focusser.on("keydown",this.bind(function(e){if(this.isInterfaceEnabled()&&e.which!==I.TAB&&!I.isControl(e)&&!I.isFunctionKey(e)&&e.which!==I.ESC){if(this.opts.openOnEnter===!1&&e.which===I.ENTER)return void g(e);if(e.which==I.DOWN||e.which==I.UP||e.which==I.ENTER&&this.opts.openOnEnter){if(e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)return;return this.open(),void g(e)}return e.which==I.DELETE||e.which==I.BACKSPACE?(this.opts.allowClear&&this.clear(),void g(e)):void 0}})),c(this.focusser),this.focusser.on("keyup-change input",this.bind(function(e){if(this.opts.minimumResultsForSearch>=0){if(e.stopPropagation(),this.opened())return;this.open()}})),t.on("mousedown touchstart","abbr",this.bind(function(e){this.isInterfaceEnabled()&&(this.clear(),m(e),this.close(),this.selection.focus())})),t.on("mousedown touchstart",this.bind(function(n){i(t),this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),g(n)})),o.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),t.on("focus",this.bind(function(e){g(e)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(e.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.setPlaceholder()},clear:function(t){var i=this.selection.data("select2-data");if(i){var n=e.Event("select2-clearing");if(this.opts.element.trigger(n),n.isDefaultPrevented())return;var a=this.getPlaceholderOption();this.opts.element.val(a?a.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),t!==!1&&(this.opts.element.trigger({type:"select2-removed",val:this.id(i),choice:i}),this.triggerChange({removed:i}))}},initSelection:function(){if(this.isPlaceholderOptionSelected())this.updateSelection(null),this.close(),this.setPlaceholder();else{var e=this;this.opts.initSelection.call(null,this.opts.element,function(i){i!==t&&null!==i&&(e.updateSelection(i),e.close(),e.setPlaceholder(),e.nextSearchTerm=e.opts.nextSearchTerm(i,e.search.val()))})}},isPlaceholderOptionSelected:function(){var e;return this.getPlaceholder()===t?!1:(e=this.getPlaceholderOption())!==t&&e.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===t||null===this.opts.element.val()},prepareOpts:function(){var t=this.parent.prepareOpts.apply(this,arguments),i=this;return"select"===t.element.get(0).tagName.toLowerCase()?t.initSelection=function(e,t){var n=e.find("option").filter(function(){return this.selected&&!this.disabled});t(i.optionToData(n))}:"data"in t&&(t.initSelection=t.initSelection||function(i,n){var a=i.val(),o=null;t.query({matcher:function(e,i,n){var r=s(a,t.id(n));return r&&(o=n),r},callback:e.isFunction(n)?function(){n(o)}:e.noop})}),t},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===t?t:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var e=this.getPlaceholder();if(this.isPlaceholderOptionSelected()&&e!==t){if(this.select&&this.getPlaceholderOption()===t)return;this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(e)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear")}},postprocessResults:function(e,t,i){var n=0,a=this;if(this.findHighlightableChoices().each2(function(e,t){return s(a.id(t.data("select2-data")),a.opts.element.val())?(n=e,!1):void 0}),i!==!1&&(t===!0&&n>=0?this.highlight(n):this.highlight(0)),t===!0){var o=this.opts.minimumResultsForSearch;o>=0&&this.showSearch(k(e.results)>=o)}},showSearch:function(t){this.showSearchInput!==t&&(this.showSearchInput=t,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!t),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!t),e(this.dropdown,this.container).toggleClass("select2-with-searchbox",t))},onSelect:function(e,t){if(this.triggerSelect(e)){var i=this.opts.element.val(),n=this.data();this.opts.element.val(this.id(e)),this.updateSelection(e),this.opts.element.trigger({type:"select2-selected",val:this.id(e),choice:e}),this.nextSearchTerm=this.opts.nextSearchTerm(e,this.search.val()),this.close(),t&&t.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),s(i,this.id(e))||this.triggerChange({added:e,removed:n})}},updateSelection:function(e){var i,n,a=this.selection.find(".select2-chosen");this.selection.data("select2-data",e),a.empty(),null!==e&&(i=this.opts.formatSelection(e,a,this.opts.escapeMarkup)),i!==t&&a.append(i),n=this.opts.formatSelectionCssClass(e,a),n!==t&&a.addClass(n),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==t&&this.container.addClass("select2-allowclear")},val:function(){var e,i=!1,n=null,a=this,o=this.data();if(0===arguments.length)return this.opts.element.val();if(e=arguments[0],arguments.length>1&&(i=arguments[1]),this.select)this.select.val(e).find("option").filter(function(){return this.selected}).each2(function(e,t){return n=a.optionToData(t),!1}),this.updateSelection(n),this.setPlaceholder(),i&&this.triggerChange({added:n,removed:o});else{if(!e&&0!==e)return void this.clear(i);if(this.opts.initSelection===t)throw new Error("cannot call val() if initSelection() is not defined");this.opts.element.val(e),this.opts.initSelection(this.opts.element,function(e){a.opts.element.val(e?a.id(e):""),a.updateSelection(e),a.setPlaceholder(),i&&a.triggerChange({added:e,removed:o})})}},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(e){var i,n=!1;return 0===arguments.length?(i=this.selection.data("select2-data"),i==t&&(i=null),i):(arguments.length>1&&(n=arguments[1]),void(e?(i=this.data(),this.opts.element.val(e?this.id(e):""),this.updateSelection(e),n&&this.triggerChange({added:e,removed:i})):this.clear(n)))}}),B=P(L,{createContainer:function(){var t=e(document.createElement("div")).attr({"class":"select2-container select2-container-multi"}).html(["
                ","
              • "," "," ","
              • ","
              ","
              ","
                ","
              ","
              "].join(""));return t},prepareOpts:function(){var t=this.parent.prepareOpts.apply(this,arguments),i=this;return"select"===t.element.get(0).tagName.toLowerCase()?t.initSelection=function(e,t){var n=[];e.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(e,t){n.push(i.optionToData(t))}),t(n)}:"data"in t&&(t.initSelection=t.initSelection||function(i,n){var a=r(i.val(),t.separator),o=[];t.query({matcher:function(i,n,r){var l=e.grep(a,function(e){return s(e,t.id(r))}).length;return l&&o.push(r),l},callback:e.isFunction(n)?function(){for(var e=[],i=0;i0||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.open(),this.focusSearch(),t.preventDefault()))})),this.container.on("focus",i,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(e.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.addClass("select2-offscreen"),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||""!==this.opts.element.val()){var e=this;this.opts.initSelection.call(null,this.opts.element,function(i){i!==t&&null!==i&&(e.updateSelection(i),e.close(),e.clearSearch())})}},clearSearch:function(){var e=this.getPlaceholder(),i=this.getMaxSearchWidth();e!==t&&0===this.getVal().length&&this.search.hasClass("select2-focused")===!1?(this.search.val(e).addClass("select2-default"),this.search.width(i>0?i:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),""===this.search.val()&&this.nextSearchTerm!=t&&(this.search.val(this.nextSearchTerm),this.search.select()),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(e.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(t){var i=[],n=[],o=this;e(t).each(function(){a(o.id(this),i)<0&&(i.push(o.id(this)),n.push(this))}),t=n,this.selection.find(".select2-search-choice").remove(),e(t).each(function(){o.addSelectedChoice(this)}),o.postprocessResults()},tokenize:function(){var e=this.search.val();e=this.opts.tokenizer.call(this,e,this.data(),this.bind(this.onSelect),this.opts),null!=e&&e!=t&&(this.search.val(e),e.length>0&&this.open())},onSelect:function(e,i){this.triggerSelect(e)&&""!==e.text&&(this.addSelectedChoice(e),this.opts.element.trigger({type:"selected",val:this.id(e),choice:e}),this.nextSearchTerm=this.opts.nextSearchTerm(e,this.search.val()),this.clearSearch(),this.updateResults(),(this.select||!this.opts.closeOnSelect)&&this.postprocessResults(e,!1,this.opts.closeOnSelect===!0),this.opts.closeOnSelect?(this.close(),this.search.width(10)):this.countSelectableResults()>0?(this.search.width(10),this.resizeSearch(),this.getMaximumSelectionSize()>0&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.nextSearchTerm!=t&&(this.search.val(this.nextSearchTerm),this.updateResults(),this.search.select()),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:e}),i&&i.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(i){var n,a,o=!i.locked,s=e("
            • "),r=e("
            • "),l=o?s:r,c=this.id(i),d=this.getVal();n=this.opts.formatSelection(i,l.find("div"),this.opts.escapeMarkup),n!=t&&l.find("div").replaceWith("
              "+n+"
              "),a=this.opts.formatSelectionCssClass(i,l.find("div")),a!=t&&l.addClass(a),o&&l.find(".select2-search-choice-close").on("mousedown",g).on("click dblclick",this.bind(function(t){this.isInterfaceEnabled()&&(this.unselect(e(t.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),g(t),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),l.data("select2-data",i),l.insertBefore(this.searchContainer),d.push(c),this.setVal(d)},unselect:function(t){var i,n,o=this.getVal();if(t=t.closest(".select2-search-choice"),0===t.length)throw"Invalid argument: "+t+". Must be .select2-search-choice";if(i=t.data("select2-data")){var s=e.Event("select2-removing");if(s.val=this.id(i),s.choice=i,this.opts.element.trigger(s),s.isDefaultPrevented())return!1;for(;(n=a(this.id(i),o))>=0;)o.splice(n,1),this.setVal(o),this.select&&this.postprocessResults();return t.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(i),choice:i}),this.triggerChange({removed:i}),!0}},postprocessResults:function(e,t,i){var n=this.getVal(),o=this.results.find(".select2-result"),s=this.results.find(".select2-result-with-children"),r=this;o.each2(function(e,t){var i=r.id(t.data("select2-data"));a(i,n)>=0&&(t.addClass("select2-selected"),t.find(".select2-result-selectable").addClass("select2-selected"))}),s.each2(function(e,t){t.is(".select2-result-selectable")||0!==t.find(".select2-result-selectable:not(.select2-selected)").length||t.addClass("select2-selected")}),-1==this.highlight()&&i!==!1&&r.highlight(0),!this.opts.createSearchChoice&&!o.filter(".select2-result:not(.select2-selected)").length>0&&(!e||e&&!e.more&&0===this.results.find(".select2-no-results").length)&&_(r.opts.formatNoMatches,"formatNoMatches")&&this.results.append("
            • "+T(r.opts.formatNoMatches,r.opts.element,r.search.val())+"
            • ")},getMaxSearchWidth:function(){return this.selection.width()-l(this.search)},resizeSearch:function(){var e,t,i,n,a,o=l(this.search);e=v(this.search)+10,t=this.search.offset().left,i=this.selection.width(),n=this.selection.offset().left,a=i-(t-n)-o,e>a&&(a=i-o),40>a&&(a=i-o),0>=a&&(a=e),this.search.width(Math.floor(a))},getVal:function(){var e;return this.select?(e=this.select.val(),null===e?[]:e):(e=this.opts.element.val(),r(e,this.opts.separator))},setVal:function(t){var i;this.select?this.select.val(t):(i=[],e(t).each(function(){a(this,i)<0&&i.push(this)}),this.opts.element.val(0===i.length?"":i.join(this.opts.separator)))},buildChangeDetails:function(e,t){for(var t=t.slice(0),e=e.slice(0),i=0;i0&&i--,e.splice(n,1),n--);return{added:t,removed:e}},val:function(i,n){var a,o=this;if(0===arguments.length)return this.getVal();if(a=this.data(),a.length||(a=[]),!i&&0!==i)return this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),void(n&&this.triggerChange({added:this.data(),removed:a}));if(this.setVal(i),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),n&&this.triggerChange(this.buildChangeDetails(a,this.data()));else{if(this.opts.initSelection===t)throw new Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(t){var i=e.map(t,o.id);o.setVal(i),o.updateSelection(t),o.clearSearch(),n&&o.triggerChange(o.buildChangeDetails(a,o.data()))})}this.clearSearch()},onSortStart:function(){if(this.select)throw new Error("Sorting of elements is not supported when attached to instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var t=[],i=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){t.push(i.opts.id(e(this).data("select2-data")))}),this.setVal(t),this.triggerChange()},data:function(t,i){var n,a,o=this;return 0===arguments.length?this.selection.children(".select2-search-choice").map(function(){return e(this).data("select2-data")}).get():(a=this.data(),t||(t=[]),n=e.map(t,function(e){return o.opts.id(e)}),this.setVal(n),this.updateSelection(t),this.clearSearch(),void(i&&this.triggerChange(this.buildChangeDetails(a,this.data()))))}}),e.fn.select2=function(){var i,n,o,s,r,l=Array.prototype.slice.call(arguments,0),c=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],d=["opened","isFocused","container","dropdown"],h=["val","data"],u={search:"externalSearch"};return this.each(function(){if(0===l.length||"object"==typeof l[0])i=0===l.length?{}:e.extend({},l[0]),i.element=e(this),"select"===i.element.get(0).tagName.toLowerCase()?r=i.element.prop("multiple"):(r=i.multiple||!1,"tags"in i&&(i.multiple=r=!0)),n=r?new window.Select2["class"].multi:new window.Select2["class"].single,n.init(i);else{if("string"!=typeof l[0])throw"Invalid arguments to select2 plugin: "+l;if(a(l[0],c)<0)throw"Unknown method: "+l[0];if(s=t,n=e(this).data("select2"),n===t)return;if(o=l[0],"container"===o?s=n.container:"dropdown"===o?s=n.dropdown:(u[o]&&(o=u[o]),s=n[o].apply(n,l.slice(1))),a(l[0],d)>=0||a(l[0],h)>=0&&1==l.length)return!1}}),s===t?this:s},e.fn.select2.defaults={width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(e,t,i,n){var a=[];return b(e.text,i.term,a,n),a.join("")},formatSelection:function(e,i,n){return e?n(e.text):t},sortResults:function(e){return e},formatResultCssClass:function(e){return e.css},formatSelectionCssClass:function(){return t},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(e){return e==t?null:e.id},matcher:function(e,t){return n(""+t).toUpperCase().indexOf(n(""+e).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:E,escapeMarkup:x,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(e){return e},adaptDropdownCssClass:function(){return null},nextSearchTerm:function(){return t},searchInputPlaceholder:"",createSearchChoicePosition:"top",shouldFocusInput:function(e){var t="ontouchstart"in window||navigator.msMaxTouchPoints>0;return t&&e.opts.minimumResultsForSearch<0?!1:!0}},e.fn.select2.locales=[],e.fn.select2.locales.en={formatMatches:function(e){return 1===e?"One result is available, press enter to select it.":e+" results are available, use up and down arrow keys to navigate."},formatNoMatches:function(){return"No matches found"},formatAjaxError:function(){return"Loading failed"},formatInputTooShort:function(e,t){var i=t-e.length;return"Please enter "+i+" or more character"+(1==i?"":"s")},formatInputTooLong:function(e,t){var i=e.length-t;return"Please delete "+i+" character"+(1==i?"":"s")},formatSelectionTooBig:function(e){return"You can only select "+e+" item"+(1==e?"":"s")},formatLoadMore:function(){return"Loading more results…"},formatSearching:function(){return"Searching…"}},e.extend(e.fn.select2.defaults,e.fn.select2.locales.en),e.fn.select2.ajaxDefaults={transport:e.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:y,local:C,tags:S},util:{debounce:h,markMatch:b, escapeMarkup:x,stripDiacritics:n},"class":{"abstract":L,single:O,multi:B}}}}(jQuery),function(e){"use strict";function t(e){return" "+e+" символ"+(5>e%10&&e%10>0&&(5>e%100||e%100>20)?e%10>1?"a":"":"ов")}e.fn.select2.locales.ru={formatNoMatches:function(){return"Совпадений не найдено"},formatInputTooShort:function(e,i){return"Пожалуйста, введите еще хотя бы"+t(i-e.length)},formatInputTooLong:function(e,i){return"Пожалуйста, введите на"+t(e.length-i)+" меньше"},formatSelectionTooBig:function(e){return"Вы можете выбрать не более "+e+" элемент"+(e%10==1&&e%100!=11?"а":"ов")},formatLoadMore:function(e){return"Загрузка данных…"},formatSearching:function(){return"Поиск…"}},e.extend(e.fn.select2.defaults,e.fn.select2.locales.ru)}(jQuery),jQuery(function(e){e.datepicker.regional.ru={closeText:"Закрыть",prevText:"<Пред",nextText:"След>",currentText:"Сегодня",monthNames:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthNamesShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],dayNames:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"],dayNamesShort:["вск","пнд","втр","срд","чтв","птн","сбт"],dayNamesMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],weekHeader:"Нед",dateFormat:"dd.mm.yy",firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},e.datepicker.setDefaults(e.datepicker.regional.ru)}),function(e){function t(t){var i=t||window.event,n=[].slice.call(arguments,1),a=0,o=0,s=0;return t=e.event.fix(i),t.type="mousewheel",i.wheelDelta&&(a=i.wheelDelta/120),i.detail&&(a=-i.detail/3),s=a,void 0!==i.axis&&i.axis===i.HORIZONTAL_AXIS&&(s=0,o=-1*a),void 0!==i.wheelDeltaY&&(s=i.wheelDeltaY/120),void 0!==i.wheelDeltaX&&(o=-1*i.wheelDeltaX/120),n.unshift(t,a,o,s),(e.event.dispatch||e.event.handle).apply(this,n)}var i=["DOMMouseScroll","mousewheel"];if(e.event.fixHooks)for(var n=i.length;n;)e.event.fixHooks[i[--n]]=e.event.mouseHooks;e.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var e=i.length;e;)this.addEventListener(i[--e],t,!1);else this.onmousewheel=t},teardown:function(){if(this.removeEventListener)for(var e=i.length;e;)this.removeEventListener(i[--e],t,!1);else this.onmousewheel=null}},e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}(jQuery);var Swiper=function(e,t){function i(e,t){return document.querySelectorAll?(t||document).querySelectorAll(e):jQuery(e,t)}function n(){var e=k-P;return t.freeMode&&(e=k-P),t.slidesPerView>S.slides.length&&(e=0),0>e&&(e=0),e}function a(){function e(e){var i=new Image;i.onload=function(){S.imagesLoaded++,S.imagesLoaded==S.imagesToLoad.length&&(S.reInit(),t.onImagesReady&&S.fireCallback(t.onImagesReady,S))},i.src=e}var n=S.h.addEventListener;if(S.browser.ie10?(n(S.wrapper,S.touchEvents.touchStart,f),n(document,S.touchEvents.touchMove,g),n(document,S.touchEvents.touchEnd,m)):(S.support.touch&&(n(S.wrapper,"touchstart",f),n(S.wrapper,"touchmove",g),n(S.wrapper,"touchend",m)),t.simulateTouch&&(n(S.wrapper,"mousedown",f),n(document,"mousemove",g),n(document,"mouseup",m))),t.autoResize&&n(window,"resize",S.resizeFix),o(),S._wheelEvent=!1,t.mousewheelControl){void 0!==document.onmousewheel&&(S._wheelEvent="mousewheel");try{WheelEvent("wheel"),S._wheelEvent="wheel"}catch(a){}S._wheelEvent||(S._wheelEvent="DOMMouseScroll"),S._wheelEvent&&n(S.container,S._wheelEvent,l)}if(t.keyboardControl&&n(document,"keydown",r),t.updateOnImagesReady)for(S.imagesToLoad=i("img",S.container),n=0;n=a&&c[0]<=a+s&&c[1]>=o&&c[1]<=o+r&&(i=!0)}if(!i)return}O?((37==t||39==t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),39==t&&S.swipeNext(),37==t&&S.swipePrev()):((38==t||40==t)&&(e.preventDefault?e.preventDefault():e.returnValue=!1),40==t&&S.swipeNext(),38==t&&S.swipePrev())}function l(e){var i=S._wheelEvent,a=0;if(e.detail)a=-e.detail;else if("mousewheel"==i)if(O){if(!(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)))return;a=e.wheelDeltaX}else{if(!(Math.abs(e.wheelDeltaY)>Math.abs(e.wheelDeltaX)))return;a=e.wheelDeltaY}else if("DOMMouseScroll"==i)a=-e.detail;else if("wheel"==i)if(O){if(!(Math.abs(e.deltaX)>Math.abs(e.deltaY)))return;a=-e.deltaX}else{if(!(Math.abs(e.deltaY)>Math.abs(e.deltaX)))return;a=-e.deltaY}if(t.freeMode){if(i=S.getWrapperTranslate()+a,i>0&&(i=0),i<-n()&&(i=-n()),S.setWrapperTransition(0),S.setWrapperTranslate(i),S.updateActiveSlide(i),0==i||i==-n())return}else 60<(new Date).getTime()-A&&(0>a?S.swipeNext():S.swipePrev()),A=(new Date).getTime();return t.autoplay&&S.stopAutoplay(!0),e.preventDefault?e.preventDefault():e.returnValue=!1,!1}function c(e){S.allowSlideClick&&(h(e),S.fireCallback(t.onSlideClick,S,e))}function d(e){h(e),S.fireCallback(t.onSlideTouch,S,e)}function h(e){if(e.currentTarget)S.clickedSlide=e.currentTarget;else{e=e.srcElement;do if(-1Math.abs(i-S.touches.startX))),"undefined"!=typeof M||O||(M=!!(M||Math.abs(a-S.touches.startY)e?P/2:S.positions.current*e),S.positions.current<-n()&&(i=(S.touches.current-S.touches.start)*t.touchRatio+(n()+S.positions.start),e=(P+i)/P,i=S.positions.current-i*(1-e)/2,a=-n()-P/2,S.positions.current=a>i||0>=e?a:i)),t.resistance&&"100%"==t.resistance&&(0t.moveStartThreshold||R?(R=!0,S.setWrapperTranslate(S.positions.current)):S.positions.current=S.positions.start:S.setWrapperTranslate(S.positions.current),(t.freeMode||t.watchActiveIndex)&&S.updateActiveSlide(S.positions.current),t.grabCursor&&(S.container.style.cursor="move",S.container.style.cursor="grabbing",S.container.style.cursor="-moz-grabbin",S.container.style.cursor="-webkit-grabbing"),W||(W=S.touches.current),H||(H=(new Date).getTime()),S.velocity=(S.touches.current-W)/((new Date).getTime()-H)/2,2>Math.abs(S.touches.current-W)&&(S.velocity=0),W=S.touches.current,H=(new Date).getTime(),S.callPlugins("onTouchMoveEnd"),t.onTouchMove&&S.fireCallback(t.onTouchMove,S),!1}}function m(e){if(M&&S.swipeReset(),!t.onlyExternal&&S.isTouched){S.isTouched=!1,t.grabCursor&&(S.container.style.cursor="move",S.container.style.cursor="grab",S.container.style.cursor="-moz-grab",S.container.style.cursor="-webkit-grab"),S.positions.current||0===S.positions.current||(S.positions.current=S.positions.start),t.followFinger&&S.setWrapperTranslate(S.positions.current),S.times.end=(new Date).getTime(),S.touches.diff=S.touches.current-S.touches.start,S.touches.abs=Math.abs(S.touches.diff),S.positions.diff=S.positions.current-S.positions.start,S.positions.abs=Math.abs(S.positions.diff);var i=S.positions.diff,a=S.positions.abs;e=S.times.end-S.times.start,5>a&&300>e&&0==S.allowLinks&&(t.freeMode||0==a||S.swipeReset(),t.preventLinks&&(S.allowLinks=!0),t.onSlideClick&&(S.allowSlideClick=!0)),setTimeout(function(){t.preventLinks&&(S.allowLinks=!0),t.onSlideClick&&(S.allowSlideClick=!0)},100);var o=n();if(!S.isMoved&&t.freeMode)S.isMoved=!1,t.onTouchEnd&&S.fireCallback(t.onTouchEnd,S);else if(!S.isMoved||0i&&(t.momentumBounce&&S.support.transitions?(-l>i+o&&(i=-o-l),s=-o,F=r=!0):i=-o),i>0&&(t.momentumBounce&&S.support.transitions?(i>l&&(i=l),s=0,F=r=!0):i=0),0!=S.velocity&&(a=Math.abs((i-S.positions.current)/S.velocity)),S.setWrapperTranslate(i),S.setWrapperTransition(a),t.momentumBounce&&r&&S.wrapperTransitionEnd(function(){F&&(t.onMomentumBounce&&S.fireCallback(t.onMomentumBounce,S),S.callPlugins("onMomentumBounce"),S.setWrapperTranslate(s),S.setWrapperTransition(300))}),S.updateActiveSlide(i)}(!t.freeModeFluid||e>=300)&&S.updateActiveSlide(S.positions.current),t.onTouchEnd&&S.fireCallback(t.onTouchEnd,S)}else{if(E=0>i?"toNext":"toPrev","toNext"==E&&300>=e&&(30>a||!t.shortSwipes?S.swipeReset():S.swipeNext(!0)),"toPrev"==E&&300>=e&&(30>a||!t.shortSwipes?S.swipeReset():S.swipePrev(!0)),o=0,"auto"==t.slidesPerView){for(var i=Math.abs(S.getWrapperTranslate()),c=r=0;ci){o=l;break}o>P&&(o=P)}else o=T*t.slidesPerView;"toNext"==E&&e>300&&(a>=.5*o?S.swipeNext(!0):S.swipeReset()),"toPrev"==E&&e>300&&(a>=.5*o?S.swipePrev(!0):S.swipeReset()),t.onTouchEnd&&t.onTouchEnd(S)}S.callPlugins("onTouchEnd")}}function v(e,i,n){function a(){s+=r,(c="toNext"==l?s>e:e>s)?(S.setWrapperTranslate(Math.round(s)),S._DOMAnimating=!0,window.setTimeout(function(){a()},1e3/60)):(t.onSlideChangeEnd&&S.fireCallback(t.onSlideChangeEnd,S),S.setWrapperTranslate(e),S._DOMAnimating=!1)}var o="to"==i&&0<=n.speed?n.speed:t.speed;if(S.support.transitions||!t.DOMAnimation)S.setWrapperTranslate(e),S.setWrapperTransition(o);else{var s=S.getWrapperTranslate(),r=Math.ceil((e-s)/o*(1e3/60)),l=s>e?"toNext":"toPrev",c="toNext"==l?s>e:e>s;if(S._DOMAnimating)return;a()}S.updateActiveSlide(e),t.onSlideNext&&"next"==i&&S.fireCallback(t.onSlideNext,S,e),t.onSlidePrev&&"prev"==i&&S.fireCallback(t.onSlidePrev,S,e),t.onSlideReset&&"reset"==i&&S.fireCallback(t.onSlideReset,S,e),("next"==i||"prev"==i||"to"==i&&1==n.runCallbacks)&&w(i)}function w(e){if(S.callPlugins("onSlideChangeStart"),t.onSlideChangeStart)if(t.queueStartCallbacks&&S.support.transitions){if(S._queueStartCallbacks)return;S._queueStartCallbacks=!0,S.fireCallback(t.onSlideChangeStart,S,e),S.wrapperTransitionEnd(function(){S._queueStartCallbacks=!1})}else S.fireCallback(t.onSlideChangeStart,S,e);t.onSlideChangeEnd&&(S.support.transitions?t.queueEndCallbacks?S._queueEndCallbacks||(S._queueEndCallbacks=!0,S.wrapperTransitionEnd(function(i){S.fireCallback(t.onSlideChangeEnd,i,e)})):S.wrapperTransitionEnd(function(i){S.fireCallback(t.onSlideChangeEnd,i,e)}):t.DOMAnimation||setTimeout(function(){S.fireCallback(t.onSlideChangeStart,S,e)},10))}function b(){for(var e=S.paginationButtons,t=0;ti;i++)if(this[i]===e)return i;return-1}),(document.querySelectorAll||window.jQuery)&&"undefined"!=typeof e&&(e.nodeType||0!==i(e).length)){var S=this;S.touches={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,diff:0,abs:0},S.positions={start:0,abs:0,diff:0,current:0},S.times={start:0,end:0},S.id=(new Date).getTime(),S.container=e.nodeType?e:i(e)[0],S.isTouched=!1,S.isMoved=!1,S.activeIndex=0,S.centerIndex=0,S.activeLoaderIndex=0,S.activeLoopIndex=0,S.previousIndex=null,S.velocity=0,S.snapGrid=[],S.slidesGrid=[],S.imagesToLoad=[],S.imagesLoaded=0,S.wrapperLeft=0,S.wrapperRight=0,S.wrapperTop=0,S.wrapperBottom=0;var _,T,k,E,M,P,C={mode:"horizontal",touchRatio:1,speed:300,freeMode:!1,freeModeFluid:!1,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,slidesPerView:1,slidesPerGroup:1,simulateTouch:!0,followFinger:!0,shortSwipes:!0,moveStartThreshold:!1,onlyExternal:!1,createPagination:!0,pagination:!1,paginationElement:"span",paginationClickable:!1,paginationAsRange:!0,resistance:!0,scrollContainer:!1,preventLinks:!0,noSwiping:!1,noSwipingClass:"swiper-no-swiping",initialSlide:0,keyboardControl:!1,mousewheelControl:!1,useCSS3Transforms:!0,autoplay:!1,autoplayDisableOnInteraction:!0,loop:!1,loopAdditionalSlides:0,calculateHeight:!1,cssWidthAndHeight:!1,updateOnImagesReady:!0,releaseFormElements:!0,watchActiveIndex:!1,visibilityFullFit:!1,offsetPxBefore:0,offsetPxAfter:0,offsetSlidesBefore:0,offsetSlidesAfter:0,centeredSlides:!1,queueStartCallbacks:!1,queueEndCallbacks:!1,autoResize:!0,resizeReInit:!1,DOMAnimation:!0,loader:{slides:[],slidesHTMLType:"inner",surroundGroups:1,logic:"reload",loadAllSlides:!1},slideElement:"div",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",wrapperClass:"swiper-wrapper",paginationElementClass:"swiper-pagination-switch",paginationActiveClass:"swiper-active-switch",paginationVisibleClass:"swiper-visible-switch"};t=t||{};for(var I in C)if(I in t&&"object"==typeof t[I])for(var L in C[I])L in t[I]||(t[I][L]=C[I][L]);else I in t||(t[I]=C[I]);S.params=t,t.scrollContainer&&(t.freeMode=!0,t.freeModeFluid=!0),t.loop&&(t.resistance="100%");var O="horizontal"===t.mode;for(S.touchEvents={touchStart:S.support.touch||!t.simulateTouch?"touchstart":S.browser.ie10?"MSPointerDown":"mousedown",touchMove:S.support.touch||!t.simulateTouch?"touchmove":S.browser.ie10?"MSPointerMove":"mousemove",touchEnd:S.support.touch||!t.simulateTouch?"touchend":S.browser.ie10?"MSPointerUp":"mouseup"},I=S.container.childNodes.length-1;I>=0;I--)if(S.container.childNodes[I].className)for(L=S.container.childNodes[I].className.split(" "),C=0;C=0;i--)e===S.slides[i]&&(t=i);return t},e.isActive=function(){return e.index()===S.activeIndex?!0:!1},e.swiperSlideDataStorage||(e.swiperSlideDataStorage={}),e.getData=function(t){return e.swiperSlideDataStorage[t]},e.setData=function(t,i){return e.swiperSlideDataStorage[t]=i,e},e.data=function(t,i){return i?(e.setAttribute("data-"+t,i),e):e.getAttribute("data-"+t)},e.getWidth=function(t){return S.h.getWidth(e,t)},e.getHeight=function(t){return S.h.getHeight(e,t)},e.getOffset=function(){return S.h.getOffset(e)},e},S.calcSlides=function(e){var i=S.slides?S.slides.length:!1;S.slides=[],S.displaySlides=[];for(var n=0;n=0;n--)S._extendSwiperSlide(S.slides[n]);!1===i||i===S.slides.length&&!e||(s(),o(),S.updateActiveSlide(),S.params.pagination&&S.createPagination(),S.callPlugins("numberOfSlidesChanged"))},S.createSlide=function(e,i,n){return i=i||S.params.slideClass,n=n||t.slideElement,n=document.createElement(n),n.innerHTML=e||"",n.className=i,S._extendSwiperSlide(n)},S.appendSlide=function(e,t,i){return e?e.nodeType?S._extendSwiperSlide(e).append():S.createSlide(e,t,i).append():void 0},S.prependSlide=function(e,t,i){return e?e.nodeType?S._extendSwiperSlide(e).prepend():S.createSlide(e,t,i).prepend():void 0},S.insertSlideAfter=function(e,t,i,n){return"undefined"==typeof e?!1:t.nodeType?S._extendSwiperSlide(t).insertAfter(e):S.createSlide(t,i,n).insertAfter(e)},S.removeSlide=function(e){if(S.slides[e]){if(t.loop){if(!S.slides[e+S.loopedSlides])return!1;S.slides[e+S.loopedSlides].remove(),S.removeLoopedSlides(),S.calcSlides(),S.createLoop()}else S.slides[e].remove();return!0}return!1},S.removeLastSlide=function(){return 0=0;e--)S.slides[e].remove()},S.getSlide=function(e){return S.slides[e]},S.getLastSlide=function(){return S.slides[S.slides.length-1]},S.getFirstSlide=function(){return S.slides[0]},S.activeSlide=function(){return S.slides[S.activeIndex]};var B,D=[];for(B in S.plugins)t[B]&&(I=S.plugins[B](S,t[B]))&&D.push(I);S.callPlugins=function(e,t){t||(t={});for(var i=0;iP){for(f=0;f<=Math.floor(u/(P+S.wrapperLeft));f++)0===f?S.snapGrid.push(r+S.wrapperLeft):S.snapGrid.push(r+S.wrapperLeft+P*f);S.slidesGrid.push(r+S.wrapperLeft)}else S.snapGrid.push(l),S.slidesGrid.push(l);l+=u/2+p/2}else{if(u>P)for(f=0;f<=Math.floor(u/P);f++)S.snapGrid.push(r+P*f);else S.snapGrid.push(r);S.slidesGrid.push(r)}r+=u,o+=a,s+=h}t.calculateHeight&&(S.height=c),O?(k=o+S.wrapperRight+S.wrapperLeft,n.style.width=o+"px",n.style.height=S.height+"px"):(k=s+S.wrapperTop+S.wrapperBottom,n.style.width=S.width+"px",n.style.height=s+"px")}else if(t.scrollContainer)n.style.width="",n.style.height="",c=S.slides[0].getWidth(!0),o=S.slides[0].getHeight(!0),k=O?c:o,n.style.width=c+"px",n.style.height=o+"px",T=O?c:o;else{if(t.calculateHeight){for(o=c=0,O||(S.container.style.height=""),n.style.height="",d=0;d=S.snapGrid[a]&&-eS.snapGrid[n]&&-e0&&(i=0),i==e?!1:(v(i,"prev"),!0)},S.swipeReset=function(){S.callPlugins("onSwipeReset");var e=S.getWrapperTranslate(),i=T*t.slidesPerGroup;if(n(),"auto"==t.slidesPerView){for(var a=i=0;a=S.snapGrid[a]&&-e=S.snapGrid[S.snapGrid.length-1]&&(i=-S.snapGrid[S.snapGrid.length-1]),e<=-n()&&(i=-n())}else i=0>e?Math.round(e/i)*i:0;return t.scrollContainer&&(i=0>e?e:0),i<-n()&&(i=-n()),t.scrollContainer&&P>T&&(i=0),i==e?!1:(v(i,"reset"),!0)},S.swipeTo=function(e,i,a){e=parseInt(e,10),S.callPlugins("onSwipeTo",{index:e,speed:i}),t.loop&&(e+=S.loopedSlides);var o=S.getWrapperTranslate();if(!(e>S.slides.length-1||0>e)){var s;return s="auto"==t.slidesPerView?-S.slidesGrid[e]:-e*T,s<-n()&&(s=-n()),s==o?!1:(v(s,"to",{index:e,speed:i,runCallbacks:!1===a?!1:!0}),!0)}},S._queueStartCallbacks=!1,S._queueEndCallbacks=!1,S.updateActiveSlide=function(e){if(S.initialized&&0!=S.slides.length){if(S.previousIndex=S.activeIndex,"undefined"==typeof e&&(e=S.getWrapperTranslate()),e>0&&(e=0),"auto"==t.slidesPerView){if(S.activeIndex=S.slidesGrid.indexOf(-e),0>S.activeIndex){for(var i=0;iS.slidesGrid[i]&&-e=n?i:i+1}}else S.activeIndex=Math[t.visibilityFullFit?"ceil":"round"](-e/T);if(S.activeIndex==S.slides.length&&(S.activeIndex=S.slides.length-1),0>S.activeIndex&&(S.activeIndex=0),S.slides[S.activeIndex]){for(S.calcVisibleSlides(e),n=RegExp("\\s*"+t.slideActiveClass),a=RegExp("\\s*"+t.slideVisibleClass),i=0;i=S.slides.length-2*i&&(S.activeLoopIndex=S.slides.length-2*i-S.activeLoopIndex),0>S.activeLoopIndex&&(S.activeLoopIndex=S.slides.length-2*i+S.activeLoopIndex)):S.activeLoopIndex=S.activeIndex,t.pagination&&S.updatePagination(e)}}},S.createPagination=function(e){if(t.paginationClickable&&S.paginationButtons&&b(),S.paginationContainer=t.pagination.nodeType?t.pagination:i(t.pagination)[0],t.createPagination){var n="",a=S.slides.length;t.loop&&(a-=2*S.loopedSlides);for(var o=0;a>o;o++)n+="<"+t.paginationElement+' class="'+t.paginationElementClass+'">";S.paginationContainer.innerHTML=n}if(S.paginationButtons=i("."+t.paginationElementClass,S.paginationContainer),e||S.updatePagination(),S.callPlugins("onCreatePagination"),t.paginationClickable)for(e=S.paginationButtons,n=0;nS.slides.length)&&i("."+t.paginationActiveClass,S.paginationContainer)){var n=S.paginationButtons;if(0!=n.length){for(var a=0;as&&(s=S.slides.length-2*S.loopedSlides+s),t.loop&&s>=S.slides.length-2*S.loopedSlides&&(s=S.slides.length-2*S.loopedSlides-s,s=Math.abs(s)),e.push(s)}for(a=0;a=-e&&-e+P>=o&&(r=!0),-e>=n&&o>=-e+P&&(r=!0)):(o>-e&&-e+P>=o&&(r=!0),n>=-e&&-e+P>n&&(r=!0),-e>n&&o>-e+P&&(r=!0)),r&&i.push(S.slides[s]); }0==i.length&&(i=[S.slides[S.activeIndex]]),S.visibleSlides=i};var z=void 0;S.startAutoplay=function(){return"undefined"!=typeof z?!1:void(t.autoplay&&(S.callPlugins("onAutoplayStart"),y()))},S.stopAutoplay=function(e){z&&clearTimeout(z),z=void 0,e&&!t.autoplayDisableOnInteraction&&S.wrapperTransitionEnd(function(){y()}),S.callPlugins("onAutoplayStop")},S.loopCreated=!1,S.removeLoopedSlides=function(){if(S.loopCreated)for(var e=0;eS.slides.length&&(S.loopedSlides=S.slides.length);var e,i="",n="",a="",o=S.slides.length,s=Math.floor(S.loopedSlides/o),r=S.loopedSlides%o;for(e=0;s*o>e;e++){var l=e;e>=o&&(l=e-o*Math.floor(e/o)),a+=S.slides[l].outerHTML}for(e=0;r>e;e++)n+=S.slides[e].outerHTML;for(e=o-r;o>e;e++)i+=S.slides[e].outerHTML;for(_.innerHTML=i+a+_.innerHTML+a+n,S.loopCreated=!0,S.calcSlides(),e=0;e=S.slides.length-S.loopedSlides)&&S.slides[e].setData("looped",!0);S.callPlugins("onCreateLoop")}},S.fixLoop=function(){var e;S.activeIndexS.slides.length-2*t.slidesPerView&&(e=-S.slides.length+S.activeIndex+S.loopedSlides,S.swipeTo(e,0,!1))},S.loadSlides=function(){var e="";S.activeLoaderIndex=0;for(var i=t.loader.slides,n=t.loader.loadAllSlides?i.length:t.slidesPerView*(1+t.loader.surroundGroups),a=0;n>a;a++)e="outer"==t.loader.slidesHTMLType?e+i[a]:e+("<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+a+'">'+i[a]+"");S.wrapper.innerHTML=e,S.calcSlides(!0),t.loader.loadAllSlides||S.wrapperTransitionEnd(S.reloadSlides,!0)},S.reloadSlides=function(){var e=t.loader.slides,i=parseInt(S.activeSlide().data("swiperindex"),10);if(!(0>i||i>e.length-1)){S.activeLoaderIndex=i;var n=Math.max(0,i-t.slidesPerView*t.loader.surroundGroups),a=Math.min(i+t.slidesPerView*(1+t.loader.surroundGroups)-1,e.length-1);if(i>0&&(S.setWrapperTranslate(-T*(i-n)),S.setWrapperTransition(0)),"reload"===t.loader.logic){for(var o=S.wrapper.innerHTML="",i=n;a>=i;i++)o+="outer"==t.loader.slidesHTMLType?e[i]:"<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+i+'">'+e[i]+"";S.wrapper.innerHTML=o}else{for(var o=1e3,s=0,i=0;ir||r>a?S.wrapper.removeChild(S.slides[i]):(o=Math.min(r,o),s=Math.max(r,s))}for(i=n;a>=i;i++)o>i&&(n=document.createElement(t.slideElement),n.className=t.slideClass,n.setAttribute("data-swiperindex",i),n.innerHTML=e[i],S.wrapper.insertBefore(n,S.wrapper.firstChild)),i>s&&(n=document.createElement(t.slideElement),n.className=t.slideClass,n.setAttribute("data-swiperindex",i),n.innerHTML=e[i],S.wrapper.appendChild(n))}S.reInit(!0)}},S.calcSlides(),0e}(),ie10:window.navigator.msPointerEnabled}},(window.jQuery||window.Zepto)&&function(e){e.fn.swiper=function(t){return t=new Swiper(e(this)[0],t),e(this).data("swiper",t),t}}(window.jQuery||window.Zepto),"undefined"!=typeof module&&(module.exports=Swiper),!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){function t(t){var s=t||window.event,r=l.call(arguments,1),c=0,h=0,u=0,p=0,f=0,g=0;if(t=e.event.fix(s),t.type="mousewheel","detail"in s&&(u=-1*s.detail),"wheelDelta"in s&&(u=s.wheelDelta),"wheelDeltaY"in s&&(u=s.wheelDeltaY),"wheelDeltaX"in s&&(h=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(h=-1*u,u=0),c=0===u?h:u,"deltaY"in s&&(u=-1*s.deltaY,c=u),"deltaX"in s&&(h=s.deltaX,0===u&&(c=-1*h)),0!==u||0!==h){if(1===s.deltaMode){var m=e.data(this,"mousewheel-line-height");c*=m,u*=m,h*=m}else if(2===s.deltaMode){var v=e.data(this,"mousewheel-page-height");c*=v,u*=v,h*=v}if(p=Math.max(Math.abs(u),Math.abs(h)),(!o||o>p)&&(o=p,n(s,p)&&(o/=40)),n(s,p)&&(c/=40,h/=40,u/=40),c=Math[c>=1?"floor":"ceil"](c/o),h=Math[h>=1?"floor":"ceil"](h/o),u=Math[u>=1?"floor":"ceil"](u/o),d.settings.normalizeOffset&&this.getBoundingClientRect){var w=this.getBoundingClientRect();f=t.clientX-w.left,g=t.clientY-w.top}return t.deltaX=h,t.deltaY=u,t.deltaFactor=o,t.offsetX=f,t.offsetY=g,t.deltaMode=0,r.unshift(t,c,h,u),a&&clearTimeout(a),a=setTimeout(i,200),(e.event.dispatch||e.event.handle).apply(this,r)}}function i(){o=null}function n(e,t){return d.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120===0}var a,o,s=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],r="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var c=s.length;c;)e.event.fixHooks[s[--c]]=e.event.mouseHooks;var d=e.event.special.mousewheel={version:"3.1.11",setup:function(){if(this.addEventListener)for(var i=r.length;i;)this.addEventListener(r[--i],t,!1);else this.onmousewheel=t;e.data(this,"mousewheel-line-height",d.getLineHeight(this)),e.data(this,"mousewheel-page-height",d.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=r.length;i;)this.removeEventListener(r[--i],t,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var i=e(t)["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),function(e,t,i){!function(e){e(jQuery)}(function(i){var n="mCustomScrollbar",a="mCS",o=".mCustomScrollbar",s={setWidth:!1,setHeight:!1,setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,autoHideScrollbar:!1,autoExpandScrollbar:!1,alwaysShowScrollbar:0,snapAmount:null,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1,disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{enable:!1,scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,advanced:{autoExpandHorizontalScroll:!1,autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:!0,updateOnSelectorChange:!1},theme:"light",callbacks:{onScrollStart:!1,onScroll:!1,onTotalScroll:!1,onTotalScrollBack:!1,whileScrolling:!1,onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0,onOverflowY:!1,onOverflowX:!1,onOverflowYNone:!1,onOverflowXNone:!1},live:!1,liveSelector:null},r=0,l={},c=function(e){l[e]&&(clearTimeout(l[e]),p._delete.call(null,l[e]))},d=e.attachEvent&&!e.addEventListener?1:0,h=!1,u={init:function(e){var e=i.extend(!0,{},s,e),t=p._selector.call(this);if(e.live){var n=e.liveSelector||this.selector||o,d=i(n);if("off"===e.live)return void c(n);l[n]=setTimeout(function(){d.mCustomScrollbar(e),"once"===e.live&&d.length&&c(n)},500)}else c(n);return e.setWidth=e.set_width?e.set_width:e.setWidth,e.setHeight=e.set_height?e.set_height:e.setHeight,e.axis=e.horizontalScroll?"x":p._findAxis.call(null,e.axis),e.scrollInertia=e.scrollInertia>0&&e.scrollInertia<17?17:e.scrollInertia,"object"!=typeof e.mouseWheel&&1==e.mouseWheel&&(e.mouseWheel={enable:!0,scrollAmount:"auto",axis:"y",preventDefault:!1,deltaFactor:"auto",normalizeDelta:!1,invert:!1}),e.mouseWheel.scrollAmount=e.mouseWheelPixels?e.mouseWheelPixels:e.mouseWheel.scrollAmount,e.mouseWheel.normalizeDelta=e.advanced.normalizeMouseWheelDelta?e.advanced.normalizeMouseWheelDelta:e.mouseWheel.normalizeDelta,e.scrollButtons.scrollType=p._findScrollButtonsType.call(null,e.scrollButtons.scrollType),p._theme.call(null,e),i(t).each(function(){var t=i(this);if(!t.data(a)){t.data(a,{idx:++r,opt:e,scrollRatio:{y:null,x:null},overflowed:null,contentReset:{y:null,x:null},bindEvents:!1,tweenRunning:!1,sequential:{},langDir:t.css("direction"),cbOffsets:null,trigger:null});var n=t.data(a).opt,o=t.data("mcs-axis"),s=t.data("mcs-scrollbar-position"),l=t.data("mcs-theme");o&&(n.axis=o),s&&(n.scrollbarPosition=s),l&&(n.theme=l,p._theme.call(null,n)),p._pluginMarkup.call(this),u.update.call(null,t)}})},update:function(e){var t=e||p._selector.call(this);return i(t).each(function(){var e=i(this);if(e.data(a)){var t=e.data(a),n=t.opt,o=i("#mCSB_"+t.idx+"_container"),s=[i("#mCSB_"+t.idx+"_dragger_vertical"),i("#mCSB_"+t.idx+"_dragger_horizontal")];if(!o.length)return;t.tweenRunning&&p._stop.call(null,e),e.hasClass("mCS_disabled")&&e.removeClass("mCS_disabled"),e.hasClass("mCS_destroyed")&&e.removeClass("mCS_destroyed"),p._maxHeight.call(this),p._expandContentHorizontally.call(this),"y"===n.axis||n.advanced.autoExpandHorizontalScroll||o.css("width",p._contentWidth(o.children())),t.overflowed=p._overflowed.call(this),p._scrollbarVisibility.call(this),n.autoDraggerLength&&p._setDraggerLength.call(this),p._scrollRatio.call(this),p._bindEvents.call(this);var r=[Math.abs(o[0].offsetTop),Math.abs(o[0].offsetLeft)];"x"!==n.axis&&(t.overflowed[0]?s[0].height()>s[0].parent().height()?p._resetContentPosition.call(this):(p._scrollTo.call(this,e,r[0].toString(),{dir:"y",dur:0,overwrite:"none"}),t.contentReset.y=null):(p._resetContentPosition.call(this),"y"===n.axis?p._unbindEvents.call(this):"yx"===n.axis&&t.overflowed[1]&&p._scrollTo.call(this,e,r[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==n.axis&&(t.overflowed[1]?s[1].width()>s[1].parent().width()?p._resetContentPosition.call(this):(p._scrollTo.call(this,e,r[1].toString(),{dir:"x",dur:0,overwrite:"none"}),t.contentReset.x=null):(p._resetContentPosition.call(this),"x"===n.axis?p._unbindEvents.call(this):"yx"===n.axis&&t.overflowed[0]&&p._scrollTo.call(this,e,r[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),p._autoUpdate.call(this)}})},scrollTo:function(e,t){if("undefined"!=typeof e&&null!=e){var n=p._selector.call(this);return i(n).each(function(){var n=i(this);if(n.data(a)){var o=n.data(a),s=o.opt,r={trigger:"external",scrollInertia:s.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},l=i.extend(!0,{},r,t),c=p._arr.call(this,e),d=l.scrollInertia>0&&l.scrollInertia<17?17:l.scrollInertia;c[0]=p._to.call(this,c[0],"y"),c[1]=p._to.call(this,c[1],"x"),l.moveDragger&&(c[0]*=o.scrollRatio.y,c[1]*=o.scrollRatio.x),l.dur=d,setTimeout(function(){null!==c[0]&&"undefined"!=typeof c[0]&&"x"!==s.axis&&o.overflowed[0]&&(l.dir="y",l.overwrite="all",p._scrollTo.call(this,n,c[0].toString(),l)),null!==c[1]&&"undefined"!=typeof c[1]&&"y"!==s.axis&&o.overflowed[1]&&(l.dir="x",l.overwrite="none",p._scrollTo.call(this,n,c[1].toString(),l))},l.timeout)}})}},stop:function(){var e=p._selector.call(this);return i(e).each(function(){var e=i(this);e.data(a)&&p._stop.call(null,e)})},disable:function(e){var t=p._selector.call(this);return i(t).each(function(){var t=i(this);if(t.data(a)){var n=t.data(a);n.opt;p._autoUpdate.call(this,"remove"),p._unbindEvents.call(this),e&&p._resetContentPosition.call(this),p._scrollbarVisibility.call(this,!0),t.addClass("mCS_disabled")}})},destroy:function(){var e=p._selector.call(this);return i(e).each(function(){var t=i(this);if(t.data(a)){var o=t.data(a),s=o.opt,r=i("#mCSB_"+o.idx),l=i("#mCSB_"+o.idx+"_container"),d=i(".mCSB_"+o.idx+"_scrollbar");s.live&&c(e),p._autoUpdate.call(this,"remove"),p._unbindEvents.call(this),p._resetContentPosition.call(this),t.removeData(a),p._delete.call(null,this.mcs),d.remove(),r.replaceWith(l.contents()),t.removeClass(n+" _"+a+"_"+o.idx+" mCS-autoHide mCS-dir-rtl mCS_no_scrollbar mCS_disabled").addClass("mCS_destroyed")}})}},p={_selector:function(){return"object"!=typeof i(this)||i(this).length<1?o:this},_theme:function(e){var t=["rounded","rounded-dark","rounded-dots","rounded-dots-dark"],n=["rounded-dots","rounded-dots-dark","3d","3d-dark","3d-thick","3d-thick-dark","inset","inset-dark","inset-2","inset-2-dark","inset-3","inset-3-dark"],a=["minimal","minimal-dark"],o=["minimal","minimal-dark"],s=["minimal","minimal-dark"];e.autoDraggerLength=i.inArray(e.theme,t)>-1?!1:e.autoDraggerLength,e.autoExpandScrollbar=i.inArray(e.theme,n)>-1?!1:e.autoExpandScrollbar,e.scrollButtons.enable=i.inArray(e.theme,a)>-1?!1:e.scrollButtons.enable,e.autoHideScrollbar=i.inArray(e.theme,o)>-1?!0:e.autoHideScrollbar,e.scrollbarPosition=i.inArray(e.theme,s)>-1?"outside":e.scrollbarPosition},_findAxis:function(e){return"yx"===e||"xy"===e||"auto"===e?"yx":"x"===e||"horizontal"===e?"x":"y"},_findScrollButtonsType:function(e){return"stepped"===e||"pixels"===e||"step"===e||"click"===e?"stepped":"stepless"},_pluginMarkup:function(){var e=i(this),t=e.data(a),o=t.opt,s=o.autoExpandScrollbar?" mCSB_scrollTools_onDrag_expand":"",r=["
              ","
              "],l="yx"===o.axis?"mCSB_vertical_horizontal":"x"===o.axis?"mCSB_horizontal":"mCSB_vertical",c="yx"===o.axis?r[0]+r[1]:"x"===o.axis?r[1]:r[0],d="yx"===o.axis?"
              ":"",h=o.autoHideScrollbar?" mCS-autoHide":"",u="x"!==o.axis&&"rtl"===t.langDir?" mCS-dir-rtl":"";o.setWidth&&e.css("width",o.setWidth),o.setHeight&&e.css("height",o.setHeight),o.setLeft="y"!==o.axis&&"rtl"===t.langDir?"989999px":o.setLeft,e.addClass(n+" _"+a+"_"+t.idx+h+u).wrapInner("
              ");var f=i("#mCSB_"+t.idx),g=i("#mCSB_"+t.idx+"_container");"y"===o.axis||o.advanced.autoExpandHorizontalScroll||g.css("width",p._contentWidth(g.children())),"outside"===o.scrollbarPosition?("static"===e.css("position")&&e.css("position","relative"),e.css("overflow","visible"),f.addClass("mCSB_outside").after(c)):(f.addClass("mCSB_inside").append(c),g.wrap(d)),p._scrollButtons.call(this);var m=[i("#mCSB_"+t.idx+"_dragger_vertical"),i("#mCSB_"+t.idx+"_dragger_horizontal")];m[0].css("min-height",m[0].height()),m[1].css("min-width",m[1].width())},_contentWidth:function(e){return Math.max.apply(Math,e.map(function(){return i(this).outerWidth(!0)}).get())},_expandContentHorizontally:function(){var e=i(this),t=e.data(a),n=t.opt,o=i("#mCSB_"+t.idx+"_container");n.advanced.autoExpandHorizontalScroll&&"y"!==n.axis&&o.css({position:"absolute",width:"auto"}).wrap("
              ").css({width:Math.ceil(o[0].getBoundingClientRect().right+.4)-Math.floor(o[0].getBoundingClientRect().left),position:"relative"}).unwrap()},_scrollButtons:function(){var e=i(this),t=e.data(a),n=t.opt,o=i(".mCSB_"+t.idx+"_scrollbar:first"),s=["","","",""],r=["x"===n.axis?s[2]:s[0],"x"===n.axis?s[3]:s[1],s[2],s[3]];n.scrollButtons.enable&&o.prepend(r[0]).append(r[1]).next(".mCSB_scrollTools").prepend(r[2]).append(r[3])},_maxHeight:function(){var e=i(this),t=e.data(a),n=(t.opt,i("#mCSB_"+t.idx)),o=e.css("max-height"),s=-1!==o.indexOf("%"),r=e.css("box-sizing");if("none"!==o){var l=s?e.parent().height()*parseInt(o)/100:parseInt(o);"border-box"===r&&(l-=e.innerHeight()-e.height()+(e.outerHeight()-e.innerHeight())),n.css("max-height",Math.round(l))}},_setDraggerLength:function(){var e=i(this),t=e.data(a),n=i("#mCSB_"+t.idx),o=i("#mCSB_"+t.idx+"_container"),s=[i("#mCSB_"+t.idx+"_dragger_vertical"),i("#mCSB_"+t.idx+"_dragger_horizontal")],r=[n.height()/o.outerHeight(!1),n.width()/o.outerWidth(!1)],l=[parseInt(s[0].css("min-height")),Math.round(r[0]*s[0].parent().height()),parseInt(s[1].css("min-width")),Math.round(r[1]*s[1].parent().width())],c=d&&l[1]n.height(),r>n.width()]},_resetContentPosition:function(){var e=i(this),t=e.data(a),n=t.opt,o=i("#mCSB_"+t.idx),s=i("#mCSB_"+t.idx+"_container"),r=[i("#mCSB_"+t.idx+"_dragger_vertical"),i("#mCSB_"+t.idx+"_dragger_horizontal")];if(p._stop(e),("x"!==n.axis&&!t.overflowed[0]||"y"===n.axis&&t.overflowed[0])&&(r[0].add(s).css("top",0),p._scrollTo(e,"_resetY")),"y"!==n.axis&&!t.overflowed[1]||"x"===n.axis&&t.overflowed[1]){var l=dx=0;"rtl"===t.langDir&&(l=o.width()-s.outerWidth(!1),dx=Math.abs(l/t.scrollRatio.x)),s.css("left",l),r[1].css("left",dx),p._scrollTo(e,"_resetX")}},_bindEvents:function(){function e(){s=setTimeout(function(){i.event.special.mousewheel?(clearTimeout(s),p._mousewheel.call(t[0])):e()},1e3)}var t=i(this),n=t.data(a),o=n.opt;if(!n.bindEvents){if(p._draggable.call(this),o.contentTouchScroll&&p._contentDraggable.call(this),o.mouseWheel.enable){var s;e()}p._draggerRail.call(this),p._wrapperScroll.call(this),o.advanced.autoScrollOnFocus&&p._focus.call(this),o.scrollButtons.enable&&p._buttons.call(this),o.keyboard.enable&&p._keyboard.call(this),n.bindEvents=!0}},_unbindEvents:function(){var e=i(this),n=e.data(a),o=a+"_"+n.idx,s=".mCSB_"+n.idx+"_scrollbar",r=i("#mCSB_"+n.idx+",#mCSB_"+n.idx+"_container,#mCSB_"+n.idx+"_container_wrapper,"+s+" .mCSB_draggerContainer,#mCSB_"+n.idx+"_dragger_vertical,#mCSB_"+n.idx+"_dragger_horizontal,"+s+">a"),l=i("#mCSB_"+n.idx+"_container");n.bindEvents&&(i(t).unbind("."+o),r.each(function(){i(this).unbind("."+o)}),clearTimeout(e[0]._focusTimeout),p._delete.call(null,e[0]._focusTimeout),clearTimeout(n.sequential.step),p._delete.call(null,n.sequential.step),clearTimeout(l[0].onCompleteTimeout),p._delete.call(null,l[0].onCompleteTimeout),n.bindEvents=!1)},_scrollbarVisibility:function(e){var t=i(this),n=t.data(a),o=n.opt,s=i("#mCSB_"+n.idx+"_container_wrapper"),r=s.length?s:i("#mCSB_"+n.idx+"_container"),l=[i("#mCSB_"+n.idx+"_scrollbar_vertical"),i("#mCSB_"+n.idx+"_scrollbar_horizontal")],c=[l[0].find(".mCSB_dragger"),l[1].find(".mCSB_dragger")];"x"!==o.axis&&(n.overflowed[0]&&!e?(l[0].add(c[0]).add(l[0].children("a")).css("display","block"),r.removeClass("mCS_no_scrollbar_y mCS_y_hidden")):(o.alwaysShowScrollbar?(2!==o.alwaysShowScrollbar&&c[0].add(l[0].children("a")).css("display","none"),r.removeClass("mCS_y_hidden")):(l[0].css("display","none"),r.addClass("mCS_y_hidden")),r.addClass("mCS_no_scrollbar_y"))),"y"!==o.axis&&(n.overflowed[1]&&!e?(l[1].add(c[1]).add(l[1].children("a")).css("display","block"),r.removeClass("mCS_no_scrollbar_x mCS_x_hidden")):(o.alwaysShowScrollbar?(2!==o.alwaysShowScrollbar&&c[1].add(l[1].children("a")).css("display","none"),r.removeClass("mCS_x_hidden")):(l[1].css("display","none"),r.addClass("mCS_x_hidden")),r.addClass("mCS_no_scrollbar_x"))),n.overflowed[0]||n.overflowed[1]?t.removeClass("mCS_no_scrollbar"):t.addClass("mCS_no_scrollbar")},_coordinates:function(e){var t=e.type;switch(t){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return[e.originalEvent.pageY,e.originalEvent.pageX];case"touchstart":case"touchmove":case"touchend":var i=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0];return[i.pageY,i.pageX];default:return[e.pageY,e.pageX]}},_draggable:function(){function e(e){var t=m.find("iframe");if(t.length){var i=e?"auto":"none";t.css("pointer-events",i)}}function n(e,t,i,n){if(m[0].idleTimer=u.scrollInertia<233?250:0,o.attr("id")===g[1])var a="x",s=(o[0].offsetLeft-t+n)*c.scrollRatio.x;else var a="y",s=(o[0].offsetTop-e+i)*c.scrollRatio.y;p._scrollTo(l,s.toString(),{dir:a,drag:!0})}var o,s,r,l=i(this),c=l.data(a),u=c.opt,f=a+"_"+c.idx,g=["mCSB_"+c.idx+"_dragger_vertical","mCSB_"+c.idx+"_dragger_horizontal"],m=i("#mCSB_"+c.idx+"_container"),v=i("#"+g[0]+",#"+g[1]);v.bind("mousedown."+f+" touchstart."+f+" pointerdown."+f+" MSPointerDown."+f,function(n){if(n.stopImmediatePropagation(),n.preventDefault(),p._mouseBtnLeft(n)){h=!0,d&&(t.onselectstart=function(){return!1}),e(!1),p._stop(l),o=i(this);var a=o.offset(),c=p._coordinates(n)[0]-a.top,f=p._coordinates(n)[1]-a.left,g=o.height()+a.top,m=o.width()+a.left;g>c&&c>0&&m>f&&f>0&&(s=c,r=f),p._onDragClasses(o,"active",u.autoExpandScrollbar)}}).bind("touchmove."+f,function(e){e.stopImmediatePropagation(),e.preventDefault();var t=o.offset(),i=p._coordinates(e)[0]-t.top,a=p._coordinates(e)[1]-t.left;n(s,r,i,a)}),i(t).bind("mousemove."+f+" pointermove."+f+" MSPointerMove."+f,function(e){if(o){var t=o.offset(),i=p._coordinates(e)[0]-t.top,a=p._coordinates(e)[1]-t.left;if(s===i)return;n(s,r,i,a)}}).add(v).bind("mouseup."+f+" touchend."+f+" pointerup."+f+" MSPointerUp."+f,function(i){o&&(p._onDragClasses(o,"active",u.autoExpandScrollbar),o=null),h=!1,d&&(t.onselectstart=null),e(!0)})},_contentDraggable:function(){function e(e,t){var i=[1.5*t,2*t,t/1.5,t/2];return e>90?t>4?i[0]:i[3]:e>60?t>3?i[3]:i[2]:e>30?t>8?i[1]:t>6?i[0]:t>4?t:i[2]:t>8?t:i[3]}function t(e,t,i,n,a,o){e&&p._scrollTo(v,e.toString(),{dur:t,scrollEasing:i,dir:n,overwrite:a,drag:o})}var n,o,s,r,l,c,d,u,f,g,m,v=i(this),w=v.data(a),b=w.opt,x=a+"_"+w.idx,y=i("#mCSB_"+w.idx),C=i("#mCSB_"+w.idx+"_container"),S=[i("#mCSB_"+w.idx+"_dragger_vertical"),i("#mCSB_"+w.idx+"_dragger_horizontal")],_=[],T=[],k=0,E="yx"===b.axis?"none":"all";C.bind("touchstart."+x+" pointerdown."+x+" MSPointerDown."+x,function(e){if(p._pointerTouch(e)&&!h){var t=C.offset();n=p._coordinates(e)[0]-t.top,o=p._coordinates(e)[1]-t.left}}).bind("touchmove."+x+" pointermove."+x+" MSPointerMove."+x,function(e){if(p._pointerTouch(e)&&!h){e.stopImmediatePropagation(),c=p._getTime();var i=y.offset(),a=p._coordinates(e)[0]-i.top,s=p._coordinates(e)[1]-i.left,r="mcsLinearOut";if(_.push(a),T.push(s),w.overflowed[0])var l=S[0].parent().height()-S[0].height(),d=n-a>0&&a-n>-(l*w.scrollRatio.y);if(w.overflowed[1])var u=S[1].parent().width()-S[1].width(),f=o-s>0&&s-o>-(u*w.scrollRatio.x);(d||f)&&e.preventDefault(),g="yx"===b.axis?[n-a,o-s]:"x"===b.axis?[null,o-s]:[n-a,null],C[0].idleTimer=250,w.overflowed[0]&&t(g[0],k,r,"y","all",!0),w.overflowed[1]&&t(g[1],k,r,"x",E,!0)}}),y.bind("touchstart."+x+" pointerdown."+x+" MSPointerDown."+x,function(e){if(p._pointerTouch(e)&&!h){e.stopImmediatePropagation(),p._stop(v),l=p._getTime();var t=y.offset();s=p._coordinates(e)[0]-t.top,r=p._coordinates(e)[1]-t.left,_=[],T=[]}}).bind("touchend."+x+" pointerup."+x+" MSPointerUp."+x,function(i){if(p._pointerTouch(i)&&!h){i.stopImmediatePropagation(),d=p._getTime();var n=y.offset(),a=p._coordinates(i)[0]-n.top,o=p._coordinates(i)[1]-n.left;if(!(d-c>30)){f=1e3/(d-l);var v="mcsEaseOut",x=2.5>f,S=x?[_[_.length-2],T[T.length-2]]:[0,0];u=x?[a-S[0],o-S[1]]:[a-s,o-r];var k=[Math.abs(u[0]),Math.abs(u[1])];f=x?[Math.abs(u[0]/4),Math.abs(u[1]/4)]:[f,f];var M=[Math.abs(C[0].offsetTop)-u[0]*e(k[0]/f[0],f[0]),Math.abs(C[0].offsetLeft)-u[1]*e(k[1]/f[1],f[1])];g="yx"===b.axis?[M[0],M[1]]:"x"===b.axis?[null,M[1]]:[M[0],null],m=[4*k[0]+b.scrollInertia,4*k[1]+b.scrollInertia];var P=parseInt(b.contentTouchScroll)||0;g[0]=k[0]>P?g[0]:0,g[1]=k[1]>P?g[1]:0,w.overflowed[0]&&t(g[0],m[0],v,"y",E,!1),w.overflowed[1]&&t(g[1],m[1],v,"x",E,!1)}}})},_mousewheel:function(){function e(e){var t=null;try{var i=e.contentDocument||e.contentWindow.document;t=i.body.innerHTML}catch(n){}return null!==t}var t=i(this),n=t.data(a);if(n){var o=n.opt,s=a+"_"+n.idx,r=i("#mCSB_"+n.idx),l=[i("#mCSB_"+n.idx+"_dragger_vertical"),i("#mCSB_"+n.idx+"_dragger_horizontal")],c=i("#mCSB_"+n.idx+"_container").find("iframe"),h=r; c.length&&c.each(function(){var t=this;e(t)&&(h=h.add(i(t).contents().find("body")))}),h.bind("mousewheel."+s,function(e,a){if(p._stop(t),!p._disableMousewheel(t,e.target)){var s="auto"!==o.mouseWheel.deltaFactor?parseInt(o.mouseWheel.deltaFactor):d&&e.deltaFactor<100?100:e.deltaFactor||100;if("x"===o.axis||"x"===o.mouseWheel.axis)var c="x",h=[Math.round(s*n.scrollRatio.x),parseInt(o.mouseWheel.scrollAmount)],u="auto"!==o.mouseWheel.scrollAmount?h[1]:h[0]>=r.width()?.9*r.width():h[0],f=Math.abs(i("#mCSB_"+n.idx+"_container")[0].offsetLeft),g=l[1][0].offsetLeft,m=l[1].parent().width()-l[1].width(),v=e.deltaX||e.deltaY||a;else var c="y",h=[Math.round(s*n.scrollRatio.y),parseInt(o.mouseWheel.scrollAmount)],u="auto"!==o.mouseWheel.scrollAmount?h[1]:h[0]>=r.height()?.9*r.height():h[0],f=Math.abs(i("#mCSB_"+n.idx+"_container")[0].offsetTop),g=l[0][0].offsetTop,m=l[0].parent().height()-l[0].height(),v=e.deltaY||a;"y"===c&&!n.overflowed[0]||"x"===c&&!n.overflowed[1]||(o.mouseWheel.invert&&(v=-v),o.mouseWheel.normalizeDelta&&(v=0>v?-1:1),(v>0&&0!==g||0>v&&g!==m||o.mouseWheel.preventDefault)&&(e.stopImmediatePropagation(),e.preventDefault()),p._scrollTo(t,(f-v*u).toString(),{dir:c}))}})}},_disableMousewheel:function(e,t){var n=t.nodeName.toLowerCase(),o=e.data(a).opt.mouseWheel.disableOver,s=["select","textarea"];return i.inArray(n,o)>-1&&!(i.inArray(n,s)>-1&&!i(t).is(":focus"))},_draggerRail:function(){var e=i(this),t=e.data(a),n=a+"_"+t.idx,o=i("#mCSB_"+t.idx+"_container"),s=o.parent(),r=i(".mCSB_"+t.idx+"_scrollbar .mCSB_draggerContainer");r.bind("touchstart."+n+" pointerdown."+n+" MSPointerDown."+n,function(e){h=!0}).bind("touchend."+n+" pointerup."+n+" MSPointerUp."+n,function(e){h=!1}).bind("click."+n,function(n){if(i(n.target).hasClass("mCSB_draggerContainer")||i(n.target).hasClass("mCSB_draggerRail")){p._stop(e);var a=i(this),r=a.find(".mCSB_dragger");if(a.parent(".mCSB_scrollTools_horizontal").length>0){if(!t.overflowed[1])return;var l="x",c=n.pageX>r.offset().left?-1:1,d=Math.abs(o[0].offsetLeft)-c*(.9*s.width())}else{if(!t.overflowed[0])return;var l="y",c=n.pageY>r.offset().top?-1:1,d=Math.abs(o[0].offsetTop)-c*(.9*s.height())}p._scrollTo(e,d.toString(),{dir:l,scrollEasing:"mcsEaseInOut"})}})},_focus:function(){var e=i(this),n=e.data(a),o=n.opt,s=a+"_"+n.idx,r=i("#mCSB_"+n.idx+"_container"),l=r.parent();r.bind("focusin."+s,function(n){var a=i(t.activeElement),s=r.find(".mCustomScrollBox").length,c=0;a.is(o.advanced.autoScrollOnFocus)&&(p._stop(e),clearTimeout(e[0]._focusTimeout),e[0]._focusTimer=s?(c+17)*s:0,e[0]._focusTimeout=setTimeout(function(){var t=[a.offset().top-r.offset().top,a.offset().left-r.offset().left],i=[r[0].offsetTop,r[0].offsetLeft],n=[i[0]+t[0]>=0&&i[0]+t[0]=0&&i[0]+t[1]a");l.bind("mousedown."+s+" touchstart."+s+" pointerdown."+s+" MSPointerDown."+s+" mouseup."+s+" touchend."+s+" pointerup."+s+" MSPointerUp."+s+" mouseout."+s+" pointerout."+s+" MSPointerOut."+s+" click."+s,function(a){function s(t,i){o.scrollAmount=n.snapAmount||n.scrollButtons.scrollAmount,p._sequentialScroll.call(this,e,t,i)}if(a.preventDefault(),p._mouseBtnLeft(a)){var r=i(this).attr("class");switch(o.type=n.scrollButtons.scrollType,a.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===o.type)return;h=!0,t.tweenRunning=!1,s("on",r);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===o.type)return;h=!1,o.dir&&s("off",r);break;case"click":if("stepped"!==o.type||t.tweenRunning)return;s("on",r)}}})},_keyboard:function(){var e=i(this),n=e.data(a),o=n.opt,s=n.sequential,r=a+"_"+n.idx,l=i("#mCSB_"+n.idx),c=i("#mCSB_"+n.idx+"_container"),d=c.parent(),h="input,textarea,select,datalist,keygen,[contenteditable='true']";l.attr("tabindex","0").bind("blur."+r+" keydown."+r+" keyup."+r,function(a){function r(t,i){s.type=o.keyboard.scrollType,s.scrollAmount=o.snapAmount||o.keyboard.scrollAmount,"stepped"===s.type&&n.tweenRunning||p._sequentialScroll.call(this,e,t,i)}switch(a.type){case"blur":n.tweenRunning&&s.dir&&r("off",null);break;case"keydown":case"keyup":var l=a.keyCode?a.keyCode:a.which,u="on";if("x"!==o.axis&&(38===l||40===l)||"y"!==o.axis&&(37===l||39===l)){if((38===l||40===l)&&!n.overflowed[0]||(37===l||39===l)&&!n.overflowed[1])return;"keyup"===a.type&&(u="off"),i(t.activeElement).is(h)||(a.preventDefault(),a.stopImmediatePropagation(),r(u,l))}else if(33===l||34===l){if((n.overflowed[0]||n.overflowed[1])&&(a.preventDefault(),a.stopImmediatePropagation()),"keyup"===a.type){p._stop(e);var f=34===l?-1:1;if("x"===o.axis||"yx"===o.axis&&n.overflowed[1]&&!n.overflowed[0])var g="x",m=Math.abs(c[0].offsetLeft)-f*(.9*d.width());else var g="y",m=Math.abs(c[0].offsetTop)-f*(.9*d.height());p._scrollTo(e,m.toString(),{dir:g,scrollEasing:"mcsEaseInOut"})}}else if((35===l||36===l)&&!i(t.activeElement).is(h)&&((n.overflowed[0]||n.overflowed[1])&&(a.preventDefault(),a.stopImmediatePropagation()),"keyup"===a.type)){if("x"===o.axis||"yx"===o.axis&&n.overflowed[1]&&!n.overflowed[0])var g="x",m=35===l?Math.abs(d.width()-c.outerWidth(!1)):0;else var g="y",m=35===l?Math.abs(d.height()-c.outerHeight(!1)):0;p._scrollTo(e,m.toString(),{dir:g,scrollEasing:"mcsEaseInOut"})}}})},_sequentialScroll:function(e,t,n){function o(t){var i="stepped"!==c.type,n=t?i?l.scrollInertia/1.5:l.scrollInertia:1e3/60,a=t?i?7.5:40:2.5,s=[Math.abs(d[0].offsetTop),Math.abs(d[0].offsetLeft)],h=[r.scrollRatio.y>10?10:r.scrollRatio.y,r.scrollRatio.x>10?10:r.scrollRatio.x],u="x"===c.dir[0]?s[1]+c.dir[1]*(h[1]*a):s[0]+c.dir[1]*(h[0]*a),f="x"===c.dir[0]?s[1]+c.dir[1]*parseInt(c.scrollAmount):s[0]+c.dir[1]*parseInt(c.scrollAmount),g="auto"!==c.scrollAmount?f:u,m=t?i?"mcsLinearOut":"mcsEaseInOut":"mcsLinear",v=t?!0:!1;return t&&17>n&&(g="x"===c.dir[0]?s[1]:s[0]),p._scrollTo(e,g.toString(),{dir:c.dir[0],scrollEasing:m,dur:n,onComplete:v}),t?void(c.dir=!1):(clearTimeout(c.step),void(c.step=setTimeout(function(){o()},n)))}function s(){clearTimeout(c.step),p._stop(e)}var r=e.data(a),l=r.opt,c=r.sequential,d=i("#mCSB_"+r.idx+"_container"),h="stepped"===c.type?!0:!1;switch(t){case"on":if(c.dir=["mCSB_buttonRight"===n||"mCSB_buttonLeft"===n||39===n||37===n?"x":"y","mCSB_buttonUp"===n||"mCSB_buttonLeft"===n||38===n||37===n?-1:1],p._stop(e),p._isNumeric(n)&&"stepped"===c.type)return;o(h);break;case"off":s(),(h||r.tweenRunning&&c.dir)&&o(!0)}},_arr:function(e){var t=i(this).data(a).opt,n=[];return"function"==typeof e&&(e=e()),e instanceof Array?n=e.length>1?[e[0],e[1]]:"x"===t.axis?[null,e[0]]:[e[0],null]:(n[0]=e.y?e.y:e.x||"x"===t.axis?null:e,n[1]=e.x?e.x:e.y||"y"===t.axis?null:e),"function"==typeof n[0]&&(n[0]=n[0]()),"function"==typeof n[1]&&(n[1]=n[1]()),n},_to:function(e,t){if(null!=e&&"undefined"!=typeof e){var n=i(this),o=n.data(a),s=o.opt,r=i("#mCSB_"+o.idx+"_container"),l=r.parent(),c=typeof e;t||(t="x"===s.axis?"x":"y");var d="x"===t?r.outerWidth(!1):r.outerHeight(!1),h="x"===t?r.offset().left:r.offset().top,f="x"===t?r[0].offsetLeft:r[0].offsetTop,g="x"===t?"left":"top";switch(c){case"function":return e();case"object":if(e.nodeType)var m="x"===t?i(e).offset().left:i(e).offset().top;else if(e.jquery){if(!e.length)return;var m="x"===t?e.offset().left:e.offset().top}return m-h;case"string":case"number":if(p._isNumeric.call(null,e))return Math.abs(e);if(-1!==e.indexOf("%"))return Math.abs(d*parseInt(e)/100);if(-1!==e.indexOf("-="))return Math.abs(f-parseInt(e.split("-=")[1]));if(-1!==e.indexOf("+=")){var v=f+parseInt(e.split("+=")[1]);return v>=0?0:Math.abs(v)}if(-1!==e.indexOf("px")&&p._isNumeric.call(null,e.split("px")[0]))return Math.abs(e.split("px")[0]);if("top"===e||"left"===e)return 0;if("bottom"===e)return Math.abs(l.height()-r.outerHeight(!1));if("right"===e)return Math.abs(l.width()-r.outerWidth(!1));if("first"===e||"last"===e){var w=r.find(":"+e),m="x"===t?i(w).offset().left:i(w).offset().top;return m-h}if(i(e).length){var m="x"===t?i(e).offset().left:i(e).offset().top;return m-h}return r.css(g,e),void u.update.call(null,n[0])}}},_autoUpdate:function(e){function t(){clearTimeout(h[0].autoUpdate),h[0].autoUpdate=setTimeout(function(){return d.advanced.updateOnSelectorChange&&(f=s(),f!==x)?(r(),void(x=f)):(d.advanced.updateOnContentResize&&(g=[h.outerHeight(!1),h.outerWidth(!1),v.height(),v.width(),b()[0],b()[1]],(g[0]!==y[0]||g[1]!==y[1]||g[2]!==y[2]||g[3]!==y[3]||g[4]!==y[4]||g[5]!==y[5])&&(r(),y=g)),d.advanced.updateOnImageLoad&&(m=n(),m!==C&&(h.find("img").each(function(){o(this.src)}),C=m)),void((d.advanced.updateOnSelectorChange||d.advanced.updateOnContentResize||d.advanced.updateOnImageLoad)&&t()))},60)}function n(){var e=0;return d.advanced.updateOnImageLoad&&(e=h.find("img").length),e}function o(e){function t(e,t){return function(){return t.apply(e,arguments)}}function i(){this.onload=null,r()}var n=new Image;n.onload=t(n,i),n.src=e}function s(){d.advanced.updateOnSelectorChange===!0&&(d.advanced.updateOnSelectorChange="*");var e=0,t=h.find(d.advanced.updateOnSelectorChange);return d.advanced.updateOnSelectorChange&&t.length>0&&t.each(function(){e+=i(this).height()+i(this).width()}),e}function r(){clearTimeout(h[0].autoUpdate),u.update.call(null,l[0])}var l=i(this),c=l.data(a),d=c.opt,h=i("#mCSB_"+c.idx+"_container");if(e)return clearTimeout(h[0].autoUpdate),void p._delete.call(null,h[0].autoUpdate);var f,g,m,v=h.parent(),w=[i("#mCSB_"+c.idx+"_scrollbar_vertical"),i("#mCSB_"+c.idx+"_scrollbar_horizontal")],b=function(){return[w[0].is(":visible")?w[0].outerHeight(!0):0,w[1].is(":visible")?w[1].outerWidth(!0):0]},x=s(),y=[h.outerHeight(!1),h.outerWidth(!1),v.height(),v.width(),b()[0],b()[1]],C=n();t()},_snapAmount:function(e,t,i){return Math.round(e/t)*t-i},_stop:function(e){var t=e.data(a),n=i("#mCSB_"+t.idx+"_container,#mCSB_"+t.idx+"_container_wrapper,#mCSB_"+t.idx+"_dragger_vertical,#mCSB_"+t.idx+"_dragger_horizontal");n.each(function(){p._stopTween.call(this)})},_scrollTo:function(e,t,n){function o(e){return l&&c.callbacks[e]&&"function"==typeof c.callbacks[e]}function s(){return[c.callbacks.alwaysTriggerOffsets||b>=x[0]+C,c.callbacks.alwaysTriggerOffsets||-S>=b]}function r(){var t=[f[0].offsetTop,f[0].offsetLeft],i=[v[0].offsetTop,v[0].offsetLeft],a=[f.outerHeight(!1),f.outerWidth(!1)],o=[u.height(),u.width()];e[0].mcs={content:f,top:t[0],left:t[1],draggerTop:i[0],draggerLeft:i[1],topPct:Math.round(100*Math.abs(t[0])/(Math.abs(a[0])-o[0])),leftPct:Math.round(100*Math.abs(t[1])/(Math.abs(a[1])-o[1])),direction:n.dir}}var l=e.data(a),c=l.opt,d={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:c.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},n=i.extend(d,n),h=[n.dur,n.drag?0:n.dur],u=i("#mCSB_"+l.idx),f=i("#mCSB_"+l.idx+"_container"),g=c.callbacks.onTotalScrollOffset?p._arr.call(e,c.callbacks.onTotalScrollOffset):[0,0],m=c.callbacks.onTotalScrollBackOffset?p._arr.call(e,c.callbacks.onTotalScrollBackOffset):[0,0];if(l.trigger=n.trigger,"_resetY"!==t||l.contentReset.y||(o("onOverflowYNone")&&c.callbacks.onOverflowYNone.call(e[0]),l.contentReset.y=1),"_resetX"!==t||l.contentReset.x||(o("onOverflowXNone")&&c.callbacks.onOverflowXNone.call(e[0]),l.contentReset.x=1),"_resetY"!==t&&"_resetX"!==t){switch(!l.contentReset.y&&e[0].mcs||!l.overflowed[0]||(o("onOverflowY")&&c.callbacks.onOverflowY.call(e[0]),l.contentReset.x=null),!l.contentReset.x&&e[0].mcs||!l.overflowed[1]||(o("onOverflowX")&&c.callbacks.onOverflowX.call(e[0]),l.contentReset.x=null),c.snapAmount&&(t=p._snapAmount(t,c.snapAmount,c.snapOffset)),n.dir){case"x":var v=i("#mCSB_"+l.idx+"_dragger_horizontal"),w="left",b=f[0].offsetLeft,x=[u.width()-f.outerWidth(!1),v.parent().width()-v.width()],y=[t,0===t?0:t/l.scrollRatio.x],C=g[1],S=m[1],_=C>0?C/l.scrollRatio.x:0,T=S>0?S/l.scrollRatio.x:0;break;case"y":var v=i("#mCSB_"+l.idx+"_dragger_vertical"),w="top",b=f[0].offsetTop,x=[u.height()-f.outerHeight(!1),v.parent().height()-v.height()],y=[t,0===t?0:t/l.scrollRatio.y],C=g[0],S=m[0],_=C>0?C/l.scrollRatio.y:0,T=S>0?S/l.scrollRatio.y:0}y[1]<0||0===y[0]&&0===y[1]?y=[0,0]:y[1]>=x[1]?y=[x[0],x[1]]:y[0]=-y[0],e[0].mcs||r(),clearTimeout(f[0].onCompleteTimeout),(l.tweenRunning||!(0===b&&y[0]>=0||b===x[0]&&y[0]<=x[0]))&&(p._tweenTo.call(null,v[0],w,Math.round(y[1]),h[1],n.scrollEasing),p._tweenTo.call(null,f[0],w,Math.round(y[0]),h[0],n.scrollEasing,n.overwrite,{onStart:function(){n.callbacks&&n.onStart&&!l.tweenRunning&&(o("onScrollStart")&&(r(),c.callbacks.onScrollStart.call(e[0])),l.tweenRunning=!0,p._onDragClasses(v),l.cbOffsets=s())},onUpdate:function(){n.callbacks&&n.onUpdate&&o("whileScrolling")&&(r(),c.callbacks.whileScrolling.call(e[0]))},onComplete:function(){if(n.callbacks&&n.onComplete){"yx"===c.axis&&clearTimeout(f[0].onCompleteTimeout);var t=f[0].idleTimer||0;f[0].onCompleteTimeout=setTimeout(function(){o("onScroll")&&(r(),c.callbacks.onScroll.call(e[0])),o("onTotalScroll")&&y[1]>=x[1]-_&&l.cbOffsets[0]&&(r(),c.callbacks.onTotalScroll.call(e[0])),o("onTotalScrollBack")&&y[1]<=T&&l.cbOffsets[1]&&(r(),c.callbacks.onTotalScrollBack.call(e[0])),l.tweenRunning=!1,f[0].idleTimer=0,p._onDragClasses(v,"hide")},t)}}}))}},_tweenTo:function(t,i,n,a,o,s,r){function l(){t._mcsstop||(x||m.call(),x=p._getTime()-b,c(),x>=t._mcstime&&(t._mcstime=x>t._mcstime?x+f-(x-t._mcstime):x+f-1,t._mcstime0?(t._mcscurrVal=u(t._mcstime,y,S,a,o),C[i]=Math.round(t._mcscurrVal)+"px"):C[i]=n+"px",v.call()}function d(){f=1e3/60,t._mcstime=x+f,g=e.requestAnimationFrame?e.requestAnimationFrame:function(e){return c(),setTimeout(e,.01)},t._mcsid=g(l)}function h(){null!=t._mcsid&&(e.requestAnimationFrame?e.cancelAnimationFrame(t._mcsid):clearTimeout(t._mcsid),t._mcsid=null)}function u(e,t,i,n,a){switch(a){case"linear":case"mcsLinear":return i*e/n+t;case"mcsLinearOut":return e/=n,e--,i*Math.sqrt(1-e*e)+t;case"easeInOutSmooth":return e/=n/2,1>e?i/2*e*e+t:(e--,-i/2*(e*(e-2)-1)+t);case"easeInOutStrong":return e/=n/2,1>e?i/2*Math.pow(2,10*(e-1))+t:(e--,i/2*(-Math.pow(2,-10*e)+2)+t);case"easeInOut":case"mcsEaseInOut":return e/=n/2,1>e?i/2*e*e*e+t:(e-=2,i/2*(e*e*e+2)+t);case"easeOutSmooth":return e/=n,e--,-i*(e*e*e*e-1)+t;case"easeOutStrong":return i*(-Math.pow(2,-10*e/n)+1)+t;case"easeOut":case"mcsEaseOut":default:var o=(e/=n)*e,s=o*e;return t+i*(.499999999999997*s*o+-2.5*o*o+5.5*s+-6.5*o+4*e)}}var f,g,r=r||{},m=r.onStart||function(){},v=r.onUpdate||function(){},w=r.onComplete||function(){},b=p._getTime(),x=0,y=t.offsetTop,C=t.style;"left"===i&&(y=t.offsetLeft);var S=n-y;t._mcsstop=0,"none"!==s&&h(),d()},_getTime:function(){return e.performance&&e.performance.now?e.performance.now():e.performance&&e.performance.webkitNow?e.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},_stopTween:function(){var t=this;null!=t._mcsid&&(e.requestAnimationFrame?e.cancelAnimationFrame(t._mcsid):clearTimeout(t._mcsid),t._mcsid=null,t._mcsstop=1)},_delete:function(e){try{delete e}catch(t){e=null}},_mouseBtnLeft:function(e){return!(e.which&&1!==e.which)},_pointerTouch:function(e){var t=e.originalEvent.pointerType;return!(t&&"touch"!==t&&2!==t)},_isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)}};i.fn[n]=function(e){return u[e]?u[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void i.error("Method "+e+" does not exist"):u.init.apply(this,arguments)},i[n]=function(e){return u[e]?u[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void i.error("Method "+e+" does not exist"):u.init.apply(this,arguments)},i[n].defaults=s,e[n]=!0,i(e).load(function(){i(o)[n]()})})}(window,document),function(e,t,i,n){"use strict";var a=i("html"),o=i(e),s=i(t),r=i.fancybox=function(){r.open.apply(this,arguments)},l=navigator.userAgent.match(/msie/i),c=null,d=t.createTouch!==n,h=function(e){return e&&e.hasOwnProperty&&e instanceof i},u=function(e){return e&&"string"===i.type(e)},p=function(e){return u(e)&&e.indexOf("%")>0},f=function(e){return e&&!(e.style.overflow&&"hidden"===e.style.overflow)&&(e.clientWidth&&e.scrollWidth>e.clientWidth||e.clientHeight&&e.scrollHeight>e.clientHeight)},g=function(e,t){var i=parseInt(e,10)||0;return t&&p(e)&&(i=r.getViewport()[t]/100*i),Math.ceil(i)},m=function(e,t){return g(e,t)+"px"};i.extend(r,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!d,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'
              ',image:'',iframe:'",error:'

              The requested content cannot be loaded.
              Please try again later.

              ',closeBtn:'
              ',next:'',prev:''},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:i.noop,beforeLoad:i.noop,afterLoad:i.noop,beforeShow:i.noop,afterShow:i.noop,beforeChange:i.noop,beforeClose:i.noop,afterClose:i.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(e,t){return e&&(i.isPlainObject(t)||(t={}),!1!==r.close(!0))?(i.isArray(e)||(e=h(e)?i(e).get():[e]),i.each(e,function(a,o){var s,l,c,d,p,f,g,m={};"object"===i.type(o)&&(o.nodeType&&(o=i(o)),h(o)?(m={href:o.data("fancybox-href")||o.attr("href"),title:o.data("fancybox-title")||o.attr("title"),isDom:!0,element:o},i.metadata&&i.extend(!0,m,o.metadata())):m=o),s=t.href||m.href||(u(o)?o:null),l=t.title!==n?t.title:m.title||"",c=t.content||m.content,d=c?"html":t.type||m.type,!d&&m.isDom&&(d=o.data("fancybox-type"),d||(p=o.prop("class").match(/fancybox\.(\w+)/),d=p?p[1]:null)),u(s)&&(d||(r.isImage(s)?d="image":r.isSWF(s)?d="swf":"#"===s.charAt(0)?d="inline":u(o)&&(d="html",c=o)),"ajax"===d&&(f=s.split(/\s+/,2),s=f.shift(),g=f.shift())),c||("inline"===d?s?c=i(u(s)?s.replace(/.*(?=#[^\s]+$)/,""):s):m.isDom&&(c=o):"html"===d?c=s:d||s||!m.isDom||(d="inline",c=o)),i.extend(m,{href:s,type:d,content:c,title:l,selector:g}),e[a]=m}),r.opts=i.extend(!0,{},r.defaults,t),t.keys!==n&&(r.opts.keys=t.keys?i.extend({},r.defaults.keys,t.keys):!1),r.group=e,r._start(r.opts.index)):void 0},cancel:function(){var e=r.coming;e&&!1!==r.trigger("onCancel")&&(r.hideLoading(),r.ajaxLoad&&r.ajaxLoad.abort(),r.ajaxLoad=null,r.imgPreload&&(r.imgPreload.onload=r.imgPreload.onerror=null),e.wrap&&e.wrap.stop(!0,!0).trigger("onReset").remove(),r.coming=null,r.current||r._afterZoomOut(e))},close:function(e){r.cancel(),!1!==r.trigger("beforeClose")&&(r.unbindEvents(),r.isActive&&(r.isOpen&&e!==!0?(r.isOpen=r.isOpened=!1,r.isClosing=!0,i(".fancybox-item, .fancybox-nav").remove(),r.wrap.stop(!0,!0).removeClass("fancybox-opened"),r.transitions[r.current.closeMethod]()):(i(".fancybox-wrap").stop(!0).trigger("onReset").remove(),r._afterZoomOut())))},play:function(e){var t=function(){clearTimeout(r.player.timer)},i=function(){t(),r.current&&r.player.isActive&&(r.player.timer=setTimeout(r.next,r.current.playSpeed))},n=function(){t(),s.unbind(".player"),r.player.isActive=!1,r.trigger("onPlayEnd")},a=function(){r.current&&(r.current.loop||r.current.index=a.index?"next":"prev"],r.router=i||"jumpto",a.loop&&(0>e&&(e=a.group.length+e%a.group.length),e%=a.group.length),a.group[e]!==n&&(r.cancel(),r._start(e)))},reposition:function(e,t){var n,a=r.current,o=a?a.wrap:null;o&&(n=r._getPosition(t),e&&"scroll"===e.type?(delete n.position,o.stop(!0,!0).animate(n,200)):(o.css(n),a.pos=i.extend({},a.dim,n)))},update:function(e){var t=e&&e.type,i=!t||"orientationchange"===t;i&&(clearTimeout(c),c=null),r.isOpen&&!c&&(c=setTimeout(function(){var n=r.current;n&&!r.isClosing&&(r.wrap.removeClass("fancybox-tmp"),(i||"load"===t||"resize"===t&&n.autoResize)&&r._setDimension(),"scroll"===t&&n.canShrink||r.reposition(e),r.trigger("onUpdate"),c=null)},i&&!d?0:300))},toggle:function(e){r.isOpen&&(r.current.fitToView="boolean"===i.type(e)?e:!r.current.fitToView,d&&(r.wrap.removeAttr("style").addClass("fancybox-tmp"),r.trigger("onUpdate")),r.update())},hideLoading:function(){s.unbind(".loading"),i("#fancybox-loading").remove()},showLoading:function(){var e,t;r.hideLoading(),e=i('
              ').click(r.cancel).appendTo("body"),s.bind("keydown.loading",function(e){27===(e.which||e.keyCode)&&(e.preventDefault(),r.cancel())}),r.defaults.fixed||(t=r.getViewport(),e.css({position:"absolute",top:.5*t.h+t.y,left:.5*t.w+t.x}))},getViewport:function(){var t=r.current&&r.current.locked||!1,i={x:o.scrollLeft(),y:o.scrollTop()};return t?(i.w=t[0].clientWidth,i.h=t[0].clientHeight):(i.w=d&&e.innerWidth?e.innerWidth:o.width(),i.h=d&&e.innerHeight?e.innerHeight:o.height()),i},unbindEvents:function(){r.wrap&&h(r.wrap)&&r.wrap.unbind(".fb"),s.unbind(".fb"),o.unbind(".fb")},bindEvents:function(){var e,t=r.current;t&&(o.bind("orientationchange.fb"+(d?"":" resize.fb")+(t.autoCenter&&!t.locked?" scroll.fb":""),r.update),e=t.keys,e&&s.bind("keydown.fb",function(a){var o=a.which||a.keyCode,s=a.target||a.srcElement;return 27===o&&r.coming?!1:void(a.ctrlKey||a.altKey||a.shiftKey||a.metaKey||s&&(s.type||i(s).is("[contenteditable]"))||i.each(e,function(e,s){return t.group.length>1&&s[o]!==n?(r[e](s[o]),a.preventDefault(),!1):i.inArray(o,s)>-1?(r[e](),a.preventDefault(),!1):void 0}))}),i.fn.mousewheel&&t.mouseWheel&&r.wrap.bind("mousewheel.fb",function(e,n,a,o){for(var s=e.target||null,l=i(s),c=!1;l.length&&!(c||l.is(".fancybox-skin")||l.is(".fancybox-wrap"));)c=f(l[0]),l=i(l).parent();0===n||c||r.group.length>1&&!t.canShrink&&(o>0||a>0?r.prev(o>0?"down":"left"):(0>o||0>a)&&r.next(0>o?"up":"right"),e.preventDefault())}))},trigger:function(e,t){var n,a=t||r.coming||r.current;if(a){if(i.isFunction(a[e])&&(n=a[e].apply(a,Array.prototype.slice.call(arguments,1))),n===!1)return!1;a.helpers&&i.each(a.helpers,function(t,n){n&&r.helpers[t]&&i.isFunction(r.helpers[t][e])&&r.helpers[t][e](i.extend(!0,{},r.helpers[t].defaults,n),a)}),s.trigger(e)}},isImage:function(e){return u(e)&&e.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(e){return u(e)&&e.match(/\.(swf)((\?|#).*)?$/i)},_start:function(e){var t,n,a,o,s,l={};if(e=g(e),t=r.group[e]||null,!t)return!1;if(l=i.extend(!0,{},r.opts,t),o=l.margin,s=l.padding,"number"===i.type(o)&&(l.margin=[o,o,o,o]),"number"===i.type(s)&&(l.padding=[s,s,s,s]),l.modal&&i.extend(!0,l,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),l.autoSize&&(l.autoWidth=l.autoHeight=!0),"auto"===l.width&&(l.autoWidth=!0),"auto"===l.height&&(l.autoHeight=!0),l.group=r.group,l.index=e,r.coming=l,!1===r.trigger("beforeLoad"))return void(r.coming=null);if(a=l.type,n=l.href,!a)return r.coming=null,r.current&&r.router&&"jumpto"!==r.router?(r.current.index=e,r[r.router](r.direction)):!1;if(r.isActive=!0,("image"===a||"swf"===a)&&(l.autoHeight=l.autoWidth=!1,l.scrolling="visible"),"image"===a&&(l.aspectRatio=!0),"iframe"===a&&d&&(l.scrolling="scroll"),l.wrap=i(l.tpl.wrap).addClass("fancybox-"+(d?"mobile":"desktop")+" fancybox-type-"+a+" fancybox-tmp "+l.wrapCSS).appendTo(l.parent||"body"),i.extend(l,{skin:i(".fancybox-skin",l.wrap),outer:i(".fancybox-outer",l.wrap),inner:i(".fancybox-inner",l.wrap)}),i.each(["Top","Right","Bottom","Left"],function(e,t){l.skin.css("padding"+t,m(l.padding[e]))}),r.trigger("onReady"),"inline"===a||"html"===a){if(!l.content||!l.content.length)return r._error("content")}else if(!n)return r._error("href");"image"===a?r._loadImage():"ajax"===a?r._loadAjax():"iframe"===a?r._loadIframe():r._afterLoad()},_error:function(e){i.extend(r.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:e,content:r.coming.tpl.error}),r._afterLoad()},_loadImage:function(){var e=r.imgPreload=new Image;e.onload=function(){this.onload=this.onerror=null,r.coming.width=this.width/r.opts.pixelRatio,r.coming.height=this.height/r.opts.pixelRatio,r._afterLoad()},e.onerror=function(){this.onload=this.onerror=null,r._error("image")},e.src=r.coming.href,e.complete!==!0&&r.showLoading()},_loadAjax:function(){var e=r.coming;r.showLoading(),r.ajaxLoad=i.ajax(i.extend({},e.ajax,{url:e.href,error:function(e,t){r.coming&&"abort"!==t?r._error("ajax",e):r.hideLoading()},success:function(t,i){"success"===i&&(e.content=t,r._afterLoad())}}))},_loadIframe:function(){var e=r.coming,t=i(e.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",d?"auto":e.iframe.scrolling).attr("src",e.href);i(e.wrap).bind("onReset",function(){try{i(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(e){}}),e.iframe.preload&&(r.showLoading(),t.one("load",function(){i(this).data("ready",1),d||i(this).bind("load.fb",r.update),i(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),r._afterLoad()})),e.content=t.appendTo(e.inner),e.iframe.preload||r._afterLoad()},_preloadImages:function(){var e,t,i=r.group,n=r.current,a=i.length,o=n.preload?Math.min(n.preload,a-1):0;for(t=1;o>=t;t+=1)e=i[(n.index+t)%a],"image"===e.type&&e.href&&((new Image).src=e.href)},_afterLoad:function(){var e,t,n,a,o,s,l=r.coming,c=r.current,d="fancybox-placeholder";if(r.hideLoading(),l&&r.isActive!==!1){if(!1===r.trigger("afterLoad",l,c))return l.wrap.stop(!0).trigger("onReset").remove(),void(r.coming=null);switch(c&&(r.trigger("beforeChange",c),c.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),r.unbindEvents(),e=l,t=l.content,n=l.type,a=l.scrolling,i.extend(r,{wrap:e.wrap,skin:e.skin,outer:e.outer,inner:e.inner,current:e,previous:c}),o=e.href,n){case"inline":case"ajax":case"html":e.selector?t=i("
              ").html(t).find(e.selector):h(t)&&(t.data(d)||t.data(d,i('
              ').insertAfter(t).hide()),t=t.show().detach(),e.wrap.bind("onReset",function(){i(this).find(t).length&&t.hide().replaceAll(t.data(d)).data(d,!1)}));break;case"image":t=e.tpl.image.replace("{href}",o);break;case"swf":t='',s="",i.each(e.swf,function(e,i){t+='',s+=" "+e+'="'+i+'"'}),t+='"}h(t)&&t.parent().is(e.inner)||e.inner.append(t),r.trigger("beforeShow"),e.inner.css("overflow","yes"===a?"scroll":"no"===a?"hidden":a),r._setDimension(),r.reposition(),r.isOpen=!1,r.coming=null,r.bindEvents(),r.isOpened?c.prevMethod&&r.transitions[c.prevMethod]():i(".fancybox-wrap").not(e.wrap).stop(!0).trigger("onReset").remove(),r.transitions[r.isOpened?e.nextMethod:e.openMethod](),r._preloadImages()}},_setDimension:function(){var e,t,n,a,o,s,l,c,d,h,u,f,v,w,b,x=r.getViewport(),y=0,C=!1,S=!1,_=r.wrap,T=r.skin,k=r.inner,E=r.current,M=E.width,P=E.height,I=E.minWidth,L=E.minHeight,O=E.maxWidth,B=E.maxHeight,D=E.scrolling,A=E.scrollOutside?E.scrollbarWidth:0,R=E.margin,W=g(R[1]+R[3]),H=g(R[0]+R[2]);if(_.add(T).add(k).width("auto").height("auto").removeClass("fancybox-tmp"),e=g(T.outerWidth(!0)-T.width()),t=g(T.outerHeight(!0)-T.height()),n=W+e,a=H+t,o=p(M)?(x.w-n)*g(M)/100:M,s=p(P)?(x.h-a)*g(P)/100:P,"iframe"===E.type){if(w=E.content,E.autoHeight&&1===w.data("ready"))try{w[0].contentWindow.document.location&&(k.width(o).height(9999),b=w.contents().find("body"),A&&b.css("overflow-x","hidden"),s=b.outerHeight(!0))}catch(N){}}else(E.autoWidth||E.autoHeight)&&(k.addClass("fancybox-tmp"),E.autoWidth||k.width(o),E.autoHeight||k.height(s),E.autoWidth&&(o=k.width()),E.autoHeight&&(s=k.height()),k.removeClass("fancybox-tmp"));if(M=g(o),P=g(s),d=o/s,I=g(p(I)?g(I,"w")-n:I),O=g(p(O)?g(O,"w")-n:O),L=g(p(L)?g(L,"h")-a:L),B=g(p(B)?g(B,"h")-a:B),l=O,c=B,E.fitToView&&(O=Math.min(x.w-n,O),B=Math.min(x.h-a,B)),f=x.w-W,v=x.h-H,E.aspectRatio?(M>O&&(M=O,P=g(M/d)),P>B&&(P=B,M=g(P*d)),I>M&&(M=I,P=g(M/d)),L>P&&(P=L,M=g(P*d))):(M=Math.max(I,Math.min(M,O)),E.autoHeight&&"iframe"!==E.type&&(k.width(M),P=k.height()),P=Math.max(L,Math.min(P,B))),E.fitToView)if(k.width(M).height(P),_.width(M+e),h=_.width(),u=_.height(),E.aspectRatio)for(;(h>f||u>v)&&M>I&&P>L&&!(y++>19);)P=Math.max(L,Math.min(B,P-10)),M=g(P*d),I>M&&(M=I,P=g(M/d)),M>O&&(M=O,P=g(M/d)),k.width(M).height(P),_.width(M+e),h=_.width(),u=_.height();else M=Math.max(I,Math.min(M,M-(h-f))),P=Math.max(L,Math.min(P,P-(u-v)));A&&"auto"===D&&s>P&&f>M+e+A&&(M+=A),k.width(M).height(P),_.width(M+e),h=_.width(),u=_.height(),C=(h>f||u>v)&&M>I&&P>L,S=E.aspectRatio?l>M&&c>P&&o>M&&s>P:(l>M||c>P)&&(o>M||s>P),i.extend(E,{dim:{width:m(h),height:m(u)},origWidth:o,origHeight:s,canShrink:C,canExpand:S,wPadding:e,hPadding:t,wrapSpace:u-T.outerHeight(!0),skinSpace:T.height()-P}),!w&&E.autoHeight&&P>L&&B>P&&!S&&k.height("auto")},_getPosition:function(e){var t=r.current,i=r.getViewport(),n=t.margin,a=r.wrap.width()+n[1]+n[3],o=r.wrap.height()+n[0]+n[2],s={position:"absolute",top:n[0],left:n[3]};return t.autoCenter&&t.fixed&&!e&&o<=i.h&&a<=i.w?s.position="fixed":t.locked||(s.top+=i.y,s.left+=i.x),s.top=m(Math.max(s.top,s.top+(i.h-o)*t.topRatio)),s.left=m(Math.max(s.left,s.left+(i.w-a)*t.leftRatio)),s},_afterZoomIn:function(){var e=r.current;e&&(r.isOpen=r.isOpened=!0,r.wrap.css("overflow","visible").addClass("fancybox-opened"), r.update(),(e.closeClick||e.nextClick&&r.group.length>1)&&r.inner.css("cursor","pointer").bind("click.fb",function(t){i(t.target).is("a")||i(t.target).parent().is("a")||(t.preventDefault(),r[e.closeClick?"close":"next"]())}),e.closeBtn&&i(e.tpl.closeBtn).appendTo(r.skin).bind("click.fb",function(e){e.preventDefault(),r.close()}),e.arrows&&r.group.length>1&&((e.loop||e.index>0)&&i(e.tpl.prev).appendTo(r.outer).bind("click.fb",r.prev),(e.loop||e.index
              ').appendTo(r.coming?r.coming.parent:e.parent),this.fixed=!1,e.fixed&&r.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(e){var t=this;e=i.extend({},this.defaults,e),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(e),this.fixed||(o.bind("resize.overlay",i.proxy(this.update,this)),this.update()),e.closeClick&&this.overlay.bind("click.overlay",function(e){return i(e.target).hasClass("fancybox-overlay")?(r.isActive?r.close():t.close(),!1):void 0}),this.overlay.css(e.css).show()},close:function(){var e,t;o.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(i(".fancybox-margin").removeClass("fancybox-margin"),e=o.scrollTop(),t=o.scrollLeft(),this.el.removeClass("fancybox-lock"),o.scrollTop(e).scrollLeft(t)),i(".fancybox-overlay").remove().hide(),i.extend(this,{overlay:null,fixed:!1})},update:function(){var e,i="100%";this.overlay.width(i).height("100%"),l?(e=Math.max(t.documentElement.offsetWidth,t.body.offsetWidth),s.width()>e&&(i=s.width())):s.width()>o.width()&&(i=s.width()),this.overlay.width(i).height(s.height())},onReady:function(e,t){var n=this.overlay;i(".fancybox-overlay").stop(!0,!0),n||this.create(e),e.locked&&this.fixed&&t.fixed&&(n||(this.margin=s.height()>o.height()?i("html").css("margin-right").replace("px",""):!1),t.locked=this.overlay.append(t.wrap),t.fixed=!1),e.showEarly===!0&&this.beforeShow.apply(this,arguments)},beforeShow:function(e,t){var n,a;t.locked&&(this.margin!==!1&&(i("*").filter(function(){return"fixed"===i(this).css("position")&&!i(this).hasClass("fancybox-overlay")&&!i(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),n=o.scrollTop(),a=o.scrollLeft(),this.el.addClass("fancybox-lock"),o.scrollTop(n).scrollLeft(a)),this.open(e)},onUpdate:function(){this.fixed||this.update()},afterClose:function(e){this.overlay&&!r.coming&&this.overlay.fadeOut(e.speedOut,i.proxy(this.close,this))}},r.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(e){var t,n,a=r.current,o=a.title,s=e.type;if(i.isFunction(o)&&(o=o.call(a.element,a)),u(o)&&""!==i.trim(o)){switch(t=i('
              '+o+"
              "),s){case"inside":n=r.skin;break;case"outside":n=r.wrap;break;case"over":n=r.inner;break;default:n=r.skin,t.appendTo("body"),l&&t.width(t.width()),t.wrapInner(''),r.current.margin[2]+=Math.abs(g(t.css("margin-bottom")))}t["top"===e.position?"prependTo":"appendTo"](n)}}},i.fn.fancybox=function(e){var t,n=i(this),a=this.selector||"",o=function(o){var s,l,c=i(this).blur(),d=t;o.ctrlKey||o.altKey||o.shiftKey||o.metaKey||c.is(".fancybox-wrap")||(s=e.groupAttr||"data-fancybox-group",l=c.attr(s),l||(s="rel",l=c.get(0)[s]),l&&""!==l&&"nofollow"!==l&&(c=a.length?i(a):n,c=c.filter("["+s+'="'+l+'"]'),d=c.index(this)),e.index=d,r.open(c,e)!==!1&&o.preventDefault())};return e=e||{},t=e.index||0,a&&e.live!==!1?s.undelegate(a,"click.fb-start").delegate(a+":not('.fancybox-item, .fancybox-nav')","click.fb-start",o):n.unbind("click.fb-start").bind("click.fb-start",o),this.filter("[data-fancybox-start=1]").trigger("click"),this},s.ready(function(){var t,o;i.scrollbarWidth===n&&(i.scrollbarWidth=function(){var e=i('
              ').appendTo("body"),t=e.children(),n=t.innerWidth()-t.height(99).innerWidth();return e.remove(),n}),i.support.fixedPosition===n&&(i.support.fixedPosition=function(){var e=i('
              ').appendTo("body"),t=20===e[0].offsetTop||15===e[0].offsetTop;return e.remove(),t}()),i.extend(r.defaults,{scrollbarWidth:i.scrollbarWidth(),fixed:i.support.fixedPosition,parent:i("body")}),t=i(e).width(),a.addClass("fancybox-lock-test"),o=i(e).width(),a.removeClass("fancybox-lock-test"),i("").appendTo("head")})}(window,document,jQuery),function(e,t,i){function n(e){var t={},n=/^jQuery\d+$/;return i.each(e.attributes,function(e,i){i.specified&&!n.test(i.name)&&(t[i.name]=i.value)}),t}function a(e,t){var n=this,a=i(n);if(n.value==a.attr("placeholder")&&a.hasClass("placeholder"))if(a.data("placeholder-password")){if(a=a.hide().next().show().attr("id",a.removeAttr("id").data("placeholder-id")),e===!0)return a[0].value=t;a.focus()}else n.value="",a.removeClass("placeholder"),n==s()&&n.select()}function o(){var e,t=this,o=i(t),s=this.id;if(""==t.value){if("password"==t.type){if(!o.data("placeholder-textinput")){try{e=o.clone().attr({type:"text"})}catch(r){e=i("").attr(i.extend(n(this),{type:"text"}))}e.removeAttr("name").data({"placeholder-password":o,"placeholder-id":s}).bind("focus.placeholder",a),o.data({"placeholder-textinput":e,"placeholder-id":s}).before(e)}o=o.removeAttr("id").hide().prev().attr("id",s).show()}o.addClass("placeholder"),o[0].value=o.attr("placeholder")}else o.removeClass("placeholder")}function s(){try{return t.activeElement}catch(e){}}var r,l,c="placeholder"in t.createElement("input"),d="placeholder"in t.createElement("textarea"),h=i.fn,u=i.valHooks,p=i.propHooks;c&&d?(l=h.placeholder=function(){return this},l.input=l.textarea=!0):(l=h.placeholder=function(){var e=this;return e.filter((c?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":a,"blur.placeholder":o}).data("placeholder-enabled",!0).trigger("blur.placeholder"),e},l.input=c,l.textarea=d,r={get:function(e){var t=i(e),n=t.data("placeholder-password");return n?n[0].value:t.data("placeholder-enabled")&&t.hasClass("placeholder")?"":e.value},set:function(e,t){var n=i(e),r=n.data("placeholder-password");return r?r[0].value=t:n.data("placeholder-enabled")?(""==t?(e.value=t,e!=s()&&o.call(e)):n.hasClass("placeholder")?a.call(e,!0,t)||(e.value=t):e.value=t,n):e.value=t}},c||(u.input=r,p.value=r),d||(u.textarea=r,p.value=r),i(function(){i(t).delegate("form","submit.placeholder",function(){var e=i(".placeholder",this).each(a);setTimeout(function(){e.each(o)},10)})}),i(e).bind("beforeunload.placeholder",function(){i(".placeholder").each(function(){this.value=""})}))}(this,document,jQuery),function(){var e,t;jQuery.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=jQuery.uaMatch(navigator.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),jQuery.browser=t,jQuery.sub=function(){function e(t,i){return new e.fn.init(t,i)}jQuery.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(i,n){return n&&n instanceof jQuery&&!(n instanceof e)&&(n=e(n)),jQuery.fn.init.call(this,i,n,t)},e.fn.init.prototype=e.fn;var t=e(document);return e}}(),function(e){e.fn.photoTag=function(t){function i(e){e.parent().css({overflow:"visible"}),e.parent().find(".utag-bot, .utag-top, .utag-right, .utag-left").show(),e.parent().find(".utag-bot").css({top:e.parent().css("height")}),e.parent().find(".utag-right").css({height:e.parent().css("height"),left:e.parent().css("width")}),e.parent().find(".utag-left").css({height:e.parent().css("height")}),e.parent().stop().animate({opacity:1},500)}function n(e){e.parent().stop().animate({opacity:0},500,function(){e.parent().css({overflow:"hidden"})}),e.parent().find(".utag-bot, .utag-top, .utag-right, .utag-left").hide()}function a(e){e.css({overflow:"visible"}),e.find(".utag-bot, .utag-top, .utag-right, .utag-left").show(),e.find(".utag-bot").css({top:e.css("height")}),e.find(".utag-right").css({height:e.css("height"),left:e.css("width")}),e.find(".utag-left").css({height:e.css("height")}),e.stop().animate({opacity:1},500)}function o(e){e.stop().animate({opacity:0},500,function(){e.css({overflow:"hidden"})}),e.find(".utag-bot, .utag-top, .utag-right, .utag-left").hide()}function s(){e(".highlight-tag").each(function(){e(this).mouseenter(function(){a(e("#photoTag-tag_"+e(this).attr("tag-id")))}).mouseleave(function(){o(e("#photoTag-tag_"+e(this).attr("tag-id")))})})}var r={deleteTagsUrl:"/photo/delete-tag/",addTagUrl:"/add-tag.php",parametersForNewTag:{name:{parameterKey:"name",isAutocomplete:!0,label:"Name"}},parametersForRequest:["image-id","album-id"],literals:{communicationProblem:"Произошла ошибка. Изменения не сохранены.",saveTag:"Добавить",cancelTag:"",addNewTag:"Отметить человека",removeTag:"X"},tag:{tagIdParameter:"tag-id",defaultWidth:100,defaultHeight:100,isResizable:!0,minWidth:50,minHeight:50,maxWidth:150,maxHeight:150,cssClass:"photoTag-tag",idPrefix:"photoTag-tag_",showDeleteLinkOnTag:!0,deleteLinkCssClass:"photoTag-delete",deleteLinkIdPrefix:"photoTag-delete_",flashAfterCreation:!0,newTagFormWidth:170,newTagFormClass:"photoTag-newTagForm"},imageWrapBox:{cssClass:"photoTag-wrap",idPrefix:"photoTag-wrap_",addNewLinkIdPrefix:"photoTag-add_",controlPaneIdPrefix:"photoTag-cpanel_",showTagList:!0,tagListCssClass:"photoTag-taglist",tagListIdPrefix:"photoTag-taglist_",tagListRemoveItemIdPrefix:"photoTag-removeTag",canvasIdPrefix:"photoTag-canvas_",controlPanelHeight:25},showAddTagLinks:!0,externalAddTagLinks:{bind:!0,selector:".addTag"},isEnabledToEditTags:!0,manageError:"internal function, user can bind a new one. function(response)",beforeTagRequest:"bind by user, function( parameters )"},l={tags:{}},t=e.extend(!0,r,t),c=function(i){var n={};return e.each(t.parametersForRequest,function(e,t){var a=i.attr("data-"+t);a&&(n[t]=a)}),n},d=function(i){e.isFunction(t.manageError)?t.manageError(i):i.message?alert(i.message):alert(t.literals.communicationProblem)},h=function(a,o){a.click(function(s){s.preventDefault();var r=a.attr("href").substring(1),l=c(o);l[t.tag.tagIdParameter]=r,e.getJSON(t.deleteTagsUrl,l,function(e){e.result||d(e)}),e("#"+t.tag.deleteLinkIdPrefix+r).parents().eq(1).remove(),e("#"+t.imageWrapBox.tagListRemoveItemIdPrefix+r).parent().remove();var h=e("span.comma"),u=e("a.highlight-tag");return e("ul.photoTag-taglist li").last().find(h).remove(),e("ul.photoTag-taglist li").last().find(u).mouseover(function(){i(e("#photoTag-tag_"+e(this).attr("tag-id")).find(".taghover"))}).mouseleave(function(){n(e("#photoTag-tag_"+e(this).attr("tag-id")).find(".taghover"))}),!1})},u=function(i,n,a){e(i).click(function(i){i.preventDefault(),0==e("#"+t.tag.idPrefix+"expo").length&&(S(a),e("#"+t.imageWrapBox.idPrefix+a).append(C(n)),m(e("#"+t.tag.idPrefix+"expo"),n,a))})},p=function(t,i){var n=(e(this),e(this).position()),a=n.left,o=n.top;e("#expoTagBoxForm")&&e("#expoTagBoxForm").css({top:o,left:a+e(this).width()+10}),e("#photoTag-tag_expo .utag-right").css({height:e(this).height(),left:e(this).width()}),e("#photoTag-tag_expo .utag-left").css({height:e(this).height()}),e("#photoTag-tag_expo .utag-bot").css({top:e(this).height()})},f=function(t,i){e("#expoTagBoxForm")&&e("#expoTagBoxForm").css({display:"none"})},g=function(t,i){var n=(e(this),e(this).position()),a=n.left,o=n.top;e("#expoTagBoxForm")&&e("#expoTagBoxForm").css({display:"block",top:o,left:a+e(this).width()+10})},m=function(i,n,a){i.draggable({containment:n,cursor:"move",drag:p,start:f,stop:g,grid:[1,1]}),i.resizable({handles:"n, e, s, w, ne, se, sw, nw",maxHeight:n.height(),maxWidth:n.width(),minHeight:t.tag.minHeight,minWidth:t.tag.minWidth,containment:n,resize:p}),v(i,n,a),e(".utag-bot").css({top:t.tag.defaultWidth}),e(".utag-right").css({height:t.tag.defaultHeight,left:t.tag.defaultWidth}),e(".utag-left").css({height:t.tag.defaultHeight})},v=function(i,n,a){var o=e('
              '),r=e('
              '),l=e(i).position();r.css({position:"absolute",top:l.top,left:l.left+i.width()+10,width:t.tag.newTagFormWidth}),r.append(e('
              '));var c=e("#"+t.imageWrapBox.idPrefix+a);c.append(r),e("#expoNewTagFormContent").append(o),e.each(t.parametersForNewTag,function(t,i){var n=e('
              ');if(i.label){var a=e("");e("
              ");a.append(i.label),e("#expoNewTagForm").append(a)}e("#expoNewTagForm").append(n),e("#expoInput_name").bind("keydown",function(t){t.keyCode===e.ui.keyCode.TAB&&e(this).data("ui-autocomplete").menu.active&&t.preventDefault()}).autocomplete({appendTo:e(".ptListHolder"),minLength:1,source:function(t,i){var n=e.ui.autocomplete.escapeRegex(t.term),a=new RegExp("^"+n,"i"),o=e.grep(photoTagData,function(e){return a.test(e.label||e.value||e)}),s=new RegExp(n,"i"),r=e.grep(photoTagData,function(t){return e.inArray(t,o)<0&&s.test(t.label||t.value||t)});i(o.concat(r))},focus:function(){return!1},select:function(t,i){e("#hidden_expoInput_name").val(i.item.id)}}),e("#expoInput_name").parent().append(e(''))});var h=e('");e("#expoNewTagForm").append(h);var u=e("");e("#expoNewTagForm").append(u);var p=e('');p.click(function(e){return e.preventDefault(),w(),_(a),!1}),e("#expoNewTagForm").append(p),e("#expoNewTagForm").submit(function(i){i.preventDefault();var o=e("#"+t.tag.idPrefix+"expo"),r={left:o.position().left,top:o.position().top,width:o.width(),height:o.height()};e.getJSON(t.addTagUrl+"?"+e.param(r)+"&"+e(this).serialize(),function(i){if(void 0!=i.result&&!i.result)return void d(i);var o=x(i.tag,n);e("#"+t.imageWrapBox.idPrefix+a).append(o),s(),E(o,i.tag,n,a)}),w(),_(a)})},w=function(){e("#"+t.tag.idPrefix+"expo").remove(),e("#expoTagBoxForm").remove()},b=function(i,n,a,o){var s=e('
              '),r={position:"absolute",top:Math.round(a.top)+"px",left:Math.round(a.left)+"px",height:n.height+"px",width:n.width+"px",opacity:o};return s.css(r),s.append(' 
              '),s},x=function(i,n){i.height&&i.width||(i.height=t.tag.defaultHeight,i.width=t.tag.defaultWidth);var a={width:i.width,height:i.height},o={top:i.top,left:i.left},s=b(i.id,a,o,0),r=e("
              ");if(r.append(i.text.replace(/ /g," ")),s.append(r),t.isEnabledToEditTags&&i.isDeleteEnable&&t.tag.showDeleteLinkOnTag){var l=e('');h(l,n)}return s.find(".taghover").append(l),s},y=function(a,o){e(".photoTag-taglist").html().length>0&&e(".photoTag-taglist li").last().append(', ');var s=e("
            • ");if(a.url){var r=e(''+a.text+"");s.append(r)}else s.append(a.text);if(a.isDeleteEnable){var l=e('  ');h(l,o),s.append(l)}var c=e("a.highlight-tag");return e("ul.photoTag-taglist li").last().find(c).mouseover(function(){i(e("#photoTag-tag_"+e(this).attr("tag-id")).find(".taghover"))}).mouseleave(function(){n(e("#photoTag-tag_"+e(this).attr("tag-id")).find(".taghover"))}),s},C=function(e,i){var n={width:t.tag.defaultWidth,height:t.tag.defaultHeight},a={top:e.height()/2-n.height/2,left:e.width()/2-n.width/2};l.expoId++;var o=b("expo",n,a,1);return o},S=function(t){e.each(l.tags[t],function(){e(this).css({opacity:0}),e(this).hide()})},_=function(t){e.each(l.tags[t],function(){e(this).show()})},T=function(i,n){var a=e(''+t.literals.addNewTag+"");return u(a,i,n),a},k=function(i,n){var a=i.height(),o=i.width(),s=e('
              '),r=e('
              ');s.append(r);var l=e('
              ');if(s.append(l),i.wrap(s),t.externalAddTagLinks.bind){var c=e(t.externalAddTagLinks.selector);c.each(function(){u(this,i,n)})}else e("#"+t.imageWrapBox.controlPaneIdPrefix+n).append(T(i,n));var d=e("
              ");if(e("#"+t.imageWrapBox.canvasIdPrefix+n).wrap(d),t.imageWrapBox.showTagList){var h=e('
                ');e(".pg-photo-descr#imgid"+n).append(h)}},E=function(a,o,s,r){if(t.tag.flashAfterCreation&&(e(a).css({opacity:1}),e(a).stop().animate({opacity:0},800)),t.imageWrapBox.showTagList){var l=y(o,s);e("#"+t.imageWrapBox.tagListIdPrefix+r).append(l);var c=e("a.highlight-tag");e("ul.photoTag-taglist li").last().find(c).mouseover(function(){i(e("#photoTag-tag_"+e(this).attr("tag-id")).find(".taghover"))}).mouseleave(function(){n(e("#photoTag-tag_"+e(this).attr("tag-id")).find(".taghover"))})}},M=function(i,n){k(n,i.id);var a=l.tags[i.id]={};e.each(i.Tags,function(){var o=x(this,n);a[this.id]=o,e("#"+t.imageWrapBox.idPrefix+i.id).append(o),s(),E(o,this,n,i.id)})};return this.each(function(){var i=e(this),n=c(i);(!e.isFunction(t.beforeTagRequest)||t.beforeTagRequest(n))&&e.getJSON(t.requestTagsUrl,n,function(n){return void 0==n.result||n.result?(n.options&&(t=e.extend(!0,t,n.options)),void e.each(n.Image,function(){M(this,i)})):void d(n)})}),this}}(jQuery);var dna={clone:function(e,t,i){var n=$.extend({fade:!1,top:!1,container:null,empty:!1,html:!1,callback:null},i),a=dna.store.getTemplate(e);a.nested&&!n.container&&dna.core.berserk("Container missing for nested template: "+e),n.empty&&dna.empty(e);for(var o=t instanceof Array?t:[t],s=$(),r=0;r0&&i(window,e.split(".")),n}},dna.ui={toElem:function(e,t){return e instanceof jQuery?e:e?$(e.target):$(t)},deleteElem:function(e){var t=dna.ui.toElem(e,this);return dna.core.remove(t),t},slideFade:function(e,t,i){function n(){e.css(r)}var a={opacity:0,transition:"opacity 0s ease 0s"},o={opacity:1,transition:"opacity 0.4s ease-in"},s={opacity:0,transition:"opacity 0.4s ease-out"},r={transition:"opacity 0s ease 0s"};return window.setTimeout(n,1e3),i?e.css(a).hide().slideDown({complete:t}).css(o):e.css(s).slideUp({complete:t}),e},slideFadeIn:function(e,t){return dna.ui.slideFade(e,t,!0)},slideFadeOut:function(e,t){return dna.ui.slideFade(e,t,!1)},slideFadeToggle:function(e,t){return dna.ui.slideFade(e,t,e.is(":hidden"))},slideFadeDelete:function(e){return dna.ui.slideFadeOut(e,dna.ui.deleteElem)},slidingFlasher:function(e,t){return e.is(":hidden")?dna.ui.slideFadeIn(e,t):e.hide().fadeIn()},smoothMove:function(e,t){function i(){var i=n.clone();t?e.after(n.hide()).before(i):e.before(n.hide()).after(i),dna.ui.slideFadeIn(n),dna.ui.slideFadeDelete(i)}var n=t?e.prev():e.next();n.length&&i()},focus:function(e){return e.focus()}},dna.placeholder={setup:function(){function e(){var e=$(this).stop();return dna.getClones(e.data().placeholder).length?e.fadeOut():e.fadeIn()}$("[data-placeholder]").each(e)}},$(dna.placeholder.setup),dna.pageToken={put:function(e,t){return sessionStorage[e+window.location.pathname]=JSON.stringify(t),t},get:function(e,t){var i=sessionStorage[e+window.location.pathname];return void 0===i?t:JSON.parse(i)}},dna.panels={key:function(e){return"#"+e.attr("id")+"-panels"},display:function(e,t,i){function n(){dna.pageToken.put(s,t),i&&o.data().hash&&window.history.pushState(null,null,"#"+o.data().hash)}var a,o,s=dna.panels.key(e),r=e.find(".menu-item");void 0===t&&(t=dna.pageToken.get(s,0)),t=Math.max(0,Math.min(t,r.length-1)),r.removeClass("selected").eq(t).addClass("selected"),a=$(s).children().hide().removeClass("displayed"),o=a.eq(t).fadeIn().addClass("displayed"),n(),dna.util.apply(e.data().callback,o)},rotate:function(e){var t=$(e.target).closest(".menu-item"),i=t.closest(".dna-menu");dna.panels.display(i,i.find(".menu-item").index(t),!0)},reload:function(e){dna.panels.display($("#"+e))},refresh:function(){function e(e){return e.filter("[data-hash="+n+"]").index()}function t(e){return e.first().closest(".dna-template").length>0}function i(){var i=$(this),a=dna.panels.key(i),o=$(a).children().addClass("panel");if(0===i.find(".menu-item").length&&i.children().addClass("menu-item"),!t(o)&&!t(i.children())){var s=n&&o.first().data().hash?e(o):dna.pageToken.get(a,0);dna.panels.display(i,s)}}var n=window.location.hash.slice(1);$(".dna-menu").each(i)},setup:function(){dna.panels.refresh(),$(document).on("click",".dna-menu .menu-item",dna.panels.rotate)}},$(dna.panels.setup),dna.compile={regexDnaField:/^[\s]*(~~|\{\{).*(~~|\}\})[\s]*$/,regexDnaBasePair:/~~|{{|}}/,regexDnaBasePairs:/~~|\{\{|\}\}/g,setupNucleotide:function(e){return void 0===e.data().dnaRules&&(e.data().dnaRules={}),e.addClass("dna-nucleotide")},isDnaField:function(){var e=$(this)[0].childNodes[0];return e&&e.nodeValue&&e.nodeValue.match(dna.compile.regexDnaField)},field:function(){var e=dna.compile.setupNucleotide($(this));return e.data().dnaRules.text=$.trim(e.text()).replace(dna.compile.regexDnaBasePairs,""),e.empty()},propsAndAttrs:function(){function e(e,t){s.push(e),e=e.replace(/^data-prop-/,"").toLowerCase(),t=t.replace(dna.compile.regexDnaBasePairs,""),a.push(e,t),"checked"===e&&n.is("input")?n.addClass("dna-update-model").data().dnaField=t:"selected"===e&&n.is("option")&&(n.parent().addClass("dna-update-model").end().data().dnaField=t)}function t(e,t){var i=t.split(dna.compile.regexDnaBasePair);"[value]"===i[1]&&(i[1]=!0),o.push(e.replace(/^data-attr-/,""),i),s.push(e);var a="input:not(:checkbox, :radio)";"value"===e&&n.is(a)&&""===i[0]&&""===i[2]&&(n.addClass("dna-update-model").data().dnaField=i[1])}function i(){/^data-prop-/.test(this.name)?e(this.name,this.value):3===this.value.split(dna.compile.regexDnaBasePair).length&&t(this.name,this.value)}var n=$(this),a=[],o=[],s=[];return $.each(n.get(0).attributes,i),a.length>0&&(dna.compile.setupNucleotide(n).data().dnaRules.props=a),o.length>0&&(dna.compile.setupNucleotide(n).data().dnaRules.attrs=o),n.data().transform&&(dna.compile.setupNucleotide(n).data().dnaRules.transform=n.data().transform),n.data().callback&&(dna.compile.setupNucleotide(n).data().dnaRules.callback=n.data().callback),n.removeAttr(s.join(" "))},getDataField:function(e,t){return $.trim(e.data(t).replace(dna.compile.regexDnaBasePairs,""))},subTemplateName:function(e,t){var i=e instanceof jQuery?dna.getClone(e).data().dnaRules.template:e;return i+"-"+t+"-instance"},rules:function(e,t,i){function n(){var e=dna.compile.setupNucleotide($(this)),n=dna.compile.getDataField(e,t);e.data().dnaRules[t]=i?n.split(","):n}return e.filter("[data-"+t+"]").each(n).removeAttr("data-"+t)},separators:function(e){function t(){return 3===this.nodeType&&!/\S/.test(this.nodeValue)}function i(e,i,n){i&&(e.contents().last().filter(t).remove(),e.append($("").addClass(n).html(i)))}function n(){var e=$(this);i(e,e.data().separator,"dna-separator"),i(e,e.data().lastSeparator,"dna-last-separator")}e.find(".dna-template, .dna-sub-clone").addBack().each(n)},template:function(e){function t(){$(this).data().dnaRules={template:$(this).attr("id")}}function i(){$(this).attr("type",$(this).data().attrType)}var n=$("#"+e);n.length||dna.core.berserk("Template not found: "+e),n.find(".dna-template").addBack().each(t).removeAttr("id");var a=n.find("*").addBack();return a.filter(dna.compile.isDnaField).each(dna.compile.field),dna.compile.rules(a,"array").addClass("dna-sub-clone"),dna.compile.rules(a,"class",!0),dna.compile.rules(a,"require"),dna.compile.rules(a,"missing"),dna.compile.rules(a,"truthy"),dna.compile.rules(a,"falsey"),dna.compile.rules(a.filter("select"),"option").addClass("dna-update-model"),a.each(dna.compile.propsAndAttrs),dna.compile.separators(n),$("input[data-attr-type]").each(i),dna.store.stash(n)}},dna.store={templates:{},stash:function(e){function t(){var e=$(this),t=e.data().dnaRules.template,i={name:t,elem:e,container:e.parent().addClass("dna-container").addClass("dna-contains-"+t),nested:0!==e.parent().closest(".dna-clone").length,separators:e.find(".dna-separator, .dna-last-separator").length,index:e.index(), -elemsAbove:e.index()>0,elemsBelow:e.nextAll().length>0,clones:0};dna.store.templates[t]=i,e.removeClass("dna-template").addClass("dna-clone").addClass(t).detach()}function i(){var e=$(this),t=e.data().dnaRules.array,i=dna.compile.subTemplateName(n,t);dna.compile.setupNucleotide(e.parent().addClass("dna-array")).data().dnaRules.loop={name:i,field:t},e.data().dnaRules.template=i}var n=e.data().dnaRules.template;return e.find(".dna-template").addBack().each(t),e.find(".dna-sub-clone").each(i).each(t),dna.store.templates[n]},getTemplate:function(e){return dna.store.templates[e]||dna.compile.template(e)}},dna.events={initializers:[],elementSetup:function(e,t){function i(){dna.util.apply($(this).data().onLoad,[$(this),t])}var n="[data-on-load]",a=e?e.find(n).addBack(n):$(n);return a.not(".dna-initialized").each(i).addClass("dna-initialized")},runInitializers:function(e,t){function i(){var t=this.selector?e.find(this.selector).addBack(this.selector):e;dna.util.apply(this.func,[t.addClass("dna-initialized")].concat(this.params))}return dna.events.elementSetup(e,t),$.each(dna.events.initializers,i),e},setup:function(){function e(e,t,i){return e=e.closest("[data-"+t+"]"),dna.util.apply(e.data(t),[e,i])}function t(t){function i(e){return e.dnaRules&&e.dnaRules.option||e.dnaField}function n(e,t){dna.getModel(e)[i(e.data())]=t(e)}function a(e){return e.val()}function o(e){return e.is(":checked")}function s(){n($(this),o)}function r(){var e=dna.getClone(l,{main:!0});0!==e.length&&(l.is("input:checkbox")?n(l,o):l.is("input:radio")?$("input:radio[name="+l.attr("name")+"]").each(s):l.is("input")||l.data().dnaRules.option?n(l,a):l.is("select")&&l.find("option").each(s),dna.refresh(e))}var l=$(t.target);l.hasClass("dna-update-model")&&r(),e(l,t.type.replace("key","key-"),t)}function i(t){13===t.which&&e($(t.target),"enter-key",t)}function n(t){function i(){function i(){o.dnaLastUpdated=Date.now(),o.dnaTimeoutId=void 0,e(a,"smart-update",t)}var s=o.smartThrottle?Number(o.smartThrottle):n;o.dnaLastValue=a.val(),o.dnaTimeoutId||(Date.now()1&&(e.toggleClass(i[1],a),i[2]&&e.toggleClass(i[2],!a))}function c(e,i){function a(e){dna.core.inject($(this),s[e],e,n)}function o(){r.remove(),dna.clone(i.name,s,{container:e,html:n.html})}var s=dna.util.value(t,i.field),r=e.children("."+i.name.replace(/[.]/g,"\\."));s?s.length===r.length?r.each(a):o():t[i.field]=[]}function d(){var e=$(this),i=e.data().dnaRules;i.transform&&dna.util.apply(i.transform,t),i.text&&a(e,i.text),i.props&&o(e,i.props),i.attrs&&s(e,i.attrs),i["class"]&&l(e,i["class"]),i.require&&e.toggle(void 0!==dna.util.value(t,i.require)),i.missing&&e.toggle(void 0===dna.util.value(t,i.missing)),i.truthy&&e.toggle(dna.util.realTruth(dna.util.value(t,i.truthy))),i.falsey&&e.toggle(!dna.util.realTruth(dna.util.value(t,i.falsey))),i.loop&&c(e,i.loop),i.option&&r(e,dna.util.value(t,i.option)),i.callback&&dna.util.apply(i.callback,e)}function h(e){e.filter(".dna-nucleotide").each(d),e.length&&h(e.children().not(".dna-sub-clone"))}return h(e),e.data().dnaModel=t,e},replicate:function(e,t,i,n){function a(){var t=r.children("."+e.name);t.find(".dna-separator").show().end().last().find(".dna-separator").hide(),t.find(".dna-last-separator").hide().end().eq(-2).find(".dna-last-separator").show().closest(".dna-clone").find(".dna-separator").hide()}var o=e.elem.clone(!0,!0);e.clones++,dna.core.inject(o,t,i,n);var s=".dna-contains-"+e.name.replace(/[.]/g,"\\."),r=n.container?n.container.find(s).addBack(s):e.container;return n.top&&!e.elemsAbove?r.prepend(o):n.top||e.elemsBelow?n.top?r.children().eq(e.index-1).after(o):r.children().eq(e.index+r.children().filter(".dna-clone").length).before(o):r.append(o),e.separators&&a(),dna.events.runInitializers(o,t),n.callback&&n.callback(o,t),n.fade&&dna.ui.slideFadeIn(o),o},remove:function(e){return e.remove(),dna.placeholder.setup(),e},berserk:function(e){throw"dna.js error -> "+e}},function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e,t){"use strict";function i(e,t){this.container=e,this.options=t,this.init()}function n(t,i){this.widget=t,this.options=e.extend({},i),this.detectService(),this.service&&this.init()}function a(e){function t(e,t){return t.toUpper()}var i={},n=e.data();for(var a in n){var o=n[a];"yes"===o?o=!0:"no"===o&&(o=!1),i[a.replace(/-(\w)/g,t)]=o}return i}function o(e,t){return s(e,t,encodeURIComponent)}function s(e,t,i){return e.replace(/\{([^\}]+)\}/g,function(e,n){return n in t?i?i(t[n]):t[n]:e})}function r(e,t){var i=h+e;return i+" "+i+"_"+t}function l(t,i){function n(s){"keydown"===s.type&&27!==s.which||e(s.target).closest(t).length||(t.removeClass(u),a.off(o,n),e.isFunction(i)&&i())}var a=e(document),o="click touchstart keydown";a.on(o,n)}function c(e){var t=10;if(document.documentElement.getBoundingClientRect){var i=parseInt(e.css("left"),10),n=parseInt(e.css("top"),10),a=e[0].getBoundingClientRect();a.leftwindow.innerWidth-t&&e.css("left",window.innerWidth-a.right-t+i),a.topwindow.innerHeight-t&&e.css("top",window.innerHeight-a.bottom-t+n)}e.addClass(u)}var d="social-likes",h=d+"__",u=d+"_opened",p="https:"===location.protocol?"https:":"http:",f={facebook:{counterUrl:"https://graph.facebook.com/fql?q=SELECT+total_count+FROM+link_stat+WHERE+url%3D%22{url}%22&callback=?",convertNumber:function(e){return e.data[0].total_count},popupUrl:"https://www.facebook.com/sharer/sharer.php?u={url}",popupWidth:600,popupHeight:359},twitter:{popupUrl:"https://twitter.com/intent/tweet?url={url}&text={title}",popupWidth:600,popupHeight:250,click:function(){return/[\.\?:\-–—]\s*$/.test(this.options.title)||(this.options.title+=":"),!0}},mailru:{counterUrl:p+"//connect.mail.ru/share_count?url_list={url}&callback=1&func=?",convertNumber:function(e){for(var t in e)if(e.hasOwnProperty(t))return e[t].shares},popupUrl:"https://connect.mail.ru/share?share_url={url}&title={title}",popupWidth:492,popupHeight:500},vkontakte:{counterUrl:"https://vk.com/share.php?act=count&url={url}&index={index}",counter:function(t,i){var n=f.vkontakte;n._||(n._=[],window.VK||(window.VK={}),window.VK.Share={count:function(e,t){n._[e].resolve(t)}});var a=n._.length;n._.push(i),e.getScript(o(t,{index:a})).fail(i.reject)},popupUrl:"https://vk.com/share.php?url={url}&title={title}",popupWidth:655,popupHeight:450},odnoklassniki:{counterUrl:p+"//connect.ok.ru/dk?st.cmd=extLike&ref={url}&uid={index}",counter:function(t,i){var n=f.odnoklassniki;n._||(n._=[],window.ODKL||(window.ODKL={}),window.ODKL.updateCount=function(e,t){n._[e].resolve(t)});var a=n._.length;n._.push(i),e.getScript(o(t,{index:a})).fail(i.reject)},popupUrl:"https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&service=odnoklassniki&st.shareUrl={url}",popupWidth:580,popupHeight:336},plusone:{counterUrl:p+"//share.yandex.ru/gpp.xml?url={url}&callback=?",convertNumber:function(e){return parseInt(e.replace(/\D/g,""),10)},popupUrl:"https://plus.google.com/share?url={url}",popupWidth:500,popupHeight:550},pinterest:{counterUrl:p+"//api.pinterest.com/v1/urls/count.json?url={url}&callback=?",convertNumber:function(e){return e.count},popupUrl:"https://pinterest.com/pin/create/button/?url={url}&description={title}",popupWidth:740,popupHeight:550}},g={promises:{},fetch:function(t,i,n){g.promises[t]||(g.promises[t]={});var a=g.promises[t];if(!n.forceUpdate&&a[i])return a[i];var s=e.extend({},f[t],n),r=e.Deferred(),l=s.counterUrl&&o(s.counterUrl,{url:i});return l&&e.isFunction(s.counter)?s.counter(l,r):s.counterUrl?e.getJSON(l).done(function(t){try{var i=t;e.isFunction(s.convertNumber)&&(i=s.convertNumber(t)),r.resolve(i)}catch(n){r.reject()}}).fail(r.reject):r.reject(),a[i]=r.promise(),a[i]}};e.fn.socialLikes=function(t){return this.each(function(){var n=e(this),o=n.data(d);o?e.isPlainObject(t)&&o.update(t):(o=new i(n,e.extend({},e.fn.socialLikes.defaults,t,a(n))),n.data(d,o))})},e.fn.socialLikes.defaults={url:window.location.href.replace(window.location.hash,""),title:document.title,counters:!0,zeroes:!1,wait:500,timeout:1e4,popupCheckInterval:500,singleTitle:"Share"},i.prototype={init:function(){this.container.addClass(d),this.single=this.container.hasClass(d+"_single"),this.initUserButtons(),this.countersLeft=0,this.number=0,this.container.on("counter."+d,e.proxy(this.updateCounter,this));var t=this.container.children();this.makeSingleButton(),this.buttons=[],t.each(e.proxy(function(t,i){var a=new n(e(i),this.options);this.buttons.push(a),a.options.counterUrl&&this.countersLeft++},this)),this.options.counters?(this.timer=setTimeout(e.proxy(this.appear,this),this.options.wait),this.timeout=setTimeout(e.proxy(this.ready,this,!0),this.options.timeout)):this.appear()},initUserButtons:function(){!this.userButtonInited&&window.socialLikesButtons&&e.extend(!0,f,socialLikesButtons),this.userButtonInited=!0},makeSingleButton:function(){if(this.single){var t=this.container;t.addClass(d+"_vertical"),t.wrap(e("
                ",{"class":d+"_single-w"})),t.wrapInner(e("
                ",{"class":d+"__single-container"}));var i=t.parent(),n=e("
                ",{"class":r("widget","single")}),a=e(s('
                {title}
                ',{buttonCls:r("button","single"),iconCls:r("icon","single"),title:this.options.singleTitle}));n.append(a),i.append(n),n.on("click",function(){var e=d+"__widget_active";return n.toggleClass(e),n.hasClass(e)?(t.css({left:-(t.width()-n.width())/2,top:-t.height()}),c(t),l(t,function(){n.removeClass(e)})):t.removeClass(u),!1}),this.widget=n}},update:function(t){if(t.forceUpdate||t.url!==this.options.url){this.number=0,this.countersLeft=this.buttons.length,this.widget&&this.widget.find("."+d+"__counter").remove(),e.extend(this.options,t);for(var i=0;i",{"class":r("counter","single")}),this.widget.append(t)),t}},n.prototype={init:function(){this.detectParams(),this.initHtml(),setTimeout(e.proxy(this.initCounter,this),0)},update:function(t){e.extend(this.options,{forceUpdate:!1},t),this.widget.find("."+d+"__counter").remove(),this.initCounter()},detectService:function(){var t=this.widget.data("service");if(!t){for(var i=this.widget[0],n=i.classList||i.className.split(" "),a=0;a",{"class":this.getElementClassNames("button"),html:i.html()});if(t.clickUrl){var s=o(t.clickUrl,{url:t.url,title:t.title}),r=e("",{href:s});this.cloneDataAttrs(i,r),i.replaceWith(r),this.widget=i=r}else i.on("click",e.proxy(this.click,this));i.removeClass(this.service),i.addClass(this.getElementClassNames("widget")),a.prepend(e("",{"class":this.getElementClassNames("icon")})),i.empty().append(a),this.button=a},initCounter:function(){if(this.options.counters)if(this.options.counterNumber)this.updateCounter(this.options.counterNumber);else{var t={counterUrl:this.options.counterUrl,forceUpdate:this.options.forceUpdate};g.fetch(this.service,this.options.url,t).always(e.proxy(this.updateCounter,this))}},cloneDataAttrs:function(e,t){var i=e.data();for(var n in i)i.hasOwnProperty(n)&&t.data(n,i[n])},getElementClassNames:function(e){return r(e,this.service)},updateCounter:function(t){t=parseInt(t,10)||0;var i={"class":this.getElementClassNames("counter"),text:t};t||this.options.zeroes||(i["class"]+=" "+d+"__counter_empty",i.text="");var n=e("",i);this.widget.append(n),this.widget.trigger("counter."+d,[this.service,t])},click:function(t){var i=this.options,n=!0;if(e.isFunction(i.click)&&(n=i.click.call(this,t)),n){var a=o(i.popupUrl,{url:i.url,title:i.title});a=this.addAdditionalParamsToUrl(a),this.openPopup(a,{width:i.popupWidth,height:i.popupHeight})}return!1},addAdditionalParamsToUrl:function(t){var i=e.param(e.extend(this.widget.data(),this.options.data));if(e.isEmptyObject(i))return t;var n=-1===t.indexOf("?")?"?":"&";return t+n+i},openPopup:function(t,i){var n=Math.round(screen.width/2-i.width/2),a=0;screen.height>i.height&&(a=Math.round(screen.height/3-i.height/2));var o=window.open(t,"sl_"+this.service,"left="+n+",top="+a+",width="+i.width+",height="+i.height+",personalbar=0,toolbar=0,scrollbars=1,resizable=1");if(o){o.focus(),this.widget.trigger("popup_opened."+d,[this.service,o]);var s=setInterval(e.proxy(function(){o.closed&&(clearInterval(s),this.widget.trigger("popup_closed."+d,this.service))},this),this.options.popupCheckInterval)}else location.href=t}},e(function(){e("."+d).socialLikes()})});var map;!function(e){var t=e(window),i=(e("html"),e("body"),e(document));e.widget("custom.catcomplete",e.ui.autocomplete,{_renderMenu:function(t,i){var n=this,a="";e.each(i,function(e,i){i.category!=a&&(t.append("
              • "+i.category+"
              • "),a=i.category),n._renderItemData(t,i)})}}),e(function(){function n(e){return(e.getDate()<10?"0":"")+e.getDate()+"."+(e.getMonth()<9?"0":"")+(e.getMonth()+1)+"."+e.getFullYear()}e("#send_message_form").on("submit",function(t){t.preventDefault(),$this=e(this);var i=$this.serialize(),n=$this.attr("action");e.post(n,i,function(t){t.success&&(e.fancybox.close(),$this.find("#id_body").val(""))})}),e("#reply_form").on("submit",function(t){t.preventDefault(),$this=e(this);var i=$this.serialize(),n=e("#reply_message").val(),a="/profile/messages/reply/"+n+"/";e.post(a,i,function(t){t.success&&(e.fancybox.close(),$this.find("#id_recipient").val(""),$this.find("#id_body").val(""))})}),e(".visit, .unvisit").on("click",function(t){t.preventDefault();var i=e(this),n=e(this).attr("href");e.get(n,function(t){t.not_authorized?e.fancybox.open("#pw-login"):t.success&&(t["in"]?i.hasClass("visit")&&(i.hide(),i.siblings(".unvisit").show()):i.hasClass("unvisit")&&(i.hide(),i.siblings(".visit").show()))})}),e("#paswd_change").on("submit",function(t){t.preventDefault();var i=e(this).serialize(),n="/profile/change-password/",a=e(this);e.post(n,i,function(t){if(t.success)e("#paswd_change .mf-success").fadeIn(300),setTimeout(function(){e("#paswd_change .mf-success").fadeOut(300)},3e3),a.find("#id_old password").val("");else{e("#paswd_change .mf-error").parent().remove();var i=e("
                ").attr("class","mf-line").append(e("
                ").attr("class","mf-error").append(t.errors[0]));a.find(".mf-buttons-line").before(i)}})}),e(".reg").on("click",function(t){t.preventDefault(),e(".register").click()}),e.fn.customSelect=function(){return e(this).each(function(){var t=e(this),i=t.children("option"),n=t.children("option").length,a=e(":selected",t);t.addClass("s-hidden"),t.wrap('
                '),t.after('
                ');var o=t.next("div.custom-select-wrap"),s=o.children(".custom-select-text"),r=0!=a.length?a.text():t.children("option").eq(0).text();s.text(r),0!=i.index(a)||t.children("option").eq(0).val()&&t.children("option").eq(0).attr("value")||s.addClass("placeholder");for(var l=e('
                ').insertAfter(o),c=l.find(".scroll-content"),d=e("
                  ").appendTo(c),h=0;n>h;h++){var u=""!=t.children("option").eq(h).text()?t.children("option").eq(h).html():" ";e("
                • ",{html:u,"data-value":t.children("option").eq(h).val()}).appendTo(d)}var p=d.children("li");if(o.on("click",function(i){i.stopPropagation(),e("div.custom-select-wrap.active").not(this).each(function(){e(this).removeClass("active").next(".options").hide()}),t.prop("disabled")||e(this).toggleClass("active").next(".options").toggle()}),p.on("click",function(i){var n=e(this);i.stopPropagation(),s.text(n.text()),o.removeClass("active"),t.val(n.data("value")),0!=n.index()||t.children("option").eq(0).val()&&t.children("option").eq(0).attr("value")?s.removeClass("placeholder"):s.addClass("placeholder"),l.hide()}),e.fn.mCustomScrollbar){var f={scrollInertia:200,contentTouchScroll:!0,scrollButtons:{enable:!1},advanced:{autoScrollOnFocus:!1,updateOnContentResize:!0}},g=l.find("div.cs-scroll-container");g.mCustomScrollbar(f)}e(document).on("click",function(){o.removeClass("active"),l.hide()}),t.on("change",function(){var i=e(this),n=i.prop("selectedIndex"),a=i.children("option").eq(n).text();s.text(a),0!=n||t.children("option").eq(0).val()&&t.children("option").eq(0).attr("value")?s.removeClass("placeholder"):s.addClass("placeholder")})})},e("select:not([multiple])").each(function(){var t=e(this);t.hasClass("select2")||t.customSelect()}),e("#mp-recent-expo").each(function(){var t=e(this),i=t.children("ul"),n=i.children("li"),a=t.children("div.re-controls");n.length>1&&a.addClass("enabled")}),e("#mp-photo-gallery").each(function(){var t=e(this),i=t.children("ul"),n=i.children("li"),a=t.children("div.re-controls"),o=a.children("a.prev"),s=a.children("a.next");if(n.length>1){a.addClass("enabled");var r=t.swiper({speed:500,mode:"horizontal",loop:!1,simulateTouch:!1,onInit:function(e){o.addClass("disabled")},onSlideChangeStart:function(e){var t=n.find("div.pgi-descr");t.animate({height:"hide",opacity:"hide"},500),0==e.activeIndex?(o.hasClass("disabled")||o.addClass("disabled"),s.hasClass("disabled")&&s.removeClass("disabled")):e.activeIndex==e.slides.length-1?(s.hasClass("disabled")||s.addClass("disabled"),o.hasClass("disabled")&&o.removeClass("disabled")):(o.hasClass("disabled")&&o.removeClass("disabled"),s.hasClass("disabled")&&s.removeClass("disabled"))},onSlideChangeEnd:function(e){var t=n.find("div.pgi-descr");t.eq(e.activeIndex).slideDown(250)}});o.on("click",function(){return e(this).hasClass("disabled")||r.swipePrev(),!1}),s.on("click",function(){return e(this).hasClass("disabled")||r.swipeNext(),!1})}}),e("#ps-photo-gallery").each(function(){var t=e(this),i=t.children("ul"),n=i.children("li"),a=t.children("div.re-controls"),o=a.children("a.prev"),s=a.children("a.next");if(n.length>1){a.addClass("enabled"),n.css({display:"block"});var r=t.swiper({speed:500,mode:"horizontal",calculateHeight:!0,loop:!1,simulateTouch:!1,onInit:function(e){o.addClass("disabled")},onSlideChangeStart:function(e){0==e.activeIndex?(o.hasClass("disabled")||o.addClass("disabled"),s.hasClass("disabled")&&s.removeClass("disabled")):e.activeIndex==e.slides.length-1?(s.hasClass("disabled")||s.addClass("disabled"),o.hasClass("disabled")&&o.removeClass("disabled")):(o.hasClass("disabled")&&o.removeClass("disabled"),s.hasClass("disabled")&&s.removeClass("disabled"))}});o.on("click",function(){return e(this).hasClass("disabled")||r.swipePrev(),!1}),s.on("click",function(){return e(this).hasClass("disabled")||r.swipeNext(),!1})}}),e("#s-slide-gallery").each(function(){var i=e(this),n=i.children("ul"),a=n.children("li"),o=i.children("div.re-controls"),s=o.children("a.prev"),r=o.children("a.next");if(a.length>4){o.addClass("enabled"),a.css({display:"block"}),t.on("resize",function(){i.height(a.eq(0).height())}).trigger("resize");var l=i.swiper({slidesPerView:4,slidesPerGroup:4,speed:500,mode:"horizontal",calculateHeight:!0,loop:!1,simulateTouch:!1,onInit:function(e){s.addClass("disabled")},onSlideChangeStart:function(e){0==e.activeIndex?(s.hasClass("disabled")||s.addClass("disabled"),r.hasClass("disabled")&&r.removeClass("disabled")):e.activeIndex==e.slides.length-4?(r.hasClass("disabled")||r.addClass("disabled"),s.hasClass("disabled")&&s.removeClass("disabled")):(s.hasClass("disabled")&&s.removeClass("disabled"),r.hasClass("disabled")&&r.removeClass("disabled"))}});s.on("click",function(){return e(this).hasClass("disabled")||l.swipePrev(),!1}),r.on("click",function(){return e(this).hasClass("disabled")||l.swipeNext(),!1})}}),e(".sli-slides").each(function(){var i=e(this),n=i.children("ul"),a=n.children("li"),o=i.children("div.re-controls"),s=o.children("a.prev"),r=o.children("a.next");if(a.length>4){o.addClass("enabled"),a.css({display:"block"}),t.on("resize",function(){i.css({height:a.eq(0).height()})}).trigger("resize");var l=i.swiper({slidesPerView:4,slidesPerGroup:4,calculateHeight:!0,speed:500,mode:"horizontal",loop:!1,simulateTouch:!1,onInit:function(e){s.addClass("disabled")},onSlideChangeStart:function(e){0==e.activeIndex?(s.hasClass("disabled")||s.addClass("disabled"),r.hasClass("disabled")&&r.removeClass("disabled")):e.activeIndex==e.slides.length-4?(r.hasClass("disabled")||r.addClass("disabled"),s.hasClass("disabled")&&s.removeClass("disabled")):(s.hasClass("disabled")&&s.removeClass("disabled"),r.hasClass("disabled")&&r.removeClass("disabled"))}});s.on("click",function(){return e(this).hasClass("disabled")||l.swipePrev(),!1}),r.on("click",function(){return e(this).hasClass("disabled")||l.swipeNext(),!1})}});var a={padding:0,fitToView:!1};e("a.pw-open").fancybox(a),e("input[placeholder], textarea[placeholder]").placeholder(),i.on("focus",'form.pw-form input[type="text"], form.pw-form input[type="password"]',function(t){var i=e(this),n=i.closest(".pwf-line"),a=n.find("div.msg-help"),o=n.find("div.msg-error"),s=e(this).parent().parent().parent().find(".mf-error");o.parent().remove(),s.parent().remove(),a.is(":hidden")&&a.fadeIn(300)}),i.on("blur",'form.pw-form input[type="text"], form.pw-form input[type="password"]',function(t){var i=e(this),n=i.closest(".pwf-line"),a=n.find("div.msg-help");a.is(":visible")&&!n.hasClass("has_error")&&a.fadeOut(300)});var o={scrollInertia:200,contentTouchScroll:!0,scrollButtons:{enable:!1},advanced:{updateOnContentResize:!0}};e("div.scroll-container").each(function(){var t=e(this);t.mCustomScrollbar(o)}),e("#subscribe-sm").each(function(){var t=e(this),i=t.find("a");i.on("click",function(){var t=(e(this),i.index(this)),n=e("#pw-subscribe");e.fancybox(n,a);var o=n.find("ul.tabs > li");return o.eq(t).trigger("click"),!1})}),e("ul.tabs > li").on("click",function(){var t=e(this),i=t.closest("ul"),n=i.children("li").index(this),a=i.siblings(".tabs-content"),o=t.find("a"),s=t.closest("#pw-subscribe");if(!t.hasClass("active")){s.length&&(a=s.find(".tabs-content"));var r=i.children("li.active"),l=a.find("li.active"),c=a.children("li").eq(n);r.removeClass("active"),l.removeClass("active"),t.addClass("active"),c.addClass("active")}return o.blur(),closeSelectBox(),!1}),e("#cli-pg").each(function(){var t=e(this),i=t.find("a");i.on({mouseenter:function(){var t=e(this),i=t.find(".pg-title");i.stop(!0,!0).slideDown(300,function(){i.css({display:"block"})})},mouseleave:function(){var t=e(this),i=t.find(".pg-title");i.stop(!0,!0).slideUp(300)}})}),e("#map-canvas").each(function(){var t=e(this);t.is(":hidden")||(google.maps.event.addDomListener(window,"load",mapInit),t.data("init",!0))}),e("a.toggle-map").on({click:function(){var t=e(this),i=t.closest(".i-address"),n=i.children(".i-map"),a=e("#map-canvas");i.find("header a.toggle-map");return n.is(":hidden")?n.stop(!0,!0).animate({opacity:"show",height:"show"},300,function(){a.data("init")||(mapInit(),a.data("init",!0)),i.addClass("map-opened")}):n.stop(!0,!0).animate({opacity:"hide",height:"hide"},300,function(){i.removeClass("map-opened")}),!1}}),e("ul.messages-list").each(function(){var t=e(this),i=t.children("li");i.on({mouseenter:function(){var t=e(this),i=t.find("div.mi-buttons");i.stop(!0,!0).animate({opacity:"show",height:"show"},250)},mouseleave:function(){var t=e(this),i=t.find("div.mi-buttons");i.stop(!0,!0).animate({opacity:"hide",height:"hide"},250)}})}),e(".set-sect > header").on("click",function(){var t=e(this),i=t.closest(".set-sect"),n=i.children("div.set-sect-body");n.is(":visible")?n.stop(!0,!0).animate({height:"hide",opacity:"hide"},300,function(){i.addClass("closed")}):n.stop(!0,!0).animate({height:"show",opacity:"show"},300,function(){i.removeClass("closed")})}),e('input[type="checkbox"].annoncesFlag').each(function(){var t=e(this);t.on("change",function(){var e=t.closest("div.mf-announces").children("div.mf-announces-body"),i=e.find("input, select, textarea"),n=e.find("div.c-select-box");t.prop("checked")?(e.removeClass("disabled"),n.removeClass("disabled"),i.prop("disabled",!1)):(e.addClass("disabled"),n.addClass("disabled"),i.prop("disabled",!0))}).trigger("change")}),e("a.icb-edit-profile").on("click",function(){var t=e(this),i=t.next("a.icb-exit-edit"),n=e("div.p-editable");return t.css({display:"none"}),i.css({display:"inline-block"}),n.addClass("pe-active"),!1}),e("a.icb-exit-edit").on("click",function(){var t=e(this),i=t.prev("a.icb-edit-profile"),n=e("div.p-editable");return i.css({display:"inline-block"}),t.css({display:"none"}),n.removeClass("pe-active"),!1}),e('input[type="file"]').each(function(){var t=e(this),i=t.closest(".input-file"),n=i.children(".file-text");""!=t.val()?(n.text(t.val()),n.removeClass("placeholder")):(n.text(n.data("placeholder")),n.addClass("placeholder")),t.on({change:function(){""!=t.val()?(n.text(t.val()),n.removeClass("placeholder")):(n.text(n.data("placeholder")),n.addClass("placeholder"))}})}),e("form.af-statistic div.mf-stat").each(function(){var t=e(this),i=t.children(".mf-stat-add-button"),n=i.find("a.icon-add");n.on("click",function(){var n=t.children(".mf-stat-item"),a=n.length,o=n.eq(0).find("select").eq(0).find("option").length-1,s=n.eq(0).clone(),r=s.find("select"),l=s.find("input");return l.val(""),r.each(function(){var t=e(this),i=t.closest(".custom-select"),n=t.clone();n.insertAfter(i),n.customSelect(),i.remove()}),s.insertBefore(i),a==o-1&&i.hide(),!1})}),e('input[type="checkbox"].w-time-switcher').each(function(){function t(){var t=n.find("div.w-time"),a=t.eq(0),o=a.find("select");t.each(function(t){var i=e(this);if(0!=t)for(var n=i.find("select"),a=1;a");o.val(n(t)).text(n(t)),i.html(o);for(var s=1;u>s;s++){var l=o.clone();t.setDate(t.getDate()+1),l.val(n(t)).text(n(t)),i.append(l)}i.prop("selectedIndex",0),a.length&&(i.insertAfter(a),a.remove()),i.customSelect()});for(var f=1;u>f;f++){var g=a.clone(),m=g.find("select");g.children("label.check").remove(),m.each(function(t){var i=e(this),n=i.closest(".custom-select");i.insertAfter(n),0==t?i.prop("selectedIndex",f):h.prop("checked")&&i.prop("selectedIndex",p.eq(t).prop("selectedIndex")),n.remove(),i.customSelect()}),c.append(g)}}var a=e(this),o=a.find("input.dateFrom"),s=a.find("input.dateTo"),r=new Date,l=new Date,c=e("#work-time");o.on("change",function(){i()}),s.on("change",function(){i()}),i()}),e("div.request-form").each(function(){var t=e(this),i=t.find("div.rq-btn-to-hide"),n=i.find("a"),a=t.find("div.rq-form"),o=t.find("div.rq-to-hide");a.find("div.rq-btn-wrap");n.on("click",function(){return o.hide(),a.animate({height:"show",opacity:"show"},300,function(){t.addClass("rqf-opened")}),!1})}),e("form div.rq-switch").each(function(){function t(){var e=o.find("input, select"),t=o.find("div.c-select-box");n.prop("checked")?(o.removeClass("disabled"),t.removeClass("disabled"),e.prop("disabled",!1)):(o.addClass("disabled"),t.addClass("disabled"),e.prop("checked",!1).prop("disabled",!0),e.trigger("change"))}var i=e(this),n=i.find('input[type="checkbox"]'),a=i.closest(".rq-sub-sect"),o=a.children(".rq-sub-sect-body");t(),n.on("change",t)}),e("a.reply-msg").on("click",function(){var t=e(this).attr("data-sender"),i=e(this).attr("data-reply-message"),n=e("#pw-reply");n.find("#id_recipient").val(t),n.find("#reply_message").val(i)})})}(jQuery),$(document).ready(function(){set_filter_block_height(),$("#filter_form_wraper").on("click",".show_more_link",function(e){e.preventDefault();for(var t=$(this).parents(".filter_block"),i=t.find("li").length,n=t.find("li:visible").length,a=0;10>a;a++)n+a!=i?t.find("li").eq(n+a).fadeIn(200):$(this).parent().hide()}).on("click",".show_all_link",function(e){e.preventDefault();var t=$(this).parents(".filter_block");t.find("li").fadeIn(200),t.find(".links_block").hide()}).on("click","#get_filters",function(e){e.preventDefault();var t="",i=$(this);i.html(''),$.each(window.sendData,function(e,i){var n=e;if(i.length){if("array"==$.type(i))for(var a=0;a0,elemsBelow:e.nextAll().length>0,clones:0};dna.store.templates[t]=i,e.removeClass("dna-template").addClass("dna-clone").addClass(t).detach()}function i(){var e=$(this),t=e.data().dnaRules.array,i=dna.compile.subTemplateName(n,t);dna.compile.setupNucleotide(e.parent().addClass("dna-array")).data().dnaRules.loop={name:i,field:t},e.data().dnaRules.template=i}var n=e.data().dnaRules.template;return e.find(".dna-template").addBack().each(t),e.find(".dna-sub-clone").each(i).each(t),dna.store.templates[n]},getTemplate:function(e){return dna.store.templates[e]||dna.compile.template(e)}},dna.events={initializers:[],elementSetup:function(e,t){function i(){dna.util.apply($(this).data().onLoad,[$(this),t])}var n="[data-on-load]",a=e?e.find(n).addBack(n):$(n);return a.not(".dna-initialized").each(i).addClass("dna-initialized")},runInitializers:function(e,t){function i(){var t=this.selector?e.find(this.selector).addBack(this.selector):e;dna.util.apply(this.func,[t.addClass("dna-initialized")].concat(this.params))}return dna.events.elementSetup(e,t),$.each(dna.events.initializers,i),e},setup:function(){function e(e,t,i){return e=e.closest("[data-"+t+"]"),dna.util.apply(e.data(t),[e,i])}function t(t){function i(e){return e.dnaRules&&e.dnaRules.option||e.dnaField}function n(e,t){dna.getModel(e)[i(e.data())]=t(e)}function a(e){return e.val()}function o(e){return e.is(":checked")}function s(){n($(this),o)}function r(){var e=dna.getClone(l,{main:!0});0!==e.length&&(l.is("input:checkbox")?n(l,o):l.is("input:radio")?$("input:radio[name="+l.attr("name")+"]").each(s):l.is("input")||l.data().dnaRules.option?n(l,a):l.is("select")&&l.find("option").each(s),dna.refresh(e))}var l=$(t.target);l.hasClass("dna-update-model")&&r(),e(l,t.type.replace("key","key-"),t)}function i(t){13===t.which&&e($(t.target),"enter-key",t)}function n(t){function i(){function i(){o.dnaLastUpdated=Date.now(),o.dnaTimeoutId=void 0,e(a,"smart-update",t)}var s=o.smartThrottle?Number(o.smartThrottle):n;o.dnaLastValue=a.val(),o.dnaTimeoutId||(Date.now()1&&(e.toggleClass(i[1],a),i[2]&&e.toggleClass(i[2],!a))}function c(e,i){function a(e){dna.core.inject($(this),s[e],e,n)}function o(){r.remove(),dna.clone(i.name,s,{container:e,html:n.html})}var s=dna.util.value(t,i.field),r=e.children("."+i.name.replace(/[.]/g,"\\."));s?s.length===r.length?r.each(a):o():t[i.field]=[]}function d(){var e=$(this),i=e.data().dnaRules;i.transform&&dna.util.apply(i.transform,t),i.text&&a(e,i.text),i.props&&o(e,i.props),i.attrs&&s(e,i.attrs),i["class"]&&l(e,i["class"]),i.require&&e.toggle(void 0!==dna.util.value(t,i.require)),i.missing&&e.toggle(void 0===dna.util.value(t,i.missing)),i.truthy&&e.toggle(dna.util.realTruth(dna.util.value(t,i.truthy))),i.falsey&&e.toggle(!dna.util.realTruth(dna.util.value(t,i.falsey))),i.loop&&c(e,i.loop),i.option&&r(e,dna.util.value(t,i.option)),i.callback&&dna.util.apply(i.callback,e)}function h(e){e.filter(".dna-nucleotide").each(d),e.length&&h(e.children().not(".dna-sub-clone"))}return h(e),e.data().dnaModel=t,e},replicate:function(e,t,i,n){function a(){var t=r.children("."+e.name);t.find(".dna-separator").show().end().last().find(".dna-separator").hide(),t.find(".dna-last-separator").hide().end().eq(-2).find(".dna-last-separator").show().closest(".dna-clone").find(".dna-separator").hide()}var o=e.elem.clone(!0,!0);e.clones++,dna.core.inject(o,t,i,n);var s=".dna-contains-"+e.name.replace(/[.]/g,"\\."),r=n.container?n.container.find(s).addBack(s):e.container;return n.top&&!e.elemsAbove?r.prepend(o):n.top||e.elemsBelow?n.top?r.children().eq(e.index-1).after(o):r.children().eq(e.index+r.children().filter(".dna-clone").length).before(o):r.append(o),e.separators&&a(),dna.events.runInitializers(o,t),n.callback&&n.callback(o,t),n.fade&&dna.ui.slideFadeIn(o),o},remove:function(e){return e.remove(),dna.placeholder.setup(),e},berserk:function(e){throw"dna.js error -> "+e}},function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e,t){"use strict";function i(e,t){this.container=e,this.options=t,this.init()}function n(t,i){this.widget=t,this.options=e.extend({},i),this.detectService(),this.service&&this.init()}function a(e){function t(e,t){return t.toUpper()}var i={},n=e.data();for(var a in n){var o=n[a];"yes"===o?o=!0:"no"===o&&(o=!1),i[a.replace(/-(\w)/g,t)]=o}return i}function o(e,t){return s(e,t,encodeURIComponent)}function s(e,t,i){return e.replace(/\{([^\}]+)\}/g,function(e,n){return n in t?i?i(t[n]):t[n]:e})}function r(e,t){var i=h+e;return i+" "+i+"_"+t}function l(t,i){function n(s){"keydown"===s.type&&27!==s.which||e(s.target).closest(t).length||(t.removeClass(u),a.off(o,n),e.isFunction(i)&&i())}var a=e(document),o="click touchstart keydown";a.on(o,n)}function c(e){var t=10;if(document.documentElement.getBoundingClientRect){var i=parseInt(e.css("left"),10),n=parseInt(e.css("top"),10),a=e[0].getBoundingClientRect();a.leftwindow.innerWidth-t&&e.css("left",window.innerWidth-a.right-t+i),a.topwindow.innerHeight-t&&e.css("top",window.innerHeight-a.bottom-t+n)}e.addClass(u)}var d="social-likes",h=d+"__",u=d+"_opened",p="https:"===location.protocol?"https:":"http:",f={facebook:{counterUrl:"https://graph.facebook.com/fql?q=SELECT+total_count+FROM+link_stat+WHERE+url%3D%22{url}%22&callback=?",convertNumber:function(e){return e.data[0].total_count},popupUrl:"https://www.facebook.com/sharer/sharer.php?u={url}",popupWidth:600,popupHeight:359},twitter:{popupUrl:"https://twitter.com/intent/tweet?url={url}&text={title}",popupWidth:600,popupHeight:250,click:function(){return/[\.\?:\-–—]\s*$/.test(this.options.title)||(this.options.title+=":"),!0}},mailru:{counterUrl:p+"//connect.mail.ru/share_count?url_list={url}&callback=1&func=?",convertNumber:function(e){for(var t in e)if(e.hasOwnProperty(t))return e[t].shares},popupUrl:"https://connect.mail.ru/share?share_url={url}&title={title}",popupWidth:492,popupHeight:500},vkontakte:{counterUrl:"https://vk.com/share.php?act=count&url={url}&index={index}",counter:function(t,i){var n=f.vkontakte;n._||(n._=[],window.VK||(window.VK={}),window.VK.Share={count:function(e,t){n._[e].resolve(t)}});var a=n._.length;n._.push(i),e.getScript(o(t,{index:a})).fail(i.reject)},popupUrl:"https://vk.com/share.php?url={url}&title={title}",popupWidth:655,popupHeight:450},odnoklassniki:{counterUrl:p+"//connect.ok.ru/dk?st.cmd=extLike&ref={url}&uid={index}",counter:function(t,i){var n=f.odnoklassniki;n._||(n._=[],window.ODKL||(window.ODKL={}),window.ODKL.updateCount=function(e,t){n._[e].resolve(t)});var a=n._.length;n._.push(i),e.getScript(o(t,{index:a})).fail(i.reject)},popupUrl:"https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&service=odnoklassniki&st.shareUrl={url}",popupWidth:580,popupHeight:336},plusone:{counterUrl:p+"//share.yandex.ru/gpp.xml?url={url}&callback=?",convertNumber:function(e){return parseInt(e.replace(/\D/g,""),10)},popupUrl:"https://plus.google.com/share?url={url}",popupWidth:500,popupHeight:550},pinterest:{counterUrl:p+"//api.pinterest.com/v1/urls/count.json?url={url}&callback=?",convertNumber:function(e){return e.count},popupUrl:"https://pinterest.com/pin/create/button/?url={url}&description={title}",popupWidth:740,popupHeight:550}},g={promises:{},fetch:function(t,i,n){g.promises[t]||(g.promises[t]={});var a=g.promises[t];if(!n.forceUpdate&&a[i])return a[i];var s=e.extend({},f[t],n),r=e.Deferred(),l=s.counterUrl&&o(s.counterUrl,{url:i});return l&&e.isFunction(s.counter)?s.counter(l,r):s.counterUrl?e.getJSON(l).done(function(t){try{var i=t;e.isFunction(s.convertNumber)&&(i=s.convertNumber(t)),r.resolve(i)}catch(n){r.reject()}}).fail(r.reject):r.reject(),a[i]=r.promise(),a[i]}};e.fn.socialLikes=function(t){return this.each(function(){var n=e(this),o=n.data(d);o?e.isPlainObject(t)&&o.update(t):(o=new i(n,e.extend({},e.fn.socialLikes.defaults,t,a(n))),n.data(d,o))})},e.fn.socialLikes.defaults={url:window.location.href.replace(window.location.hash,""),title:document.title,counters:!0,zeroes:!1,wait:500,timeout:1e4,popupCheckInterval:500,singleTitle:"Share"},i.prototype={init:function(){this.container.addClass(d),this.single=this.container.hasClass(d+"_single"),this.initUserButtons(),this.countersLeft=0,this.number=0,this.container.on("counter."+d,e.proxy(this.updateCounter,this));var t=this.container.children();this.makeSingleButton(),this.buttons=[],t.each(e.proxy(function(t,i){var a=new n(e(i),this.options);this.buttons.push(a),a.options.counterUrl&&this.countersLeft++},this)),this.options.counters?(this.timer=setTimeout(e.proxy(this.appear,this),this.options.wait),this.timeout=setTimeout(e.proxy(this.ready,this,!0),this.options.timeout)):this.appear()},initUserButtons:function(){!this.userButtonInited&&window.socialLikesButtons&&e.extend(!0,f,socialLikesButtons),this.userButtonInited=!0},makeSingleButton:function(){if(this.single){var t=this.container;t.addClass(d+"_vertical"),t.wrap(e("
                  ",{"class":d+"_single-w"})),t.wrapInner(e("
                  ",{"class":d+"__single-container"}));var i=t.parent(),n=e("
                  ",{"class":r("widget","single")}),a=e(s('
                  {title}
                  ',{buttonCls:r("button","single"),iconCls:r("icon","single"),title:this.options.singleTitle}));n.append(a),i.append(n),n.on("click",function(){var e=d+"__widget_active";return n.toggleClass(e),n.hasClass(e)?(t.css({left:-(t.width()-n.width())/2,top:-t.height()}),c(t),l(t,function(){n.removeClass(e)})):t.removeClass(u),!1}),this.widget=n}},update:function(t){if(t.forceUpdate||t.url!==this.options.url){this.number=0,this.countersLeft=this.buttons.length,this.widget&&this.widget.find("."+d+"__counter").remove(),e.extend(this.options,t);for(var i=0;i",{"class":r("counter","single")}),this.widget.append(t)),t}},n.prototype={init:function(){this.detectParams(),this.initHtml(),setTimeout(e.proxy(this.initCounter,this),0)},update:function(t){e.extend(this.options,{forceUpdate:!1},t),this.widget.find("."+d+"__counter").remove(),this.initCounter()},detectService:function(){var t=this.widget.data("service");if(!t){for(var i=this.widget[0],n=i.classList||i.className.split(" "),a=0;a",{"class":this.getElementClassNames("button"),html:i.html()});if(t.clickUrl){var s=o(t.clickUrl,{url:t.url,title:t.title}),r=e("
                  ",{href:s});this.cloneDataAttrs(i,r),i.replaceWith(r),this.widget=i=r}else i.on("click",e.proxy(this.click,this));i.removeClass(this.service),i.addClass(this.getElementClassNames("widget")),a.prepend(e("",{"class":this.getElementClassNames("icon")})),i.empty().append(a),this.button=a},initCounter:function(){if(this.options.counters)if(this.options.counterNumber)this.updateCounter(this.options.counterNumber);else{var t={counterUrl:this.options.counterUrl,forceUpdate:this.options.forceUpdate};g.fetch(this.service,this.options.url,t).always(e.proxy(this.updateCounter,this))}},cloneDataAttrs:function(e,t){var i=e.data();for(var n in i)i.hasOwnProperty(n)&&t.data(n,i[n])},getElementClassNames:function(e){return r(e,this.service)},updateCounter:function(t){t=parseInt(t,10)||0;var i={"class":this.getElementClassNames("counter"),text:t};t||this.options.zeroes||(i["class"]+=" "+d+"__counter_empty",i.text="");var n=e("",i);this.widget.append(n),this.widget.trigger("counter."+d,[this.service,t])},click:function(t){var i=this.options,n=!0;if(e.isFunction(i.click)&&(n=i.click.call(this,t)),n){var a=o(i.popupUrl,{url:i.url,title:i.title});a=this.addAdditionalParamsToUrl(a),this.openPopup(a,{width:i.popupWidth,height:i.popupHeight})}return!1},addAdditionalParamsToUrl:function(t){var i=e.param(e.extend(this.widget.data(),this.options.data));if(e.isEmptyObject(i))return t;var n=-1===t.indexOf("?")?"?":"&";return t+n+i},openPopup:function(t,i){var n=Math.round(screen.width/2-i.width/2),a=0;screen.height>i.height&&(a=Math.round(screen.height/3-i.height/2));var o=window.open(t,"sl_"+this.service,"left="+n+",top="+a+",width="+i.width+",height="+i.height+",personalbar=0,toolbar=0,scrollbars=1,resizable=1");if(o){o.focus(),this.widget.trigger("popup_opened."+d,[this.service,o]);var s=setInterval(e.proxy(function(){o.closed&&(clearInterval(s),this.widget.trigger("popup_closed."+d,this.service))},this),this.options.popupCheckInterval)}else location.href=t}},e(function(){e("."+d).socialLikes()})});var map;!function(e){var t=e(window),i=(e("html"),e("body"),e(document));e.widget("custom.catcomplete",e.ui.autocomplete,{_renderMenu:function(t,i){var n=this,a="";e.each(i,function(e,i){i.category!=a&&(t.append("
                • "+i.category+"
                • "),a=i.category),n._renderItemData(t,i)})}}),e(function(){function n(e){return(e.getDate()<10?"0":"")+e.getDate()+"."+(e.getMonth()<9?"0":"")+(e.getMonth()+1)+"."+e.getFullYear()}e("#send_message_form").on("submit",function(t){t.preventDefault(),$this=e(this);var i=$this.serialize(),n=$this.attr("action");e.post(n,i,function(t){t.success&&(e.fancybox.close(),$this.find("#id_body").val(""))})}),e("#reply_form").on("submit",function(t){t.preventDefault(),$this=e(this);var i=$this.serialize(),n=e("#reply_message").val(),a="/profile/messages/reply/"+n+"/";e.post(a,i,function(t){t.success&&(e.fancybox.close(),$this.find("#id_recipient").val(""),$this.find("#id_body").val(""))})}),e(".visit, .unvisit").on("click",function(t){t.preventDefault();var i=e(this),n=e(this).attr("href");e.get(n,function(t){t.not_authorized?e.fancybox.open("#pw-login"):t.success&&(t["in"]?i.hasClass("visit")&&(i.hide(),i.siblings(".unvisit").show()):i.hasClass("unvisit")&&(i.hide(),i.siblings(".visit").show()))})}),e("#paswd_change").on("submit",function(t){t.preventDefault();var i=e(this).serialize(),n="/profile/change-password/",a=e(this);e.post(n,i,function(t){if(t.success)e("#paswd_change .mf-success").fadeIn(300),setTimeout(function(){e("#paswd_change .mf-success").fadeOut(300)},3e3),a.find("#id_old password").val("");else{e("#paswd_change .mf-error").parent().remove();var i=e("
                  ").attr("class","mf-line").append(e("
                  ").attr("class","mf-error").append(t.errors[0]));a.find(".mf-buttons-line").before(i)}})}),e(".reg").on("click",function(t){t.preventDefault(),e(".register").click()}),e.fn.customSelect=function(){return e(this).each(function(){var t=e(this),i=t.children("option"),n=t.children("option").length,a=e(":selected",t);t.addClass("s-hidden"),t.wrap('
                  '),t.after('
                  ');var o=t.next("div.custom-select-wrap"),s=o.children(".custom-select-text"),r=0!=a.length?a.text():t.children("option").eq(0).text();s.text(r),0!=i.index(a)||t.children("option").eq(0).val()&&t.children("option").eq(0).attr("value")||s.addClass("placeholder");for(var l=e('
                  ').insertAfter(o),c=l.find(".scroll-content"),d=e("
                    ").appendTo(c),h=0;n>h;h++){var u=""!=t.children("option").eq(h).text()?t.children("option").eq(h).html():" ";e("
                  • ",{html:u,"data-value":t.children("option").eq(h).val()}).appendTo(d)}var p=d.children("li");if(o.on("click",function(i){i.stopPropagation(),e("div.custom-select-wrap.active").not(this).each(function(){e(this).removeClass("active").next(".options").hide()}),t.prop("disabled")||e(this).toggleClass("active").next(".options").toggle()}),p.on("click",function(i){var n=e(this);i.stopPropagation(),s.text(n.text()),o.removeClass("active"),t.val(n.data("value")),0!=n.index()||t.children("option").eq(0).val()&&t.children("option").eq(0).attr("value")?s.removeClass("placeholder"):s.addClass("placeholder"),l.hide()}),e.fn.mCustomScrollbar){var f={scrollInertia:200,contentTouchScroll:!0,scrollButtons:{enable:!1},advanced:{autoScrollOnFocus:!1,updateOnContentResize:!0}},g=l.find("div.cs-scroll-container");g.mCustomScrollbar(f)}e(document).on("click",function(){o.removeClass("active"),l.hide()}),t.on("change",function(){var i=e(this),n=i.prop("selectedIndex"),a=i.children("option").eq(n).text();s.text(a),0!=n||t.children("option").eq(0).val()&&t.children("option").eq(0).attr("value")?s.removeClass("placeholder"):s.addClass("placeholder")})})},e("select:not([multiple])").each(function(){var t=e(this);t.hasClass("select2")||t.customSelect()}),e("#mp-recent-expo").each(function(){var t=e(this),i=t.children("ul"),n=i.children("li"),a=t.children("div.re-controls");n.length>1&&a.addClass("enabled")}),e("#mp-photo-gallery").each(function(){var t=e(this),i=t.children("ul"),n=i.children("li"),a=t.children("div.re-controls"),o=a.children("a.prev"),s=a.children("a.next");if(n.length>1){a.addClass("enabled");var r=t.swiper({speed:500,mode:"horizontal",loop:!1,simulateTouch:!1,onInit:function(e){o.addClass("disabled")},onSlideChangeStart:function(e){var t=n.find("div.pgi-descr");t.animate({height:"hide",opacity:"hide"},500),0==e.activeIndex?(o.hasClass("disabled")||o.addClass("disabled"),s.hasClass("disabled")&&s.removeClass("disabled")):e.activeIndex==e.slides.length-1?(s.hasClass("disabled")||s.addClass("disabled"),o.hasClass("disabled")&&o.removeClass("disabled")):(o.hasClass("disabled")&&o.removeClass("disabled"),s.hasClass("disabled")&&s.removeClass("disabled"))},onSlideChangeEnd:function(e){var t=n.find("div.pgi-descr");t.eq(e.activeIndex).slideDown(250)}});o.on("click",function(){return e(this).hasClass("disabled")||r.swipePrev(),!1}),s.on("click",function(){return e(this).hasClass("disabled")||r.swipeNext(),!1})}}),e("#ps-photo-gallery").each(function(){var t=e(this),i=t.children("ul"),n=i.children("li"),a=t.children("div.re-controls"),o=a.children("a.prev"),s=a.children("a.next");if(n.length>1){a.addClass("enabled"),n.css({display:"block"});var r=t.swiper({speed:500,mode:"horizontal",calculateHeight:!0,loop:!1,simulateTouch:!1,onInit:function(e){o.addClass("disabled")},onSlideChangeStart:function(e){0==e.activeIndex?(o.hasClass("disabled")||o.addClass("disabled"),s.hasClass("disabled")&&s.removeClass("disabled")):e.activeIndex==e.slides.length-1?(s.hasClass("disabled")||s.addClass("disabled"),o.hasClass("disabled")&&o.removeClass("disabled")):(o.hasClass("disabled")&&o.removeClass("disabled"),s.hasClass("disabled")&&s.removeClass("disabled"))}});o.on("click",function(){return e(this).hasClass("disabled")||r.swipePrev(),!1}),s.on("click",function(){return e(this).hasClass("disabled")||r.swipeNext(),!1})}}),e("#s-slide-gallery").each(function(){var i=e(this),n=i.children("ul"),a=n.children("li"),o=i.children("div.re-controls"),s=o.children("a.prev"),r=o.children("a.next");if(a.length>4){o.addClass("enabled"),a.css({display:"block"}),t.on("resize",function(){i.height(a.eq(0).height())}).trigger("resize");var l=i.swiper({slidesPerView:4,slidesPerGroup:4,speed:500,mode:"horizontal",calculateHeight:!0,loop:!1,simulateTouch:!1,onInit:function(e){s.addClass("disabled")},onSlideChangeStart:function(e){0==e.activeIndex?(s.hasClass("disabled")||s.addClass("disabled"),r.hasClass("disabled")&&r.removeClass("disabled")):e.activeIndex==e.slides.length-4?(r.hasClass("disabled")||r.addClass("disabled"),s.hasClass("disabled")&&s.removeClass("disabled")):(s.hasClass("disabled")&&s.removeClass("disabled"),r.hasClass("disabled")&&r.removeClass("disabled"))}});s.on("click",function(){return e(this).hasClass("disabled")||l.swipePrev(),!1}),r.on("click",function(){return e(this).hasClass("disabled")||l.swipeNext(),!1})}}),e(".sli-slides").each(function(){var i=e(this),n=i.children("ul"),a=n.children("li"),o=i.children("div.re-controls"),s=o.children("a.prev"),r=o.children("a.next");if(a.length>4){o.addClass("enabled"),a.css({display:"block"}),t.on("resize",function(){i.css({height:a.eq(0).height()})}).trigger("resize");var l=i.swiper({slidesPerView:4,slidesPerGroup:4,calculateHeight:!0,speed:500,mode:"horizontal",loop:!1,simulateTouch:!1,onInit:function(e){s.addClass("disabled")},onSlideChangeStart:function(e){0==e.activeIndex?(s.hasClass("disabled")||s.addClass("disabled"),r.hasClass("disabled")&&r.removeClass("disabled")):e.activeIndex==e.slides.length-4?(r.hasClass("disabled")||r.addClass("disabled"),s.hasClass("disabled")&&s.removeClass("disabled")):(s.hasClass("disabled")&&s.removeClass("disabled"),r.hasClass("disabled")&&r.removeClass("disabled"))}});s.on("click",function(){return e(this).hasClass("disabled")||l.swipePrev(),!1}),r.on("click",function(){return e(this).hasClass("disabled")||l.swipeNext(),!1})}});var a={padding:0,fitToView:!1};e("a.pw-open").fancybox(a),e("input[placeholder], textarea[placeholder]").placeholder(),i.on("focus",'form.pw-form input[type="text"], form.pw-form input[type="password"]',function(t){var i=e(this),n=i.closest(".pwf-line"),a=n.find("div.msg-help"),o=n.find("div.msg-error"),s=e(this).parent().parent().parent().find(".mf-error");o.parent().remove(),s.parent().remove(),a.is(":hidden")&&a.fadeIn(300)}),i.on("blur",'form.pw-form input[type="text"], form.pw-form input[type="password"]',function(t){var i=e(this),n=i.closest(".pwf-line"),a=n.find("div.msg-help");a.is(":visible")&&!n.hasClass("has_error")&&a.fadeOut(300)});var o={scrollInertia:200,contentTouchScroll:!0,scrollButtons:{enable:!1},advanced:{updateOnContentResize:!0}};e("div.scroll-container").each(function(){var t=e(this);t.mCustomScrollbar(o)}),e("#subscribe-sm").each(function(){var t=e(this),i=t.find("a");i.on("click",function(){var t=(e(this),i.index(this)),n=e("#pw-subscribe");e.fancybox(n,a);var o=n.find("ul.tabs > li");return o.eq(t).trigger("click"),!1})}),e("ul.tabs > li").on("click",function(){var t=e(this),i=t.closest("ul"),n=i.children("li").index(this),a=i.siblings(".tabs-content"),o=t.find("a"),s=t.closest("#pw-subscribe");if(!t.hasClass("active")){s.length&&(a=s.find(".tabs-content"));var r=i.children("li.active"),l=a.find("li.active"),c=a.children("li").eq(n);r.removeClass("active"),l.removeClass("active"),t.addClass("active"),c.addClass("active")}return o.blur(),closeSelectBox(),!1}),e("#cli-pg").each(function(){var t=e(this),i=t.find("a");i.on({mouseenter:function(){var t=e(this),i=t.find(".pg-title");i.stop(!0,!0).slideDown(300,function(){i.css({display:"block"})})},mouseleave:function(){var t=e(this),i=t.find(".pg-title");i.stop(!0,!0).slideUp(300)}})}),e("#map-canvas").each(function(){var t=e(this);t.is(":hidden")||(google.maps.event.addDomListener(window,"load",mapInit),t.data("init",!0))}),e("a.toggle-map").on({click:function(){var t=e(this),i=t.closest(".i-address"),n=i.children(".i-map"),a=e("#map-canvas");i.find("header a.toggle-map");return n.is(":hidden")?(n.stop(!0,!0).animate({opacity:"show",height:"show"},300,function(){a.data("init")||(mapInit(),a.data("init",!0))}),i.addClass("map-opened")):n.stop(!0,!0).animate({opacity:"hide",height:"hide"},300,function(){i.removeClass("map-opened")}),!1}}),e("ul.messages-list").each(function(){var t=e(this),i=t.children("li");i.on({mouseenter:function(){var t=e(this),i=t.find("div.mi-buttons");i.stop(!0,!0).animate({opacity:"show",height:"show"},250)},mouseleave:function(){var t=e(this),i=t.find("div.mi-buttons");i.stop(!0,!0).animate({opacity:"hide",height:"hide"},250)}})}),e(".set-sect > header").on("click",function(){var t=e(this),i=t.closest(".set-sect"),n=i.children("div.set-sect-body");n.is(":visible")?n.stop(!0,!0).animate({height:"hide",opacity:"hide"},300,function(){i.addClass("closed")}):n.stop(!0,!0).animate({height:"show",opacity:"show"},300,function(){i.removeClass("closed")})}),e('input[type="checkbox"].annoncesFlag').each(function(){var t=e(this);t.on("change",function(){var e=t.closest("div.mf-announces").children("div.mf-announces-body"),i=e.find("input, select, textarea"),n=e.find("div.c-select-box");t.prop("checked")?(e.removeClass("disabled"),n.removeClass("disabled"),i.prop("disabled",!1)):(e.addClass("disabled"),n.addClass("disabled"),i.prop("disabled",!0))}).trigger("change")}),e("a.icb-edit-profile").on("click",function(){var t=e(this),i=t.next("a.icb-exit-edit"),n=e("div.p-editable");return t.css({display:"none"}),i.css({display:"inline-block"}),n.addClass("pe-active"),!1}),e("a.icb-exit-edit").on("click",function(){var t=e(this),i=t.prev("a.icb-edit-profile"),n=e("div.p-editable");return i.css({display:"inline-block"}),t.css({display:"none"}),n.removeClass("pe-active"),!1}),e('input[type="file"]').each(function(){var t=e(this),i=t.closest(".input-file"),n=i.children(".file-text");""!=t.val()?(n.text(t.val()),n.removeClass("placeholder")):(n.text(n.data("placeholder")),n.addClass("placeholder")),t.on({change:function(){""!=t.val()?(n.text(t.val()),n.removeClass("placeholder")):(n.text(n.data("placeholder")),n.addClass("placeholder"))}})}),e("form.af-statistic div.mf-stat").each(function(){var t=e(this),i=t.children(".mf-stat-add-button"),n=i.find("a.icon-add");n.on("click",function(){var n=t.children(".mf-stat-item"),a=n.length,o=n.eq(0).find("select").eq(0).find("option").length-1,s=n.eq(0).clone(),r=s.find("select"),l=s.find("input");return l.val(""),r.each(function(){var t=e(this),i=t.closest(".custom-select"),n=t.clone();n.insertAfter(i),n.customSelect(),i.remove()}),s.insertBefore(i),a==o-1&&i.hide(),!1})}),e('input[type="checkbox"].w-time-switcher').each(function(){function t(){var t=n.find("div.w-time"),a=t.eq(0),o=a.find("select");t.each(function(t){var i=e(this);if(0!=t)for(var n=i.find("select"),a=1;a");o.val(n(t)).text(n(t)),i.html(o);for(var s=1;u>s;s++){var l=o.clone();t.setDate(t.getDate()+1),l.val(n(t)).text(n(t)),i.append(l)}i.prop("selectedIndex",0),a.length&&(i.insertAfter(a),a.remove()),i.customSelect()});for(var f=1;u>f;f++){var g=a.clone(),m=g.find("select");g.children("label.check").remove(),m.each(function(t){var i=e(this),n=i.closest(".custom-select");i.insertAfter(n),0==t?i.prop("selectedIndex",f):h.prop("checked")&&i.prop("selectedIndex",p.eq(t).prop("selectedIndex")),n.remove(),i.customSelect()}),c.append(g)}}var a=e(this),o=a.find("input.dateFrom"),s=a.find("input.dateTo"),r=new Date,l=new Date,c=e("#work-time");o.on("change",function(){i()}),s.on("change",function(){i()}),i()}),e("div.request-form").each(function(){var t=e(this),i=t.find("div.rq-btn-to-hide"),n=i.find("a"),a=t.find("div.rq-form"),o=t.find("div.rq-to-hide");a.find("div.rq-btn-wrap");n.on("click",function(){return o.hide(),a.animate({height:"show",opacity:"show"},300,function(){t.addClass("rqf-opened")}),!1})}),e("form div.rq-switch").each(function(){function t(){var e=o.find("input, select"),t=o.find("div.c-select-box");n.prop("checked")?(o.removeClass("disabled"),t.removeClass("disabled"),e.prop("disabled",!1)):(o.addClass("disabled"),t.addClass("disabled"),e.prop("checked",!1).prop("disabled",!0),e.trigger("change"))}var i=e(this),n=i.find('input[type="checkbox"]'),a=i.closest(".rq-sub-sect"),o=a.children(".rq-sub-sect-body");t(),n.on("change",t)}),e("a.reply-msg").on("click",function(){var t=e(this).attr("data-sender"),i=e(this).attr("data-reply-message"),n=e("#pw-reply");n.find("#id_recipient").val(t),n.find("#reply_message").val(i)})})}(jQuery),$(document).ready(function(){set_filter_block_height(),$("#filter_form_wraper").on("click",".show_more_link",function(e){e.preventDefault();for(var t=$(this).parents(".filter_block"),i=t.find("li").length,n=t.find("li:visible").length,a=0;10>a;a++)n+a!=i?t.find("li").eq(n+a).fadeIn(200):$(this).parent().hide()}).on("click",".show_all_link",function(e){e.preventDefault();var t=$(this).parents(".filter_block");t.find("li").fadeIn(200),t.find(".links_block").hide()}).on("click","#get_filters",function(e){e.preventDefault();var t="",i=$(this);i.html(''),$.each(window.sendData,function(e,i){var n=e;if(i.length){if("array"==$.type(i))for(var a=0;a img",this).attr("title")}),!1}),$("#large>img").load(function(){$("#large>img:hidden").fadeIn("slow")}),setTimeout(function(){$("a.subscribe_link").click()},3e3),$(".subscribe_success").click(function(){return $("div.subscribe_before").hide(),$("div.subscribe_after").show(),setTimeout(function(){$("a.fancybox-close").click()},2e3),!1});var e=$("div.subjects_list ul li").length,t=e-5;$("div.subjects_list ul li:gt(4)").hide(),$("div.subjects_list span i").text(t),e>5&&$("div.subjects_list").addClass("more"),$("div.subjects_list span").click(function(){return $(this).parents("div.subjects_list").removeClass("more"),$(this).parents("div.subjects_list").find("li").show(),!1}),$(".preview_toggle").on("click",function(e){e.preventDefault();var t=$(this);t.hasClass("full")?t.removeClass("full").text(t.data("short")):t.addClass("full").text(t.data("full")),$(".new_article").toggleClass("hidden")}),$("#message-not-found").length&&$.fancybox.open({href:"#message-not-found"})});var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){var t,i,n,a,o,s,r,l="",c=0;for(e=Base64._utf8_encode(e);c>2,o=(3&t)<<4|i>>4,s=(15&i)<<2|n>>6,r=63&n,isNaN(i)?s=r=64:isNaN(n)&&(r=64),l=l+this._keyStr.charAt(a)+this._keyStr.charAt(o)+this._keyStr.charAt(s)+this._keyStr.charAt(r);return l},decode:function(e){var t,i,n,a,o,s,r,l="",c=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");c>4,i=(15&o)<<4|s>>2,n=(3&s)<<6|r,l+=String.fromCharCode(t),64!=s&&(l+=String.fromCharCode(i)),64!=r&&(l+=String.fromCharCode(n));return l=Base64._utf8_decode(l)},_utf8_encode:function(e){e=e.replace(/\r\n/g,"\n");for(var t="",i=0;in?t+=String.fromCharCode(n):n>127&&2048>n?(t+=String.fromCharCode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t},_utf8_decode:function(e){for(var t="",i=0,n=c1=c2=0;in?(t+=String.fromCharCode(n),i++):n>191&&224>n?(c2=e.charCodeAt(i+1),t+=String.fromCharCode((31&n)<<6|63&c2),i+=2):(c2=e.charCodeAt(i+1),c3=e.charCodeAt(i+2),t+=String.fromCharCode((15&n)<<12|(63&c2)<<6|63&c3),i+=3);return t}}; \ No newline at end of file diff --git a/static/client/seminar_lending/bower.json b/static/client/seminar_lending/bower.json deleted file mode 100644 index 12d6b2b4..00000000 --- a/static/client/seminar_lending/bower.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "expo_landing", - "version": "0.0.0", - "authors": [ - "Poul Handleman " - ], - "license": "MIT", - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "tests" - ], - "dependencies": { - "bootstrap": "~3.3.4", - "normalize.css": "~3.0.3", - "zepto": "~1.1.6" - }, - "devDependencies": { - "jquery-fadethis": "~1.0.4", - "superscrollorama": "~1.0.3", - "gsap": "~1.17.0" - } -} diff --git a/static/client/seminar_lending/css/main.css b/static/client/seminar_lending/css/main.css deleted file mode 100644 index 25f1aa54..00000000 --- a/static/client/seminar_lending/css/main.css +++ /dev/null @@ -1,370 +0,0 @@ -/* ========================================================================== - Fonts - ========================================================================== */ -@font-face { - font-family: 'dindisplay_pro'; - src: url('../fonts/pfdindisplaypro-med-webfont.eot'); - src: url('../fonts/pfdindisplaypro-med-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/pfdindisplaypro-med-webfont.woff') format('woff'), url('../fonts/pfdindisplaypro-med-webfont.ttf') format('truetype'), url('../fonts/pfdindisplaypro-med-webfont.svg#pf_dindisplay_promedium') format('svg'); - font-weight: 500; - font-style: normal; -} -@font-face { - font-family: 'dindisplay_pro'; - src: url('../fonts/pfdindisplaypro-thin-webfont.eot'); - src: url('../fonts/pfdindisplaypro-thin-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/pfdindisplaypro-thin-webfont.ttf') format('truetype'), url('../fonts/pfdindisplaypro-thin-webfont.woff') format('woff'); - font-weight: 100; - font-style: normal; -} -@font-face { - font-family: 'dindisplay_pro'; - src: url('../fonts/pfdindisplaypro-light-webfont.eot'); - src: url('../fonts/pfdindisplaypro-light-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/pfdindisplaypro-light-webfont.woff') format('woff'), url('../fonts/pfdindisplaypro-light-webfont.ttf') format('truetype'); - font-weight: 300; - font-style: normal; -} -@font-face { - font-family: 'dindisplay_pro'; - src: url('../fonts/pfdindisplaypro-italic-webfont.eot'); - src: url('../fonts/pfdindisplaypro-italic-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/pfdindisplaypro-italic-webfont.woff') format('woff'), url('../fonts/pfdindisplaypro-italic-webfont.ttf') format('truetype'); - font-weight: normal; - font-style: italic; -} -@font-face { - font-family: 'dindisplay_pro'; - src: url('../fonts/pfdindisplaypro-bold-webfont.eot'); - src: url('../fonts/pfdindisplaypro-bold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/pfdindisplaypro-bold-webfont.ttf') format('truetype'), url('../fonts/pfdindisplaypro-bold-webfont.woff') format('woff'); - font-weight: bold; - font-style: normal; -} -@font-face { - font-family: 'dindisplay_pro'; - src: url('../fonts/pfdindisplaypro-reg-webfont.eot'); - src: url('../fonts/pfdindisplaypro-reg-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/pfdindisplaypro-reg-webfont.woff') format('woff'), url('../fonts/pfdindisplaypro-reg-webfont.ttf') format('truetype'); - font-weight: normal; - font-style: normal; -} -body { - font-family: dindisplay_pro, sans-serif; - font-weight: normal; - font-style: normal; - font-size: 18px; - color: #0b0301; -} -a { - color: #ff7c00; - text-decoration: underline; - -webkit-transition: all .3s; - -o-transition: all .3s; - transition: all .3s; -} -a:hover { - text-decoration: none; - color: #ff9633; -} -a.btn { - text-decoration: none; -} -.logo_strip { - background: #eeeeed; - min-height: 154px; - color: #462e2e; - font-size: 24px; -} -.logo_strip .phone { - font-size: 42px; - font-weight: bold; - color: #000000; -} -.logo_strip .phone .gray { - font-weight: 300; - color: #949494; -} -.logo_strip .logo { - display: block; - margin-top: 54px; -} -.logo_strip .phone-block { - padding-top: 36px; -} -.logo_strip .phone-block p { - margin-bottom: 0; -} -.btn { - text-transform: uppercase; - color: #fcfcfb; - border-color: #ff6a00; - padding-left: 20px; - padding-right: 20px; -} -.btn.btn-primary { - font-size: 20px; - background: #ff7f00; - /* Old browsers */ - /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff7f00), color-stop(100%, #ff6a00)); - /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #ff7f00 0%, #ff6a00 100%); - /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #ff7f00 0%, #ff6a00 100%); - /* Opera 11.10+ */ - /* IE10+ */ - background: linear-gradient(to bottom, #ff7f00 0%, #ff6a00 100%); - /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff7f00', endColorstr='#ff6a00', GradientType=0); - /* IE6-9 */ - -webkit-transition: all .3s; - -o-transition: all .3s; - transition: all .3s; -} -.btn.btn-primary:hover { - border-color: #ff8833; - background: #ff9933; - /* Old browsers */ - /* FF3.6+ */ - background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff9933), color-stop(100%, #ff8833)); - /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(top, #ff9933 0%, #ff8833 100%); - /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(top, #ff9933 0%, #ff8833 100%); - /* Opera 11.10+ */ - /* IE10+ */ - background: linear-gradient(to bottom, #ff9933 0%, #ff8833 100%); - /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff7f00', endColorstr='#ff6a00', GradientType=0); - /* IE6-9 */ -} -.btn.btn-lg { - font-size: 26px; -} -.jumbotron { - min-height: 606px; - background: transparent url(../img/header_back.jpg) center top no-repeat; - background-size: auto; - color: #f8f8f6; - padding-top: 80px; - margin-bottom: 0; - line-height: 1.5; -} -.jumbotron h1 { - font-size: 48px; - font-weight: 300; - color: #ffffff; - margin-bottom: 46px; -} -.jumbotron p { - font-weight: normal; - color: #b6b5b2; -} -.jumbotron .btn { - margin-top: 42px; -} -.attention { - color: #ff6600 !important; -} -.quote-strip { - min-height: 252px; - background: #fac8a5; - font-size: 26px; - font-weight: 300; - padding-top: 48px; - color: #c39b82; - -webkit-transition: all .3s; - -o-transition: all .3s; - transition: all .3s; -} -.quote-strip:hover { - color: #000000; -} -.quote-strip .quote { - font-size: 20px; - font-style: italic; - text-align: right; - color: #000000 !important; -} -.quote-strip .quote strong { - font-style: normal; -} -.event-program-strip { - background: #fcfcfb; - /* Old browsers */ - /* FF3.6+ */ - background: -webkit-gradient(linear, left top, right top, color-stop(47%, #fcfcfb), color-stop(47%, #fcfcfb), color-stop(53%, #f8ede4)); - /* Chrome,Safari4+ */ - background: -webkit-linear-gradient(left, #fcfcfb 47%, #fcfcfb 47%, #f8ede4 53%); - /* Chrome10+,Safari5.1+ */ - background: -o-linear-gradient(left, #fcfcfb 47%, #fcfcfb 47%, #f8ede4 53%); - /* Opera 11.10+ */ - /* IE10+ */ - background: linear-gradient(to right, #fcfcfb 47%, #fcfcfb 47%, #f8ede4 53%); - /* W3C */ - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfb', endColorstr='#f8ede4', GradientType=1); - /* IE6-9 */ - font-size: 20px; -} -.event-program-strip h2 { - font-size: 30px; - font-weight: normal; - color: #ff6600; -} -.event-program-strip .timing-table { - background-color: #fcfcfb; - padding: 36px 15px; - font-size: 18px; -} -.event-program-strip .timing-table p { - margin-bottom: 32px; -} -.event-program-strip .timing-table .timing { - border-radius: 10px; - border: 1px solid #dadad8; - background: #FCFCFB; - padding-top: 16px; -} -.event-program-strip .timing-table .timing p { - margin-bottom: 0; - padding-bottom: 16px; - padding-left: 28px; - font-size: 16px; - display: block; -} -.event-program-strip .timing-table .timing p.with-time { - padding-left: 0; -} -.event-program-strip .timing-table .timing .odd { - background: #F4F4F4; -} -.event-program-strip .timing-table .timing .time { - display: inline-block; - font-size: 20px; - color: #ffffff; - line-height: 36px; - height: 36px; - padding: 0 24px; - background: #fd7821; -} -.event-program-strip .timing-table .timing ul { - font-size: 18px; - display: block; - margin: 0; - padding: 0; - padding-left: 28px; -} -.event-program-strip .timing-table .timing ul li { - display: block; - margin-bottom: 16px; - padding-left: 14px; -} -.event-program-strip .timing-table .timing ul li .dot { - display: inline-block; - margin-left: -14px; - color: #ff6600; -} -.event-program-strip .timing-table .timing .reporter { - display: block; - padding-left: 22px; - border-left: 1px solid #e8e8e7; -} -.event-program-strip .timing-table .timing .reporter img, -.event-program-strip .timing-table .timing .reporter figcaption { - display: inline-block; - vertical-align: middle; - padding-left: 4px; -} -.event-program-strip .timing-table .timing .reporter img { - width: 38%; -} -.event-program-strip .timing-table .timing .reporter figcaption { - width: 60%; -} -.event-program-strip .venue { - background-color: #f8ede4; - padding: 36px 15px; - font-size: 18px; -} -.event-program-strip .venue h2 { - margin-top: 0; -} -.event-program-strip .venue p { - margin-bottom: 16px; -} -.footer { - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - -moz-box-sizing: border-box; - box-sizing: border-box; - min-height: 670px; - background: transparent url(../img/footer_back.jpg) center top no-repeat; - background-size: auto; -} -.footer h2 { - font-size: 48px; - font-weight: bold; - margin-top: 76px; - color: #ffffff; - text-align: center; -} -.footer .reasons-strip { - padding-bottom: 16px; - min-height: 400px; -} -.footer .reasons { - display: table; - width: 100%; - margin-top: 46px; -} -.footer .reasons .reason { - display: table-cell; - font-size: 16px; - color: #ffffff; - text-align: center; -} -.footer .reasons figcaption { - margin-top: 18px; - padding: 0 26px; -} -.footer .shaded-strip { - min-height: 270px; - padding-top: 44px; - background-color: rgba(0, 0, 0, 0.5); -} -.footer .shaded-strip h2 { - color: #ffffff; - font-weight: bold; - font-size: 36px; - margin-top: 0; -} -.footer .shaded-strip a.large { - font-size: 36px; - text-align: center; - display: block; - margin-bottom: 28px; -} -.footer .shaded-strip .btn.void { - background: transparent; - border: 2px solid #ffffff; -} -.footer .shaded-strip .btn.void:hover { - background: rgba(0, 0, 0, 0.5); -} -.modal-body { - padding: 15px 70px; -} -@media (min-width: 768px) { - .modal-dialog { - width: 460px; - margin: 90px auto; - } -} -.modal-title { - font-size: 24px; - font-weight: normal; - text-align: center; - color: #ff6600; -} -.modal-header { - border-bottom: 0; -} - -/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm1haW4uY3NzIiwibWFpbi5sZXNzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztnRkFFZ0Y7QUNFaEY7RUFDQyw4QkFBQTtFQUNBLHFEQUFBO0VBQ0Esb1RBQUE7RUFJQSxpQkFBQTtFQUNBLG1CQUFBO0NESEE7QUNRRDtFQUNDLDhCQUFBO0VBQ0Esc0RBQUE7RUFDQSxnT0FBQTtFQUdBLGlCQUFBO0VBQ0EsbUJBQUE7Q0RSQTtBQ2FEO0VBQ0MsOEJBQUE7RUFDQSx1REFBQTtFQUNBLG1PQUFBO0VBR0EsaUJBQUE7RUFDQSxtQkFBQTtDRGJBO0FDa0JEO0VBQ0MsOEJBQUE7RUFDQSx3REFBQTtFQUNBLHNPQUFBO0VBR0Esb0JBQUE7RUFDQSxtQkFBQTtDRGxCQTtBQ3VCRDtFQUNDLDhCQUFBO0VBQ0Esc0RBQUE7RUFDQSxnT0FBQTtFQUdBLGtCQUFBO0VBQ0EsbUJBQUE7Q0R2QkE7QUM0QkQ7RUFDQyw4QkFBQTtFQUNBLHFEQUFBO0VBQ0EsNk5BQUE7RUFHQSxvQkFBQTtFQUNBLG1CQUFBO0NENUJBO0FDOEJEO0VBQ0Msd0NBQUE7RUFDQSxvQkFBQTtFQUNBLG1CQUFBO0VBRUEsZ0JBQUE7RUFDQSxlQUFBO0NEN0JBO0FDZ0NEO0VBQ0MsZUFBQTtFQUNBLDJCQUFBO0VBQ0EsNEJBQUE7T0FBQSx1QkFBQTtVQUFBLG9CQUFBO0NEOUJBO0FDK0JBO0VBQ0Msc0JBQUE7RUFDQSxlQUFBO0NEN0JEO0FDK0JBO0VBQ0Msc0JBQUE7Q0Q3QkQ7QUNnQ0Q7RUFDQyxvQkFBQTtFQUNBLGtCQUFBO0VBQ0EsZUFBQTtFQUNBLGdCQUFBO0NEOUJBO0FDMEJEO0VBTUUsZ0JBQUE7RUFDQSxrQkFBQTtFQUNBLGVBQUE7Q0Q3QkQ7QUNxQkQ7RUFVRyxpQkFBQTtFQUNBLGVBQUE7Q0Q1QkY7QUNpQkQ7RUFlRSxlQUFBO0VBQ0EsaUJBQUE7Q0Q3QkQ7QUNhRDtFQW1CRSxrQkFBQTtDRDdCRDtBQ1VEO0VBcUJHLGlCQUFBO0NENUJGO0FDZ0NEO0VBQ0MsMEJBQUE7RUFDQSxlQUFBO0VBQ0Esc0JBQUE7RUFDQSxtQkFBQTtFQUNBLG9CQUFBO0NEOUJBO0FDK0JBO0VBQ0MsZ0JBQUE7RUFDQSxvQkFBQTtFRDdCQSxrQkFBa0I7RUFFbEIsWUFBWTtFQzJCNkcsZ0hBQUE7RUR6QnpILHFCQUFxQjtFQ3lCME8sbUVBQUE7RUR2Qi9QLDBCQUEwQjtFQ3VCcVUsOERBQUE7RURyQi9WLGtCQUFrQjtFQUVsQixXQUFXO0VDbUJvZixpRUFBQTtFRGpCL2YsU0FBUztFQ2lCbWtCLG1IQUFBO0VEZjVrQixXQUFXO0VDZ0JYLDRCQUFBO09BQUEsdUJBQUE7VUFBQSxvQkFBQTtDRGREO0FDZUM7RUFDQyxzQkFBQTtFQUNBLG9CQUFBO0VEYkQsa0JBQWtCO0VBRWxCLFlBQVk7RUNXd0osZ0hBQUE7RURUcEsscUJBQXFCO0VDU2lULG1FQUFBO0VEUHRVLDBCQUEwQjtFQ093YSw4REFBQTtFRExsYyxrQkFBa0I7RUFFbEIsV0FBVztFQ0crb0IsaUVBQUE7RUREMXBCLFNBQVM7RUNDMHZCLG1IQUFBO0VEQ253QixXQUFXO0NBQ1o7QUNDQTtFQUNDLGdCQUFBO0NEQ0Q7QUNHRDtFQUNDLGtCQUFBO0VBQ0EseUVBQUE7RUFDQSxzQkFBQTtFQUNBLGVBQUE7RUFDQSxrQkFBQTtFQUNBLGlCQUFBO0VBQ0EsaUJBQUE7Q0REQTtBQ05EO0VBU0UsZ0JBQUE7RUFDQSxpQkFBQTtFQUNBLGVBQUE7RUFDQSxvQkFBQTtDREFEO0FDWkQ7RUFlRSxvQkFBQTtFQUNBLGVBQUE7Q0RBRDtBQ2hCRDtFQW9CRSxpQkFBQTtDREREO0FDTUQ7RUFDQywwQkFBQTtDREpBO0FDTUQ7RUFDQyxrQkFBQTtFQUNBLG9CQUFBO0VBQ0EsZ0JBQUE7RUFDQSxpQkFBQTtFQUNBLGtCQUFBO0VBQ0EsZUFBQTtFQUNBLDRCQUFBO09BQUEsdUJBQUE7VUFBQSxvQkFBQTtDREpBO0FDS0E7RUFDQyxlQUFBO0NESEQ7QUNORDtFQVlFLGdCQUFBO0VBQ0EsbUJBQUE7RUFDQSxrQkFBQTtFQUNBLDBCQUFBO0NESEQ7QUNaRDtFQWtCRyxtQkFBQTtDREhGO0FDT0Q7RUFFQyxvQkFBQTtFRE5DLGtCQUFrQjtFQUVsQixZQUFZO0VDSXdILHdJQUFBO0VERnBJLHFCQUFxQjtFQ0UyUSxpRkFBQTtFREFoUywwQkFBMEI7RUNBa1gsNEVBQUE7RURFNVksa0JBQWtCO0VBRWxCLFdBQVc7RUNKeWpCLDZFQUFBO0VETXBrQixTQUFTO0VDTmtwQixtSEFBQTtFRFEzcEIsV0FBVztFQ05aLGdCQUFBO0NEUUE7QUNaRDtFQU9FLGdCQUFBO0VBQ0Esb0JBQUE7RUFDQSxlQUFBO0NEUUQ7QUNqQkQ7RUFjRSwwQkFBQTtFQUNBLG1CQUFBO0VBRUEsZ0JBQUE7Q0RLRDtBQ3RCRDtFQW1CRyxvQkFBQTtDRE1GO0FDekJEO0VBc0JHLG9CQUFBO0VBQ0EsMEJBQUE7RUFDQSxvQkFBQTtFQUNBLGtCQUFBO0NETUY7QUMvQkQ7RUEyQkksaUJBQUE7RUFDQSxxQkFBQTtFQUNBLG1CQUFBO0VBQ0EsZ0JBQUE7RUFDQSxlQUFBO0NET0g7QUNORztFQUNDLGdCQUFBO0NEUUo7QUN6Q0Q7RUFxQ0ksb0JBQUE7Q0RPSDtBQzVDRDtFQXdDSSxzQkFBQTtFQUNBLGdCQUFBO0VBQ0EsZUFBQTtFQUNBLGtCQUFBO0VBQ0EsYUFBQTtFQUNBLGdCQUFBO0VBQ0Esb0JBQUE7Q0RPSDtBQ3JERDtFQWlESSxnQkFBQTtFQUNBLGVBQUE7RUFDQSxVQUFBO0VBQ0EsV0FBQTtFQUNBLG1CQUFBO0NET0g7QUM1REQ7RUF1REssZUFBQTtFQUNBLG9CQUFBO0VBQ0EsbUJBQUE7Q0RRSjtBQ2pFRDtFQTJETSxzQkFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtDRFNMO0FDdEVEO0VBa0VJLGVBQUE7RUFFQSxtQkFBQTtFQUNBLCtCQUFBO0NETUg7QUMzRUQ7O0VBdUVLLHNCQUFBO0VBQ0EsdUJBQUE7RUFDQSxrQkFBQTtDRFFKO0FDakZEO0VBNkVLLFdBQUE7Q0RPSjtBQ3BGRDtFQWdGSyxXQUFBO0NET0o7QUN2RkQ7RUF3RkUsMEJBQUE7RUFDQSxtQkFBQTtFQUNBLGdCQUFBO0NERUQ7QUM1RkQ7RUE0RkcsY0FBQTtDREdGO0FDL0ZEO0VBK0ZHLG9CQUFBO0NER0Y7QUNDRDtFQUNDLDBCQUFBO0tBQUEsdUJBQUE7TUFBQSxzQkFBQTtVQUFBLGtCQUFBO0VBQ0EsNEJBQUE7T0FBQSx1QkFBQTtFQUNBLGtCQUFBO0VBQ0EseUVBQUE7RUFDQSxzQkFBQTtDRENBO0FDTkQ7RUFPRSxnQkFBQTtFQUNBLGtCQUFBO0VBQ0EsaUJBQUE7RUFDQSxlQUFBO0VBQ0EsbUJBQUE7Q0RFRDtBQ2JEO0VBY0UscUJBQUE7RUFDQSxrQkFBQTtDREVEO0FDakJEO0VBa0JFLGVBQUE7RUFDQSxZQUFBO0VBQ0EsaUJBQUE7Q0RFRDtBQ3RCRDtFQXNCRyxvQkFBQTtFQUNBLGdCQUFBO0VBQ0EsZUFBQTtFQUVBLG1CQUFBO0NERUY7QUM1QkQ7RUE2QkcsaUJBQUE7RUFDQSxnQkFBQTtDREVGO0FDaENEO0VBbUNFLGtCQUFBO0VBQ0Esa0JBQUE7RUFDQSxxQ0FBQTtDREFEO0FDckNEO0VBdUNHLGVBQUE7RUFDQSxrQkFBQTtFQUNBLGdCQUFBO0VBQ0EsY0FBQTtDRENGO0FDM0NEO0VBOENHLGdCQUFBO0VBQ0EsbUJBQUE7RUFDQSxlQUFBO0VBQ0Esb0JBQUE7Q0RBRjtBQ2pERDtFQW9ERyx3QkFBQTtFQUNBLDBCQUFBO0NEQUY7QUNDRTtFQUNDLCtCQUFBO0NEQ0g7QUNJRDtFQUNDLG1CQUFBO0NERkE7QUNXRDtFQUxDO0lBQ0MsYUFBQTtJQUNBLGtCQUFBO0dESEM7Q0FDRjtBQ0tEO0VBQ0MsZ0JBQUE7RUFDQSxvQkFBQTtFQUNBLG1CQUFBO0VBQ0EsZUFBQTtDREhBO0FDS0Q7RUFDQyxpQkFBQTtDREhBIiwiZmlsZSI6Im1haW4uY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLyogPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbiAgIEZvbnRzXG4gICA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PSAqL1xuQGZvbnQtZmFjZSB7XG4gIGZvbnQtZmFtaWx5OiAnZGluZGlzcGxheV9wcm8nO1xuICBzcmM6IHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLW1lZC13ZWJmb250LmVvdCcpO1xuICBzcmM6IHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLW1lZC13ZWJmb250LmVvdD8jaWVmaXgnKSBmb3JtYXQoJ2VtYmVkZGVkLW9wZW50eXBlJyksIHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLW1lZC13ZWJmb250LndvZmYnKSBmb3JtYXQoJ3dvZmYnKSwgdXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8tbWVkLXdlYmZvbnQudHRmJykgZm9ybWF0KCd0cnVldHlwZScpLCB1cmwoJy4uL2ZvbnRzL3BmZGluZGlzcGxheXByby1tZWQtd2ViZm9udC5zdmcjcGZfZGluZGlzcGxheV9wcm9tZWRpdW0nKSBmb3JtYXQoJ3N2ZycpO1xuICBmb250LXdlaWdodDogNTAwO1xuICBmb250LXN0eWxlOiBub3JtYWw7XG59XG5AZm9udC1mYWNlIHtcbiAgZm9udC1mYW1pbHk6ICdkaW5kaXNwbGF5X3Bybyc7XG4gIHNyYzogdXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8tdGhpbi13ZWJmb250LmVvdCcpO1xuICBzcmM6IHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLXRoaW4td2ViZm9udC5lb3Q/I2llZml4JykgZm9ybWF0KCdlbWJlZGRlZC1vcGVudHlwZScpLCB1cmwoJy4uL2ZvbnRzL3BmZGluZGlzcGxheXByby10aGluLXdlYmZvbnQudHRmJykgZm9ybWF0KCd0cnVldHlwZScpLCB1cmwoJy4uL2ZvbnRzL3BmZGluZGlzcGxheXByby10aGluLXdlYmZvbnQud29mZicpIGZvcm1hdCgnd29mZicpO1xuICBmb250LXdlaWdodDogMTAwO1xuICBmb250LXN0eWxlOiBub3JtYWw7XG59XG5AZm9udC1mYWNlIHtcbiAgZm9udC1mYW1pbHk6ICdkaW5kaXNwbGF5X3Bybyc7XG4gIHNyYzogdXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8tbGlnaHQtd2ViZm9udC5lb3QnKTtcbiAgc3JjOiB1cmwoJy4uL2ZvbnRzL3BmZGluZGlzcGxheXByby1saWdodC13ZWJmb250LmVvdD8jaWVmaXgnKSBmb3JtYXQoJ2VtYmVkZGVkLW9wZW50eXBlJyksIHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLWxpZ2h0LXdlYmZvbnQud29mZicpIGZvcm1hdCgnd29mZicpLCB1cmwoJy4uL2ZvbnRzL3BmZGluZGlzcGxheXByby1saWdodC13ZWJmb250LnR0ZicpIGZvcm1hdCgndHJ1ZXR5cGUnKTtcbiAgZm9udC13ZWlnaHQ6IDMwMDtcbiAgZm9udC1zdHlsZTogbm9ybWFsO1xufVxuQGZvbnQtZmFjZSB7XG4gIGZvbnQtZmFtaWx5OiAnZGluZGlzcGxheV9wcm8nO1xuICBzcmM6IHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLWl0YWxpYy13ZWJmb250LmVvdCcpO1xuICBzcmM6IHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLWl0YWxpYy13ZWJmb250LmVvdD8jaWVmaXgnKSBmb3JtYXQoJ2VtYmVkZGVkLW9wZW50eXBlJyksIHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLWl0YWxpYy13ZWJmb250LndvZmYnKSBmb3JtYXQoJ3dvZmYnKSwgdXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8taXRhbGljLXdlYmZvbnQudHRmJykgZm9ybWF0KCd0cnVldHlwZScpO1xuICBmb250LXdlaWdodDogbm9ybWFsO1xuICBmb250LXN0eWxlOiBpdGFsaWM7XG59XG5AZm9udC1mYWNlIHtcbiAgZm9udC1mYW1pbHk6ICdkaW5kaXNwbGF5X3Bybyc7XG4gIHNyYzogdXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8tYm9sZC13ZWJmb250LmVvdCcpO1xuICBzcmM6IHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLWJvbGQtd2ViZm9udC5lb3Q/I2llZml4JykgZm9ybWF0KCdlbWJlZGRlZC1vcGVudHlwZScpLCB1cmwoJy4uL2ZvbnRzL3BmZGluZGlzcGxheXByby1ib2xkLXdlYmZvbnQudHRmJykgZm9ybWF0KCd0cnVldHlwZScpLCB1cmwoJy4uL2ZvbnRzL3BmZGluZGlzcGxheXByby1ib2xkLXdlYmZvbnQud29mZicpIGZvcm1hdCgnd29mZicpO1xuICBmb250LXdlaWdodDogYm9sZDtcbiAgZm9udC1zdHlsZTogbm9ybWFsO1xufVxuQGZvbnQtZmFjZSB7XG4gIGZvbnQtZmFtaWx5OiAnZGluZGlzcGxheV9wcm8nO1xuICBzcmM6IHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLXJlZy13ZWJmb250LmVvdCcpO1xuICBzcmM6IHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLXJlZy13ZWJmb250LmVvdD8jaWVmaXgnKSBmb3JtYXQoJ2VtYmVkZGVkLW9wZW50eXBlJyksIHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLXJlZy13ZWJmb250LndvZmYnKSBmb3JtYXQoJ3dvZmYnKSwgdXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8tcmVnLXdlYmZvbnQudHRmJykgZm9ybWF0KCd0cnVldHlwZScpO1xuICBmb250LXdlaWdodDogbm9ybWFsO1xuICBmb250LXN0eWxlOiBub3JtYWw7XG59XG5ib2R5IHtcbiAgZm9udC1mYW1pbHk6IGRpbmRpc3BsYXlfcHJvLCBzYW5zLXNlcmlmO1xuICBmb250LXdlaWdodDogbm9ybWFsO1xuICBmb250LXN0eWxlOiBub3JtYWw7XG4gIGZvbnQtc2l6ZTogMThweDtcbiAgY29sb3I6ICMwYjAzMDE7XG59XG5hIHtcbiAgY29sb3I6ICNmZjdjMDA7XG4gIHRleHQtZGVjb3JhdGlvbjogdW5kZXJsaW5lO1xuICB0cmFuc2l0aW9uOiBhbGwgLjNzO1xufVxuYTpob3ZlciB7XG4gIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgY29sb3I6ICNmZjk2MzM7XG59XG5hLmJ0biB7XG4gIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbn1cbi5sb2dvX3N0cmlwIHtcbiAgYmFja2dyb3VuZDogI2VlZWVlZDtcbiAgbWluLWhlaWdodDogMTU0cHg7XG4gIGNvbG9yOiAjNDYyZTJlO1xuICBmb250LXNpemU6IDI0cHg7XG59XG4ubG9nb19zdHJpcCAucGhvbmUge1xuICBmb250LXNpemU6IDQycHg7XG4gIGZvbnQtd2VpZ2h0OiBib2xkO1xuICBjb2xvcjogIzAwMDAwMDtcbn1cbi5sb2dvX3N0cmlwIC5waG9uZSAuZ3JheSB7XG4gIGZvbnQtd2VpZ2h0OiAzMDA7XG4gIGNvbG9yOiAjOTQ5NDk0O1xufVxuLmxvZ29fc3RyaXAgLmxvZ28ge1xuICBkaXNwbGF5OiBibG9jaztcbiAgbWFyZ2luLXRvcDogNTRweDtcbn1cbi5sb2dvX3N0cmlwIC5waG9uZS1ibG9jayB7XG4gIHBhZGRpbmctdG9wOiAzNnB4O1xufVxuLmxvZ29fc3RyaXAgLnBob25lLWJsb2NrIHAge1xuICBtYXJnaW4tYm90dG9tOiAwO1xufVxuLmJ0biB7XG4gIHRleHQtdHJhbnNmb3JtOiB1cHBlcmNhc2U7XG4gIGNvbG9yOiAjZmNmY2ZiO1xuICBib3JkZXItY29sb3I6ICNmZjZhMDA7XG4gIHBhZGRpbmctbGVmdDogMjBweDtcbiAgcGFkZGluZy1yaWdodDogMjBweDtcbn1cbi5idG4uYnRuLXByaW1hcnkge1xuICBmb250LXNpemU6IDIwcHg7XG4gIGJhY2tncm91bmQ6ICNmZjdmMDA7XG4gIC8qIE9sZCBicm93c2VycyAqL1xuICBiYWNrZ3JvdW5kOiAtbW96LWxpbmVhci1ncmFkaWVudCh0b3AsICNmZjdmMDAgMCUsICNmZjZhMDAgMTAwJSk7XG4gIC8qIEZGMy42KyAqL1xuICBiYWNrZ3JvdW5kOiAtd2Via2l0LWdyYWRpZW50KGxpbmVhciwgbGVmdCB0b3AsIGxlZnQgYm90dG9tLCBjb2xvci1zdG9wKDAlLCAjZmY3ZjAwKSwgY29sb3Itc3RvcCgxMDAlLCAjZmY2YTAwKSk7XG4gIC8qIENocm9tZSxTYWZhcmk0KyAqL1xuICBiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCh0b3AsICNmZjdmMDAgMCUsICNmZjZhMDAgMTAwJSk7XG4gIC8qIENocm9tZTEwKyxTYWZhcmk1LjErICovXG4gIGJhY2tncm91bmQ6IC1vLWxpbmVhci1ncmFkaWVudCh0b3AsICNmZjdmMDAgMCUsICNmZjZhMDAgMTAwJSk7XG4gIC8qIE9wZXJhIDExLjEwKyAqL1xuICBiYWNrZ3JvdW5kOiAtbXMtbGluZWFyLWdyYWRpZW50KHRvcCwgI2ZmN2YwMCAwJSwgI2ZmNmEwMCAxMDAlKTtcbiAgLyogSUUxMCsgKi9cbiAgYmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KHRvIGJvdHRvbSwgI2ZmN2YwMCAwJSwgI2ZmNmEwMCAxMDAlKTtcbiAgLyogVzNDICovXG4gIGZpbHRlcjogcHJvZ2lkOkRYSW1hZ2VUcmFuc2Zvcm0uTWljcm9zb2Z0LmdyYWRpZW50KHN0YXJ0Q29sb3JzdHI9JyNmZjdmMDAnLCBlbmRDb2xvcnN0cj0nI2ZmNmEwMCcsIEdyYWRpZW50VHlwZT0wKTtcbiAgLyogSUU2LTkgKi9cbiAgdHJhbnNpdGlvbjogYWxsIC4zcztcbn1cbi5idG4uYnRuLXByaW1hcnk6aG92ZXIge1xuICBib3JkZXItY29sb3I6ICNmZjg4MzM7XG4gIGJhY2tncm91bmQ6ICNmZjk5MzM7XG4gIC8qIE9sZCBicm93c2VycyAqL1xuICBiYWNrZ3JvdW5kOiAtbW96LWxpbmVhci1ncmFkaWVudCh0b3AsICNmZjk5MzMgMCUsICNmZjg4MzMgMTAwJSk7XG4gIC8qIEZGMy42KyAqL1xuICBiYWNrZ3JvdW5kOiAtd2Via2l0LWdyYWRpZW50KGxpbmVhciwgbGVmdCB0b3AsIGxlZnQgYm90dG9tLCBjb2xvci1zdG9wKDAlLCAjZmY5OTMzKSwgY29sb3Itc3RvcCgxMDAlLCAjZmY4ODMzKSk7XG4gIC8qIENocm9tZSxTYWZhcmk0KyAqL1xuICBiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudCh0b3AsICNmZjk5MzMgMCUsICNmZjg4MzMgMTAwJSk7XG4gIC8qIENocm9tZTEwKyxTYWZhcmk1LjErICovXG4gIGJhY2tncm91bmQ6IC1vLWxpbmVhci1ncmFkaWVudCh0b3AsICNmZjk5MzMgMCUsICNmZjg4MzMgMTAwJSk7XG4gIC8qIE9wZXJhIDExLjEwKyAqL1xuICBiYWNrZ3JvdW5kOiAtbXMtbGluZWFyLWdyYWRpZW50KHRvcCwgI2ZmOTkzMyAwJSwgI2ZmODgzMyAxMDAlKTtcbiAgLyogSUUxMCsgKi9cbiAgYmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KHRvIGJvdHRvbSwgI2ZmOTkzMyAwJSwgI2ZmODgzMyAxMDAlKTtcbiAgLyogVzNDICovXG4gIGZpbHRlcjogcHJvZ2lkOkRYSW1hZ2VUcmFuc2Zvcm0uTWljcm9zb2Z0LmdyYWRpZW50KHN0YXJ0Q29sb3JzdHI9JyNmZjdmMDAnLCBlbmRDb2xvcnN0cj0nI2ZmNmEwMCcsIEdyYWRpZW50VHlwZT0wKTtcbiAgLyogSUU2LTkgKi9cbn1cbi5idG4uYnRuLWxnIHtcbiAgZm9udC1zaXplOiAyNnB4O1xufVxuLmp1bWJvdHJvbiB7XG4gIG1pbi1oZWlnaHQ6IDYwNnB4O1xuICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudCB1cmwoLi4vaW1nL2hlYWRlcl9iYWNrLmpwZykgY2VudGVyIHRvcCBuby1yZXBlYXQ7XG4gIGJhY2tncm91bmQtc2l6ZTogYXV0bztcbiAgY29sb3I6ICNmOGY4ZjY7XG4gIHBhZGRpbmctdG9wOiA4MHB4O1xuICBtYXJnaW4tYm90dG9tOiAwO1xuICBsaW5lLWhlaWdodDogMS41O1xufVxuLmp1bWJvdHJvbiBoMSB7XG4gIGZvbnQtc2l6ZTogNDhweDtcbiAgZm9udC13ZWlnaHQ6IDMwMDtcbiAgY29sb3I6ICNmZmZmZmY7XG4gIG1hcmdpbi1ib3R0b206IDQ2cHg7XG59XG4uanVtYm90cm9uIHAge1xuICBmb250LXdlaWdodDogbm9ybWFsO1xuICBjb2xvcjogI2I2YjViMjtcbn1cbi5qdW1ib3Ryb24gLmJ0biB7XG4gIG1hcmdpbi10b3A6IDQycHg7XG59XG4uYXR0ZW50aW9uIHtcbiAgY29sb3I6ICNmZjY2MDAgIWltcG9ydGFudDtcbn1cbi5xdW90ZS1zdHJpcCB7XG4gIG1pbi1oZWlnaHQ6IDI1MnB4O1xuICBiYWNrZ3JvdW5kOiAjZmFjOGE1O1xuICBmb250LXNpemU6IDI2cHg7XG4gIGZvbnQtd2VpZ2h0OiAzMDA7XG4gIHBhZGRpbmctdG9wOiA0OHB4O1xuICBjb2xvcjogI2MzOWI4MjtcbiAgdHJhbnNpdGlvbjogYWxsIC4zcztcbn1cbi5xdW90ZS1zdHJpcDpob3ZlciB7XG4gIGNvbG9yOiAjMDAwMDAwO1xufVxuLnF1b3RlLXN0cmlwIC5xdW90ZSB7XG4gIGZvbnQtc2l6ZTogMjBweDtcbiAgZm9udC1zdHlsZTogaXRhbGljO1xuICB0ZXh0LWFsaWduOiByaWdodDtcbiAgY29sb3I6ICMwMDAwMDAgIWltcG9ydGFudDtcbn1cbi5xdW90ZS1zdHJpcCAucXVvdGUgc3Ryb25nIHtcbiAgZm9udC1zdHlsZTogbm9ybWFsO1xufVxuLmV2ZW50LXByb2dyYW0tc3RyaXAge1xuICBiYWNrZ3JvdW5kOiAjZmNmY2ZiO1xuICAvKiBPbGQgYnJvd3NlcnMgKi9cbiAgYmFja2dyb3VuZDogLW1vei1saW5lYXItZ3JhZGllbnQobGVmdCwgI2ZjZmNmYiA0NyUsICNmY2ZjZmIgNDclLCAjZjhlZGU0IDUzJSk7XG4gIC8qIEZGMy42KyAqL1xuICBiYWNrZ3JvdW5kOiAtd2Via2l0LWdyYWRpZW50KGxpbmVhciwgbGVmdCB0b3AsIHJpZ2h0IHRvcCwgY29sb3Itc3RvcCg0NyUsICNmY2ZjZmIpLCBjb2xvci1zdG9wKDQ3JSwgI2ZjZmNmYiksIGNvbG9yLXN0b3AoNTMlLCAjZjhlZGU0KSk7XG4gIC8qIENocm9tZSxTYWZhcmk0KyAqL1xuICBiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudChsZWZ0LCAjZmNmY2ZiIDQ3JSwgI2ZjZmNmYiA0NyUsICNmOGVkZTQgNTMlKTtcbiAgLyogQ2hyb21lMTArLFNhZmFyaTUuMSsgKi9cbiAgYmFja2dyb3VuZDogLW8tbGluZWFyLWdyYWRpZW50KGxlZnQsICNmY2ZjZmIgNDclLCAjZmNmY2ZiIDQ3JSwgI2Y4ZWRlNCA1MyUpO1xuICAvKiBPcGVyYSAxMS4xMCsgKi9cbiAgYmFja2dyb3VuZDogLW1zLWxpbmVhci1ncmFkaWVudChsZWZ0LCAjZmNmY2ZiIDQ3JSwgI2ZjZmNmYiA0NyUsICNmOGVkZTQgNTMlKTtcbiAgLyogSUUxMCsgKi9cbiAgYmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KHRvIHJpZ2h0LCAjZmNmY2ZiIDQ3JSwgI2ZjZmNmYiA0NyUsICNmOGVkZTQgNTMlKTtcbiAgLyogVzNDICovXG4gIGZpbHRlcjogcHJvZ2lkOkRYSW1hZ2VUcmFuc2Zvcm0uTWljcm9zb2Z0LmdyYWRpZW50KHN0YXJ0Q29sb3JzdHI9JyNmY2ZjZmInLCBlbmRDb2xvcnN0cj0nI2Y4ZWRlNCcsIEdyYWRpZW50VHlwZT0xKTtcbiAgLyogSUU2LTkgKi9cbiAgZm9udC1zaXplOiAyMHB4O1xufVxuLmV2ZW50LXByb2dyYW0tc3RyaXAgaDIge1xuICBmb250LXNpemU6IDMwcHg7XG4gIGZvbnQtd2VpZ2h0OiBub3JtYWw7XG4gIGNvbG9yOiAjZmY2NjAwO1xufVxuLmV2ZW50LXByb2dyYW0tc3RyaXAgLnRpbWluZy10YWJsZSB7XG4gIGJhY2tncm91bmQtY29sb3I6ICNmY2ZjZmI7XG4gIHBhZGRpbmc6IDM2cHggMTVweDtcbiAgZm9udC1zaXplOiAxOHB4O1xufVxuLmV2ZW50LXByb2dyYW0tc3RyaXAgLnRpbWluZy10YWJsZSBwIHtcbiAgbWFyZ2luLWJvdHRvbTogMzJweDtcbn1cbi5ldmVudC1wcm9ncmFtLXN0cmlwIC50aW1pbmctdGFibGUgLnRpbWluZyB7XG4gIGJvcmRlci1yYWRpdXM6IDEwcHg7XG4gIGJvcmRlcjogMXB4IHNvbGlkICNkYWRhZDg7XG4gIGJhY2tncm91bmQ6ICNGQ0ZDRkI7XG4gIHBhZGRpbmctdG9wOiAxNnB4O1xufVxuLmV2ZW50LXByb2dyYW0tc3RyaXAgLnRpbWluZy10YWJsZSAudGltaW5nIHAge1xuICBtYXJnaW4tYm90dG9tOiAwO1xuICBwYWRkaW5nLWJvdHRvbTogMTZweDtcbiAgcGFkZGluZy1sZWZ0OiAyOHB4O1xuICBmb250LXNpemU6IDE2cHg7XG4gIGRpc3BsYXk6IGJsb2NrO1xufVxuLmV2ZW50LXByb2dyYW0tc3RyaXAgLnRpbWluZy10YWJsZSAudGltaW5nIHAud2l0aC10aW1lIHtcbiAgcGFkZGluZy1sZWZ0OiAwO1xufVxuLmV2ZW50LXByb2dyYW0tc3RyaXAgLnRpbWluZy10YWJsZSAudGltaW5nIC5vZGQge1xuICBiYWNrZ3JvdW5kOiAjRjRGNEY0O1xufVxuLmV2ZW50LXByb2dyYW0tc3RyaXAgLnRpbWluZy10YWJsZSAudGltaW5nIC50aW1lIHtcbiAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xuICBmb250LXNpemU6IDIwcHg7XG4gIGNvbG9yOiAjZmZmZmZmO1xuICBsaW5lLWhlaWdodDogMzZweDtcbiAgaGVpZ2h0OiAzNnB4O1xuICBwYWRkaW5nOiAwIDI0cHg7XG4gIGJhY2tncm91bmQ6ICNmZDc4MjE7XG59XG4uZXZlbnQtcHJvZ3JhbS1zdHJpcCAudGltaW5nLXRhYmxlIC50aW1pbmcgdWwge1xuICBmb250LXNpemU6IDE4cHg7XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBtYXJnaW46IDA7XG4gIHBhZGRpbmc6IDA7XG4gIHBhZGRpbmctbGVmdDogMjhweDtcbn1cbi5ldmVudC1wcm9ncmFtLXN0cmlwIC50aW1pbmctdGFibGUgLnRpbWluZyB1bCBsaSB7XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBtYXJnaW4tYm90dG9tOiAxNnB4O1xuICBwYWRkaW5nLWxlZnQ6IDE0cHg7XG59XG4uZXZlbnQtcHJvZ3JhbS1zdHJpcCAudGltaW5nLXRhYmxlIC50aW1pbmcgdWwgbGkgLmRvdCB7XG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbiAgbWFyZ2luLWxlZnQ6IC0xNHB4O1xuICBjb2xvcjogI2ZmNjYwMDtcbn1cbi5ldmVudC1wcm9ncmFtLXN0cmlwIC50aW1pbmctdGFibGUgLnRpbWluZyAucmVwb3J0ZXIge1xuICBkaXNwbGF5OiBibG9jaztcbiAgcGFkZGluZy1sZWZ0OiAyMnB4O1xuICBib3JkZXItbGVmdDogMXB4IHNvbGlkICNlOGU4ZTc7XG59XG4uZXZlbnQtcHJvZ3JhbS1zdHJpcCAudGltaW5nLXRhYmxlIC50aW1pbmcgLnJlcG9ydGVyIGltZyxcbi5ldmVudC1wcm9ncmFtLXN0cmlwIC50aW1pbmctdGFibGUgLnRpbWluZyAucmVwb3J0ZXIgZmlnY2FwdGlvbiB7XG4gIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbiAgdmVydGljYWwtYWxpZ246IG1pZGRsZTtcbiAgcGFkZGluZy1sZWZ0OiA0cHg7XG59XG4uZXZlbnQtcHJvZ3JhbS1zdHJpcCAudGltaW5nLXRhYmxlIC50aW1pbmcgLnJlcG9ydGVyIGltZyB7XG4gIHdpZHRoOiAzOCU7XG59XG4uZXZlbnQtcHJvZ3JhbS1zdHJpcCAudGltaW5nLXRhYmxlIC50aW1pbmcgLnJlcG9ydGVyIGZpZ2NhcHRpb24ge1xuICB3aWR0aDogNjAlO1xufVxuLmV2ZW50LXByb2dyYW0tc3RyaXAgLnZlbnVlIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogI2Y4ZWRlNDtcbiAgcGFkZGluZzogMzZweCAxNXB4O1xuICBmb250LXNpemU6IDE4cHg7XG59XG4uZXZlbnQtcHJvZ3JhbS1zdHJpcCAudmVudWUgaDIge1xuICBtYXJnaW4tdG9wOiAwO1xufVxuLmV2ZW50LXByb2dyYW0tc3RyaXAgLnZlbnVlIHAge1xuICBtYXJnaW4tYm90dG9tOiAxNnB4O1xufVxuLmZvb3RlciB7XG4gIHVzZXItc2VsZWN0OiBub25lO1xuICBib3gtc2l6aW5nOiBib3JkZXItYm94O1xuICBtaW4taGVpZ2h0OiA2NzBweDtcbiAgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQgdXJsKC4uL2ltZy9mb290ZXJfYmFjay5qcGcpIGNlbnRlciB0b3Agbm8tcmVwZWF0O1xuICBiYWNrZ3JvdW5kLXNpemU6IGF1dG87XG59XG4uZm9vdGVyIGgyIHtcbiAgZm9udC1zaXplOiA0OHB4O1xuICBmb250LXdlaWdodDogYm9sZDtcbiAgbWFyZ2luLXRvcDogNzZweDtcbiAgY29sb3I6ICNmZmZmZmY7XG4gIHRleHQtYWxpZ246IGNlbnRlcjtcbn1cbi5mb290ZXIgLnJlYXNvbnMtc3RyaXAge1xuICBwYWRkaW5nLWJvdHRvbTogMTZweDtcbiAgbWluLWhlaWdodDogNDAwcHg7XG59XG4uZm9vdGVyIC5yZWFzb25zIHtcbiAgZGlzcGxheTogdGFibGU7XG4gIHdpZHRoOiAxMDAlO1xuICBtYXJnaW4tdG9wOiA0NnB4O1xufVxuLmZvb3RlciAucmVhc29ucyAucmVhc29uIHtcbiAgZGlzcGxheTogdGFibGUtY2VsbDtcbiAgZm9udC1zaXplOiAxNnB4O1xuICBjb2xvcjogI2ZmZmZmZjtcbiAgdGV4dC1hbGlnbjogY2VudGVyO1xufVxuLmZvb3RlciAucmVhc29ucyBmaWdjYXB0aW9uIHtcbiAgbWFyZ2luLXRvcDogMThweDtcbiAgcGFkZGluZzogMCAyNnB4O1xufVxuLmZvb3RlciAuc2hhZGVkLXN0cmlwIHtcbiAgbWluLWhlaWdodDogMjcwcHg7XG4gIHBhZGRpbmctdG9wOiA0NHB4O1xuICBiYWNrZ3JvdW5kLWNvbG9yOiByZ2JhKDAsIDAsIDAsIDAuNSk7XG59XG4uZm9vdGVyIC5zaGFkZWQtc3RyaXAgaDIge1xuICBjb2xvcjogI2ZmZmZmZjtcbiAgZm9udC13ZWlnaHQ6IGJvbGQ7XG4gIGZvbnQtc2l6ZTogMzZweDtcbiAgbWFyZ2luLXRvcDogMDtcbn1cbi5mb290ZXIgLnNoYWRlZC1zdHJpcCBhLmxhcmdlIHtcbiAgZm9udC1zaXplOiAzNnB4O1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIGRpc3BsYXk6IGJsb2NrO1xuICBtYXJnaW4tYm90dG9tOiAyOHB4O1xufVxuLmZvb3RlciAuc2hhZGVkLXN0cmlwIC5idG4udm9pZCB7XG4gIGJhY2tncm91bmQ6IHRyYW5zcGFyZW50O1xuICBib3JkZXI6IDJweCBzb2xpZCAjZmZmZmZmO1xufVxuLmZvb3RlciAuc2hhZGVkLXN0cmlwIC5idG4udm9pZDpob3ZlciB7XG4gIGJhY2tncm91bmQ6IHJnYmEoMCwgMCwgMCwgMC41KTtcbn1cbi5tb2RhbC1ib2R5IHtcbiAgcGFkZGluZzogMTVweCA3MHB4O1xufVxuQG1lZGlhIChtaW4td2lkdGg6IDc2OHB4KSB7XG4gIC5tb2RhbC1kaWFsb2cge1xuICAgIHdpZHRoOiA0NjBweDtcbiAgICBtYXJnaW46IDkwcHggYXV0bztcbiAgfVxufVxuLm1vZGFsLXRpdGxlIHtcbiAgZm9udC1zaXplOiAyNHB4O1xuICBmb250LXdlaWdodDogbm9ybWFsO1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG4gIGNvbG9yOiAjZmY2NjAwO1xufVxuLm1vZGFsLWhlYWRlciB7XG4gIGJvcmRlci1ib3R0b206IDA7XG59XG4iLCIvKiA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxyXG4gICBGb250c1xyXG4gICA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PSAqL1xyXG5cclxuQGZvbnQtZmFjZSB7XHJcblx0Zm9udC1mYW1pbHk6ICdkaW5kaXNwbGF5X3Bybyc7XHJcblx0c3JjOiB1cmwoJy4uL2ZvbnRzL3BmZGluZGlzcGxheXByby1tZWQtd2ViZm9udC5lb3QnKTtcclxuXHRzcmM6IHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLW1lZC13ZWJmb250LmVvdD8jaWVmaXgnKSBmb3JtYXQoJ2VtYmVkZGVkLW9wZW50eXBlJyksXHJcblx0dXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8tbWVkLXdlYmZvbnQud29mZicpIGZvcm1hdCgnd29mZicpLFxyXG5cdHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLW1lZC13ZWJmb250LnR0ZicpIGZvcm1hdCgndHJ1ZXR5cGUnKSxcclxuXHR1cmwoJy4uL2ZvbnRzL3BmZGluZGlzcGxheXByby1tZWQtd2ViZm9udC5zdmcjcGZfZGluZGlzcGxheV9wcm9tZWRpdW0nKSBmb3JtYXQoJ3N2ZycpO1xyXG5cdGZvbnQtd2VpZ2h0OiA1MDA7XHJcblx0Zm9udC1zdHlsZTogbm9ybWFsO1xyXG5cclxufVxyXG5cclxuXHJcbkBmb250LWZhY2Uge1xyXG5cdGZvbnQtZmFtaWx5OiAnZGluZGlzcGxheV9wcm8nO1xyXG5cdHNyYzogdXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8tdGhpbi13ZWJmb250LmVvdCcpO1xyXG5cdHNyYzogdXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8tdGhpbi13ZWJmb250LmVvdD8jaWVmaXgnKSBmb3JtYXQoJ2VtYmVkZGVkLW9wZW50eXBlJyksXHJcblx0dXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8tdGhpbi13ZWJmb250LnR0ZicpIGZvcm1hdCgndHJ1ZXR5cGUnKSxcclxuXHR1cmwoJy4uL2ZvbnRzL3BmZGluZGlzcGxheXByby10aGluLXdlYmZvbnQud29mZicpIGZvcm1hdCgnd29mZicpO1xyXG5cdGZvbnQtd2VpZ2h0OiAxMDA7XHJcblx0Zm9udC1zdHlsZTogbm9ybWFsO1xyXG5cclxufVxyXG5cclxuXHJcbkBmb250LWZhY2Uge1xyXG5cdGZvbnQtZmFtaWx5OiAnZGluZGlzcGxheV9wcm8nO1xyXG5cdHNyYzogdXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8tbGlnaHQtd2ViZm9udC5lb3QnKTtcclxuXHRzcmM6IHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLWxpZ2h0LXdlYmZvbnQuZW90PyNpZWZpeCcpIGZvcm1hdCgnZW1iZWRkZWQtb3BlbnR5cGUnKSxcclxuXHR1cmwoJy4uL2ZvbnRzL3BmZGluZGlzcGxheXByby1saWdodC13ZWJmb250LndvZmYnKSBmb3JtYXQoJ3dvZmYnKSxcclxuXHR1cmwoJy4uL2ZvbnRzL3BmZGluZGlzcGxheXByby1saWdodC13ZWJmb250LnR0ZicpIGZvcm1hdCgndHJ1ZXR5cGUnKTtcclxuXHRmb250LXdlaWdodDogMzAwO1xyXG5cdGZvbnQtc3R5bGU6IG5vcm1hbDtcclxuXHJcbn1cclxuXHJcblxyXG5AZm9udC1mYWNlIHtcclxuXHRmb250LWZhbWlseTogJ2RpbmRpc3BsYXlfcHJvJztcclxuXHRzcmM6IHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLWl0YWxpYy13ZWJmb250LmVvdCcpO1xyXG5cdHNyYzogdXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8taXRhbGljLXdlYmZvbnQuZW90PyNpZWZpeCcpIGZvcm1hdCgnZW1iZWRkZWQtb3BlbnR5cGUnKSxcclxuXHR1cmwoJy4uL2ZvbnRzL3BmZGluZGlzcGxheXByby1pdGFsaWMtd2ViZm9udC53b2ZmJykgZm9ybWF0KCd3b2ZmJyksXHJcblx0dXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8taXRhbGljLXdlYmZvbnQudHRmJykgZm9ybWF0KCd0cnVldHlwZScpO1xyXG5cdGZvbnQtd2VpZ2h0OiBub3JtYWw7XHJcblx0Zm9udC1zdHlsZTogaXRhbGljO1xyXG5cclxufVxyXG5cclxuXHJcbkBmb250LWZhY2Uge1xyXG5cdGZvbnQtZmFtaWx5OiAnZGluZGlzcGxheV9wcm8nO1xyXG5cdHNyYzogdXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8tYm9sZC13ZWJmb250LmVvdCcpO1xyXG5cdHNyYzogdXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8tYm9sZC13ZWJmb250LmVvdD8jaWVmaXgnKSBmb3JtYXQoJ2VtYmVkZGVkLW9wZW50eXBlJyksXHJcblx0dXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8tYm9sZC13ZWJmb250LnR0ZicpIGZvcm1hdCgndHJ1ZXR5cGUnKSxcclxuXHR1cmwoJy4uL2ZvbnRzL3BmZGluZGlzcGxheXByby1ib2xkLXdlYmZvbnQud29mZicpIGZvcm1hdCgnd29mZicpO1xyXG5cdGZvbnQtd2VpZ2h0OiBib2xkO1xyXG5cdGZvbnQtc3R5bGU6IG5vcm1hbDtcclxuXHJcbn1cclxuXHJcblxyXG5AZm9udC1mYWNlIHtcclxuXHRmb250LWZhbWlseTogJ2RpbmRpc3BsYXlfcHJvJztcclxuXHRzcmM6IHVybCgnLi4vZm9udHMvcGZkaW5kaXNwbGF5cHJvLXJlZy13ZWJmb250LmVvdCcpO1xyXG5cdHNyYzogdXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8tcmVnLXdlYmZvbnQuZW90PyNpZWZpeCcpIGZvcm1hdCgnZW1iZWRkZWQtb3BlbnR5cGUnKSxcclxuXHR1cmwoJy4uL2ZvbnRzL3BmZGluZGlzcGxheXByby1yZWctd2ViZm9udC53b2ZmJykgZm9ybWF0KCd3b2ZmJyksXHJcblx0dXJsKCcuLi9mb250cy9wZmRpbmRpc3BsYXlwcm8tcmVnLXdlYmZvbnQudHRmJykgZm9ybWF0KCd0cnVldHlwZScpO1xyXG5cdGZvbnQtd2VpZ2h0OiBub3JtYWw7XHJcblx0Zm9udC1zdHlsZTogbm9ybWFsO1xyXG59XHJcbmJvZHl7XHJcblx0Zm9udC1mYW1pbHk6IGRpbmRpc3BsYXlfcHJvLHNhbnMtc2VyaWY7XHJcblx0Zm9udC13ZWlnaHQ6IG5vcm1hbDtcclxuXHRmb250LXN0eWxlOiBub3JtYWw7XHJcblxyXG5cdGZvbnQtc2l6ZTogMThweDtcclxuXHRjb2xvcjogIzBiMDMwMTtcclxuXHJcbn1cclxuYXtcclxuXHRjb2xvcjogI2ZmN2MwMDtcclxuXHR0ZXh0LWRlY29yYXRpb246IHVuZGVybGluZTtcclxuXHR0cmFuc2l0aW9uOiBhbGwgLjNzO1xyXG5cdCY6aG92ZXJ7XHJcblx0XHR0ZXh0LWRlY29yYXRpb246IG5vbmU7XHJcblx0XHRjb2xvcjogbGlnaHRlbigjZmY3YzAwLCAxMCUpO1xyXG5cdH1cclxuXHQmLmJ0bntcclxuXHRcdHRleHQtZGVjb3JhdGlvbjogbm9uZTtcclxuXHR9XHJcbn1cclxuLmxvZ29fc3RyaXB7XHJcblx0YmFja2dyb3VuZDogI2VlZWVlZDtcclxuXHRtaW4taGVpZ2h0OiAxNTRweDtcclxuXHRjb2xvcjogIzQ2MmUyZTtcclxuXHRmb250LXNpemU6IDI0cHg7XHJcblx0LnBob25le1xyXG5cdFx0Zm9udC1zaXplOiA0MnB4O1xyXG5cdFx0Zm9udC13ZWlnaHQ6IGJvbGQ7XHJcblx0XHRjb2xvcjogIzAwMDAwMDtcclxuXHRcdC5ncmF5e1xyXG5cdFx0XHRmb250LXdlaWdodDogMzAwO1xyXG5cdFx0XHRjb2xvcjogIzk0OTQ5NDtcclxuXHRcdH1cclxuXHR9XHJcblx0LmxvZ297XHJcblx0XHRkaXNwbGF5OiBibG9jaztcclxuXHRcdG1hcmdpbi10b3A6IDU0cHg7XHJcblx0fVxyXG5cdC5waG9uZS1ibG9ja3tcclxuXHRcdHBhZGRpbmctdG9wOiAzNnB4O1xyXG5cdFx0cHtcclxuXHRcdFx0bWFyZ2luLWJvdHRvbTogMDtcclxuXHRcdH1cclxuXHR9XHJcbn1cclxuLmJ0bntcclxuXHR0ZXh0LXRyYW5zZm9ybTogdXBwZXJjYXNlO1xyXG5cdGNvbG9yOiAjZmNmY2ZiO1xyXG5cdGJvcmRlci1jb2xvcjogI2ZmNmEwMDtcclxuXHRwYWRkaW5nLWxlZnQ6IDIwcHg7XHJcblx0cGFkZGluZy1yaWdodDogMjBweDtcclxuXHQmLmJ0bi1wcmltYXJ5e1xyXG5cdFx0Zm9udC1zaXplOiAyMHB4O1xyXG5cdFx0YmFja2dyb3VuZDogI2ZmN2YwMDsgLyogT2xkIGJyb3dzZXJzICovXHRcdGJhY2tncm91bmQ6IC1tb3otbGluZWFyLWdyYWRpZW50KHRvcCwgICNmZjdmMDAgMCUsICNmZjZhMDAgMTAwJSk7IC8qIEZGMy42KyAqL1x0XHRiYWNrZ3JvdW5kOiAtd2Via2l0LWdyYWRpZW50KGxpbmVhciwgbGVmdCB0b3AsIGxlZnQgYm90dG9tLCBjb2xvci1zdG9wKDAlLCNmZjdmMDApLCBjb2xvci1zdG9wKDEwMCUsI2ZmNmEwMCkpOyAvKiBDaHJvbWUsU2FmYXJpNCsgKi9cdFx0YmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQodG9wLCAgI2ZmN2YwMCAwJSwjZmY2YTAwIDEwMCUpOyAvKiBDaHJvbWUxMCssU2FmYXJpNS4xKyAqL1x0XHRiYWNrZ3JvdW5kOiAtby1saW5lYXItZ3JhZGllbnQodG9wLCAgI2ZmN2YwMCAwJSwjZmY2YTAwIDEwMCUpOyAvKiBPcGVyYSAxMS4xMCsgKi9cdFx0YmFja2dyb3VuZDogLW1zLWxpbmVhci1ncmFkaWVudCh0b3AsICAjZmY3ZjAwIDAlLCNmZjZhMDAgMTAwJSk7IC8qIElFMTArICovXHRcdGJhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCh0byBib3R0b20sICAjZmY3ZjAwIDAlLCNmZjZhMDAgMTAwJSk7IC8qIFczQyAqL1x0XHRmaWx0ZXI6IHByb2dpZDpEWEltYWdlVHJhbnNmb3JtLk1pY3Jvc29mdC5ncmFkaWVudCggc3RhcnRDb2xvcnN0cj0nI2ZmN2YwMCcsIGVuZENvbG9yc3RyPScjZmY2YTAwJyxHcmFkaWVudFR5cGU9MCApOyAvKiBJRTYtOSAqL1xyXG5cdFx0dHJhbnNpdGlvbjogYWxsIC4zcztcclxuXHRcdCY6aG92ZXJ7XHJcblx0XHRcdGJvcmRlci1jb2xvcjogbGlnaHRlbigjZmY2YTAwLCAxMCUpO1xyXG5cdFx0XHRiYWNrZ3JvdW5kOiBsaWdodGVuKCNmZjdmMDAsMTAlKTsgLyogT2xkIGJyb3dzZXJzICovXHRcdFx0YmFja2dyb3VuZDogLW1vei1saW5lYXItZ3JhZGllbnQodG9wLCAgbGlnaHRlbigjZmY3ZjAwLDEwJSkgMCUsIGxpZ2h0ZW4oI2ZmNmEwMCwgMTAlKSAxMDAlKTsgLyogRkYzLjYrICovXHRcdFx0YmFja2dyb3VuZDogLXdlYmtpdC1ncmFkaWVudChsaW5lYXIsIGxlZnQgdG9wLCBsZWZ0IGJvdHRvbSwgY29sb3Itc3RvcCgwJSxsaWdodGVuKCNmZjdmMDAsMTAlKSksIGNvbG9yLXN0b3AoMTAwJSxsaWdodGVuKCNmZjZhMDAsIDEwJSkpKTsgLyogQ2hyb21lLFNhZmFyaTQrICovXHRcdFx0YmFja2dyb3VuZDogLXdlYmtpdC1saW5lYXItZ3JhZGllbnQodG9wLCAgbGlnaHRlbigjZmY3ZjAwLDEwJSkgMCUsbGlnaHRlbigjZmY2YTAwLCAxMCUpIDEwMCUpOyAvKiBDaHJvbWUxMCssU2FmYXJpNS4xKyAqL1x0XHRcdGJhY2tncm91bmQ6IC1vLWxpbmVhci1ncmFkaWVudCh0b3AsICBsaWdodGVuKCNmZjdmMDAsMTAlKSAwJSxsaWdodGVuKCNmZjZhMDAsIDEwJSkgMTAwJSk7IC8qIE9wZXJhIDExLjEwKyAqL1x0XHRcdGJhY2tncm91bmQ6IC1tcy1saW5lYXItZ3JhZGllbnQodG9wLCAgbGlnaHRlbigjZmY3ZjAwLDEwJSkgMCUsbGlnaHRlbigjZmY2YTAwLCAxMCUpIDEwMCUpOyAvKiBJRTEwKyAqL1x0XHRcdGJhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCh0byBib3R0b20sICBsaWdodGVuKCNmZjdmMDAsMTAlKSAwJSxsaWdodGVuKCNmZjZhMDAsIDEwJSkgMTAwJSk7IC8qIFczQyAqL1x0XHRcdGZpbHRlcjogcHJvZ2lkOkRYSW1hZ2VUcmFuc2Zvcm0uTWljcm9zb2Z0LmdyYWRpZW50KCBzdGFydENvbG9yc3RyPScjZmY3ZjAwJywgZW5kQ29sb3JzdHI9JyNmZjZhMDAnLEdyYWRpZW50VHlwZT0wICk7IC8qIElFNi05ICovXHJcblx0XHR9XHJcblx0fVxyXG5cdCYuYnRuLWxne1xyXG5cdFx0Zm9udC1zaXplOiAyNnB4O1xyXG5cclxuXHR9XHJcbn1cclxuLmp1bWJvdHJvbntcclxuXHRtaW4taGVpZ2h0OiA2MDZweDtcclxuXHRiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudCB1cmwoLi4vaW1nL2hlYWRlcl9iYWNrLmpwZykgY2VudGVyIHRvcCBuby1yZXBlYXQ7XHJcblx0YmFja2dyb3VuZC1zaXplOiBhdXRvO1xyXG5cdGNvbG9yOiAjZjhmOGY2O1xyXG5cdHBhZGRpbmctdG9wOiA4MHB4O1xyXG5cdG1hcmdpbi1ib3R0b206IDA7XHJcblx0bGluZS1oZWlnaHQ6IDEuNTtcclxuXHRoMXtcclxuXHRcdGZvbnQtc2l6ZTogNDhweDtcclxuXHRcdGZvbnQtd2VpZ2h0OiAzMDA7XHJcblx0XHRjb2xvcjogI2ZmZmZmZjtcclxuXHRcdG1hcmdpbi1ib3R0b206IDQ2cHg7XHJcblx0fVxyXG5cdHB7XHJcblx0XHRmb250LXdlaWdodDogbm9ybWFsO1xyXG5cdFx0Y29sb3I6ICNiNmI1YjI7XHJcblxyXG5cdH1cclxuXHQuYnRue1xyXG5cdFx0bWFyZ2luLXRvcDogNDJweDtcclxuXHR9XHJcblxyXG59XHJcblxyXG4uYXR0ZW50aW9ue1xyXG5cdGNvbG9yOiAjZmY2NjAwICFpbXBvcnRhbnQ7XHJcbn1cclxuLnF1b3RlLXN0cmlwe1xyXG5cdG1pbi1oZWlnaHQ6IDI1MnB4O1xyXG5cdGJhY2tncm91bmQ6ICNmYWM4YTU7XHJcblx0Zm9udC1zaXplOiAyNnB4O1xyXG5cdGZvbnQtd2VpZ2h0OiAzMDA7XHJcblx0cGFkZGluZy10b3A6IDQ4cHg7XHJcblx0Y29sb3I6ICNjMzliODI7XHJcblx0dHJhbnNpdGlvbjogYWxsIC4zcztcclxuXHQmOmhvdmVye1xyXG5cdFx0Y29sb3I6ICMwMDAwMDA7XHJcblx0fVxyXG5cdC5xdW90ZXtcclxuXHRcdGZvbnQtc2l6ZTogMjBweDtcclxuXHRcdGZvbnQtc3R5bGU6IGl0YWxpYztcclxuXHRcdHRleHQtYWxpZ246IHJpZ2h0O1xyXG5cdFx0Y29sb3I6ICMwMDAwMDAgIWltcG9ydGFudDtcclxuXHJcblx0XHRzdHJvbmd7XHJcblx0XHRcdGZvbnQtc3R5bGU6IG5vcm1hbDtcclxuXHRcdH1cclxuXHR9XHJcbn1cclxuLmV2ZW50LXByb2dyYW0tc3RyaXB7XHJcblxyXG5cdGJhY2tncm91bmQ6ICNmY2ZjZmI7IC8qIE9sZCBicm93c2VycyAqL1x0YmFja2dyb3VuZDogLW1vei1saW5lYXItZ3JhZGllbnQobGVmdCwgICNmY2ZjZmIgNDclLCAjZmNmY2ZiIDQ3JSwgI2Y4ZWRlNCA1MyUpOyAvKiBGRjMuNisgKi9cdGJhY2tncm91bmQ6IC13ZWJraXQtZ3JhZGllbnQobGluZWFyLCBsZWZ0IHRvcCwgcmlnaHQgdG9wLCBjb2xvci1zdG9wKDQ3JSwjZmNmY2ZiKSwgY29sb3Itc3RvcCg0NyUsI2ZjZmNmYiksIGNvbG9yLXN0b3AoNTMlLCNmOGVkZTQpKTsgLyogQ2hyb21lLFNhZmFyaTQrICovXHRiYWNrZ3JvdW5kOiAtd2Via2l0LWxpbmVhci1ncmFkaWVudChsZWZ0LCAgI2ZjZmNmYiA0NyUsI2ZjZmNmYiA0NyUsI2Y4ZWRlNCA1MyUpOyAvKiBDaHJvbWUxMCssU2FmYXJpNS4xKyAqL1x0YmFja2dyb3VuZDogLW8tbGluZWFyLWdyYWRpZW50KGxlZnQsICAjZmNmY2ZiIDQ3JSwjZmNmY2ZiIDQ3JSwjZjhlZGU0IDUzJSk7IC8qIE9wZXJhIDExLjEwKyAqL1x0YmFja2dyb3VuZDogLW1zLWxpbmVhci1ncmFkaWVudChsZWZ0LCAgI2ZjZmNmYiA0NyUsI2ZjZmNmYiA0NyUsI2Y4ZWRlNCA1MyUpOyAvKiBJRTEwKyAqL1x0YmFja2dyb3VuZDogbGluZWFyLWdyYWRpZW50KHRvIHJpZ2h0LCAgI2ZjZmNmYiA0NyUsI2ZjZmNmYiA0NyUsI2Y4ZWRlNCA1MyUpOyAvKiBXM0MgKi9cdGZpbHRlcjogcHJvZ2lkOkRYSW1hZ2VUcmFuc2Zvcm0uTWljcm9zb2Z0LmdyYWRpZW50KCBzdGFydENvbG9yc3RyPScjZmNmY2ZiJywgZW5kQ29sb3JzdHI9JyNmOGVkZTQnLEdyYWRpZW50VHlwZT0xICk7IC8qIElFNi05ICovXHJcblxyXG5cdGZvbnQtc2l6ZTogMjBweDtcclxuXHJcblx0aDJ7XHJcblx0XHRmb250LXNpemU6IDMwcHg7XHJcblx0XHRmb250LXdlaWdodDogbm9ybWFsO1xyXG5cdFx0Y29sb3I6ICNmZjY2MDA7XHJcblx0fVxyXG5cclxuXHJcblx0LnRpbWluZy10YWJsZXtcclxuXHRcdGJhY2tncm91bmQtY29sb3I6ICNmY2ZjZmI7XHJcblx0XHRwYWRkaW5nOiAzNnB4IDE1cHg7XHJcblxyXG5cdFx0Zm9udC1zaXplOiAxOHB4O1xyXG5cdFx0cHtcclxuXHRcdFx0bWFyZ2luLWJvdHRvbTogMzJweDtcclxuXHRcdH1cclxuXHRcdC50aW1pbmd7XHJcblx0XHRcdGJvcmRlci1yYWRpdXM6MTBweDtcclxuXHRcdFx0Ym9yZGVyOiAxcHggc29saWQgI2RhZGFkODtcclxuXHRcdFx0YmFja2dyb3VuZDogI0ZDRkNGQjtcclxuXHRcdFx0cGFkZGluZy10b3A6IDE2cHg7XHJcblx0XHRcdHB7XHJcblx0XHRcdFx0bWFyZ2luLWJvdHRvbTogMDtcclxuXHRcdFx0XHRwYWRkaW5nLWJvdHRvbTogMTZweDtcclxuXHRcdFx0XHRwYWRkaW5nLWxlZnQ6IDI4cHg7XHJcblx0XHRcdFx0Zm9udC1zaXplOiAxNnB4O1xyXG5cdFx0XHRcdGRpc3BsYXk6IGJsb2NrO1xyXG5cdFx0XHRcdCYud2l0aC10aW1le1xyXG5cdFx0XHRcdFx0cGFkZGluZy1sZWZ0OiAwO1xyXG5cdFx0XHRcdH1cclxuXHRcdFx0fVxyXG5cdFx0XHQub2Rke1xyXG5cdFx0XHRcdGJhY2tncm91bmQ6ICNGNEY0RjQ7XHJcblx0XHRcdH1cclxuXHRcdFx0LnRpbWV7XHJcblx0XHRcdFx0ZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG5cdFx0XHRcdGZvbnQtc2l6ZTogMjBweDtcclxuXHRcdFx0XHRjb2xvcjogI2ZmZmZmZjtcclxuXHRcdFx0XHRsaW5lLWhlaWdodDogMzZweDtcclxuXHRcdFx0XHRoZWlnaHQ6IDM2cHg7XHJcblx0XHRcdFx0cGFkZGluZzogMCAyNHB4O1xyXG5cdFx0XHRcdGJhY2tncm91bmQ6ICNmZDc4MjE7XHJcblx0XHRcdH1cclxuXHRcdFx0dWx7XHJcblx0XHRcdFx0Zm9udC1zaXplOiAxOHB4O1xyXG5cdFx0XHRcdGRpc3BsYXk6IGJsb2NrO1xyXG5cdFx0XHRcdG1hcmdpbjogMDtcclxuXHRcdFx0XHRwYWRkaW5nOiAwO1xyXG5cdFx0XHRcdHBhZGRpbmctbGVmdDogMjhweDtcclxuXHRcdFx0XHRsaXtcclxuXHRcdFx0XHRcdGRpc3BsYXk6IGJsb2NrO1xyXG5cdFx0XHRcdFx0bWFyZ2luLWJvdHRvbTogMTZweDtcclxuXHRcdFx0XHRcdHBhZGRpbmctbGVmdDogMTRweDtcclxuXHRcdFx0XHRcdC5kb3R7XHJcblx0XHRcdFx0XHRcdGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuXHRcdFx0XHRcdFx0bWFyZ2luLWxlZnQ6IC0xNHB4O1xyXG5cdFx0XHRcdFx0XHRjb2xvcjogI2ZmNjYwMDtcclxuXHRcdFx0XHRcdH1cclxuXHRcdFx0XHR9XHJcblx0XHRcdH1cclxuXHRcdFx0LnJlcG9ydGVye1xyXG5cdFx0XHRcdGRpc3BsYXk6IGJsb2NrO1xyXG5cdFx0XHRcdFxyXG5cdFx0XHRcdHBhZGRpbmctbGVmdDogMjJweDtcclxuXHRcdFx0XHRib3JkZXItbGVmdDogMXB4IHNvbGlkICNlOGU4ZTc7XHJcblx0XHRcdFx0aW1nLGZpZ2NhcHRpb257XHJcblx0XHRcdFx0XHRkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcblx0XHRcdFx0XHR2ZXJ0aWNhbC1hbGlnbjogbWlkZGxlO1xyXG5cdFx0XHRcdFx0cGFkZGluZy1sZWZ0OiA0cHg7XHJcblx0XHRcdFx0fVxyXG5cdFx0XHRcdGltZ3tcclxuXHJcblx0XHRcdFx0XHR3aWR0aDogMzglO1xyXG5cdFx0XHRcdH1cclxuXHRcdFx0XHRmaWdjYXB0aW9ue1xyXG5cdFx0XHRcdFx0d2lkdGg6IDYwJTtcclxuXHJcblx0XHRcdFx0fVxyXG5cdFx0XHR9XHJcblx0XHR9XHJcblxyXG5cdH1cclxuXHQudmVudWV7XHJcblx0XHRiYWNrZ3JvdW5kLWNvbG9yOiAjZjhlZGU0O1xyXG5cdFx0cGFkZGluZzogMzZweCAxNXB4O1xyXG5cdFx0Zm9udC1zaXplOiAxOHB4O1xyXG5cdFx0aDJ7XHJcblx0XHRcdG1hcmdpbi10b3A6IDA7XHJcblx0XHR9XHJcblx0XHRwe1xyXG5cdFx0XHRtYXJnaW4tYm90dG9tOiAxNnB4O1xyXG5cdFx0fVxyXG5cdH1cclxufVxyXG4uZm9vdGVye1xyXG5cdHVzZXItc2VsZWN0OiBub25lO1xyXG5cdGJveC1zaXppbmc6IGJvcmRlci1ib3g7XHJcblx0bWluLWhlaWdodDogNjcwcHg7XHJcblx0YmFja2dyb3VuZDogdHJhbnNwYXJlbnQgdXJsKC4uL2ltZy9mb290ZXJfYmFjay5qcGcpIGNlbnRlciB0b3Agbm8tcmVwZWF0O1xyXG5cdGJhY2tncm91bmQtc2l6ZTogYXV0bztcclxuXHRoMntcclxuXHRcdGZvbnQtc2l6ZTogNDhweDtcclxuXHRcdGZvbnQtd2VpZ2h0OiBib2xkO1xyXG5cdFx0bWFyZ2luLXRvcDogNzZweDtcclxuXHRcdGNvbG9yOiAjZmZmZmZmO1xyXG5cdFx0dGV4dC1hbGlnbjogY2VudGVyO1xyXG5cdH1cclxuXHQucmVhc29ucy1zdHJpcCB7XHJcblx0XHRwYWRkaW5nLWJvdHRvbTogMTZweDtcclxuXHRcdG1pbi1oZWlnaHQ6IDQwMHB4O1xyXG5cdH1cclxuXHQucmVhc29uc3tcclxuXHRcdGRpc3BsYXk6IHRhYmxlO1xyXG5cdFx0d2lkdGg6IDEwMCU7XHJcblx0XHRtYXJnaW4tdG9wOiA0NnB4O1xyXG5cdFx0LnJlYXNvbntcclxuXHRcdFx0ZGlzcGxheTogdGFibGUtY2VsbDtcclxuXHRcdFx0Zm9udC1zaXplOiAxNnB4O1xyXG5cdFx0XHRjb2xvcjogI2ZmZmZmZjtcclxuXHJcblx0XHRcdHRleHQtYWxpZ246IGNlbnRlcjtcclxuXHRcdH1cclxuXHRcdGZpZ2NhcHRpb257XHJcblx0XHRcdG1hcmdpbi10b3A6IDE4cHg7XHJcblx0XHRcdHBhZGRpbmc6IDAgMjZweDtcclxuXHJcblx0XHR9XHJcblx0fVxyXG5cdC5zaGFkZWQtc3RyaXB7XHJcblx0XHRtaW4taGVpZ2h0OjI3MHB4O1xyXG5cdFx0cGFkZGluZy10b3A6IDQ0cHg7XHJcblx0XHRiYWNrZ3JvdW5kLWNvbG9yOiByZ2JhKDAsIDAsIDAsIC41KTtcclxuXHRcdGgye1xyXG5cdFx0XHRjb2xvcjogI2ZmZmZmZjtcclxuXHRcdFx0Zm9udC13ZWlnaHQ6IGJvbGQ7XHJcblx0XHRcdGZvbnQtc2l6ZTogMzZweDtcclxuXHRcdFx0bWFyZ2luLXRvcDogMDtcclxuXHJcblx0XHR9XHJcblx0XHRhLmxhcmdle1xyXG5cdFx0XHRmb250LXNpemU6IDM2cHg7XHJcblx0XHRcdHRleHQtYWxpZ246IGNlbnRlcjtcclxuXHRcdFx0ZGlzcGxheTogYmxvY2s7XHJcblx0XHRcdG1hcmdpbi1ib3R0b206IDI4cHg7XHJcblx0XHR9XHJcblx0XHQuYnRuLnZvaWR7XHJcblx0XHRcdGJhY2tncm91bmQ6IHRyYW5zcGFyZW50O1xyXG5cdFx0XHRib3JkZXI6IDJweCBzb2xpZCAjZmZmZmZmO1xyXG5cdFx0XHQmOmhvdmVye1xyXG5cdFx0XHRcdGJhY2tncm91bmQ6IHJnYmEoMCwgMCwgMCwgLjUpO1xyXG5cdFx0XHR9XHJcblx0XHR9XHJcblx0fVxyXG59XHJcbi5tb2RhbC1ib2R5e1xyXG5cdHBhZGRpbmc6IDE1cHggNzBweDtcclxufVxyXG5AbWVkaWEgKG1pbi13aWR0aDogNzY4cHgpe1xyXG5cclxuXHQubW9kYWwtZGlhbG9nIHtcclxuXHRcdHdpZHRoOiA0NjBweDtcclxuXHRcdG1hcmdpbjogOTBweCBhdXRvO1xyXG5cdH1cclxufVxyXG4ubW9kYWwtdGl0bGV7XHJcblx0Zm9udC1zaXplOiAyNHB4O1xyXG5cdGZvbnQtd2VpZ2h0OiBub3JtYWw7XHJcblx0dGV4dC1hbGlnbjogY2VudGVyO1xyXG5cdGNvbG9yOiAjZmY2NjAwO1xyXG59XHJcbi5tb2RhbC1oZWFkZXJ7XHJcblx0Ym9yZGVyLWJvdHRvbTogMDtcclxufSJdLCJzb3VyY2VSb290IjoiL3NvdXJjZS8ifQ== */ \ No newline at end of file diff --git a/static/client/seminar_lending/css/vendor.css b/static/client/seminar_lending/css/vendor.css deleted file mode 100644 index 31b81880..00000000 --- a/static/client/seminar_lending/css/vendor.css +++ /dev/null @@ -1,7759 +0,0 @@ -/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ - -/** - * 1. Set default font family to sans-serif. - * 2. Prevent iOS and IE text size adjust after device orientation change, - * without disabling user zoom. - */ - -html { - font-family: sans-serif; /* 1 */ - -ms-text-size-adjust: 100%; /* 2 */ - -webkit-text-size-adjust: 100%; /* 2 */ -} - -/** - * Remove default margin. - */ - -body { - margin: 0; -} - -/* HTML5 display definitions - ========================================================================== */ - -/** - * Correct `block` display not defined for any HTML5 element in IE 8/9. - * Correct `block` display not defined for `details` or `summary` in IE 10/11 - * and Firefox. - * Correct `block` display not defined for `main` in IE 11. - */ - -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -main, -menu, -nav, -section, -summary { - display: block; -} - -/** - * 1. Correct `inline-block` display not defined in IE 8/9. - * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera. - */ - -audio, -canvas, -progress, -video { - display: inline-block; /* 1 */ - vertical-align: baseline; /* 2 */ -} - -/** - * Prevent modern browsers from displaying `audio` without controls. - * Remove excess height in iOS 5 devices. - */ - -audio:not([controls]) { - display: none; - height: 0; -} - -/** - * Address `[hidden]` styling not present in IE 8/9/10. - * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22. - */ - -[hidden], -template { - display: none; -} - -/* Links - ========================================================================== */ - -/** - * Remove the gray background color from active links in IE 10. - */ - -a { - background-color: transparent; -} - -/** - * Improve readability of focused elements when they are also in an - * active/hover state. - */ - -a:active, -a:hover { - outline: 0; -} - -/* Text-level semantics - ========================================================================== */ - -/** - * Address styling not present in IE 8/9/10/11, Safari, and Chrome. - */ - -abbr[title] { - border-bottom: 1px dotted; -} - -/** - * Address style set to `bolder` in Firefox 4+, Safari, and Chrome. - */ - -b, -strong { - font-weight: bold; -} - -/** - * Address styling not present in Safari and Chrome. - */ - -dfn { - font-style: italic; -} - -/** - * Address variable `h1` font-size and margin within `section` and `article` - * contexts in Firefox 4+, Safari, and Chrome. - */ - -h1 { - font-size: 2em; - margin: 0.67em 0; -} - -/** - * Address styling not present in IE 8/9. - */ - -mark { - background: #ff0; - color: #000; -} - -/** - * Address inconsistent and variable font size in all browsers. - */ - -small { - font-size: 80%; -} - -/** - * Prevent `sub` and `sup` affecting `line-height` in all browsers. - */ - -sub, -sup { - font-size: 75%; - line-height: 0; - position: relative; - vertical-align: baseline; -} - -sup { - top: -0.5em; -} - -sub { - bottom: -0.25em; -} - -/* Embedded content - ========================================================================== */ - -/** - * Remove border when inside `a` element in IE 8/9/10. - */ - -img { - border: 0; -} - -/** - * Correct overflow not hidden in IE 9/10/11. - */ - -svg:not(:root) { - overflow: hidden; -} - -/* Grouping content - ========================================================================== */ - -/** - * Address margin not present in IE 8/9 and Safari. - */ - -figure { - margin: 1em 40px; -} - -/** - * Address differences between Firefox and other browsers. - */ - -hr { - box-sizing: content-box; - height: 0; -} - -/** - * Contain overflow in all browsers. - */ - -pre { - overflow: auto; -} - -/** - * Address odd `em`-unit font size rendering in all browsers. - */ - -code, -kbd, -pre, -samp { - font-family: monospace, monospace; - font-size: 1em; -} - -/* Forms - ========================================================================== */ - -/** - * Known limitation: by default, Chrome and Safari on OS X allow very limited - * styling of `select`, unless a `border` property is set. - */ - -/** - * 1. Correct color not being inherited. - * Known issue: affects color of disabled elements. - * 2. Correct font properties not being inherited. - * 3. Address margins set differently in Firefox 4+, Safari, and Chrome. - */ - -button, -input, -optgroup, -select, -textarea { - color: inherit; /* 1 */ - font: inherit; /* 2 */ - margin: 0; /* 3 */ -} - -/** - * Address `overflow` set to `hidden` in IE 8/9/10/11. - */ - -button { - overflow: visible; -} - -/** - * Address inconsistent `text-transform` inheritance for `button` and `select`. - * All other form control elements do not inherit `text-transform` values. - * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. - * Correct `select` style inheritance in Firefox. - */ - -button, -select { - text-transform: none; -} - -/** - * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` - * and `video` controls. - * 2. Correct inability to style clickable `input` types in iOS. - * 3. Improve usability and consistency of cursor style between image-type - * `input` and others. - */ - -button, -html input[type="button"], /* 1 */ -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; /* 2 */ - cursor: pointer; /* 3 */ -} - -/** - * Re-set default cursor for disabled elements. - */ - -button[disabled], -html input[disabled] { - cursor: default; -} - -/** - * Remove inner padding and border in Firefox 4+. - */ - -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; -} - -/** - * Address Firefox 4+ setting `line-height` on `input` using `!important` in - * the UA stylesheet. - */ - -input { - line-height: normal; -} - -/** - * It's recommended that you don't attempt to style these elements. - * Firefox's implementation doesn't respect box-sizing, padding, or width. - * - * 1. Address box sizing set to `content-box` in IE 8/9/10. - * 2. Remove excess padding in IE 8/9/10. - */ - -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; /* 1 */ - padding: 0; /* 2 */ -} - -/** - * Fix the cursor style for Chrome's increment/decrement buttons. For certain - * `font-size` values of the `input`, it causes the cursor style of the - * decrement button to change from `default` to `text`. - */ - -input[type="number"]::-webkit-inner-spin-button, -input[type="number"]::-webkit-outer-spin-button { - height: auto; -} - -/** - * 1. Address `appearance` set to `searchfield` in Safari and Chrome. - * 2. Address `box-sizing` set to `border-box` in Safari and Chrome. - */ - -input[type="search"] { - -webkit-appearance: textfield; /* 1 */ - box-sizing: content-box; /* 2 */ -} - -/** - * Remove inner padding and search cancel button in Safari and Chrome on OS X. - * Safari (but not Chrome) clips the cancel button when the search input has - * padding (and `textfield` appearance). - */ - -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -/** - * Define consistent border, margin, and padding. - */ - -fieldset { - border: 1px solid #c0c0c0; - margin: 0 2px; - padding: 0.35em 0.625em 0.75em; -} - -/** - * 1. Correct `color` not being inherited in IE 8/9/10/11. - * 2. Remove padding so people aren't caught out if they zero out fieldsets. - */ - -legend { - border: 0; /* 1 */ - padding: 0; /* 2 */ -} - -/** - * Remove default vertical scrollbar in IE 8/9/10/11. - */ - -textarea { - overflow: auto; -} - -/** - * Don't inherit the `font-weight` (applied by a rule above). - * NOTE: the default cannot safely be changed in Chrome and Safari on OS X. - */ - -optgroup { - font-weight: bold; -} - -/* Tables - ========================================================================== */ - -/** - * Remove most spacing between table cells. - */ - -table { - border-collapse: collapse; - border-spacing: 0; -} - -td, -th { - padding: 0; -} - -/* - * What follows is the result of much research on cross-browser styling. - * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, - * Kroc Camen, and the H5BP dev community and team. - */ - -/* ========================================================================== - Base styles: opinionated defaults - ========================================================================== */ - -html { - color: #222; - font-size: 1em; - line-height: 1.4; -} - -/* - * Remove text-shadow in selection highlight: - * https://twitter.com/miketaylr/status/12228805301 - * - * These selection rule sets have to be separate. - * Customize the background color to match your design. - */ - -::selection { - background: #b3d4fc; - text-shadow: none; -} - -/* - * A better looking default horizontal rule - */ - -hr { - display: block; - height: 1px; - border: 0; - border-top: 1px solid #ccc; - margin: 1em 0; - padding: 0; -} - -/* - * Remove the gap between audio, canvas, iframes, - * images, videos and the bottom of their containers: - * https://github.com/h5bp/html5-boilerplate/issues/440 - */ - -audio, -canvas, -iframe, -img, -svg, -video { - vertical-align: middle; -} - -/* - * Remove default fieldset styles. - */ - -fieldset { - border: 0; - margin: 0; - padding: 0; -} - -/* - * Allow only vertical resizing of textareas. - */ - -textarea { - resize: vertical; -} - -/* ========================================================================== - Browser Upgrade Prompt - ========================================================================== */ - -.browserupgrade { - margin: 0.2em 0; - background: #ccc; - color: #000; - padding: 0.2em 0; -} - -/* ========================================================================== - Author's custom styles - ========================================================================== */ - - - - - - - - - - - - - - - - - -/* ========================================================================== - Helper classes - ========================================================================== */ - -/* - * Hide visually and from screen readers: - */ - -.hidden { - display: none !important; -} - -/* - * Hide only visually, but have it available for screen readers: - * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility - */ - -.visuallyhidden { - border: 0; - clip: rect(0 0 0 0); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; -} - -/* - * Extends the .visuallyhidden class to allow the element - * to be focusable when navigated to via the keyboard: - * https://www.drupal.org/node/897638 - */ - -.visuallyhidden.focusable:active, -.visuallyhidden.focusable:focus { - clip: auto; - height: auto; - margin: 0; - overflow: visible; - position: static; - width: auto; -} - -/* - * Hide visually and from screen readers, but maintain layout - */ - -.invisible { - visibility: hidden; -} - -/* - * Clearfix: contain floats - * - * For modern browsers - * 1. The space content is one way to avoid an Opera bug when the - * `contenteditable` attribute is included anywhere else in the document. - * Otherwise it causes space to appear at the top and bottom of elements - * that receive the `clearfix` class. - * 2. The use of `table` rather than `block` is only necessary if using - * `:before` to contain the top-margins of child elements. - */ - -.clearfix:before, -.clearfix:after { - content: " "; /* 1 */ - display: table; /* 2 */ -} - -.clearfix:after { - clear: both; -} - -/* ========================================================================== - EXAMPLE Media Queries for Responsive Design. - These examples override the primary ('mobile first') styles. - Modify as content requires. - ========================================================================== */ - -@media only screen and (min-width: 35em) { - /* Style adjustments for viewports that meet the condition */ -} - -@media print, - (min-resolution: 1.25dppx), - (min-resolution: 120dpi) { - /* Style adjustments for high resolution devices */ -} - -/* ========================================================================== - Print styles. - Inlined to avoid the additional HTTP request: - http://www.phpied.com/delay-loading-your-print-css/ - ========================================================================== */ - -@media print { - *, - *:before, - *:after { - background: transparent !important; - color: #000 !important; /* Black prints faster: - http://www.sanbeiji.com/archives/953 */ - box-shadow: none !important; - text-shadow: none !important; - } - - a, - a:visited { - text-decoration: underline; - } - - a[href]:after { - content: " (" attr(href) ")"; - } - - abbr[title]:after { - content: " (" attr(title) ")"; - } - - /* - * Don't show links that are fragment identifiers, - * or use the `javascript:` pseudo protocol - */ - - a[href^="#"]:after, - a[href^="javascript:"]:after { - content: ""; - } - - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - - /* - * Printing Tables: - * http://css-discuss.incutio.com/wiki/Printing_Tables - */ - - thead { - display: table-header-group; - } - - tr, - img { - page-break-inside: avoid; - } - - img { - max-width: 100% !important; - } - - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - - h2, - h3 { - page-break-after: avoid; - } -} - -/*! - * Bootstrap v3.3.4 (http://getbootstrap.com) - * Copyright 2011-2015 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ - -/*! normalize.css v3.0.2 | MIT License | git.io/normalize */ -html { - font-family: sans-serif; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -body { - margin: 0; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -main, -menu, -nav, -section, -summary { - display: block; -} -audio, -canvas, -progress, -video { - display: inline-block; - vertical-align: baseline; -} -audio:not([controls]) { - display: none; - height: 0; -} -[hidden], -template { - display: none; -} -a { - background-color: transparent; -} -a:active, -a:hover { - outline: 0; -} -abbr[title] { - border-bottom: 1px dotted; -} -b, -strong { - font-weight: bold; -} -dfn { - font-style: italic; -} -h1 { - margin: .67em 0; - font-size: 2em; -} -mark { - color: #000; - background: #ff0; -} -small { - font-size: 80%; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -.5em; -} -sub { - bottom: -.25em; -} -img { - border: 0; -} -svg:not(:root) { - overflow: hidden; -} -figure { - margin: 1em 40px; -} -hr { - height: 0; - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; -} -pre { - overflow: auto; -} -code, -kbd, -pre, -samp { - font-family: monospace, monospace; - font-size: 1em; -} -button, -input, -optgroup, -select, -textarea { - margin: 0; - font: inherit; - color: inherit; -} -button { - overflow: visible; -} -button, -select { - text-transform: none; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -button[disabled], -html input[disabled] { - cursor: default; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -input { - line-height: normal; -} -input[type="checkbox"], -input[type="radio"] { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 0; -} -input[type="number"]::-webkit-inner-spin-button, -input[type="number"]::-webkit-outer-spin-button { - height: auto; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} -fieldset { - padding: .35em .625em .75em; - margin: 0 2px; - border: 1px solid #c0c0c0; -} -legend { - padding: 0; - border: 0; -} -textarea { - overflow: auto; -} -optgroup { - font-weight: bold; -} -table { - border-spacing: 0; - border-collapse: collapse; -} -td, -th { - padding: 0; -} -/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ -@media print { - *, - *:before, - *:after { - color: #000 !important; - text-shadow: none !important; - background: transparent !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - a[href^="#"]:after, - a[href^="javascript:"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } - select { - background: #fff !important; - } - .navbar { - display: none; - } - .btn > .caret, - .dropup > .btn > .caret { - border-top-color: #000 !important; - } - .label { - border: 1px solid #000; - } - .table { - border-collapse: collapse !important; - } - .table td, - .table th { - background-color: #fff !important; - } - .table-bordered th, - .table-bordered td { - border: 1px solid #ddd !important; - } -} -@font-face { - font-family: 'Glyphicons Halflings'; - - src: url('../fonts/glyphicons-halflings-regular.eot'); - src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); -} -.glyphicon { - position: relative; - top: 1px; - display: inline-block; - font-family: 'Glyphicons Halflings'; - font-style: normal; - font-weight: normal; - line-height: 1; - - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} -.glyphicon-asterisk:before { - content: "\2a"; -} -.glyphicon-plus:before { - content: "\2b"; -} -.glyphicon-euro:before, -.glyphicon-eur:before { - content: "\20ac"; -} -.glyphicon-minus:before { - content: "\2212"; -} -.glyphicon-cloud:before { - content: "\2601"; -} -.glyphicon-envelope:before { - content: "\2709"; -} -.glyphicon-pencil:before { - content: "\270f"; -} -.glyphicon-glass:before { - content: "\e001"; -} -.glyphicon-music:before { - content: "\e002"; -} -.glyphicon-search:before { - content: "\e003"; -} -.glyphicon-heart:before { - content: "\e005"; -} -.glyphicon-star:before { - content: "\e006"; -} -.glyphicon-star-empty:before { - content: "\e007"; -} -.glyphicon-user:before { - content: "\e008"; -} -.glyphicon-film:before { - content: "\e009"; -} -.glyphicon-th-large:before { - content: "\e010"; -} -.glyphicon-th:before { - content: "\e011"; -} -.glyphicon-th-list:before { - content: "\e012"; -} -.glyphicon-ok:before { - content: "\e013"; -} -.glyphicon-remove:before { - content: "\e014"; -} -.glyphicon-zoom-in:before { - content: "\e015"; -} -.glyphicon-zoom-out:before { - content: "\e016"; -} -.glyphicon-off:before { - content: "\e017"; -} -.glyphicon-signal:before { - content: "\e018"; -} -.glyphicon-cog:before { - content: "\e019"; -} -.glyphicon-trash:before { - content: "\e020"; -} -.glyphicon-home:before { - content: "\e021"; -} -.glyphicon-file:before { - content: "\e022"; -} -.glyphicon-time:before { - content: "\e023"; -} -.glyphicon-road:before { - content: "\e024"; -} -.glyphicon-download-alt:before { - content: "\e025"; -} -.glyphicon-download:before { - content: "\e026"; -} -.glyphicon-upload:before { - content: "\e027"; -} -.glyphicon-inbox:before { - content: "\e028"; -} -.glyphicon-play-circle:before { - content: "\e029"; -} -.glyphicon-repeat:before { - content: "\e030"; -} -.glyphicon-refresh:before { - content: "\e031"; -} -.glyphicon-list-alt:before { - content: "\e032"; -} -.glyphicon-lock:before { - content: "\e033"; -} -.glyphicon-flag:before { - content: "\e034"; -} -.glyphicon-headphones:before { - content: "\e035"; -} -.glyphicon-volume-off:before { - content: "\e036"; -} -.glyphicon-volume-down:before { - content: "\e037"; -} -.glyphicon-volume-up:before { - content: "\e038"; -} -.glyphicon-qrcode:before { - content: "\e039"; -} -.glyphicon-barcode:before { - content: "\e040"; -} -.glyphicon-tag:before { - content: "\e041"; -} -.glyphicon-tags:before { - content: "\e042"; -} -.glyphicon-book:before { - content: "\e043"; -} -.glyphicon-bookmark:before { - content: "\e044"; -} -.glyphicon-print:before { - content: "\e045"; -} -.glyphicon-camera:before { - content: "\e046"; -} -.glyphicon-font:before { - content: "\e047"; -} -.glyphicon-bold:before { - content: "\e048"; -} -.glyphicon-italic:before { - content: "\e049"; -} -.glyphicon-text-height:before { - content: "\e050"; -} -.glyphicon-text-width:before { - content: "\e051"; -} -.glyphicon-align-left:before { - content: "\e052"; -} -.glyphicon-align-center:before { - content: "\e053"; -} -.glyphicon-align-right:before { - content: "\e054"; -} -.glyphicon-align-justify:before { - content: "\e055"; -} -.glyphicon-list:before { - content: "\e056"; -} -.glyphicon-indent-left:before { - content: "\e057"; -} -.glyphicon-indent-right:before { - content: "\e058"; -} -.glyphicon-facetime-video:before { - content: "\e059"; -} -.glyphicon-picture:before { - content: "\e060"; -} -.glyphicon-map-marker:before { - content: "\e062"; -} -.glyphicon-adjust:before { - content: "\e063"; -} -.glyphicon-tint:before { - content: "\e064"; -} -.glyphicon-edit:before { - content: "\e065"; -} -.glyphicon-share:before { - content: "\e066"; -} -.glyphicon-check:before { - content: "\e067"; -} -.glyphicon-move:before { - content: "\e068"; -} -.glyphicon-step-backward:before { - content: "\e069"; -} -.glyphicon-fast-backward:before { - content: "\e070"; -} -.glyphicon-backward:before { - content: "\e071"; -} -.glyphicon-play:before { - content: "\e072"; -} -.glyphicon-pause:before { - content: "\e073"; -} -.glyphicon-stop:before { - content: "\e074"; -} -.glyphicon-forward:before { - content: "\e075"; -} -.glyphicon-fast-forward:before { - content: "\e076"; -} -.glyphicon-step-forward:before { - content: "\e077"; -} -.glyphicon-eject:before { - content: "\e078"; -} -.glyphicon-chevron-left:before { - content: "\e079"; -} -.glyphicon-chevron-right:before { - content: "\e080"; -} -.glyphicon-plus-sign:before { - content: "\e081"; -} -.glyphicon-minus-sign:before { - content: "\e082"; -} -.glyphicon-remove-sign:before { - content: "\e083"; -} -.glyphicon-ok-sign:before { - content: "\e084"; -} -.glyphicon-question-sign:before { - content: "\e085"; -} -.glyphicon-info-sign:before { - content: "\e086"; -} -.glyphicon-screenshot:before { - content: "\e087"; -} -.glyphicon-remove-circle:before { - content: "\e088"; -} -.glyphicon-ok-circle:before { - content: "\e089"; -} -.glyphicon-ban-circle:before { - content: "\e090"; -} -.glyphicon-arrow-left:before { - content: "\e091"; -} -.glyphicon-arrow-right:before { - content: "\e092"; -} -.glyphicon-arrow-up:before { - content: "\e093"; -} -.glyphicon-arrow-down:before { - content: "\e094"; -} -.glyphicon-share-alt:before { - content: "\e095"; -} -.glyphicon-resize-full:before { - content: "\e096"; -} -.glyphicon-resize-small:before { - content: "\e097"; -} -.glyphicon-exclamation-sign:before { - content: "\e101"; -} -.glyphicon-gift:before { - content: "\e102"; -} -.glyphicon-leaf:before { - content: "\e103"; -} -.glyphicon-fire:before { - content: "\e104"; -} -.glyphicon-eye-open:before { - content: "\e105"; -} -.glyphicon-eye-close:before { - content: "\e106"; -} -.glyphicon-warning-sign:before { - content: "\e107"; -} -.glyphicon-plane:before { - content: "\e108"; -} -.glyphicon-calendar:before { - content: "\e109"; -} -.glyphicon-random:before { - content: "\e110"; -} -.glyphicon-comment:before { - content: "\e111"; -} -.glyphicon-magnet:before { - content: "\e112"; -} -.glyphicon-chevron-up:before { - content: "\e113"; -} -.glyphicon-chevron-down:before { - content: "\e114"; -} -.glyphicon-retweet:before { - content: "\e115"; -} -.glyphicon-shopping-cart:before { - content: "\e116"; -} -.glyphicon-folder-close:before { - content: "\e117"; -} -.glyphicon-folder-open:before { - content: "\e118"; -} -.glyphicon-resize-vertical:before { - content: "\e119"; -} -.glyphicon-resize-horizontal:before { - content: "\e120"; -} -.glyphicon-hdd:before { - content: "\e121"; -} -.glyphicon-bullhorn:before { - content: "\e122"; -} -.glyphicon-bell:before { - content: "\e123"; -} -.glyphicon-certificate:before { - content: "\e124"; -} -.glyphicon-thumbs-up:before { - content: "\e125"; -} -.glyphicon-thumbs-down:before { - content: "\e126"; -} -.glyphicon-hand-right:before { - content: "\e127"; -} -.glyphicon-hand-left:before { - content: "\e128"; -} -.glyphicon-hand-up:before { - content: "\e129"; -} -.glyphicon-hand-down:before { - content: "\e130"; -} -.glyphicon-circle-arrow-right:before { - content: "\e131"; -} -.glyphicon-circle-arrow-left:before { - content: "\e132"; -} -.glyphicon-circle-arrow-up:before { - content: "\e133"; -} -.glyphicon-circle-arrow-down:before { - content: "\e134"; -} -.glyphicon-globe:before { - content: "\e135"; -} -.glyphicon-wrench:before { - content: "\e136"; -} -.glyphicon-tasks:before { - content: "\e137"; -} -.glyphicon-filter:before { - content: "\e138"; -} -.glyphicon-briefcase:before { - content: "\e139"; -} -.glyphicon-fullscreen:before { - content: "\e140"; -} -.glyphicon-dashboard:before { - content: "\e141"; -} -.glyphicon-paperclip:before { - content: "\e142"; -} -.glyphicon-heart-empty:before { - content: "\e143"; -} -.glyphicon-link:before { - content: "\e144"; -} -.glyphicon-phone:before { - content: "\e145"; -} -.glyphicon-pushpin:before { - content: "\e146"; -} -.glyphicon-usd:before { - content: "\e148"; -} -.glyphicon-gbp:before { - content: "\e149"; -} -.glyphicon-sort:before { - content: "\e150"; -} -.glyphicon-sort-by-alphabet:before { - content: "\e151"; -} -.glyphicon-sort-by-alphabet-alt:before { - content: "\e152"; -} -.glyphicon-sort-by-order:before { - content: "\e153"; -} -.glyphicon-sort-by-order-alt:before { - content: "\e154"; -} -.glyphicon-sort-by-attributes:before { - content: "\e155"; -} -.glyphicon-sort-by-attributes-alt:before { - content: "\e156"; -} -.glyphicon-unchecked:before { - content: "\e157"; -} -.glyphicon-expand:before { - content: "\e158"; -} -.glyphicon-collapse-down:before { - content: "\e159"; -} -.glyphicon-collapse-up:before { - content: "\e160"; -} -.glyphicon-log-in:before { - content: "\e161"; -} -.glyphicon-flash:before { - content: "\e162"; -} -.glyphicon-log-out:before { - content: "\e163"; -} -.glyphicon-new-window:before { - content: "\e164"; -} -.glyphicon-record:before { - content: "\e165"; -} -.glyphicon-save:before { - content: "\e166"; -} -.glyphicon-open:before { - content: "\e167"; -} -.glyphicon-saved:before { - content: "\e168"; -} -.glyphicon-import:before { - content: "\e169"; -} -.glyphicon-export:before { - content: "\e170"; -} -.glyphicon-send:before { - content: "\e171"; -} -.glyphicon-floppy-disk:before { - content: "\e172"; -} -.glyphicon-floppy-saved:before { - content: "\e173"; -} -.glyphicon-floppy-remove:before { - content: "\e174"; -} -.glyphicon-floppy-save:before { - content: "\e175"; -} -.glyphicon-floppy-open:before { - content: "\e176"; -} -.glyphicon-credit-card:before { - content: "\e177"; -} -.glyphicon-transfer:before { - content: "\e178"; -} -.glyphicon-cutlery:before { - content: "\e179"; -} -.glyphicon-header:before { - content: "\e180"; -} -.glyphicon-compressed:before { - content: "\e181"; -} -.glyphicon-earphone:before { - content: "\e182"; -} -.glyphicon-phone-alt:before { - content: "\e183"; -} -.glyphicon-tower:before { - content: "\e184"; -} -.glyphicon-stats:before { - content: "\e185"; -} -.glyphicon-sd-video:before { - content: "\e186"; -} -.glyphicon-hd-video:before { - content: "\e187"; -} -.glyphicon-subtitles:before { - content: "\e188"; -} -.glyphicon-sound-stereo:before { - content: "\e189"; -} -.glyphicon-sound-dolby:before { - content: "\e190"; -} -.glyphicon-sound-5-1:before { - content: "\e191"; -} -.glyphicon-sound-6-1:before { - content: "\e192"; -} -.glyphicon-sound-7-1:before { - content: "\e193"; -} -.glyphicon-copyright-mark:before { - content: "\e194"; -} -.glyphicon-registration-mark:before { - content: "\e195"; -} -.glyphicon-cloud-download:before { - content: "\e197"; -} -.glyphicon-cloud-upload:before { - content: "\e198"; -} -.glyphicon-tree-conifer:before { - content: "\e199"; -} -.glyphicon-tree-deciduous:before { - content: "\e200"; -} -.glyphicon-cd:before { - content: "\e201"; -} -.glyphicon-save-file:before { - content: "\e202"; -} -.glyphicon-open-file:before { - content: "\e203"; -} -.glyphicon-level-up:before { - content: "\e204"; -} -.glyphicon-copy:before { - content: "\e205"; -} -.glyphicon-paste:before { - content: "\e206"; -} -.glyphicon-alert:before { - content: "\e209"; -} -.glyphicon-equalizer:before { - content: "\e210"; -} -.glyphicon-king:before { - content: "\e211"; -} -.glyphicon-queen:before { - content: "\e212"; -} -.glyphicon-pawn:before { - content: "\e213"; -} -.glyphicon-bishop:before { - content: "\e214"; -} -.glyphicon-knight:before { - content: "\e215"; -} -.glyphicon-baby-formula:before { - content: "\e216"; -} -.glyphicon-tent:before { - content: "\26fa"; -} -.glyphicon-blackboard:before { - content: "\e218"; -} -.glyphicon-bed:before { - content: "\e219"; -} -.glyphicon-apple:before { - content: "\f8ff"; -} -.glyphicon-erase:before { - content: "\e221"; -} -.glyphicon-hourglass:before { - content: "\231b"; -} -.glyphicon-lamp:before { - content: "\e223"; -} -.glyphicon-duplicate:before { - content: "\e224"; -} -.glyphicon-piggy-bank:before { - content: "\e225"; -} -.glyphicon-scissors:before { - content: "\e226"; -} -.glyphicon-bitcoin:before { - content: "\e227"; -} -.glyphicon-btc:before { - content: "\e227"; -} -.glyphicon-xbt:before { - content: "\e227"; -} -.glyphicon-yen:before { - content: "\00a5"; -} -.glyphicon-jpy:before { - content: "\00a5"; -} -.glyphicon-ruble:before { - content: "\20bd"; -} -.glyphicon-rub:before { - content: "\20bd"; -} -.glyphicon-scale:before { - content: "\e230"; -} -.glyphicon-ice-lolly:before { - content: "\e231"; -} -.glyphicon-ice-lolly-tasted:before { - content: "\e232"; -} -.glyphicon-education:before { - content: "\e233"; -} -.glyphicon-option-horizontal:before { - content: "\e234"; -} -.glyphicon-option-vertical:before { - content: "\e235"; -} -.glyphicon-menu-hamburger:before { - content: "\e236"; -} -.glyphicon-modal-window:before { - content: "\e237"; -} -.glyphicon-oil:before { - content: "\e238"; -} -.glyphicon-grain:before { - content: "\e239"; -} -.glyphicon-sunglasses:before { - content: "\e240"; -} -.glyphicon-text-size:before { - content: "\e241"; -} -.glyphicon-text-color:before { - content: "\e242"; -} -.glyphicon-text-background:before { - content: "\e243"; -} -.glyphicon-object-align-top:before { - content: "\e244"; -} -.glyphicon-object-align-bottom:before { - content: "\e245"; -} -.glyphicon-object-align-horizontal:before { - content: "\e246"; -} -.glyphicon-object-align-left:before { - content: "\e247"; -} -.glyphicon-object-align-vertical:before { - content: "\e248"; -} -.glyphicon-object-align-right:before { - content: "\e249"; -} -.glyphicon-triangle-right:before { - content: "\e250"; -} -.glyphicon-triangle-left:before { - content: "\e251"; -} -.glyphicon-triangle-bottom:before { - content: "\e252"; -} -.glyphicon-triangle-top:before { - content: "\e253"; -} -.glyphicon-console:before { - content: "\e254"; -} -.glyphicon-superscript:before { - content: "\e255"; -} -.glyphicon-subscript:before { - content: "\e256"; -} -.glyphicon-menu-left:before { - content: "\e257"; -} -.glyphicon-menu-right:before { - content: "\e258"; -} -.glyphicon-menu-down:before { - content: "\e259"; -} -.glyphicon-menu-up:before { - content: "\e260"; -} -* { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -*:before, -*:after { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -html { - font-size: 10px; - - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -} -body { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 14px; - line-height: 1.42857143; - color: #333; - background-color: #fff; -} -input, -button, -select, -textarea { - font-family: inherit; - font-size: inherit; - line-height: inherit; -} -a { - color: #337ab7; - text-decoration: none; -} -a:hover, -a:focus { - color: #23527c; - text-decoration: underline; -} -a:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -figure { - margin: 0; -} -img { - vertical-align: middle; -} -.img-responsive, -.thumbnail > img, -.thumbnail a > img, -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - max-width: 100%; - height: auto; -} -.img-rounded { - border-radius: 6px; -} -.img-thumbnail { - display: inline-block; - max-width: 100%; - height: auto; - padding: 4px; - line-height: 1.42857143; - background-color: #fff; - border: 1px solid #ddd; - border-radius: 4px; - -webkit-transition: all .2s ease-in-out; - -o-transition: all .2s ease-in-out; - transition: all .2s ease-in-out; -} -.img-circle { - border-radius: 50%; -} -hr { - margin-top: 20px; - margin-bottom: 20px; - border: 0; - border-top: 1px solid #eee; -} -.sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; -} -.sr-only-focusable:active, -.sr-only-focusable:focus { - position: static; - width: auto; - height: auto; - margin: 0; - overflow: visible; - clip: auto; -} -[role="button"] { - cursor: pointer; -} -h1, -h2, -h3, -h4, -h5, -h6, -.h1, -.h2, -.h3, -.h4, -.h5, -.h6 { - font-family: inherit; - font-weight: 500; - line-height: 1.1; - color: inherit; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small, -.h1 small, -.h2 small, -.h3 small, -.h4 small, -.h5 small, -.h6 small, -h1 .small, -h2 .small, -h3 .small, -h4 .small, -h5 .small, -h6 .small, -.h1 .small, -.h2 .small, -.h3 .small, -.h4 .small, -.h5 .small, -.h6 .small { - font-weight: normal; - line-height: 1; - color: #777; -} -h1, -.h1, -h2, -.h2, -h3, -.h3 { - margin-top: 20px; - margin-bottom: 10px; -} -h1 small, -.h1 small, -h2 small, -.h2 small, -h3 small, -.h3 small, -h1 .small, -.h1 .small, -h2 .small, -.h2 .small, -h3 .small, -.h3 .small { - font-size: 65%; -} -h4, -.h4, -h5, -.h5, -h6, -.h6 { - margin-top: 10px; - margin-bottom: 10px; -} -h4 small, -.h4 small, -h5 small, -.h5 small, -h6 small, -.h6 small, -h4 .small, -.h4 .small, -h5 .small, -.h5 .small, -h6 .small, -.h6 .small { - font-size: 75%; -} -h1, -.h1 { - font-size: 36px; -} -h2, -.h2 { - font-size: 30px; -} -h3, -.h3 { - font-size: 24px; -} -h4, -.h4 { - font-size: 18px; -} -h5, -.h5 { - font-size: 14px; -} -h6, -.h6 { - font-size: 12px; -} -p { - margin: 0 0 10px; -} -.lead { - margin-bottom: 20px; - font-size: 16px; - font-weight: 300; - line-height: 1.4; -} -@media (min-width: 768px) { - .lead { - font-size: 21px; - } -} -small, -.small { - font-size: 85%; -} -mark, -.mark { - padding: .2em; - background-color: #fcf8e3; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -.text-justify { - text-align: justify; -} -.text-nowrap { - white-space: nowrap; -} -.text-lowercase { - text-transform: lowercase; -} -.text-uppercase { - text-transform: uppercase; -} -.text-capitalize { - text-transform: capitalize; -} -.text-muted { - color: #777; -} -.text-primary { - color: #337ab7; -} -a.text-primary:hover { - color: #286090; -} -.text-success { - color: #3c763d; -} -a.text-success:hover { - color: #2b542c; -} -.text-info { - color: #31708f; -} -a.text-info:hover { - color: #245269; -} -.text-warning { - color: #8a6d3b; -} -a.text-warning:hover { - color: #66512c; -} -.text-danger { - color: #a94442; -} -a.text-danger:hover { - color: #843534; -} -.bg-primary { - color: #fff; - background-color: #337ab7; -} -a.bg-primary:hover { - background-color: #286090; -} -.bg-success { - background-color: #dff0d8; -} -a.bg-success:hover { - background-color: #c1e2b3; -} -.bg-info { - background-color: #d9edf7; -} -a.bg-info:hover { - background-color: #afd9ee; -} -.bg-warning { - background-color: #fcf8e3; -} -a.bg-warning:hover { - background-color: #f7ecb5; -} -.bg-danger { - background-color: #f2dede; -} -a.bg-danger:hover { - background-color: #e4b9b9; -} -.page-header { - padding-bottom: 9px; - margin: 40px 0 20px; - border-bottom: 1px solid #eee; -} -ul, -ol { - margin-top: 0; - margin-bottom: 10px; -} -ul ul, -ol ul, -ul ol, -ol ol { - margin-bottom: 0; -} -.list-unstyled { - padding-left: 0; - list-style: none; -} -.list-inline { - padding-left: 0; - margin-left: -5px; - list-style: none; -} -.list-inline > li { - display: inline-block; - padding-right: 5px; - padding-left: 5px; -} -dl { - margin-top: 0; - margin-bottom: 20px; -} -dt, -dd { - line-height: 1.42857143; -} -dt { - font-weight: bold; -} -dd { - margin-left: 0; -} -@media (min-width: 768px) { - .dl-horizontal dt { - float: left; - width: 160px; - overflow: hidden; - clear: left; - text-align: right; - text-overflow: ellipsis; - white-space: nowrap; - } - .dl-horizontal dd { - margin-left: 180px; - } -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #777; -} -.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 10px 20px; - margin: 0 0 20px; - font-size: 17.5px; - border-left: 5px solid #eee; -} -blockquote p:last-child, -blockquote ul:last-child, -blockquote ol:last-child { - margin-bottom: 0; -} -blockquote footer, -blockquote small, -blockquote .small { - display: block; - font-size: 80%; - line-height: 1.42857143; - color: #777; -} -blockquote footer:before, -blockquote small:before, -blockquote .small:before { - content: '\2014 \00A0'; -} -.blockquote-reverse, -blockquote.pull-right { - padding-right: 15px; - padding-left: 0; - text-align: right; - border-right: 5px solid #eee; - border-left: 0; -} -.blockquote-reverse footer:before, -blockquote.pull-right footer:before, -.blockquote-reverse small:before, -blockquote.pull-right small:before, -.blockquote-reverse .small:before, -blockquote.pull-right .small:before { - content: ''; -} -.blockquote-reverse footer:after, -blockquote.pull-right footer:after, -.blockquote-reverse small:after, -blockquote.pull-right small:after, -.blockquote-reverse .small:after, -blockquote.pull-right .small:after { - content: '\00A0 \2014'; -} -address { - margin-bottom: 20px; - font-style: normal; - line-height: 1.42857143; -} -code, -kbd, -pre, -samp { - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; -} -code { - padding: 2px 4px; - font-size: 90%; - color: #c7254e; - background-color: #f9f2f4; - border-radius: 4px; -} -kbd { - padding: 2px 4px; - font-size: 90%; - color: #fff; - background-color: #333; - border-radius: 3px; - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); -} -kbd kbd { - padding: 0; - font-size: 100%; - font-weight: bold; - -webkit-box-shadow: none; - box-shadow: none; -} -pre { - display: block; - padding: 9.5px; - margin: 0 0 10px; - font-size: 13px; - line-height: 1.42857143; - color: #333; - word-break: break-all; - word-wrap: break-word; - background-color: #f5f5f5; - border: 1px solid #ccc; - border-radius: 4px; -} -pre code { - padding: 0; - font-size: inherit; - color: inherit; - white-space: pre-wrap; - background-color: transparent; - border-radius: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -.container { - padding-right: 15px; - padding-left: 15px; - margin-right: auto; - margin-left: auto; -} -@media (min-width: 768px) { - .container { - width: 750px; - } -} -@media (min-width: 992px) { - .container { - width: 970px; - } -} -@media (min-width: 1200px) { - .container { - width: 1170px; - } -} -.container-fluid { - padding-right: 15px; - padding-left: 15px; - margin-right: auto; - margin-left: auto; -} -.row { - margin-right: -15px; - margin-left: -15px; -} -.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { - position: relative; - min-height: 1px; - padding-right: 15px; - padding-left: 15px; -} -.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { - float: left; -} -.col-xs-12 { - width: 100%; -} -.col-xs-11 { - width: 91.66666667%; -} -.col-xs-10 { - width: 83.33333333%; -} -.col-xs-9 { - width: 75%; -} -.col-xs-8 { - width: 66.66666667%; -} -.col-xs-7 { - width: 58.33333333%; -} -.col-xs-6 { - width: 50%; -} -.col-xs-5 { - width: 41.66666667%; -} -.col-xs-4 { - width: 33.33333333%; -} -.col-xs-3 { - width: 25%; -} -.col-xs-2 { - width: 16.66666667%; -} -.col-xs-1 { - width: 8.33333333%; -} -.col-xs-pull-12 { - right: 100%; -} -.col-xs-pull-11 { - right: 91.66666667%; -} -.col-xs-pull-10 { - right: 83.33333333%; -} -.col-xs-pull-9 { - right: 75%; -} -.col-xs-pull-8 { - right: 66.66666667%; -} -.col-xs-pull-7 { - right: 58.33333333%; -} -.col-xs-pull-6 { - right: 50%; -} -.col-xs-pull-5 { - right: 41.66666667%; -} -.col-xs-pull-4 { - right: 33.33333333%; -} -.col-xs-pull-3 { - right: 25%; -} -.col-xs-pull-2 { - right: 16.66666667%; -} -.col-xs-pull-1 { - right: 8.33333333%; -} -.col-xs-pull-0 { - right: auto; -} -.col-xs-push-12 { - left: 100%; -} -.col-xs-push-11 { - left: 91.66666667%; -} -.col-xs-push-10 { - left: 83.33333333%; -} -.col-xs-push-9 { - left: 75%; -} -.col-xs-push-8 { - left: 66.66666667%; -} -.col-xs-push-7 { - left: 58.33333333%; -} -.col-xs-push-6 { - left: 50%; -} -.col-xs-push-5 { - left: 41.66666667%; -} -.col-xs-push-4 { - left: 33.33333333%; -} -.col-xs-push-3 { - left: 25%; -} -.col-xs-push-2 { - left: 16.66666667%; -} -.col-xs-push-1 { - left: 8.33333333%; -} -.col-xs-push-0 { - left: auto; -} -.col-xs-offset-12 { - margin-left: 100%; -} -.col-xs-offset-11 { - margin-left: 91.66666667%; -} -.col-xs-offset-10 { - margin-left: 83.33333333%; -} -.col-xs-offset-9 { - margin-left: 75%; -} -.col-xs-offset-8 { - margin-left: 66.66666667%; -} -.col-xs-offset-7 { - margin-left: 58.33333333%; -} -.col-xs-offset-6 { - margin-left: 50%; -} -.col-xs-offset-5 { - margin-left: 41.66666667%; -} -.col-xs-offset-4 { - margin-left: 33.33333333%; -} -.col-xs-offset-3 { - margin-left: 25%; -} -.col-xs-offset-2 { - margin-left: 16.66666667%; -} -.col-xs-offset-1 { - margin-left: 8.33333333%; -} -.col-xs-offset-0 { - margin-left: 0; -} -@media (min-width: 768px) { - .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { - float: left; - } - .col-sm-12 { - width: 100%; - } - .col-sm-11 { - width: 91.66666667%; - } - .col-sm-10 { - width: 83.33333333%; - } - .col-sm-9 { - width: 75%; - } - .col-sm-8 { - width: 66.66666667%; - } - .col-sm-7 { - width: 58.33333333%; - } - .col-sm-6 { - width: 50%; - } - .col-sm-5 { - width: 41.66666667%; - } - .col-sm-4 { - width: 33.33333333%; - } - .col-sm-3 { - width: 25%; - } - .col-sm-2 { - width: 16.66666667%; - } - .col-sm-1 { - width: 8.33333333%; - } - .col-sm-pull-12 { - right: 100%; - } - .col-sm-pull-11 { - right: 91.66666667%; - } - .col-sm-pull-10 { - right: 83.33333333%; - } - .col-sm-pull-9 { - right: 75%; - } - .col-sm-pull-8 { - right: 66.66666667%; - } - .col-sm-pull-7 { - right: 58.33333333%; - } - .col-sm-pull-6 { - right: 50%; - } - .col-sm-pull-5 { - right: 41.66666667%; - } - .col-sm-pull-4 { - right: 33.33333333%; - } - .col-sm-pull-3 { - right: 25%; - } - .col-sm-pull-2 { - right: 16.66666667%; - } - .col-sm-pull-1 { - right: 8.33333333%; - } - .col-sm-pull-0 { - right: auto; - } - .col-sm-push-12 { - left: 100%; - } - .col-sm-push-11 { - left: 91.66666667%; - } - .col-sm-push-10 { - left: 83.33333333%; - } - .col-sm-push-9 { - left: 75%; - } - .col-sm-push-8 { - left: 66.66666667%; - } - .col-sm-push-7 { - left: 58.33333333%; - } - .col-sm-push-6 { - left: 50%; - } - .col-sm-push-5 { - left: 41.66666667%; - } - .col-sm-push-4 { - left: 33.33333333%; - } - .col-sm-push-3 { - left: 25%; - } - .col-sm-push-2 { - left: 16.66666667%; - } - .col-sm-push-1 { - left: 8.33333333%; - } - .col-sm-push-0 { - left: auto; - } - .col-sm-offset-12 { - margin-left: 100%; - } - .col-sm-offset-11 { - margin-left: 91.66666667%; - } - .col-sm-offset-10 { - margin-left: 83.33333333%; - } - .col-sm-offset-9 { - margin-left: 75%; - } - .col-sm-offset-8 { - margin-left: 66.66666667%; - } - .col-sm-offset-7 { - margin-left: 58.33333333%; - } - .col-sm-offset-6 { - margin-left: 50%; - } - .col-sm-offset-5 { - margin-left: 41.66666667%; - } - .col-sm-offset-4 { - margin-left: 33.33333333%; - } - .col-sm-offset-3 { - margin-left: 25%; - } - .col-sm-offset-2 { - margin-left: 16.66666667%; - } - .col-sm-offset-1 { - margin-left: 8.33333333%; - } - .col-sm-offset-0 { - margin-left: 0; - } -} -@media (min-width: 992px) { - .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { - float: left; - } - .col-md-12 { - width: 100%; - } - .col-md-11 { - width: 91.66666667%; - } - .col-md-10 { - width: 83.33333333%; - } - .col-md-9 { - width: 75%; - } - .col-md-8 { - width: 66.66666667%; - } - .col-md-7 { - width: 58.33333333%; - } - .col-md-6 { - width: 50%; - } - .col-md-5 { - width: 41.66666667%; - } - .col-md-4 { - width: 33.33333333%; - } - .col-md-3 { - width: 25%; - } - .col-md-2 { - width: 16.66666667%; - } - .col-md-1 { - width: 8.33333333%; - } - .col-md-pull-12 { - right: 100%; - } - .col-md-pull-11 { - right: 91.66666667%; - } - .col-md-pull-10 { - right: 83.33333333%; - } - .col-md-pull-9 { - right: 75%; - } - .col-md-pull-8 { - right: 66.66666667%; - } - .col-md-pull-7 { - right: 58.33333333%; - } - .col-md-pull-6 { - right: 50%; - } - .col-md-pull-5 { - right: 41.66666667%; - } - .col-md-pull-4 { - right: 33.33333333%; - } - .col-md-pull-3 { - right: 25%; - } - .col-md-pull-2 { - right: 16.66666667%; - } - .col-md-pull-1 { - right: 8.33333333%; - } - .col-md-pull-0 { - right: auto; - } - .col-md-push-12 { - left: 100%; - } - .col-md-push-11 { - left: 91.66666667%; - } - .col-md-push-10 { - left: 83.33333333%; - } - .col-md-push-9 { - left: 75%; - } - .col-md-push-8 { - left: 66.66666667%; - } - .col-md-push-7 { - left: 58.33333333%; - } - .col-md-push-6 { - left: 50%; - } - .col-md-push-5 { - left: 41.66666667%; - } - .col-md-push-4 { - left: 33.33333333%; - } - .col-md-push-3 { - left: 25%; - } - .col-md-push-2 { - left: 16.66666667%; - } - .col-md-push-1 { - left: 8.33333333%; - } - .col-md-push-0 { - left: auto; - } - .col-md-offset-12 { - margin-left: 100%; - } - .col-md-offset-11 { - margin-left: 91.66666667%; - } - .col-md-offset-10 { - margin-left: 83.33333333%; - } - .col-md-offset-9 { - margin-left: 75%; - } - .col-md-offset-8 { - margin-left: 66.66666667%; - } - .col-md-offset-7 { - margin-left: 58.33333333%; - } - .col-md-offset-6 { - margin-left: 50%; - } - .col-md-offset-5 { - margin-left: 41.66666667%; - } - .col-md-offset-4 { - margin-left: 33.33333333%; - } - .col-md-offset-3 { - margin-left: 25%; - } - .col-md-offset-2 { - margin-left: 16.66666667%; - } - .col-md-offset-1 { - margin-left: 8.33333333%; - } - .col-md-offset-0 { - margin-left: 0; - } -} -@media (min-width: 1200px) { - .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { - float: left; - } - .col-lg-12 { - width: 100%; - } - .col-lg-11 { - width: 91.66666667%; - } - .col-lg-10 { - width: 83.33333333%; - } - .col-lg-9 { - width: 75%; - } - .col-lg-8 { - width: 66.66666667%; - } - .col-lg-7 { - width: 58.33333333%; - } - .col-lg-6 { - width: 50%; - } - .col-lg-5 { - width: 41.66666667%; - } - .col-lg-4 { - width: 33.33333333%; - } - .col-lg-3 { - width: 25%; - } - .col-lg-2 { - width: 16.66666667%; - } - .col-lg-1 { - width: 8.33333333%; - } - .col-lg-pull-12 { - right: 100%; - } - .col-lg-pull-11 { - right: 91.66666667%; - } - .col-lg-pull-10 { - right: 83.33333333%; - } - .col-lg-pull-9 { - right: 75%; - } - .col-lg-pull-8 { - right: 66.66666667%; - } - .col-lg-pull-7 { - right: 58.33333333%; - } - .col-lg-pull-6 { - right: 50%; - } - .col-lg-pull-5 { - right: 41.66666667%; - } - .col-lg-pull-4 { - right: 33.33333333%; - } - .col-lg-pull-3 { - right: 25%; - } - .col-lg-pull-2 { - right: 16.66666667%; - } - .col-lg-pull-1 { - right: 8.33333333%; - } - .col-lg-pull-0 { - right: auto; - } - .col-lg-push-12 { - left: 100%; - } - .col-lg-push-11 { - left: 91.66666667%; - } - .col-lg-push-10 { - left: 83.33333333%; - } - .col-lg-push-9 { - left: 75%; - } - .col-lg-push-8 { - left: 66.66666667%; - } - .col-lg-push-7 { - left: 58.33333333%; - } - .col-lg-push-6 { - left: 50%; - } - .col-lg-push-5 { - left: 41.66666667%; - } - .col-lg-push-4 { - left: 33.33333333%; - } - .col-lg-push-3 { - left: 25%; - } - .col-lg-push-2 { - left: 16.66666667%; - } - .col-lg-push-1 { - left: 8.33333333%; - } - .col-lg-push-0 { - left: auto; - } - .col-lg-offset-12 { - margin-left: 100%; - } - .col-lg-offset-11 { - margin-left: 91.66666667%; - } - .col-lg-offset-10 { - margin-left: 83.33333333%; - } - .col-lg-offset-9 { - margin-left: 75%; - } - .col-lg-offset-8 { - margin-left: 66.66666667%; - } - .col-lg-offset-7 { - margin-left: 58.33333333%; - } - .col-lg-offset-6 { - margin-left: 50%; - } - .col-lg-offset-5 { - margin-left: 41.66666667%; - } - .col-lg-offset-4 { - margin-left: 33.33333333%; - } - .col-lg-offset-3 { - margin-left: 25%; - } - .col-lg-offset-2 { - margin-left: 16.66666667%; - } - .col-lg-offset-1 { - margin-left: 8.33333333%; - } - .col-lg-offset-0 { - margin-left: 0; - } -} -table { - background-color: transparent; -} -caption { - padding-top: 8px; - padding-bottom: 8px; - color: #777; - text-align: left; -} -th { - text-align: left; -} -.table { - width: 100%; - max-width: 100%; - margin-bottom: 20px; -} -.table > thead > tr > th, -.table > tbody > tr > th, -.table > tfoot > tr > th, -.table > thead > tr > td, -.table > tbody > tr > td, -.table > tfoot > tr > td { - padding: 8px; - line-height: 1.42857143; - vertical-align: top; - border-top: 1px solid #ddd; -} -.table > thead > tr > th { - vertical-align: bottom; - border-bottom: 2px solid #ddd; -} -.table > caption + thead > tr:first-child > th, -.table > colgroup + thead > tr:first-child > th, -.table > thead:first-child > tr:first-child > th, -.table > caption + thead > tr:first-child > td, -.table > colgroup + thead > tr:first-child > td, -.table > thead:first-child > tr:first-child > td { - border-top: 0; -} -.table > tbody + tbody { - border-top: 2px solid #ddd; -} -.table .table { - background-color: #fff; -} -.table-condensed > thead > tr > th, -.table-condensed > tbody > tr > th, -.table-condensed > tfoot > tr > th, -.table-condensed > thead > tr > td, -.table-condensed > tbody > tr > td, -.table-condensed > tfoot > tr > td { - padding: 5px; -} -.table-bordered { - border: 1px solid #ddd; -} -.table-bordered > thead > tr > th, -.table-bordered > tbody > tr > th, -.table-bordered > tfoot > tr > th, -.table-bordered > thead > tr > td, -.table-bordered > tbody > tr > td, -.table-bordered > tfoot > tr > td { - border: 1px solid #ddd; -} -.table-bordered > thead > tr > th, -.table-bordered > thead > tr > td { - border-bottom-width: 2px; -} -.table-striped > tbody > tr:nth-of-type(odd) { - background-color: #f9f9f9; -} -.table-hover > tbody > tr:hover { - background-color: #f5f5f5; -} -table col[class*="col-"] { - position: static; - display: table-column; - float: none; -} -table td[class*="col-"], -table th[class*="col-"] { - position: static; - display: table-cell; - float: none; -} -.table > thead > tr > td.active, -.table > tbody > tr > td.active, -.table > tfoot > tr > td.active, -.table > thead > tr > th.active, -.table > tbody > tr > th.active, -.table > tfoot > tr > th.active, -.table > thead > tr.active > td, -.table > tbody > tr.active > td, -.table > tfoot > tr.active > td, -.table > thead > tr.active > th, -.table > tbody > tr.active > th, -.table > tfoot > tr.active > th { - background-color: #f5f5f5; -} -.table-hover > tbody > tr > td.active:hover, -.table-hover > tbody > tr > th.active:hover, -.table-hover > tbody > tr.active:hover > td, -.table-hover > tbody > tr:hover > .active, -.table-hover > tbody > tr.active:hover > th { - background-color: #e8e8e8; -} -.table > thead > tr > td.success, -.table > tbody > tr > td.success, -.table > tfoot > tr > td.success, -.table > thead > tr > th.success, -.table > tbody > tr > th.success, -.table > tfoot > tr > th.success, -.table > thead > tr.success > td, -.table > tbody > tr.success > td, -.table > tfoot > tr.success > td, -.table > thead > tr.success > th, -.table > tbody > tr.success > th, -.table > tfoot > tr.success > th { - background-color: #dff0d8; -} -.table-hover > tbody > tr > td.success:hover, -.table-hover > tbody > tr > th.success:hover, -.table-hover > tbody > tr.success:hover > td, -.table-hover > tbody > tr:hover > .success, -.table-hover > tbody > tr.success:hover > th { - background-color: #d0e9c6; -} -.table > thead > tr > td.info, -.table > tbody > tr > td.info, -.table > tfoot > tr > td.info, -.table > thead > tr > th.info, -.table > tbody > tr > th.info, -.table > tfoot > tr > th.info, -.table > thead > tr.info > td, -.table > tbody > tr.info > td, -.table > tfoot > tr.info > td, -.table > thead > tr.info > th, -.table > tbody > tr.info > th, -.table > tfoot > tr.info > th { - background-color: #d9edf7; -} -.table-hover > tbody > tr > td.info:hover, -.table-hover > tbody > tr > th.info:hover, -.table-hover > tbody > tr.info:hover > td, -.table-hover > tbody > tr:hover > .info, -.table-hover > tbody > tr.info:hover > th { - background-color: #c4e3f3; -} -.table > thead > tr > td.warning, -.table > tbody > tr > td.warning, -.table > tfoot > tr > td.warning, -.table > thead > tr > th.warning, -.table > tbody > tr > th.warning, -.table > tfoot > tr > th.warning, -.table > thead > tr.warning > td, -.table > tbody > tr.warning > td, -.table > tfoot > tr.warning > td, -.table > thead > tr.warning > th, -.table > tbody > tr.warning > th, -.table > tfoot > tr.warning > th { - background-color: #fcf8e3; -} -.table-hover > tbody > tr > td.warning:hover, -.table-hover > tbody > tr > th.warning:hover, -.table-hover > tbody > tr.warning:hover > td, -.table-hover > tbody > tr:hover > .warning, -.table-hover > tbody > tr.warning:hover > th { - background-color: #faf2cc; -} -.table > thead > tr > td.danger, -.table > tbody > tr > td.danger, -.table > tfoot > tr > td.danger, -.table > thead > tr > th.danger, -.table > tbody > tr > th.danger, -.table > tfoot > tr > th.danger, -.table > thead > tr.danger > td, -.table > tbody > tr.danger > td, -.table > tfoot > tr.danger > td, -.table > thead > tr.danger > th, -.table > tbody > tr.danger > th, -.table > tfoot > tr.danger > th { - background-color: #f2dede; -} -.table-hover > tbody > tr > td.danger:hover, -.table-hover > tbody > tr > th.danger:hover, -.table-hover > tbody > tr.danger:hover > td, -.table-hover > tbody > tr:hover > .danger, -.table-hover > tbody > tr.danger:hover > th { - background-color: #ebcccc; -} -.table-responsive { - min-height: .01%; - overflow-x: auto; -} -@media screen and (max-width: 767px) { - .table-responsive { - width: 100%; - margin-bottom: 15px; - overflow-y: hidden; - -ms-overflow-style: -ms-autohiding-scrollbar; - border: 1px solid #ddd; - } - .table-responsive > .table { - margin-bottom: 0; - } - .table-responsive > .table > thead > tr > th, - .table-responsive > .table > tbody > tr > th, - .table-responsive > .table > tfoot > tr > th, - .table-responsive > .table > thead > tr > td, - .table-responsive > .table > tbody > tr > td, - .table-responsive > .table > tfoot > tr > td { - white-space: nowrap; - } - .table-responsive > .table-bordered { - border: 0; - } - .table-responsive > .table-bordered > thead > tr > th:first-child, - .table-responsive > .table-bordered > tbody > tr > th:first-child, - .table-responsive > .table-bordered > tfoot > tr > th:first-child, - .table-responsive > .table-bordered > thead > tr > td:first-child, - .table-responsive > .table-bordered > tbody > tr > td:first-child, - .table-responsive > .table-bordered > tfoot > tr > td:first-child { - border-left: 0; - } - .table-responsive > .table-bordered > thead > tr > th:last-child, - .table-responsive > .table-bordered > tbody > tr > th:last-child, - .table-responsive > .table-bordered > tfoot > tr > th:last-child, - .table-responsive > .table-bordered > thead > tr > td:last-child, - .table-responsive > .table-bordered > tbody > tr > td:last-child, - .table-responsive > .table-bordered > tfoot > tr > td:last-child { - border-right: 0; - } - .table-responsive > .table-bordered > tbody > tr:last-child > th, - .table-responsive > .table-bordered > tfoot > tr:last-child > th, - .table-responsive > .table-bordered > tbody > tr:last-child > td, - .table-responsive > .table-bordered > tfoot > tr:last-child > td { - border-bottom: 0; - } -} -fieldset { - min-width: 0; - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 20px; - font-size: 21px; - line-height: inherit; - color: #333; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -label { - display: inline-block; - max-width: 100%; - margin-bottom: 5px; - font-weight: bold; -} -input[type="search"] { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - margin-top: 1px \9; - line-height: normal; -} -input[type="file"] { - display: block; -} -input[type="range"] { - display: block; - width: 100%; -} -select[multiple], -select[size] { - height: auto; -} -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -output { - display: block; - padding-top: 7px; - font-size: 14px; - line-height: 1.42857143; - color: #555; -} -.form-control { - display: block; - width: 100%; - height: 34px; - padding: 6px 12px; - font-size: 14px; - line-height: 1.42857143; - color: #555; - background-color: #fff; - background-image: none; - border: 1px solid #ccc; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; - -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; -} -.form-control:focus { - border-color: #66afe9; - outline: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6); -} -.form-control::-moz-placeholder { - color: #999; - opacity: 1; -} -.form-control:-ms-input-placeholder { - color: #999; -} -.form-control::-webkit-input-placeholder { - color: #999; -} -.form-control[disabled], -.form-control[readonly], -fieldset[disabled] .form-control { - background-color: #eee; - opacity: 1; -} -.form-control[disabled], -fieldset[disabled] .form-control { - cursor: not-allowed; -} -textarea.form-control { - height: auto; -} -input[type="search"] { - -webkit-appearance: none; -} -@media screen and (-webkit-min-device-pixel-ratio: 0) { - input[type="date"], - input[type="time"], - input[type="datetime-local"], - input[type="month"] { - line-height: 34px; - } - input[type="date"].input-sm, - input[type="time"].input-sm, - input[type="datetime-local"].input-sm, - input[type="month"].input-sm, - .input-group-sm input[type="date"], - .input-group-sm input[type="time"], - .input-group-sm input[type="datetime-local"], - .input-group-sm input[type="month"] { - line-height: 30px; - } - input[type="date"].input-lg, - input[type="time"].input-lg, - input[type="datetime-local"].input-lg, - input[type="month"].input-lg, - .input-group-lg input[type="date"], - .input-group-lg input[type="time"], - .input-group-lg input[type="datetime-local"], - .input-group-lg input[type="month"] { - line-height: 46px; - } -} -.form-group { - margin-bottom: 15px; -} -.radio, -.checkbox { - position: relative; - display: block; - margin-top: 10px; - margin-bottom: 10px; -} -.radio label, -.checkbox label { - min-height: 20px; - padding-left: 20px; - margin-bottom: 0; - font-weight: normal; - cursor: pointer; -} -.radio input[type="radio"], -.radio-inline input[type="radio"], -.checkbox input[type="checkbox"], -.checkbox-inline input[type="checkbox"] { - position: absolute; - margin-top: 4px \9; - margin-left: -20px; -} -.radio + .radio, -.checkbox + .checkbox { - margin-top: -5px; -} -.radio-inline, -.checkbox-inline { - position: relative; - display: inline-block; - padding-left: 20px; - margin-bottom: 0; - font-weight: normal; - vertical-align: middle; - cursor: pointer; -} -.radio-inline + .radio-inline, -.checkbox-inline + .checkbox-inline { - margin-top: 0; - margin-left: 10px; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"].disabled, -input[type="checkbox"].disabled, -fieldset[disabled] input[type="radio"], -fieldset[disabled] input[type="checkbox"] { - cursor: not-allowed; -} -.radio-inline.disabled, -.checkbox-inline.disabled, -fieldset[disabled] .radio-inline, -fieldset[disabled] .checkbox-inline { - cursor: not-allowed; -} -.radio.disabled label, -.checkbox.disabled label, -fieldset[disabled] .radio label, -fieldset[disabled] .checkbox label { - cursor: not-allowed; -} -.form-control-static { - min-height: 34px; - padding-top: 7px; - padding-bottom: 7px; - margin-bottom: 0; -} -.form-control-static.input-lg, -.form-control-static.input-sm { - padding-right: 0; - padding-left: 0; -} -.input-sm { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -select.input-sm { - height: 30px; - line-height: 30px; -} -textarea.input-sm, -select[multiple].input-sm { - height: auto; -} -.form-group-sm .form-control { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -select.form-group-sm .form-control { - height: 30px; - line-height: 30px; -} -textarea.form-group-sm .form-control, -select[multiple].form-group-sm .form-control { - height: auto; -} -.form-group-sm .form-control-static { - height: 30px; - min-height: 32px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; -} -.input-lg { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.3333333; - border-radius: 6px; -} -select.input-lg { - height: 46px; - line-height: 46px; -} -textarea.input-lg, -select[multiple].input-lg { - height: auto; -} -.form-group-lg .form-control { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.3333333; - border-radius: 6px; -} -select.form-group-lg .form-control { - height: 46px; - line-height: 46px; -} -textarea.form-group-lg .form-control, -select[multiple].form-group-lg .form-control { - height: auto; -} -.form-group-lg .form-control-static { - height: 46px; - min-height: 38px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.3333333; -} -.has-feedback { - position: relative; -} -.has-feedback .form-control { - padding-right: 42.5px; -} -.form-control-feedback { - position: absolute; - top: 0; - right: 0; - z-index: 2; - display: block; - width: 34px; - height: 34px; - line-height: 34px; - text-align: center; - pointer-events: none; -} -.input-lg + .form-control-feedback { - width: 46px; - height: 46px; - line-height: 46px; -} -.input-sm + .form-control-feedback { - width: 30px; - height: 30px; - line-height: 30px; -} -.has-success .help-block, -.has-success .control-label, -.has-success .radio, -.has-success .checkbox, -.has-success .radio-inline, -.has-success .checkbox-inline, -.has-success.radio label, -.has-success.checkbox label, -.has-success.radio-inline label, -.has-success.checkbox-inline label { - color: #3c763d; -} -.has-success .form-control { - border-color: #3c763d; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); -} -.has-success .form-control:focus { - border-color: #2b542c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; -} -.has-success .input-group-addon { - color: #3c763d; - background-color: #dff0d8; - border-color: #3c763d; -} -.has-success .form-control-feedback { - color: #3c763d; -} -.has-warning .help-block, -.has-warning .control-label, -.has-warning .radio, -.has-warning .checkbox, -.has-warning .radio-inline, -.has-warning .checkbox-inline, -.has-warning.radio label, -.has-warning.checkbox label, -.has-warning.radio-inline label, -.has-warning.checkbox-inline label { - color: #8a6d3b; -} -.has-warning .form-control { - border-color: #8a6d3b; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); -} -.has-warning .form-control:focus { - border-color: #66512c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b; -} -.has-warning .input-group-addon { - color: #8a6d3b; - background-color: #fcf8e3; - border-color: #8a6d3b; -} -.has-warning .form-control-feedback { - color: #8a6d3b; -} -.has-error .help-block, -.has-error .control-label, -.has-error .radio, -.has-error .checkbox, -.has-error .radio-inline, -.has-error .checkbox-inline, -.has-error.radio label, -.has-error.checkbox label, -.has-error.radio-inline label, -.has-error.checkbox-inline label { - color: #a94442; -} -.has-error .form-control { - border-color: #a94442; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); -} -.has-error .form-control:focus { - border-color: #843534; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; -} -.has-error .input-group-addon { - color: #a94442; - background-color: #f2dede; - border-color: #a94442; -} -.has-error .form-control-feedback { - color: #a94442; -} -.has-feedback label ~ .form-control-feedback { - top: 25px; -} -.has-feedback label.sr-only ~ .form-control-feedback { - top: 0; -} -.help-block { - display: block; - margin-top: 5px; - margin-bottom: 10px; - color: #737373; -} -@media (min-width: 768px) { - .form-inline .form-group { - display: inline-block; - margin-bottom: 0; - vertical-align: middle; - } - .form-inline .form-control { - display: inline-block; - width: auto; - vertical-align: middle; - } - .form-inline .form-control-static { - display: inline-block; - } - .form-inline .input-group { - display: inline-table; - vertical-align: middle; - } - .form-inline .input-group .input-group-addon, - .form-inline .input-group .input-group-btn, - .form-inline .input-group .form-control { - width: auto; - } - .form-inline .input-group > .form-control { - width: 100%; - } - .form-inline .control-label { - margin-bottom: 0; - vertical-align: middle; - } - .form-inline .radio, - .form-inline .checkbox { - display: inline-block; - margin-top: 0; - margin-bottom: 0; - vertical-align: middle; - } - .form-inline .radio label, - .form-inline .checkbox label { - padding-left: 0; - } - .form-inline .radio input[type="radio"], - .form-inline .checkbox input[type="checkbox"] { - position: relative; - margin-left: 0; - } - .form-inline .has-feedback .form-control-feedback { - top: 0; - } -} -.form-horizontal .radio, -.form-horizontal .checkbox, -.form-horizontal .radio-inline, -.form-horizontal .checkbox-inline { - padding-top: 7px; - margin-top: 0; - margin-bottom: 0; -} -.form-horizontal .radio, -.form-horizontal .checkbox { - min-height: 27px; -} -.form-horizontal .form-group { - margin-right: -15px; - margin-left: -15px; -} -@media (min-width: 768px) { - .form-horizontal .control-label { - padding-top: 7px; - margin-bottom: 0; - text-align: right; - } -} -.form-horizontal .has-feedback .form-control-feedback { - right: 15px; -} -@media (min-width: 768px) { - .form-horizontal .form-group-lg .control-label { - padding-top: 14.333333px; - } -} -@media (min-width: 768px) { - .form-horizontal .form-group-sm .control-label { - padding-top: 6px; - } -} -.btn { - display: inline-block; - padding: 6px 12px; - margin-bottom: 0; - font-size: 14px; - font-weight: normal; - line-height: 1.42857143; - text-align: center; - white-space: nowrap; - vertical-align: middle; - -ms-touch-action: manipulation; - touch-action: manipulation; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - background-image: none; - border: 1px solid transparent; - border-radius: 4px; -} -.btn:focus, -.btn:active:focus, -.btn.active:focus, -.btn.focus, -.btn:active.focus, -.btn.active.focus { - outline: thin dotted; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn:hover, -.btn:focus, -.btn.focus { - color: #333; - text-decoration: none; -} -.btn:active, -.btn.active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); -} -.btn.disabled, -.btn[disabled], -fieldset[disabled] .btn { - pointer-events: none; - cursor: not-allowed; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - box-shadow: none; - opacity: .65; -} -.btn-default { - color: #333; - background-color: #fff; - border-color: #ccc; -} -.btn-default:hover, -.btn-default:focus, -.btn-default.focus, -.btn-default:active, -.btn-default.active, -.open > .dropdown-toggle.btn-default { - color: #333; - background-color: #e6e6e6; - border-color: #adadad; -} -.btn-default:active, -.btn-default.active, -.open > .dropdown-toggle.btn-default { - background-image: none; -} -.btn-default.disabled, -.btn-default[disabled], -fieldset[disabled] .btn-default, -.btn-default.disabled:hover, -.btn-default[disabled]:hover, -fieldset[disabled] .btn-default:hover, -.btn-default.disabled:focus, -.btn-default[disabled]:focus, -fieldset[disabled] .btn-default:focus, -.btn-default.disabled.focus, -.btn-default[disabled].focus, -fieldset[disabled] .btn-default.focus, -.btn-default.disabled:active, -.btn-default[disabled]:active, -fieldset[disabled] .btn-default:active, -.btn-default.disabled.active, -.btn-default[disabled].active, -fieldset[disabled] .btn-default.active { - background-color: #fff; - border-color: #ccc; -} -.btn-default .badge { - color: #fff; - background-color: #333; -} -.btn-primary { - color: #fff; - background-color: #337ab7; - border-color: #2e6da4; -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary.focus, -.btn-primary:active, -.btn-primary.active, -.open > .dropdown-toggle.btn-primary { - color: #fff; - background-color: #286090; - border-color: #204d74; -} -.btn-primary:active, -.btn-primary.active, -.open > .dropdown-toggle.btn-primary { - background-image: none; -} -.btn-primary.disabled, -.btn-primary[disabled], -fieldset[disabled] .btn-primary, -.btn-primary.disabled:hover, -.btn-primary[disabled]:hover, -fieldset[disabled] .btn-primary:hover, -.btn-primary.disabled:focus, -.btn-primary[disabled]:focus, -fieldset[disabled] .btn-primary:focus, -.btn-primary.disabled.focus, -.btn-primary[disabled].focus, -fieldset[disabled] .btn-primary.focus, -.btn-primary.disabled:active, -.btn-primary[disabled]:active, -fieldset[disabled] .btn-primary:active, -.btn-primary.disabled.active, -.btn-primary[disabled].active, -fieldset[disabled] .btn-primary.active { - background-color: #337ab7; - border-color: #2e6da4; -} -.btn-primary .badge { - color: #337ab7; - background-color: #fff; -} -.btn-success { - color: #fff; - background-color: #5cb85c; - border-color: #4cae4c; -} -.btn-success:hover, -.btn-success:focus, -.btn-success.focus, -.btn-success:active, -.btn-success.active, -.open > .dropdown-toggle.btn-success { - color: #fff; - background-color: #449d44; - border-color: #398439; -} -.btn-success:active, -.btn-success.active, -.open > .dropdown-toggle.btn-success { - background-image: none; -} -.btn-success.disabled, -.btn-success[disabled], -fieldset[disabled] .btn-success, -.btn-success.disabled:hover, -.btn-success[disabled]:hover, -fieldset[disabled] .btn-success:hover, -.btn-success.disabled:focus, -.btn-success[disabled]:focus, -fieldset[disabled] .btn-success:focus, -.btn-success.disabled.focus, -.btn-success[disabled].focus, -fieldset[disabled] .btn-success.focus, -.btn-success.disabled:active, -.btn-success[disabled]:active, -fieldset[disabled] .btn-success:active, -.btn-success.disabled.active, -.btn-success[disabled].active, -fieldset[disabled] .btn-success.active { - background-color: #5cb85c; - border-color: #4cae4c; -} -.btn-success .badge { - color: #5cb85c; - background-color: #fff; -} -.btn-info { - color: #fff; - background-color: #5bc0de; - border-color: #46b8da; -} -.btn-info:hover, -.btn-info:focus, -.btn-info.focus, -.btn-info:active, -.btn-info.active, -.open > .dropdown-toggle.btn-info { - color: #fff; - background-color: #31b0d5; - border-color: #269abc; -} -.btn-info:active, -.btn-info.active, -.open > .dropdown-toggle.btn-info { - background-image: none; -} -.btn-info.disabled, -.btn-info[disabled], -fieldset[disabled] .btn-info, -.btn-info.disabled:hover, -.btn-info[disabled]:hover, -fieldset[disabled] .btn-info:hover, -.btn-info.disabled:focus, -.btn-info[disabled]:focus, -fieldset[disabled] .btn-info:focus, -.btn-info.disabled.focus, -.btn-info[disabled].focus, -fieldset[disabled] .btn-info.focus, -.btn-info.disabled:active, -.btn-info[disabled]:active, -fieldset[disabled] .btn-info:active, -.btn-info.disabled.active, -.btn-info[disabled].active, -fieldset[disabled] .btn-info.active { - background-color: #5bc0de; - border-color: #46b8da; -} -.btn-info .badge { - color: #5bc0de; - background-color: #fff; -} -.btn-warning { - color: #fff; - background-color: #f0ad4e; - border-color: #eea236; -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning.focus, -.btn-warning:active, -.btn-warning.active, -.open > .dropdown-toggle.btn-warning { - color: #fff; - background-color: #ec971f; - border-color: #d58512; -} -.btn-warning:active, -.btn-warning.active, -.open > .dropdown-toggle.btn-warning { - background-image: none; -} -.btn-warning.disabled, -.btn-warning[disabled], -fieldset[disabled] .btn-warning, -.btn-warning.disabled:hover, -.btn-warning[disabled]:hover, -fieldset[disabled] .btn-warning:hover, -.btn-warning.disabled:focus, -.btn-warning[disabled]:focus, -fieldset[disabled] .btn-warning:focus, -.btn-warning.disabled.focus, -.btn-warning[disabled].focus, -fieldset[disabled] .btn-warning.focus, -.btn-warning.disabled:active, -.btn-warning[disabled]:active, -fieldset[disabled] .btn-warning:active, -.btn-warning.disabled.active, -.btn-warning[disabled].active, -fieldset[disabled] .btn-warning.active { - background-color: #f0ad4e; - border-color: #eea236; -} -.btn-warning .badge { - color: #f0ad4e; - background-color: #fff; -} -.btn-danger { - color: #fff; - background-color: #d9534f; - border-color: #d43f3a; -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger.focus, -.btn-danger:active, -.btn-danger.active, -.open > .dropdown-toggle.btn-danger { - color: #fff; - background-color: #c9302c; - border-color: #ac2925; -} -.btn-danger:active, -.btn-danger.active, -.open > .dropdown-toggle.btn-danger { - background-image: none; -} -.btn-danger.disabled, -.btn-danger[disabled], -fieldset[disabled] .btn-danger, -.btn-danger.disabled:hover, -.btn-danger[disabled]:hover, -fieldset[disabled] .btn-danger:hover, -.btn-danger.disabled:focus, -.btn-danger[disabled]:focus, -fieldset[disabled] .btn-danger:focus, -.btn-danger.disabled.focus, -.btn-danger[disabled].focus, -fieldset[disabled] .btn-danger.focus, -.btn-danger.disabled:active, -.btn-danger[disabled]:active, -fieldset[disabled] .btn-danger:active, -.btn-danger.disabled.active, -.btn-danger[disabled].active, -fieldset[disabled] .btn-danger.active { - background-color: #d9534f; - border-color: #d43f3a; -} -.btn-danger .badge { - color: #d9534f; - background-color: #fff; -} -.btn-link { - font-weight: normal; - color: #337ab7; - border-radius: 0; -} -.btn-link, -.btn-link:active, -.btn-link.active, -.btn-link[disabled], -fieldset[disabled] .btn-link { - background-color: transparent; - -webkit-box-shadow: none; - box-shadow: none; -} -.btn-link, -.btn-link:hover, -.btn-link:focus, -.btn-link:active { - border-color: transparent; -} -.btn-link:hover, -.btn-link:focus { - color: #23527c; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -fieldset[disabled] .btn-link:hover, -.btn-link[disabled]:focus, -fieldset[disabled] .btn-link:focus { - color: #777; - text-decoration: none; -} -.btn-lg, -.btn-group-lg > .btn { - padding: 10px 16px; - font-size: 18px; - line-height: 1.3333333; - border-radius: 6px; -} -.btn-sm, -.btn-group-sm > .btn { - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -.btn-xs, -.btn-group-xs > .btn { - padding: 1px 5px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.fade { - opacity: 0; - -webkit-transition: opacity .15s linear; - -o-transition: opacity .15s linear; - transition: opacity .15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - display: none; -} -.collapse.in { - display: block; -} -tr.collapse.in { - display: table-row; -} -tbody.collapse.in { - display: table-row-group; -} -.collapsing { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition-timing-function: ease; - -o-transition-timing-function: ease; - transition-timing-function: ease; - -webkit-transition-duration: .35s; - -o-transition-duration: .35s; - transition-duration: .35s; - -webkit-transition-property: height, visibility; - -o-transition-property: height, visibility; - transition-property: height, visibility; -} -.caret { - display: inline-block; - width: 0; - height: 0; - margin-left: 2px; - vertical-align: middle; - border-top: 4px dashed; - border-right: 4px solid transparent; - border-left: 4px solid transparent; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle:focus { - outline: 0; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - font-size: 14px; - text-align: left; - list-style: none; - background-color: #fff; - -webkit-background-clip: padding-box; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, .15); - border-radius: 4px; - -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); - box-shadow: 0 6px 12px rgba(0, 0, 0, .175); -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - height: 1px; - margin: 9px 0; - overflow: hidden; - background-color: #e5e5e5; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 1.42857143; - color: #333; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus { - color: #262626; - text-decoration: none; - background-color: #f5f5f5; -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #fff; - text-decoration: none; - background-color: #337ab7; - outline: 0; -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #777; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - cursor: not-allowed; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.open > .dropdown-menu { - display: block; -} -.open > a { - outline: 0; -} -.dropdown-menu-right { - right: 0; - left: auto; -} -.dropdown-menu-left { - right: auto; - left: 0; -} -.dropdown-header { - display: block; - padding: 3px 20px; - font-size: 12px; - line-height: 1.42857143; - color: #777; - white-space: nowrap; -} -.dropdown-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 990; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - content: ""; - border-top: 0; - border-bottom: 4px solid; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 2px; -} -@media (min-width: 768px) { - .navbar-right .dropdown-menu { - right: 0; - left: auto; - } - .navbar-right .dropdown-menu-left { - right: auto; - left: 0; - } -} -.btn-group, -.btn-group-vertical { - position: relative; - display: inline-block; - vertical-align: middle; -} -.btn-group > .btn, -.btn-group-vertical > .btn { - position: relative; - float: left; -} -.btn-group > .btn:hover, -.btn-group-vertical > .btn:hover, -.btn-group > .btn:focus, -.btn-group-vertical > .btn:focus, -.btn-group > .btn:active, -.btn-group-vertical > .btn:active, -.btn-group > .btn.active, -.btn-group-vertical > .btn.active { - z-index: 2; -} -.btn-group .btn + .btn, -.btn-group .btn + .btn-group, -.btn-group .btn-group + .btn, -.btn-group .btn-group + .btn-group { - margin-left: -1px; -} -.btn-toolbar { - margin-left: -5px; -} -.btn-toolbar .btn-group, -.btn-toolbar .input-group { - float: left; -} -.btn-toolbar > .btn, -.btn-toolbar > .btn-group, -.btn-toolbar > .input-group { - margin-left: 5px; -} -.btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { - border-radius: 0; -} -.btn-group > .btn:first-child { - margin-left: 0; -} -.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.btn-group > .btn:last-child:not(:first-child), -.btn-group > .dropdown-toggle:not(:first-child) { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group > .btn-group { - float: left; -} -.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { - border-radius: 0; -} -.btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child, -.btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-right: 8px; - padding-left: 8px; -} -.btn-group > .btn-lg + .dropdown-toggle { - padding-right: 12px; - padding-left: 12px; -} -.btn-group.open .dropdown-toggle { - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); -} -.btn-group.open .dropdown-toggle.btn-link { - -webkit-box-shadow: none; - box-shadow: none; -} -.btn .caret { - margin-left: 0; -} -.btn-lg .caret { - border-width: 5px 5px 0; - border-bottom-width: 0; -} -.dropup .btn-lg .caret { - border-width: 0 5px 5px; -} -.btn-group-vertical > .btn, -.btn-group-vertical > .btn-group, -.btn-group-vertical > .btn-group > .btn { - display: block; - float: none; - width: 100%; - max-width: 100%; -} -.btn-group-vertical > .btn-group > .btn { - float: none; -} -.btn-group-vertical > .btn + .btn, -.btn-group-vertical > .btn + .btn-group, -.btn-group-vertical > .btn-group + .btn, -.btn-group-vertical > .btn-group + .btn-group { - margin-top: -1px; - margin-left: 0; -} -.btn-group-vertical > .btn:not(:first-child):not(:last-child) { - border-radius: 0; -} -.btn-group-vertical > .btn:first-child:not(:last-child) { - border-top-right-radius: 4px; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group-vertical > .btn:last-child:not(:first-child) { - border-top-left-radius: 0; - border-top-right-radius: 0; - border-bottom-left-radius: 4px; -} -.btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { - border-radius: 0; -} -.btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, -.btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { - border-top-left-radius: 0; - border-top-right-radius: 0; -} -.btn-group-justified { - display: table; - width: 100%; - table-layout: fixed; - border-collapse: separate; -} -.btn-group-justified > .btn, -.btn-group-justified > .btn-group { - display: table-cell; - float: none; - width: 1%; -} -.btn-group-justified > .btn-group .btn { - width: 100%; -} -.btn-group-justified > .btn-group .dropdown-menu { - left: auto; -} -[data-toggle="buttons"] > .btn input[type="radio"], -[data-toggle="buttons"] > .btn-group > .btn input[type="radio"], -[data-toggle="buttons"] > .btn input[type="checkbox"], -[data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] { - position: absolute; - clip: rect(0, 0, 0, 0); - pointer-events: none; -} -.input-group { - position: relative; - display: table; - border-collapse: separate; -} -.input-group[class*="col-"] { - float: none; - padding-right: 0; - padding-left: 0; -} -.input-group .form-control { - position: relative; - z-index: 2; - float: left; - width: 100%; - margin-bottom: 0; -} -.input-group-lg > .form-control, -.input-group-lg > .input-group-addon, -.input-group-lg > .input-group-btn > .btn { - height: 46px; - padding: 10px 16px; - font-size: 18px; - line-height: 1.3333333; - border-radius: 6px; -} -select.input-group-lg > .form-control, -select.input-group-lg > .input-group-addon, -select.input-group-lg > .input-group-btn > .btn { - height: 46px; - line-height: 46px; -} -textarea.input-group-lg > .form-control, -textarea.input-group-lg > .input-group-addon, -textarea.input-group-lg > .input-group-btn > .btn, -select[multiple].input-group-lg > .form-control, -select[multiple].input-group-lg > .input-group-addon, -select[multiple].input-group-lg > .input-group-btn > .btn { - height: auto; -} -.input-group-sm > .form-control, -.input-group-sm > .input-group-addon, -.input-group-sm > .input-group-btn > .btn { - height: 30px; - padding: 5px 10px; - font-size: 12px; - line-height: 1.5; - border-radius: 3px; -} -select.input-group-sm > .form-control, -select.input-group-sm > .input-group-addon, -select.input-group-sm > .input-group-btn > .btn { - height: 30px; - line-height: 30px; -} -textarea.input-group-sm > .form-control, -textarea.input-group-sm > .input-group-addon, -textarea.input-group-sm > .input-group-btn > .btn, -select[multiple].input-group-sm > .form-control, -select[multiple].input-group-sm > .input-group-addon, -select[multiple].input-group-sm > .input-group-btn > .btn { - height: auto; -} -.input-group-addon, -.input-group-btn, -.input-group .form-control { - display: table-cell; -} -.input-group-addon:not(:first-child):not(:last-child), -.input-group-btn:not(:first-child):not(:last-child), -.input-group .form-control:not(:first-child):not(:last-child) { - border-radius: 0; -} -.input-group-addon, -.input-group-btn { - width: 1%; - white-space: nowrap; - vertical-align: middle; -} -.input-group-addon { - padding: 6px 12px; - font-size: 14px; - font-weight: normal; - line-height: 1; - color: #555; - text-align: center; - background-color: #eee; - border: 1px solid #ccc; - border-radius: 4px; -} -.input-group-addon.input-sm { - padding: 5px 10px; - font-size: 12px; - border-radius: 3px; -} -.input-group-addon.input-lg { - padding: 10px 16px; - font-size: 18px; - border-radius: 6px; -} -.input-group-addon input[type="radio"], -.input-group-addon input[type="checkbox"] { - margin-top: 0; -} -.input-group .form-control:first-child, -.input-group-addon:first-child, -.input-group-btn:first-child > .btn, -.input-group-btn:first-child > .btn-group > .btn, -.input-group-btn:first-child > .dropdown-toggle, -.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), -.input-group-btn:last-child > .btn-group:not(:last-child) > .btn { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} -.input-group-addon:first-child { - border-right: 0; -} -.input-group .form-control:last-child, -.input-group-addon:last-child, -.input-group-btn:last-child > .btn, -.input-group-btn:last-child > .btn-group > .btn, -.input-group-btn:last-child > .dropdown-toggle, -.input-group-btn:first-child > .btn:not(:first-child), -.input-group-btn:first-child > .btn-group:not(:first-child) > .btn { - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} -.input-group-addon:last-child { - border-left: 0; -} -.input-group-btn { - position: relative; - font-size: 0; - white-space: nowrap; -} -.input-group-btn > .btn { - position: relative; -} -.input-group-btn > .btn + .btn { - margin-left: -1px; -} -.input-group-btn > .btn:hover, -.input-group-btn > .btn:focus, -.input-group-btn > .btn:active { - z-index: 2; -} -.input-group-btn:first-child > .btn, -.input-group-btn:first-child > .btn-group { - margin-right: -1px; -} -.input-group-btn:last-child > .btn, -.input-group-btn:last-child > .btn-group { - margin-left: -1px; -} -.nav { - padding-left: 0; - margin-bottom: 0; - list-style: none; -} -.nav > li { - position: relative; - display: block; -} -.nav > li > a { - position: relative; - display: block; - padding: 10px 15px; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #eee; -} -.nav > li.disabled > a { - color: #777; -} -.nav > li.disabled > a:hover, -.nav > li.disabled > a:focus { - color: #777; - text-decoration: none; - cursor: not-allowed; - background-color: transparent; -} -.nav .open > a, -.nav .open > a:hover, -.nav .open > a:focus { - background-color: #eee; - border-color: #337ab7; -} -.nav .nav-divider { - height: 1px; - margin: 9px 0; - overflow: hidden; - background-color: #e5e5e5; -} -.nav > li > a > img { - max-width: none; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - float: left; - margin-bottom: -1px; -} -.nav-tabs > li > a { - margin-right: 2px; - line-height: 1.42857143; - border: 1px solid transparent; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover { - border-color: #eee #eee #ddd; -} -.nav-tabs > li.active > a, -.nav-tabs > li.active > a:hover, -.nav-tabs > li.active > a:focus { - color: #555; - cursor: default; - background-color: #fff; - border: 1px solid #ddd; - border-bottom-color: transparent; -} -.nav-tabs.nav-justified { - width: 100%; - border-bottom: 0; -} -.nav-tabs.nav-justified > li { - float: none; -} -.nav-tabs.nav-justified > li > a { - margin-bottom: 5px; - text-align: center; -} -.nav-tabs.nav-justified > .dropdown .dropdown-menu { - top: auto; - left: auto; -} -@media (min-width: 768px) { - .nav-tabs.nav-justified > li { - display: table-cell; - width: 1%; - } - .nav-tabs.nav-justified > li > a { - margin-bottom: 0; - } -} -.nav-tabs.nav-justified > li > a { - margin-right: 0; - border-radius: 4px; -} -.nav-tabs.nav-justified > .active > a, -.nav-tabs.nav-justified > .active > a:hover, -.nav-tabs.nav-justified > .active > a:focus { - border: 1px solid #ddd; -} -@media (min-width: 768px) { - .nav-tabs.nav-justified > li > a { - border-bottom: 1px solid #ddd; - border-radius: 4px 4px 0 0; - } - .nav-tabs.nav-justified > .active > a, - .nav-tabs.nav-justified > .active > a:hover, - .nav-tabs.nav-justified > .active > a:focus { - border-bottom-color: #fff; - } -} -.nav-pills > li { - float: left; -} -.nav-pills > li > a { - border-radius: 4px; -} -.nav-pills > li + li { - margin-left: 2px; -} -.nav-pills > li.active > a, -.nav-pills > li.active > a:hover, -.nav-pills > li.active > a:focus { - color: #fff; - background-color: #337ab7; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li + li { - margin-top: 2px; - margin-left: 0; -} -.nav-justified { - width: 100%; -} -.nav-justified > li { - float: none; -} -.nav-justified > li > a { - margin-bottom: 5px; - text-align: center; -} -.nav-justified > .dropdown .dropdown-menu { - top: auto; - left: auto; -} -@media (min-width: 768px) { - .nav-justified > li { - display: table-cell; - width: 1%; - } - .nav-justified > li > a { - margin-bottom: 0; - } -} -.nav-tabs-justified { - border-bottom: 0; -} -.nav-tabs-justified > li > a { - margin-right: 0; - border-radius: 4px; -} -.nav-tabs-justified > .active > a, -.nav-tabs-justified > .active > a:hover, -.nav-tabs-justified > .active > a:focus { - border: 1px solid #ddd; -} -@media (min-width: 768px) { - .nav-tabs-justified > li > a { - border-bottom: 1px solid #ddd; - border-radius: 4px 4px 0 0; - } - .nav-tabs-justified > .active > a, - .nav-tabs-justified > .active > a:hover, - .nav-tabs-justified > .active > a:focus { - border-bottom-color: #fff; - } -} -.tab-content > .tab-pane { - display: none; -} -.tab-content > .active { - display: block; -} -.nav-tabs .dropdown-menu { - margin-top: -1px; - border-top-left-radius: 0; - border-top-right-radius: 0; -} -.navbar { - position: relative; - min-height: 50px; - margin-bottom: 20px; - border: 1px solid transparent; -} -@media (min-width: 768px) { - .navbar { - border-radius: 4px; - } -} -@media (min-width: 768px) { - .navbar-header { - float: left; - } -} -.navbar-collapse { - padding-right: 15px; - padding-left: 15px; - overflow-x: visible; - -webkit-overflow-scrolling: touch; - border-top: 1px solid transparent; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); -} -.navbar-collapse.in { - overflow-y: auto; -} -@media (min-width: 768px) { - .navbar-collapse { - width: auto; - border-top: 0; - -webkit-box-shadow: none; - box-shadow: none; - } - .navbar-collapse.collapse { - display: block !important; - height: auto !important; - padding-bottom: 0; - overflow: visible !important; - } - .navbar-collapse.in { - overflow-y: visible; - } - .navbar-fixed-top .navbar-collapse, - .navbar-static-top .navbar-collapse, - .navbar-fixed-bottom .navbar-collapse { - padding-right: 0; - padding-left: 0; - } -} -.navbar-fixed-top .navbar-collapse, -.navbar-fixed-bottom .navbar-collapse { - max-height: 340px; -} -@media (max-device-width: 480px) and (orientation: landscape) { - .navbar-fixed-top .navbar-collapse, - .navbar-fixed-bottom .navbar-collapse { - max-height: 200px; - } -} -.container > .navbar-header, -.container-fluid > .navbar-header, -.container > .navbar-collapse, -.container-fluid > .navbar-collapse { - margin-right: -15px; - margin-left: -15px; -} -@media (min-width: 768px) { - .container > .navbar-header, - .container-fluid > .navbar-header, - .container > .navbar-collapse, - .container-fluid > .navbar-collapse { - margin-right: 0; - margin-left: 0; - } -} -.navbar-static-top { - z-index: 1000; - border-width: 0 0 1px; -} -@media (min-width: 768px) { - .navbar-static-top { - border-radius: 0; - } -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; -} -@media (min-width: 768px) { - .navbar-fixed-top, - .navbar-fixed-bottom { - border-radius: 0; - } -} -.navbar-fixed-top { - top: 0; - border-width: 0 0 1px; -} -.navbar-fixed-bottom { - bottom: 0; - margin-bottom: 0; - border-width: 1px 0 0; -} -.navbar-brand { - float: left; - height: 50px; - padding: 15px 15px; - font-size: 18px; - line-height: 20px; -} -.navbar-brand:hover, -.navbar-brand:focus { - text-decoration: none; -} -.navbar-brand > img { - display: block; -} -@media (min-width: 768px) { - .navbar > .container .navbar-brand, - .navbar > .container-fluid .navbar-brand { - margin-left: -15px; - } -} -.navbar-toggle { - position: relative; - float: right; - padding: 9px 10px; - margin-top: 8px; - margin-right: 15px; - margin-bottom: 8px; - background-color: transparent; - background-image: none; - border: 1px solid transparent; - border-radius: 4px; -} -.navbar-toggle:focus { - outline: 0; -} -.navbar-toggle .icon-bar { - display: block; - width: 22px; - height: 2px; - border-radius: 1px; -} -.navbar-toggle .icon-bar + .icon-bar { - margin-top: 4px; -} -@media (min-width: 768px) { - .navbar-toggle { - display: none; - } -} -.navbar-nav { - margin: 7.5px -15px; -} -.navbar-nav > li > a { - padding-top: 10px; - padding-bottom: 10px; - line-height: 20px; -} -@media (max-width: 767px) { - .navbar-nav .open .dropdown-menu { - position: static; - float: none; - width: auto; - margin-top: 0; - background-color: transparent; - border: 0; - -webkit-box-shadow: none; - box-shadow: none; - } - .navbar-nav .open .dropdown-menu > li > a, - .navbar-nav .open .dropdown-menu .dropdown-header { - padding: 5px 15px 5px 25px; - } - .navbar-nav .open .dropdown-menu > li > a { - line-height: 20px; - } - .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-nav .open .dropdown-menu > li > a:focus { - background-image: none; - } -} -@media (min-width: 768px) { - .navbar-nav { - float: left; - margin: 0; - } - .navbar-nav > li { - float: left; - } - .navbar-nav > li > a { - padding-top: 15px; - padding-bottom: 15px; - } -} -.navbar-form { - padding: 10px 15px; - margin-top: 8px; - margin-right: -15px; - margin-bottom: 8px; - margin-left: -15px; - border-top: 1px solid transparent; - border-bottom: 1px solid transparent; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); -} -@media (min-width: 768px) { - .navbar-form .form-group { - display: inline-block; - margin-bottom: 0; - vertical-align: middle; - } - .navbar-form .form-control { - display: inline-block; - width: auto; - vertical-align: middle; - } - .navbar-form .form-control-static { - display: inline-block; - } - .navbar-form .input-group { - display: inline-table; - vertical-align: middle; - } - .navbar-form .input-group .input-group-addon, - .navbar-form .input-group .input-group-btn, - .navbar-form .input-group .form-control { - width: auto; - } - .navbar-form .input-group > .form-control { - width: 100%; - } - .navbar-form .control-label { - margin-bottom: 0; - vertical-align: middle; - } - .navbar-form .radio, - .navbar-form .checkbox { - display: inline-block; - margin-top: 0; - margin-bottom: 0; - vertical-align: middle; - } - .navbar-form .radio label, - .navbar-form .checkbox label { - padding-left: 0; - } - .navbar-form .radio input[type="radio"], - .navbar-form .checkbox input[type="checkbox"] { - position: relative; - margin-left: 0; - } - .navbar-form .has-feedback .form-control-feedback { - top: 0; - } -} -@media (max-width: 767px) { - .navbar-form .form-group { - margin-bottom: 5px; - } - .navbar-form .form-group:last-child { - margin-bottom: 0; - } -} -@media (min-width: 768px) { - .navbar-form { - width: auto; - padding-top: 0; - padding-bottom: 0; - margin-right: 0; - margin-left: 0; - border: 0; - -webkit-box-shadow: none; - box-shadow: none; - } -} -.navbar-nav > li > .dropdown-menu { - margin-top: 0; - border-top-left-radius: 0; - border-top-right-radius: 0; -} -.navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { - margin-bottom: 0; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; -} -.navbar-btn { - margin-top: 8px; - margin-bottom: 8px; -} -.navbar-btn.btn-sm { - margin-top: 10px; - margin-bottom: 10px; -} -.navbar-btn.btn-xs { - margin-top: 14px; - margin-bottom: 14px; -} -.navbar-text { - margin-top: 15px; - margin-bottom: 15px; -} -@media (min-width: 768px) { - .navbar-text { - float: left; - margin-right: 15px; - margin-left: 15px; - } -} -@media (min-width: 768px) { - .navbar-left { - float: left !important; - } - .navbar-right { - float: right !important; - margin-right: -15px; - } - .navbar-right ~ .navbar-right { - margin-right: 0; - } -} -.navbar-default { - background-color: #f8f8f8; - border-color: #e7e7e7; -} -.navbar-default .navbar-brand { - color: #777; -} -.navbar-default .navbar-brand:hover, -.navbar-default .navbar-brand:focus { - color: #5e5e5e; - background-color: transparent; -} -.navbar-default .navbar-text { - color: #777; -} -.navbar-default .navbar-nav > li > a { - color: #777; -} -.navbar-default .navbar-nav > li > a:hover, -.navbar-default .navbar-nav > li > a:focus { - color: #333; - background-color: transparent; -} -.navbar-default .navbar-nav > .active > a, -.navbar-default .navbar-nav > .active > a:hover, -.navbar-default .navbar-nav > .active > a:focus { - color: #555; - background-color: #e7e7e7; -} -.navbar-default .navbar-nav > .disabled > a, -.navbar-default .navbar-nav > .disabled > a:hover, -.navbar-default .navbar-nav > .disabled > a:focus { - color: #ccc; - background-color: transparent; -} -.navbar-default .navbar-toggle { - border-color: #ddd; -} -.navbar-default .navbar-toggle:hover, -.navbar-default .navbar-toggle:focus { - background-color: #ddd; -} -.navbar-default .navbar-toggle .icon-bar { - background-color: #888; -} -.navbar-default .navbar-collapse, -.navbar-default .navbar-form { - border-color: #e7e7e7; -} -.navbar-default .navbar-nav > .open > a, -.navbar-default .navbar-nav > .open > a:hover, -.navbar-default .navbar-nav > .open > a:focus { - color: #555; - background-color: #e7e7e7; -} -@media (max-width: 767px) { - .navbar-default .navbar-nav .open .dropdown-menu > li > a { - color: #777; - } - .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { - color: #333; - background-color: transparent; - } - .navbar-default .navbar-nav .open .dropdown-menu > .active > a, - .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { - color: #555; - background-color: #e7e7e7; - } - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, - .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { - color: #ccc; - background-color: transparent; - } -} -.navbar-default .navbar-link { - color: #777; -} -.navbar-default .navbar-link:hover { - color: #333; -} -.navbar-default .btn-link { - color: #777; -} -.navbar-default .btn-link:hover, -.navbar-default .btn-link:focus { - color: #333; -} -.navbar-default .btn-link[disabled]:hover, -fieldset[disabled] .navbar-default .btn-link:hover, -.navbar-default .btn-link[disabled]:focus, -fieldset[disabled] .navbar-default .btn-link:focus { - color: #ccc; -} -.navbar-inverse { - background-color: #222; - border-color: #080808; -} -.navbar-inverse .navbar-brand { - color: #9d9d9d; -} -.navbar-inverse .navbar-brand:hover, -.navbar-inverse .navbar-brand:focus { - color: #fff; - background-color: transparent; -} -.navbar-inverse .navbar-text { - color: #9d9d9d; -} -.navbar-inverse .navbar-nav > li > a { - color: #9d9d9d; -} -.navbar-inverse .navbar-nav > li > a:hover, -.navbar-inverse .navbar-nav > li > a:focus { - color: #fff; - background-color: transparent; -} -.navbar-inverse .navbar-nav > .active > a, -.navbar-inverse .navbar-nav > .active > a:hover, -.navbar-inverse .navbar-nav > .active > a:focus { - color: #fff; - background-color: #080808; -} -.navbar-inverse .navbar-nav > .disabled > a, -.navbar-inverse .navbar-nav > .disabled > a:hover, -.navbar-inverse .navbar-nav > .disabled > a:focus { - color: #444; - background-color: transparent; -} -.navbar-inverse .navbar-toggle { - border-color: #333; -} -.navbar-inverse .navbar-toggle:hover, -.navbar-inverse .navbar-toggle:focus { - background-color: #333; -} -.navbar-inverse .navbar-toggle .icon-bar { - background-color: #fff; -} -.navbar-inverse .navbar-collapse, -.navbar-inverse .navbar-form { - border-color: #101010; -} -.navbar-inverse .navbar-nav > .open > a, -.navbar-inverse .navbar-nav > .open > a:hover, -.navbar-inverse .navbar-nav > .open > a:focus { - color: #fff; - background-color: #080808; -} -@media (max-width: 767px) { - .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { - border-color: #080808; - } - .navbar-inverse .navbar-nav .open .dropdown-menu .divider { - background-color: #080808; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { - color: #9d9d9d; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { - color: #fff; - background-color: transparent; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { - color: #fff; - background-color: #080808; - } - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, - .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { - color: #444; - background-color: transparent; - } -} -.navbar-inverse .navbar-link { - color: #9d9d9d; -} -.navbar-inverse .navbar-link:hover { - color: #fff; -} -.navbar-inverse .btn-link { - color: #9d9d9d; -} -.navbar-inverse .btn-link:hover, -.navbar-inverse .btn-link:focus { - color: #fff; -} -.navbar-inverse .btn-link[disabled]:hover, -fieldset[disabled] .navbar-inverse .btn-link:hover, -.navbar-inverse .btn-link[disabled]:focus, -fieldset[disabled] .navbar-inverse .btn-link:focus { - color: #444; -} -.breadcrumb { - padding: 8px 15px; - margin-bottom: 20px; - list-style: none; - background-color: #f5f5f5; - border-radius: 4px; -} -.breadcrumb > li { - display: inline-block; -} -.breadcrumb > li + li:before { - padding: 0 5px; - color: #ccc; - content: "/\00a0"; -} -.breadcrumb > .active { - color: #777; -} -.pagination { - display: inline-block; - padding-left: 0; - margin: 20px 0; - border-radius: 4px; -} -.pagination > li { - display: inline; -} -.pagination > li > a, -.pagination > li > span { - position: relative; - float: left; - padding: 6px 12px; - margin-left: -1px; - line-height: 1.42857143; - color: #337ab7; - text-decoration: none; - background-color: #fff; - border: 1px solid #ddd; -} -.pagination > li:first-child > a, -.pagination > li:first-child > span { - margin-left: 0; - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; -} -.pagination > li:last-child > a, -.pagination > li:last-child > span { - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; -} -.pagination > li > a:hover, -.pagination > li > span:hover, -.pagination > li > a:focus, -.pagination > li > span:focus { - color: #23527c; - background-color: #eee; - border-color: #ddd; -} -.pagination > .active > a, -.pagination > .active > span, -.pagination > .active > a:hover, -.pagination > .active > span:hover, -.pagination > .active > a:focus, -.pagination > .active > span:focus { - z-index: 2; - color: #fff; - cursor: default; - background-color: #337ab7; - border-color: #337ab7; -} -.pagination > .disabled > span, -.pagination > .disabled > span:hover, -.pagination > .disabled > span:focus, -.pagination > .disabled > a, -.pagination > .disabled > a:hover, -.pagination > .disabled > a:focus { - color: #777; - cursor: not-allowed; - background-color: #fff; - border-color: #ddd; -} -.pagination-lg > li > a, -.pagination-lg > li > span { - padding: 10px 16px; - font-size: 18px; -} -.pagination-lg > li:first-child > a, -.pagination-lg > li:first-child > span { - border-top-left-radius: 6px; - border-bottom-left-radius: 6px; -} -.pagination-lg > li:last-child > a, -.pagination-lg > li:last-child > span { - border-top-right-radius: 6px; - border-bottom-right-radius: 6px; -} -.pagination-sm > li > a, -.pagination-sm > li > span { - padding: 5px 10px; - font-size: 12px; -} -.pagination-sm > li:first-child > a, -.pagination-sm > li:first-child > span { - border-top-left-radius: 3px; - border-bottom-left-radius: 3px; -} -.pagination-sm > li:last-child > a, -.pagination-sm > li:last-child > span { - border-top-right-radius: 3px; - border-bottom-right-radius: 3px; -} -.pager { - padding-left: 0; - margin: 20px 0; - text-align: center; - list-style: none; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #eee; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #777; - cursor: not-allowed; - background-color: #fff; -} -.label { - display: inline; - padding: .2em .6em .3em; - font-size: 75%; - font-weight: bold; - line-height: 1; - color: #fff; - text-align: center; - white-space: nowrap; - vertical-align: baseline; - border-radius: .25em; -} -a.label:hover, -a.label:focus { - color: #fff; - text-decoration: none; - cursor: pointer; -} -.label:empty { - display: none; -} -.btn .label { - position: relative; - top: -1px; -} -.label-default { - background-color: #777; -} -.label-default[href]:hover, -.label-default[href]:focus { - background-color: #5e5e5e; -} -.label-primary { - background-color: #337ab7; -} -.label-primary[href]:hover, -.label-primary[href]:focus { - background-color: #286090; -} -.label-success { - background-color: #5cb85c; -} -.label-success[href]:hover, -.label-success[href]:focus { - background-color: #449d44; -} -.label-info { - background-color: #5bc0de; -} -.label-info[href]:hover, -.label-info[href]:focus { - background-color: #31b0d5; -} -.label-warning { - background-color: #f0ad4e; -} -.label-warning[href]:hover, -.label-warning[href]:focus { - background-color: #ec971f; -} -.label-danger { - background-color: #d9534f; -} -.label-danger[href]:hover, -.label-danger[href]:focus { - background-color: #c9302c; -} -.badge { - display: inline-block; - min-width: 10px; - padding: 3px 7px; - font-size: 12px; - font-weight: bold; - line-height: 1; - color: #fff; - text-align: center; - white-space: nowrap; - vertical-align: baseline; - background-color: #777; - border-radius: 10px; -} -.badge:empty { - display: none; -} -.btn .badge { - position: relative; - top: -1px; -} -.btn-xs .badge, -.btn-group-xs > .btn .badge { - top: 0; - padding: 1px 5px; -} -a.badge:hover, -a.badge:focus { - color: #fff; - text-decoration: none; - cursor: pointer; -} -.list-group-item.active > .badge, -.nav-pills > .active > a > .badge { - color: #337ab7; - background-color: #fff; -} -.list-group-item > .badge { - float: right; -} -.list-group-item > .badge + .badge { - margin-right: 5px; -} -.nav-pills > li > a > .badge { - margin-left: 3px; -} -.jumbotron { - padding: 30px 15px; - margin-bottom: 30px; - color: inherit; - background-color: #eee; -} -.jumbotron h1, -.jumbotron .h1 { - color: inherit; -} -.jumbotron p { - margin-bottom: 15px; - font-size: 21px; - font-weight: 200; -} -.jumbotron > hr { - border-top-color: #d5d5d5; -} -.container .jumbotron, -.container-fluid .jumbotron { - border-radius: 6px; -} -.jumbotron .container { - max-width: 100%; -} -@media screen and (min-width: 768px) { - .jumbotron { - padding: 48px 0; - } - .container .jumbotron, - .container-fluid .jumbotron { - padding-right: 60px; - padding-left: 60px; - } - .jumbotron h1, - .jumbotron .h1 { - font-size: 63px; - } -} -.thumbnail { - display: block; - padding: 4px; - margin-bottom: 20px; - line-height: 1.42857143; - background-color: #fff; - border: 1px solid #ddd; - border-radius: 4px; - -webkit-transition: border .2s ease-in-out; - -o-transition: border .2s ease-in-out; - transition: border .2s ease-in-out; -} -.thumbnail > img, -.thumbnail a > img { - margin-right: auto; - margin-left: auto; -} -a.thumbnail:hover, -a.thumbnail:focus, -a.thumbnail.active { - border-color: #337ab7; -} -.thumbnail .caption { - padding: 9px; - color: #333; -} -.alert { - padding: 15px; - margin-bottom: 20px; - border: 1px solid transparent; - border-radius: 4px; -} -.alert h4 { - margin-top: 0; - color: inherit; -} -.alert .alert-link { - font-weight: bold; -} -.alert > p, -.alert > ul { - margin-bottom: 0; -} -.alert > p + p { - margin-top: 5px; -} -.alert-dismissable, -.alert-dismissible { - padding-right: 35px; -} -.alert-dismissable .close, -.alert-dismissible .close { - position: relative; - top: -2px; - right: -21px; - color: inherit; -} -.alert-success { - color: #3c763d; - background-color: #dff0d8; - border-color: #d6e9c6; -} -.alert-success hr { - border-top-color: #c9e2b3; -} -.alert-success .alert-link { - color: #2b542c; -} -.alert-info { - color: #31708f; - background-color: #d9edf7; - border-color: #bce8f1; -} -.alert-info hr { - border-top-color: #a6e1ec; -} -.alert-info .alert-link { - color: #245269; -} -.alert-warning { - color: #8a6d3b; - background-color: #fcf8e3; - border-color: #faebcc; -} -.alert-warning hr { - border-top-color: #f7e1b5; -} -.alert-warning .alert-link { - color: #66512c; -} -.alert-danger { - color: #a94442; - background-color: #f2dede; - border-color: #ebccd1; -} -.alert-danger hr { - border-top-color: #e4b9c0; -} -.alert-danger .alert-link { - color: #843534; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-o-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - height: 20px; - margin-bottom: 20px; - overflow: hidden; - background-color: #f5f5f5; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); -} -.progress-bar { - float: left; - width: 0; - height: 100%; - font-size: 12px; - line-height: 20px; - color: #fff; - text-align: center; - background-color: #337ab7; - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); - -webkit-transition: width .6s ease; - -o-transition: width .6s ease; - transition: width .6s ease; -} -.progress-striped .progress-bar, -.progress-bar-striped { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .progress-bar, -.progress-bar.active { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-bar-success { - background-color: #5cb85c; -} -.progress-striped .progress-bar-success { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); -} -.progress-bar-info { - background-color: #5bc0de; -} -.progress-striped .progress-bar-info { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); -} -.progress-bar-warning { - background-color: #f0ad4e; -} -.progress-striped .progress-bar-warning { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); -} -.progress-bar-danger { - background-color: #d9534f; -} -.progress-striped .progress-bar-danger { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); -} -.media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media, -.media-body { - overflow: hidden; - zoom: 1; -} -.media-body { - width: 10000px; -} -.media-object { - display: block; -} -.media-right, -.media > .pull-right { - padding-left: 10px; -} -.media-left, -.media > .pull-left { - padding-right: 10px; -} -.media-left, -.media-right, -.media-body { - display: table-cell; - vertical-align: top; -} -.media-middle { - vertical-align: middle; -} -.media-bottom { - vertical-align: bottom; -} -.media-heading { - margin-top: 0; - margin-bottom: 5px; -} -.media-list { - padding-left: 0; - list-style: none; -} -.list-group { - padding-left: 0; - margin-bottom: 20px; -} -.list-group-item { - position: relative; - display: block; - padding: 10px 15px; - margin-bottom: -1px; - background-color: #fff; - border: 1px solid #ddd; -} -.list-group-item:first-child { - border-top-left-radius: 4px; - border-top-right-radius: 4px; -} -.list-group-item:last-child { - margin-bottom: 0; - border-bottom-right-radius: 4px; - border-bottom-left-radius: 4px; -} -a.list-group-item { - color: #555; -} -a.list-group-item .list-group-item-heading { - color: #333; -} -a.list-group-item:hover, -a.list-group-item:focus { - color: #555; - text-decoration: none; - background-color: #f5f5f5; -} -.list-group-item.disabled, -.list-group-item.disabled:hover, -.list-group-item.disabled:focus { - color: #777; - cursor: not-allowed; - background-color: #eee; -} -.list-group-item.disabled .list-group-item-heading, -.list-group-item.disabled:hover .list-group-item-heading, -.list-group-item.disabled:focus .list-group-item-heading { - color: inherit; -} -.list-group-item.disabled .list-group-item-text, -.list-group-item.disabled:hover .list-group-item-text, -.list-group-item.disabled:focus .list-group-item-text { - color: #777; -} -.list-group-item.active, -.list-group-item.active:hover, -.list-group-item.active:focus { - z-index: 2; - color: #fff; - background-color: #337ab7; - border-color: #337ab7; -} -.list-group-item.active .list-group-item-heading, -.list-group-item.active:hover .list-group-item-heading, -.list-group-item.active:focus .list-group-item-heading, -.list-group-item.active .list-group-item-heading > small, -.list-group-item.active:hover .list-group-item-heading > small, -.list-group-item.active:focus .list-group-item-heading > small, -.list-group-item.active .list-group-item-heading > .small, -.list-group-item.active:hover .list-group-item-heading > .small, -.list-group-item.active:focus .list-group-item-heading > .small { - color: inherit; -} -.list-group-item.active .list-group-item-text, -.list-group-item.active:hover .list-group-item-text, -.list-group-item.active:focus .list-group-item-text { - color: #c7ddef; -} -.list-group-item-success { - color: #3c763d; - background-color: #dff0d8; -} -a.list-group-item-success { - color: #3c763d; -} -a.list-group-item-success .list-group-item-heading { - color: inherit; -} -a.list-group-item-success:hover, -a.list-group-item-success:focus { - color: #3c763d; - background-color: #d0e9c6; -} -a.list-group-item-success.active, -a.list-group-item-success.active:hover, -a.list-group-item-success.active:focus { - color: #fff; - background-color: #3c763d; - border-color: #3c763d; -} -.list-group-item-info { - color: #31708f; - background-color: #d9edf7; -} -a.list-group-item-info { - color: #31708f; -} -a.list-group-item-info .list-group-item-heading { - color: inherit; -} -a.list-group-item-info:hover, -a.list-group-item-info:focus { - color: #31708f; - background-color: #c4e3f3; -} -a.list-group-item-info.active, -a.list-group-item-info.active:hover, -a.list-group-item-info.active:focus { - color: #fff; - background-color: #31708f; - border-color: #31708f; -} -.list-group-item-warning { - color: #8a6d3b; - background-color: #fcf8e3; -} -a.list-group-item-warning { - color: #8a6d3b; -} -a.list-group-item-warning .list-group-item-heading { - color: inherit; -} -a.list-group-item-warning:hover, -a.list-group-item-warning:focus { - color: #8a6d3b; - background-color: #faf2cc; -} -a.list-group-item-warning.active, -a.list-group-item-warning.active:hover, -a.list-group-item-warning.active:focus { - color: #fff; - background-color: #8a6d3b; - border-color: #8a6d3b; -} -.list-group-item-danger { - color: #a94442; - background-color: #f2dede; -} -a.list-group-item-danger { - color: #a94442; -} -a.list-group-item-danger .list-group-item-heading { - color: inherit; -} -a.list-group-item-danger:hover, -a.list-group-item-danger:focus { - color: #a94442; - background-color: #ebcccc; -} -a.list-group-item-danger.active, -a.list-group-item-danger.active:hover, -a.list-group-item-danger.active:focus { - color: #fff; - background-color: #a94442; - border-color: #a94442; -} -.list-group-item-heading { - margin-top: 0; - margin-bottom: 5px; -} -.list-group-item-text { - margin-bottom: 0; - line-height: 1.3; -} -.panel { - margin-bottom: 20px; - background-color: #fff; - border: 1px solid transparent; - border-radius: 4px; - -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05); - box-shadow: 0 1px 1px rgba(0, 0, 0, .05); -} -.panel-body { - padding: 15px; -} -.panel-heading { - padding: 10px 15px; - border-bottom: 1px solid transparent; - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} -.panel-heading > .dropdown .dropdown-toggle { - color: inherit; -} -.panel-title { - margin-top: 0; - margin-bottom: 0; - font-size: 16px; - color: inherit; -} -.panel-title > a, -.panel-title > small, -.panel-title > .small, -.panel-title > small > a, -.panel-title > .small > a { - color: inherit; -} -.panel-footer { - padding: 10px 15px; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - border-bottom-right-radius: 3px; - border-bottom-left-radius: 3px; -} -.panel > .list-group, -.panel > .panel-collapse > .list-group { - margin-bottom: 0; -} -.panel > .list-group .list-group-item, -.panel > .panel-collapse > .list-group .list-group-item { - border-width: 1px 0; - border-radius: 0; -} -.panel > .list-group:first-child .list-group-item:first-child, -.panel > .panel-collapse > .list-group:first-child .list-group-item:first-child { - border-top: 0; - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} -.panel > .list-group:last-child .list-group-item:last-child, -.panel > .panel-collapse > .list-group:last-child .list-group-item:last-child { - border-bottom: 0; - border-bottom-right-radius: 3px; - border-bottom-left-radius: 3px; -} -.panel-heading + .list-group .list-group-item:first-child { - border-top-width: 0; -} -.list-group + .panel-footer { - border-top-width: 0; -} -.panel > .table, -.panel > .table-responsive > .table, -.panel > .panel-collapse > .table { - margin-bottom: 0; -} -.panel > .table caption, -.panel > .table-responsive > .table caption, -.panel > .panel-collapse > .table caption { - padding-right: 15px; - padding-left: 15px; -} -.panel > .table:first-child, -.panel > .table-responsive:first-child > .table:first-child { - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} -.panel > .table:first-child > thead:first-child > tr:first-child, -.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, -.panel > .table:first-child > tbody:first-child > tr:first-child, -.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child { - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} -.panel > .table:first-child > thead:first-child > tr:first-child td:first-child, -.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, -.panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, -.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, -.panel > .table:first-child > thead:first-child > tr:first-child th:first-child, -.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, -.panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, -.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { - border-top-left-radius: 3px; -} -.panel > .table:first-child > thead:first-child > tr:first-child td:last-child, -.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, -.panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, -.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, -.panel > .table:first-child > thead:first-child > tr:first-child th:last-child, -.panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, -.panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, -.panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { - border-top-right-radius: 3px; -} -.panel > .table:last-child, -.panel > .table-responsive:last-child > .table:last-child { - border-bottom-right-radius: 3px; - border-bottom-left-radius: 3px; -} -.panel > .table:last-child > tbody:last-child > tr:last-child, -.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, -.panel > .table:last-child > tfoot:last-child > tr:last-child, -.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child { - border-bottom-right-radius: 3px; - border-bottom-left-radius: 3px; -} -.panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, -.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, -.panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, -.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, -.panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, -.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, -.panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, -.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { - border-bottom-left-radius: 3px; -} -.panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, -.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, -.panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, -.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, -.panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, -.panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, -.panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, -.panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { - border-bottom-right-radius: 3px; -} -.panel > .panel-body + .table, -.panel > .panel-body + .table-responsive, -.panel > .table + .panel-body, -.panel > .table-responsive + .panel-body { - border-top: 1px solid #ddd; -} -.panel > .table > tbody:first-child > tr:first-child th, -.panel > .table > tbody:first-child > tr:first-child td { - border-top: 0; -} -.panel > .table-bordered, -.panel > .table-responsive > .table-bordered { - border: 0; -} -.panel > .table-bordered > thead > tr > th:first-child, -.panel > .table-responsive > .table-bordered > thead > tr > th:first-child, -.panel > .table-bordered > tbody > tr > th:first-child, -.panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, -.panel > .table-bordered > tfoot > tr > th:first-child, -.panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, -.panel > .table-bordered > thead > tr > td:first-child, -.panel > .table-responsive > .table-bordered > thead > tr > td:first-child, -.panel > .table-bordered > tbody > tr > td:first-child, -.panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, -.panel > .table-bordered > tfoot > tr > td:first-child, -.panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { - border-left: 0; -} -.panel > .table-bordered > thead > tr > th:last-child, -.panel > .table-responsive > .table-bordered > thead > tr > th:last-child, -.panel > .table-bordered > tbody > tr > th:last-child, -.panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, -.panel > .table-bordered > tfoot > tr > th:last-child, -.panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, -.panel > .table-bordered > thead > tr > td:last-child, -.panel > .table-responsive > .table-bordered > thead > tr > td:last-child, -.panel > .table-bordered > tbody > tr > td:last-child, -.panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, -.panel > .table-bordered > tfoot > tr > td:last-child, -.panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { - border-right: 0; -} -.panel > .table-bordered > thead > tr:first-child > td, -.panel > .table-responsive > .table-bordered > thead > tr:first-child > td, -.panel > .table-bordered > tbody > tr:first-child > td, -.panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, -.panel > .table-bordered > thead > tr:first-child > th, -.panel > .table-responsive > .table-bordered > thead > tr:first-child > th, -.panel > .table-bordered > tbody > tr:first-child > th, -.panel > .table-responsive > .table-bordered > tbody > tr:first-child > th { - border-bottom: 0; -} -.panel > .table-bordered > tbody > tr:last-child > td, -.panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, -.panel > .table-bordered > tfoot > tr:last-child > td, -.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, -.panel > .table-bordered > tbody > tr:last-child > th, -.panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, -.panel > .table-bordered > tfoot > tr:last-child > th, -.panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th { - border-bottom: 0; -} -.panel > .table-responsive { - margin-bottom: 0; - border: 0; -} -.panel-group { - margin-bottom: 20px; -} -.panel-group .panel { - margin-bottom: 0; - border-radius: 4px; -} -.panel-group .panel + .panel { - margin-top: 5px; -} -.panel-group .panel-heading { - border-bottom: 0; -} -.panel-group .panel-heading + .panel-collapse > .panel-body, -.panel-group .panel-heading + .panel-collapse > .list-group { - border-top: 1px solid #ddd; -} -.panel-group .panel-footer { - border-top: 0; -} -.panel-group .panel-footer + .panel-collapse .panel-body { - border-bottom: 1px solid #ddd; -} -.panel-default { - border-color: #ddd; -} -.panel-default > .panel-heading { - color: #333; - background-color: #f5f5f5; - border-color: #ddd; -} -.panel-default > .panel-heading + .panel-collapse > .panel-body { - border-top-color: #ddd; -} -.panel-default > .panel-heading .badge { - color: #f5f5f5; - background-color: #333; -} -.panel-default > .panel-footer + .panel-collapse > .panel-body { - border-bottom-color: #ddd; -} -.panel-primary { - border-color: #337ab7; -} -.panel-primary > .panel-heading { - color: #fff; - background-color: #337ab7; - border-color: #337ab7; -} -.panel-primary > .panel-heading + .panel-collapse > .panel-body { - border-top-color: #337ab7; -} -.panel-primary > .panel-heading .badge { - color: #337ab7; - background-color: #fff; -} -.panel-primary > .panel-footer + .panel-collapse > .panel-body { - border-bottom-color: #337ab7; -} -.panel-success { - border-color: #d6e9c6; -} -.panel-success > .panel-heading { - color: #3c763d; - background-color: #dff0d8; - border-color: #d6e9c6; -} -.panel-success > .panel-heading + .panel-collapse > .panel-body { - border-top-color: #d6e9c6; -} -.panel-success > .panel-heading .badge { - color: #dff0d8; - background-color: #3c763d; -} -.panel-success > .panel-footer + .panel-collapse > .panel-body { - border-bottom-color: #d6e9c6; -} -.panel-info { - border-color: #bce8f1; -} -.panel-info > .panel-heading { - color: #31708f; - background-color: #d9edf7; - border-color: #bce8f1; -} -.panel-info > .panel-heading + .panel-collapse > .panel-body { - border-top-color: #bce8f1; -} -.panel-info > .panel-heading .badge { - color: #d9edf7; - background-color: #31708f; -} -.panel-info > .panel-footer + .panel-collapse > .panel-body { - border-bottom-color: #bce8f1; -} -.panel-warning { - border-color: #faebcc; -} -.panel-warning > .panel-heading { - color: #8a6d3b; - background-color: #fcf8e3; - border-color: #faebcc; -} -.panel-warning > .panel-heading + .panel-collapse > .panel-body { - border-top-color: #faebcc; -} -.panel-warning > .panel-heading .badge { - color: #fcf8e3; - background-color: #8a6d3b; -} -.panel-warning > .panel-footer + .panel-collapse > .panel-body { - border-bottom-color: #faebcc; -} -.panel-danger { - border-color: #ebccd1; -} -.panel-danger > .panel-heading { - color: #a94442; - background-color: #f2dede; - border-color: #ebccd1; -} -.panel-danger > .panel-heading + .panel-collapse > .panel-body { - border-top-color: #ebccd1; -} -.panel-danger > .panel-heading .badge { - color: #f2dede; - background-color: #a94442; -} -.panel-danger > .panel-footer + .panel-collapse > .panel-body { - border-bottom-color: #ebccd1; -} -.embed-responsive { - position: relative; - display: block; - height: 0; - padding: 0; - overflow: hidden; -} -.embed-responsive .embed-responsive-item, -.embed-responsive iframe, -.embed-responsive embed, -.embed-responsive object, -.embed-responsive video { - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - border: 0; -} -.embed-responsive-16by9 { - padding-bottom: 56.25%; -} -.embed-responsive-4by3 { - padding-bottom: 75%; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #f5f5f5; - border: 1px solid #e3e3e3; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, .15); -} -.well-lg { - padding: 24px; - border-radius: 6px; -} -.well-sm { - padding: 9px; - border-radius: 3px; -} -.close { - float: right; - font-size: 21px; - font-weight: bold; - line-height: 1; - color: #000; - text-shadow: 0 1px 0 #fff; - filter: alpha(opacity=20); - opacity: .2; -} -.close:hover, -.close:focus { - color: #000; - text-decoration: none; - cursor: pointer; - filter: alpha(opacity=50); - opacity: .5; -} -button.close { - -webkit-appearance: none; - padding: 0; - cursor: pointer; - background: transparent; - border: 0; -} -.modal-open { - overflow: hidden; -} -.modal { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1050; - display: none; - overflow: hidden; - -webkit-overflow-scrolling: touch; - outline: 0; -} -.modal.fade .modal-dialog { - -webkit-transition: -webkit-transform .3s ease-out; - -o-transition: -o-transform .3s ease-out; - transition: transform .3s ease-out; - -webkit-transform: translate(0, -25%); - -ms-transform: translate(0, -25%); - -o-transform: translate(0, -25%); - transform: translate(0, -25%); -} -.modal.in .modal-dialog { - -webkit-transform: translate(0, 0); - -ms-transform: translate(0, 0); - -o-transform: translate(0, 0); - transform: translate(0, 0); -} -.modal-open .modal { - overflow-x: hidden; - overflow-y: auto; -} -.modal-dialog { - position: relative; - width: auto; - margin: 10px; -} -.modal-content { - position: relative; - background-color: #fff; - -webkit-background-clip: padding-box; - background-clip: padding-box; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, .2); - border-radius: 6px; - outline: 0; - -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5); - box-shadow: 0 3px 9px rgba(0, 0, 0, .5); -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000; -} -.modal-backdrop.fade { - filter: alpha(opacity=0); - opacity: 0; -} -.modal-backdrop.in { - filter: alpha(opacity=50); - opacity: .5; -} -.modal-header { - min-height: 16.42857143px; - padding: 15px; - border-bottom: 1px solid #e5e5e5; -} -.modal-header .close { - margin-top: -2px; -} -.modal-title { - margin: 0; - line-height: 1.42857143; -} -.modal-body { - position: relative; - padding: 15px; -} -.modal-footer { - padding: 15px; - text-align: right; - border-top: 1px solid #e5e5e5; -} -.modal-footer .btn + .btn { - margin-bottom: 0; - margin-left: 5px; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.modal-scrollbar-measure { - position: absolute; - top: -9999px; - width: 50px; - height: 50px; - overflow: scroll; -} -@media (min-width: 768px) { - .modal-dialog { - width: 600px; - margin: 30px auto; - } - .modal-content { - -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5); - box-shadow: 0 5px 15px rgba(0, 0, 0, .5); - } - .modal-sm { - width: 300px; - } -} -@media (min-width: 992px) { - .modal-lg { - width: 900px; - } -} -.tooltip { - position: absolute; - z-index: 1070; - display: block; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 12px; - font-weight: normal; - line-height: 1.4; - filter: alpha(opacity=0); - opacity: 0; -} -.tooltip.in { - filter: alpha(opacity=90); - opacity: .9; -} -.tooltip.top { - padding: 5px 0; - margin-top: -3px; -} -.tooltip.right { - padding: 0 5px; - margin-left: 3px; -} -.tooltip.bottom { - padding: 5px 0; - margin-top: 3px; -} -.tooltip.left { - padding: 0 5px; - margin-left: -3px; -} -.tooltip-inner { - max-width: 200px; - padding: 3px 8px; - color: #fff; - text-align: center; - text-decoration: none; - background-color: #000; - border-radius: 4px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #000; -} -.tooltip.top-left .tooltip-arrow { - right: 5px; - bottom: 0; - margin-bottom: -5px; - border-width: 5px 5px 0; - border-top-color: #000; -} -.tooltip.top-right .tooltip-arrow { - bottom: 0; - left: 5px; - margin-bottom: -5px; - border-width: 5px 5px 0; - border-top-color: #000; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #000; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #000; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000; -} -.tooltip.bottom-left .tooltip-arrow { - top: 0; - right: 5px; - margin-top: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000; -} -.tooltip.bottom-right .tooltip-arrow { - top: 0; - left: 5px; - margin-top: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1060; - display: none; - max-width: 276px; - padding: 1px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 14px; - font-weight: normal; - line-height: 1.42857143; - text-align: left; - white-space: normal; - background-color: #fff; - -webkit-background-clip: padding-box; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, .2); - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2); - box-shadow: 0 5px 10px rgba(0, 0, 0, .2); -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - padding: 8px 14px; - margin: 0; - font-size: 14px; - background-color: #f7f7f7; - border-bottom: 1px solid #ebebeb; - border-radius: 5px 5px 0 0; -} -.popover-content { - padding: 9px 14px; -} -.popover > .arrow, -.popover > .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover > .arrow { - border-width: 11px; -} -.popover > .arrow:after { - content: ""; - border-width: 10px; -} -.popover.top > .arrow { - bottom: -11px; - left: 50%; - margin-left: -11px; - border-top-color: #999; - border-top-color: rgba(0, 0, 0, .25); - border-bottom-width: 0; -} -.popover.top > .arrow:after { - bottom: 1px; - margin-left: -10px; - content: " "; - border-top-color: #fff; - border-bottom-width: 0; -} -.popover.right > .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-right-color: #999; - border-right-color: rgba(0, 0, 0, .25); - border-left-width: 0; -} -.popover.right > .arrow:after { - bottom: -10px; - left: 1px; - content: " "; - border-right-color: #fff; - border-left-width: 0; -} -.popover.bottom > .arrow { - top: -11px; - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: rgba(0, 0, 0, .25); -} -.popover.bottom > .arrow:after { - top: 1px; - margin-left: -10px; - content: " "; - border-top-width: 0; - border-bottom-color: #fff; -} -.popover.left > .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999; - border-left-color: rgba(0, 0, 0, .25); -} -.popover.left > .arrow:after { - right: 1px; - bottom: -10px; - content: " "; - border-right-width: 0; - border-left-color: #fff; -} -.carousel { - position: relative; -} -.carousel-inner { - position: relative; - width: 100%; - overflow: hidden; -} -.carousel-inner > .item { - position: relative; - display: none; - -webkit-transition: .6s ease-in-out left; - -o-transition: .6s ease-in-out left; - transition: .6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - line-height: 1; -} -@media all and (transform-3d), (-webkit-transform-3d) { - .carousel-inner > .item { - -webkit-transition: -webkit-transform .6s ease-in-out; - -o-transition: -o-transform .6s ease-in-out; - transition: transform .6s ease-in-out; - - -webkit-backface-visibility: hidden; - backface-visibility: hidden; - -webkit-perspective: 1000; - perspective: 1000; - } - .carousel-inner > .item.next, - .carousel-inner > .item.active.right { - left: 0; - -webkit-transform: translate3d(100%, 0, 0); - transform: translate3d(100%, 0, 0); - } - .carousel-inner > .item.prev, - .carousel-inner > .item.active.left { - left: 0; - -webkit-transform: translate3d(-100%, 0, 0); - transform: translate3d(-100%, 0, 0); - } - .carousel-inner > .item.next.left, - .carousel-inner > .item.prev.right, - .carousel-inner > .item.active { - left: 0; - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - } -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 0; - bottom: 0; - left: 0; - width: 15%; - font-size: 20px; - color: #fff; - text-align: center; - text-shadow: 0 1px 2px rgba(0, 0, 0, .6); - filter: alpha(opacity=50); - opacity: .5; -} -.carousel-control.left { - background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); - background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); - background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001))); - background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); - background-repeat: repeat-x; -} -.carousel-control.right { - right: 0; - left: auto; - background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); - background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); - background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5))); - background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); - background-repeat: repeat-x; -} -.carousel-control:hover, -.carousel-control:focus { - color: #fff; - text-decoration: none; - filter: alpha(opacity=90); - outline: 0; - opacity: .9; -} -.carousel-control .icon-prev, -.carousel-control .icon-next, -.carousel-control .glyphicon-chevron-left, -.carousel-control .glyphicon-chevron-right { - position: absolute; - top: 50%; - z-index: 5; - display: inline-block; -} -.carousel-control .icon-prev, -.carousel-control .glyphicon-chevron-left { - left: 50%; - margin-left: -10px; -} -.carousel-control .icon-next, -.carousel-control .glyphicon-chevron-right { - right: 50%; - margin-right: -10px; -} -.carousel-control .icon-prev, -.carousel-control .icon-next { - width: 20px; - height: 20px; - margin-top: -10px; - font-family: serif; - line-height: 1; -} -.carousel-control .icon-prev:before { - content: '\2039'; -} -.carousel-control .icon-next:before { - content: '\203a'; -} -.carousel-indicators { - position: absolute; - bottom: 10px; - left: 50%; - z-index: 15; - width: 60%; - padding-left: 0; - margin-left: -30%; - text-align: center; - list-style: none; -} -.carousel-indicators li { - display: inline-block; - width: 10px; - height: 10px; - margin: 1px; - text-indent: -999px; - cursor: pointer; - background-color: #000 \9; - background-color: rgba(0, 0, 0, 0); - border: 1px solid #fff; - border-radius: 10px; -} -.carousel-indicators .active { - width: 12px; - height: 12px; - margin: 0; - background-color: #fff; -} -.carousel-caption { - position: absolute; - right: 15%; - bottom: 20px; - left: 15%; - z-index: 10; - padding-top: 20px; - padding-bottom: 20px; - color: #fff; - text-align: center; - text-shadow: 0 1px 2px rgba(0, 0, 0, .6); -} -.carousel-caption .btn { - text-shadow: none; -} -@media screen and (min-width: 768px) { - .carousel-control .glyphicon-chevron-left, - .carousel-control .glyphicon-chevron-right, - .carousel-control .icon-prev, - .carousel-control .icon-next { - width: 30px; - height: 30px; - margin-top: -15px; - font-size: 30px; - } - .carousel-control .glyphicon-chevron-left, - .carousel-control .icon-prev { - margin-left: -15px; - } - .carousel-control .glyphicon-chevron-right, - .carousel-control .icon-next { - margin-right: -15px; - } - .carousel-caption { - right: 20%; - left: 20%; - padding-bottom: 30px; - } - .carousel-indicators { - bottom: 20px; - } -} -.clearfix:before, -.clearfix:after, -.dl-horizontal dd:before, -.dl-horizontal dd:after, -.container:before, -.container:after, -.container-fluid:before, -.container-fluid:after, -.row:before, -.row:after, -.form-horizontal .form-group:before, -.form-horizontal .form-group:after, -.btn-toolbar:before, -.btn-toolbar:after, -.btn-group-vertical > .btn-group:before, -.btn-group-vertical > .btn-group:after, -.nav:before, -.nav:after, -.navbar:before, -.navbar:after, -.navbar-header:before, -.navbar-header:after, -.navbar-collapse:before, -.navbar-collapse:after, -.pager:before, -.pager:after, -.panel-body:before, -.panel-body:after, -.modal-footer:before, -.modal-footer:after { - display: table; - content: " "; -} -.clearfix:after, -.dl-horizontal dd:after, -.container:after, -.container-fluid:after, -.row:after, -.form-horizontal .form-group:after, -.btn-toolbar:after, -.btn-group-vertical > .btn-group:after, -.nav:after, -.navbar:after, -.navbar-header:after, -.navbar-collapse:after, -.pager:after, -.panel-body:after, -.modal-footer:after { - clear: both; -} -.center-block { - display: block; - margin-right: auto; - margin-left: auto; -} -.pull-right { - float: right !important; -} -.pull-left { - float: left !important; -} -.hide { - display: none !important; -} -.show { - display: block !important; -} -.invisible { - visibility: hidden; -} -.text-hide { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.hidden { - display: none !important; -} -.affix { - position: fixed; -} -@-ms-viewport { - width: device-width; -} -.visible-xs, -.visible-sm, -.visible-md, -.visible-lg { - display: none !important; -} -.visible-xs-block, -.visible-xs-inline, -.visible-xs-inline-block, -.visible-sm-block, -.visible-sm-inline, -.visible-sm-inline-block, -.visible-md-block, -.visible-md-inline, -.visible-md-inline-block, -.visible-lg-block, -.visible-lg-inline, -.visible-lg-inline-block { - display: none !important; -} -@media (max-width: 767px) { - .visible-xs { - display: block !important; - } - table.visible-xs { - display: table; - } - tr.visible-xs { - display: table-row !important; - } - th.visible-xs, - td.visible-xs { - display: table-cell !important; - } -} -@media (max-width: 767px) { - .visible-xs-block { - display: block !important; - } -} -@media (max-width: 767px) { - .visible-xs-inline { - display: inline !important; - } -} -@media (max-width: 767px) { - .visible-xs-inline-block { - display: inline-block !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-sm { - display: block !important; - } - table.visible-sm { - display: table; - } - tr.visible-sm { - display: table-row !important; - } - th.visible-sm, - td.visible-sm { - display: table-cell !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-sm-block { - display: block !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-sm-inline { - display: inline !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .visible-sm-inline-block { - display: inline-block !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-md { - display: block !important; - } - table.visible-md { - display: table; - } - tr.visible-md { - display: table-row !important; - } - th.visible-md, - td.visible-md { - display: table-cell !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-md-block { - display: block !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-md-inline { - display: inline !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .visible-md-inline-block { - display: inline-block !important; - } -} -@media (min-width: 1200px) { - .visible-lg { - display: block !important; - } - table.visible-lg { - display: table; - } - tr.visible-lg { - display: table-row !important; - } - th.visible-lg, - td.visible-lg { - display: table-cell !important; - } -} -@media (min-width: 1200px) { - .visible-lg-block { - display: block !important; - } -} -@media (min-width: 1200px) { - .visible-lg-inline { - display: inline !important; - } -} -@media (min-width: 1200px) { - .visible-lg-inline-block { - display: inline-block !important; - } -} -@media (max-width: 767px) { - .hidden-xs { - display: none !important; - } -} -@media (min-width: 768px) and (max-width: 991px) { - .hidden-sm { - display: none !important; - } -} -@media (min-width: 992px) and (max-width: 1199px) { - .hidden-md { - display: none !important; - } -} -@media (min-width: 1200px) { - .hidden-lg { - display: none !important; - } -} -.visible-print { - display: none !important; -} -@media print { - .visible-print { - display: block !important; - } - table.visible-print { - display: table; - } - tr.visible-print { - display: table-row !important; - } - th.visible-print, - td.visible-print { - display: table-cell !important; - } -} -.visible-print-block { - display: none !important; -} -@media print { - .visible-print-block { - display: block !important; - } -} -.visible-print-inline { - display: none !important; -} -@media print { - .visible-print-inline { - display: inline !important; - } -} -.visible-print-inline-block { - display: none !important; -} -@media print { - .visible-print-inline-block { - display: inline-block !important; - } -} -@media print { - .hidden-print { - display: none !important; - } -} -/*# sourceMappingURL=bootstrap.css.map */ - -/*! - * Bootstrap v3.3.4 (http://getbootstrap.com) - * Copyright 2011-2015 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */ - -.btn-default, -.btn-primary, -.btn-success, -.btn-info, -.btn-warning, -.btn-danger { - text-shadow: 0 -1px 0 rgba(0, 0, 0, .2); - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075); -} -.btn-default:active, -.btn-primary:active, -.btn-success:active, -.btn-info:active, -.btn-warning:active, -.btn-danger:active, -.btn-default.active, -.btn-primary.active, -.btn-success.active, -.btn-info.active, -.btn-warning.active, -.btn-danger.active { - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); -} -.btn-default .badge, -.btn-primary .badge, -.btn-success .badge, -.btn-info .badge, -.btn-warning .badge, -.btn-danger .badge { - text-shadow: none; -} -.btn:active, -.btn.active { - background-image: none; -} -.btn-default { - text-shadow: 0 1px 0 #fff; - background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%); - background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0)); - background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - background-repeat: repeat-x; - border-color: #dbdbdb; - border-color: #ccc; -} -.btn-default:hover, -.btn-default:focus { - background-color: #e0e0e0; - background-position: 0 -15px; -} -.btn-default:active, -.btn-default.active { - background-color: #e0e0e0; - border-color: #dbdbdb; -} -.btn-default.disabled, -.btn-default:disabled, -.btn-default[disabled] { - background-color: #e0e0e0; - background-image: none; -} -.btn-primary { - background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%); - background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88)); - background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - background-repeat: repeat-x; - border-color: #245580; -} -.btn-primary:hover, -.btn-primary:focus { - background-color: #265a88; - background-position: 0 -15px; -} -.btn-primary:active, -.btn-primary.active { - background-color: #265a88; - border-color: #245580; -} -.btn-primary.disabled, -.btn-primary:disabled, -.btn-primary[disabled] { - background-color: #265a88; - background-image: none; -} -.btn-success { - background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%); - background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641)); - background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - background-repeat: repeat-x; - border-color: #3e8f3e; -} -.btn-success:hover, -.btn-success:focus { - background-color: #419641; - background-position: 0 -15px; -} -.btn-success:active, -.btn-success.active { - background-color: #419641; - border-color: #3e8f3e; -} -.btn-success.disabled, -.btn-success:disabled, -.btn-success[disabled] { - background-color: #419641; - background-image: none; -} -.btn-info { - background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%); - background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2)); - background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - background-repeat: repeat-x; - border-color: #28a4c9; -} -.btn-info:hover, -.btn-info:focus { - background-color: #2aabd2; - background-position: 0 -15px; -} -.btn-info:active, -.btn-info.active { - background-color: #2aabd2; - border-color: #28a4c9; -} -.btn-info.disabled, -.btn-info:disabled, -.btn-info[disabled] { - background-color: #2aabd2; - background-image: none; -} -.btn-warning { - background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%); - background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316)); - background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - background-repeat: repeat-x; - border-color: #e38d13; -} -.btn-warning:hover, -.btn-warning:focus { - background-color: #eb9316; - background-position: 0 -15px; -} -.btn-warning:active, -.btn-warning.active { - background-color: #eb9316; - border-color: #e38d13; -} -.btn-warning.disabled, -.btn-warning:disabled, -.btn-warning[disabled] { - background-color: #eb9316; - background-image: none; -} -.btn-danger { - background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%); - background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a)); - background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - background-repeat: repeat-x; - border-color: #b92c28; -} -.btn-danger:hover, -.btn-danger:focus { - background-color: #c12e2a; - background-position: 0 -15px; -} -.btn-danger:active, -.btn-danger.active { - background-color: #c12e2a; - border-color: #b92c28; -} -.btn-danger.disabled, -.btn-danger:disabled, -.btn-danger[disabled] { - background-color: #c12e2a; - background-image: none; -} -.thumbnail, -.img-thumbnail { - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075); - box-shadow: 0 1px 2px rgba(0, 0, 0, .075); -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus { - background-color: #e8e8e8; - background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); - background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8)); - background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); - background-repeat: repeat-x; -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - background-color: #2e6da4; - background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); - background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); - background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); - background-repeat: repeat-x; -} -.navbar-default { - background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%); - background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8)); - background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - background-repeat: repeat-x; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075); -} -.navbar-default .navbar-nav > .open > a, -.navbar-default .navbar-nav > .active > a { - background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%); - background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2)); - background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0); - background-repeat: repeat-x; - -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075); - box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075); -} -.navbar-brand, -.navbar-nav > li > a { - text-shadow: 0 1px 0 rgba(255, 255, 255, .25); -} -.navbar-inverse { - background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%); - background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222)); - background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - background-repeat: repeat-x; -} -.navbar-inverse .navbar-nav > .open > a, -.navbar-inverse .navbar-nav > .active > a { - background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%); - background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#080808), to(#0f0f0f)); - background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0); - background-repeat: repeat-x; - -webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25); - box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25); -} -.navbar-inverse .navbar-brand, -.navbar-inverse .navbar-nav > li > a { - text-shadow: 0 -1px 0 rgba(0, 0, 0, .25); -} -.navbar-static-top, -.navbar-fixed-top, -.navbar-fixed-bottom { - border-radius: 0; -} -@media (max-width: 767px) { - .navbar .navbar-nav .open .dropdown-menu > .active > a, - .navbar .navbar-nav .open .dropdown-menu > .active > a:hover, - .navbar .navbar-nav .open .dropdown-menu > .active > a:focus { - color: #fff; - background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); - background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); - background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); - background-repeat: repeat-x; - } -} -.alert { - text-shadow: 0 1px 0 rgba(255, 255, 255, .2); - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05); -} -.alert-success { - background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%); - background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc)); - background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0); - background-repeat: repeat-x; - border-color: #b2dba1; -} -.alert-info { - background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%); - background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0)); - background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0); - background-repeat: repeat-x; - border-color: #9acfea; -} -.alert-warning { - background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%); - background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0)); - background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0); - background-repeat: repeat-x; - border-color: #f5e79e; -} -.alert-danger { - background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%); - background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3)); - background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0); - background-repeat: repeat-x; - border-color: #dca7a7; -} -.progress { - background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%); - background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5)); - background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0); - background-repeat: repeat-x; -} -.progress-bar { - background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%); - background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#286090)); - background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0); - background-repeat: repeat-x; -} -.progress-bar-success { - background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%); - background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44)); - background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0); - background-repeat: repeat-x; -} -.progress-bar-info { - background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); - background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5)); - background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0); - background-repeat: repeat-x; -} -.progress-bar-warning { - background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); - background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f)); - background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0); - background-repeat: repeat-x; -} -.progress-bar-danger { - background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%); - background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c)); - background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0); - background-repeat: repeat-x; -} -.progress-bar-striped { - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); -} -.list-group { - border-radius: 4px; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075); - box-shadow: 0 1px 2px rgba(0, 0, 0, .075); -} -.list-group-item.active, -.list-group-item.active:hover, -.list-group-item.active:focus { - text-shadow: 0 -1px 0 #286090; - background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%); - background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2b669a)); - background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0); - background-repeat: repeat-x; - border-color: #2b669a; -} -.list-group-item.active .badge, -.list-group-item.active:hover .badge, -.list-group-item.active:focus .badge { - text-shadow: none; -} -.panel { - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05); - box-shadow: 0 1px 2px rgba(0, 0, 0, .05); -} -.panel-default > .panel-heading { - background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); - background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8)); - background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); - background-repeat: repeat-x; -} -.panel-primary > .panel-heading { - background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%); - background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4)); - background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0); - background-repeat: repeat-x; -} -.panel-success > .panel-heading { - background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); - background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6)); - background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0); - background-repeat: repeat-x; -} -.panel-info > .panel-heading { - background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); - background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3)); - background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0); - background-repeat: repeat-x; -} -.panel-warning > .panel-heading { - background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); - background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc)); - background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0); - background-repeat: repeat-x; -} -.panel-danger > .panel-heading { - background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%); - background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc)); - background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0); - background-repeat: repeat-x; -} -.well { - background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%); - background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%); - background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5)); - background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0); - background-repeat: repeat-x; - border-color: #dcdcdc; - -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1); - box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1); -} -/*# sourceMappingURL=bootstrap-theme.css.map */ diff --git a/static/client/seminar_lending/css/vendor.min.css b/static/client/seminar_lending/css/vendor.min.css deleted file mode 100644 index bd3fb2e6..00000000 --- a/static/client/seminar_lending/css/vendor.min.css +++ /dev/null @@ -1,9 +0,0 @@ -/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */audio,canvas,iframe,img,svg,video{vertical-align:middle}.btn-group>.btn-group,.btn-toolbar .btn-group,.btn-toolbar .input-group,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.dropdown-menu{float:left}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.pre-scrollable{max-height:340px}h1{margin:.67em 0}button,input,optgroup,select,textarea{margin:0}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}table{border-spacing:0;border-collapse:collapse}html{color:#222;line-height:1.4;font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-size:10px;-webkit-tap-highlight-color:transparent}::selection{background:#b3d4fc;text-shadow:none}hr{display:block;margin:1em 0;padding:0}.browserupgrade{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}body,figure{margin:0}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}pre,textarea{overflow:auto}.clearfix:after,.clearfix:before{display:table}/*! - * Bootstrap v3.3.4 (http://getbootstrap.com) - * Copyright 2011-2015 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - *//*! normalize.css v3.0.2 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}b,optgroup,strong{font-weight:700}dfn{font-style:italic}mark{color:#000;background:#ff0}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}code,kbd,pre,samp{font-size:1em}button,input,optgroup,select,textarea{font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{resize:vertical}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{blockquote,img,pre,tr{page-break-inside:avoid}*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999}thead{display:table-header-group}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}.img-thumbnail,body{background-color:#fff}.btn,.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-warning.active,.btn-warning:active,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover,.form-control,.navbar-toggle,.open>.dropdown-toggle.btn-danger,.open>.dropdown-toggle.btn-default,.open>.dropdown-toggle.btn-info,.open>.dropdown-toggle.btn-primary,.open>.dropdown-toggle.btn-warning{background-image:none}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before,.glyphicon-btc:before,.glyphicon-xbt:before{content:"\e227"}.glyphicon-jpy:before,.glyphicon-yen:before{content:"\00a5"}.glyphicon-rub:before,.glyphicon-ruble:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}address,blockquote .small,blockquote footer,blockquote small,dd,dt,pre{line-height:1.42857143}dt,kbd kbd,label{font-weight:700}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.list-inline,.list-unstyled{list-style:none;padding-left:0}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover{background-color:#e4b9b9}pre code,table{background-color:transparent}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}dl,ol,ul{margin-top:0}ol,ul{margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-inline{margin-left:-5px}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-bottom:20px}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}caption,th{text-align:left}code,kbd{padding:2px 4px;font-size:90%}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}.container,.container-fluid{margin-right:auto;margin-left:auto}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;border-radius:0}.container,.container-fluid{padding-right:15px;padding-left:15px}.pre-scrollable{overflow-y:scroll}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}caption{padding-top:8px;padding-bottom:8px;color:#777}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered,.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover,.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset,legend{padding:0;border:0}fieldset{min-width:0;margin:0}legend{display:block;width:100%;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px \9;line-height:normal}.form-control,output{display:block;font-size:14px;line-height:1.42857143;color:#555}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}output{padding-top:7px}.form-control{width:100%;height:34px;padding:6px 12px;background-color:#fff;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-group-sm .form-control,.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .form-control-feedback,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date],input[type=time],input[type=datetime-local],input[type=month]{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px \9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}.checkbox-inline.disabled,.checkbox.disabled label,.radio-inline.disabled,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio label,fieldset[disabled] .radio-inline,fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;line-height:1.5}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;line-height:1.5}.form-group-lg .form-control,.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}select.form-group-sm .form-control{height:30px;line-height:30px}select[multiple].form-group-sm .form-control,textarea.form-group-sm .form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:5px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;line-height:1.3333333}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;line-height:1.3333333}select.form-group-lg .form-control{height:46px;line-height:46px}select[multiple].form-group-lg .form-control,textarea.form-group-lg .form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:10px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.collapsing,.dropdown,.dropup{position:relative}.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .form-control-feedback,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .form-control-feedback,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-control-static,.form-inline .form-group{display:inline-block}.form-inline .control-label,.form-inline .form-group{margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}.form-horizontal .form-group-lg .control-label{padding-top:14.33px}.form-horizontal .form-group-sm .control-label{padding-top:6px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}.btn-default{color:#333;background-color:#fff}.btn-default.active,.btn-default.focus,.btn-default:active,.btn-default:focus,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7}.btn-primary.active,.btn-primary.focus,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c}.btn-success.active,.btn-success.focus,.btn-success:active,.btn-success:focus,.btn-success:hover,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de}.btn-info.active,.btn-info.focus,.btn-info:active,.btn-info:focus,.btn-info:hover,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e}.btn-warning.active,.btn-warning.focus,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f}.btn-danger.active,.btn-danger.focus,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.btn-group-vertical>.btn:not(:first-child):not(:last-child),.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn,.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.dropdown-header,.dropdown-menu>li>a{white-space:nowrap;padding:3px 20px;line-height:1.42857143}.dropdown-menu-right,.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;clear:both;font-weight:400;color:#333}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;font-size:12px;color:#777}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover,.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.nav-justified>.dropdown .dropdown-menu,.nav-tabs.nav-justified>.dropdown .dropdown-menu{left:auto;top:auto}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px solid}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn .caret,.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn-lg .caret{border-width:5px 5px 0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group,.input-group-btn>.btn+.btn{margin-left:-1px}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.nav>li,.nav>li>a{position:relative;display:block}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li>a{padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center;margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-justified>li,.nav-stacked>li{float:none}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar{border-radius:4px}.navbar-header{float:left}.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.embed-responsive,.modal,.modal-open,.progress{overflow:hidden}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}.navbar-static-top{z-index:1000;border-width:0 0 1px}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}.progress-bar-striped,.progress-striped .progress-bar,.progress-striped .progress-bar-danger,.progress-striped .progress-bar-info,.progress-striped .progress-bar-success,.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}@media (min-width:768px){.navbar-toggle{display:none}.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);margin:8px -15px}@media (min-width:768px){.navbar-form .form-control-static,.navbar-form .form-group{display:inline-block}.navbar-form .control-label,.navbar-form .form-group{margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}.breadcrumb>li,.pagination{display:inline-block}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-radius:4px 4px 0 0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-nav>li>a,.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>li>a,.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{padding-left:0;margin:20px 0;border-radius:4px}.pager li,.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.badge,.label{text-align:center;font-weight:700;line-height:1;white-space:nowrap;vertical-align:baseline}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;color:#fff;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;color:#fff;background-color:#777;border-radius:10px}.badge:empty{display:none}.media-object,.thumbnail{display:block}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.jumbotron,.jumbotron .h1,.jumbotron h1{color:inherit}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px 15px;margin-bottom:30px;background-color:#eee}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.alert .alert-link,.close{font-weight:700}.alert,.thumbnail{margin-bottom:20px}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding:48px 0}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.panel-heading>.dropdown .dropdown-toggle,.panel-title,.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px}.panel-title,.panel>.list-group,.panel>.panel-collapse>.list-group,.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-group .panel-heading,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel-title{margin-top:0;font-size:16px}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.list-group+.panel-footer,.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.carousel-caption,.carousel-control{text-shadow:0 1px 2px rgba(0,0,0,.6)}.popover,.tooltip{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-content,.popover{-webkit-background-clip:padding-box}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{min-height:16.43px;padding:15px;border-bottom:1px solid #e5e5e5}.tooltip.bottom .tooltip-arrow,.tooltip.bottom-left .tooltip-arrow,.tooltip.bottom-right .tooltip-arrow{top:0;border-width:0 5px 5px;border-bottom-color:#000}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}.tooltip.top-left .tooltip-arrow,.tooltip.top-right .tooltip-arrow{bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-size:12px;line-height:1.4;filter:alpha(opacity=0);opacity:0}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px}.tooltip.top-right .tooltip-arrow{left:5px}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{left:50%;margin-left:-5px}.tooltip.bottom-left .tooltip-arrow{right:5px;margin-top:-5px}.tooltip.bottom-right .tooltip-arrow{left:5px;margin-top:-5px}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-size:14px;line-height:1.42857143;text-align:left;white-space:normal;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.carousel,.carousel-inner{position:relative}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.bottom>.arrow:after,.popover.left>.arrow:after,.popover.right>.arrow:after,.popover.top>.arrow:after{content:" "}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;border-right-width:0;border-left-color:#fff}.carousel-inner{width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000;perspective:1000}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:transparent;border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center}.carousel-caption .btn,.text-hide{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-15px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-15px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.hidden,.visible-lg,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;background-color:transparent;border:0}.affix{position:fixed}@-ms-viewport{width:device-width}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}.visible-xs-block{display:block!important}.visible-xs-inline{display:inline!important}.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}.visible-sm-block{display:block!important}.visible-sm-inline{display:inline!important}.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}.visible-md-block{display:block!important}.visible-md-inline{display:inline!important}.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}.visible-lg-block{display:block!important}.visible-lg-inline{display:inline!important}.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}.hidden-print{display:none!important}}/*! - * Bootstrap v3.3.4 (http://getbootstrap.com) - * Copyright 2011-2015 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - */.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-danger .badge,.btn-default .badge,.btn-info .badge,.btn-primary .badge,.btn-success .badge,.btn-warning .badge{text-shadow:none}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default.disabled,.btn-default:disabled,.btn-default[disabled]{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-o-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));background-image:linear-gradient(to bottom,#337ab7 0,#265a88 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#245580}.btn-primary:focus,.btn-primary:hover{background-color:#265a88;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#265a88;border-color:#245580}.btn-primary.disabled,.btn-primary:disabled,.btn-primary[disabled]{background-color:#265a88;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success.disabled,.btn-success:disabled,.btn-success[disabled]{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info.disabled,.btn-info:disabled,.btn-info[disabled]{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#e38d13}.btn-warning:focus,.btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.btn-warning.active,.btn-warning:active{background-color:#eb9316;border-color:#e38d13}.btn-warning.disabled,.btn-warning:disabled,.btn-warning[disabled]{background-color:#eb9316;background-image:none}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#b92c28}.btn-danger:focus,.btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.btn-danger.active,.btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.btn-danger.disabled,.btn-danger:disabled,.btn-danger[disabled]{background-color:#c12e2a;background-image:none}.img-thumbnail,.thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{background-color:#2e6da4;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f8f8f8));background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-o-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dbdbdb),to(#e2e2e2));background-image:linear-gradient(to bottom,#dbdbdb 0,#e2e2e2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-o-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#3c3c3c),to(#222));background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-o-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#080808),to(#0f0f0f));background-image:linear-gradient(to bottom,#080808 0,#0f0f0f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}@media (max-width:767px){.navbar .navbar-nav .open .dropdown-menu>.active>a,.navbar .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}}.alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#c8e5bc));background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);background-repeat:repeat-x;border-color:#b2dba1}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#b9def0));background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);background-repeat:repeat-x;border-color:#9acfea}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#f8efc0));background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);background-repeat:repeat-x;border-color:#f5e79e}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-o-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#e7c3c3));background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);background-repeat:repeat-x;border-color:#dca7a7}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#f5f5f5));background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x}.progress-bar{background-image:-webkit-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-o-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#286090));background-image:linear-gradient(to bottom,#337ab7 0,#286090 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);background-repeat:repeat-x}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#449d44));background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);background-repeat:repeat-x}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#31b0d5));background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);background-repeat:repeat-x}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#ec971f));background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);background-repeat:repeat-x}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c9302c));background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);background-repeat:repeat-x}.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{text-shadow:0 -1px 0 #286090;background-image:-webkit-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2b669a));background-image:linear-gradient(to bottom,#337ab7 0,#2b669a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);background-repeat:repeat-x;border-color:#2b669a}.list-group-item.active .badge,.list-group-item.active:focus .badge,.list-group-item.active:hover .badge{text-shadow:none}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#d0e9c6));background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);background-repeat:repeat-x}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#c4e3f3));background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);background-repeat:repeat-x}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#faf2cc));background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);background-repeat:repeat-x}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-o-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#ebcccc));background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);background-repeat:repeat-x}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#e8e8e8),to(#f5f5f5));background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x;border-color:#dcdcdc;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)} \ No newline at end of file diff --git a/static/client/seminar_lending/fonts/glyphicons-halflings-regular.eot b/static/client/seminar_lending/fonts/glyphicons-halflings-regular.eot deleted file mode 100644 index b93a4953..00000000 Binary files a/static/client/seminar_lending/fonts/glyphicons-halflings-regular.eot and /dev/null differ diff --git a/static/client/seminar_lending/fonts/glyphicons-halflings-regular.svg b/static/client/seminar_lending/fonts/glyphicons-halflings-regular.svg deleted file mode 100644 index 94fb5490..00000000 --- a/static/client/seminar_lending/fonts/glyphicons-halflings-regular.svg +++ /dev/null @@ -1,288 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/static/client/seminar_lending/fonts/glyphicons-halflings-regular.ttf b/static/client/seminar_lending/fonts/glyphicons-halflings-regular.ttf deleted file mode 100644 index 1413fc60..00000000 Binary files a/static/client/seminar_lending/fonts/glyphicons-halflings-regular.ttf and /dev/null differ diff --git a/static/client/seminar_lending/fonts/glyphicons-halflings-regular.woff b/static/client/seminar_lending/fonts/glyphicons-halflings-regular.woff deleted file mode 100644 index 9e612858..00000000 Binary files a/static/client/seminar_lending/fonts/glyphicons-halflings-regular.woff and /dev/null differ diff --git a/static/client/seminar_lending/fonts/glyphicons-halflings-regular.woff2 b/static/client/seminar_lending/fonts/glyphicons-halflings-regular.woff2 deleted file mode 100644 index 64539b54..00000000 Binary files a/static/client/seminar_lending/fonts/glyphicons-halflings-regular.woff2 and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-bold-webfont.eot b/static/client/seminar_lending/fonts/pfdindisplaypro-bold-webfont.eot deleted file mode 100644 index 46ffd226..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-bold-webfont.eot and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-bold-webfont.svg b/static/client/seminar_lending/fonts/pfdindisplaypro-bold-webfont.svg deleted file mode 100644 index fd159114..00000000 --- a/static/client/seminar_lending/fonts/pfdindisplaypro-bold-webfont.svg +++ /dev/null @@ -1,530 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-bold-webfont.ttf b/static/client/seminar_lending/fonts/pfdindisplaypro-bold-webfont.ttf deleted file mode 100644 index a6d138bc..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-bold-webfont.ttf and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-bold-webfont.woff b/static/client/seminar_lending/fonts/pfdindisplaypro-bold-webfont.woff deleted file mode 100644 index 863dc136..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-bold-webfont.woff and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-italic-webfont.eot b/static/client/seminar_lending/fonts/pfdindisplaypro-italic-webfont.eot deleted file mode 100644 index f3a38bff..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-italic-webfont.eot and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-italic-webfont.svg b/static/client/seminar_lending/fonts/pfdindisplaypro-italic-webfont.svg deleted file mode 100644 index 7255184d..00000000 --- a/static/client/seminar_lending/fonts/pfdindisplaypro-italic-webfont.svg +++ /dev/null @@ -1,547 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-italic-webfont.ttf b/static/client/seminar_lending/fonts/pfdindisplaypro-italic-webfont.ttf deleted file mode 100644 index e16b06f4..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-italic-webfont.ttf and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-italic-webfont.woff b/static/client/seminar_lending/fonts/pfdindisplaypro-italic-webfont.woff deleted file mode 100644 index da4ddbe4..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-italic-webfont.woff and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-light-webfont.eot b/static/client/seminar_lending/fonts/pfdindisplaypro-light-webfont.eot deleted file mode 100644 index 19652b94..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-light-webfont.eot and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-light-webfont.svg b/static/client/seminar_lending/fonts/pfdindisplaypro-light-webfont.svg deleted file mode 100644 index 50fb8b98..00000000 --- a/static/client/seminar_lending/fonts/pfdindisplaypro-light-webfont.svg +++ /dev/null @@ -1,530 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-light-webfont.ttf b/static/client/seminar_lending/fonts/pfdindisplaypro-light-webfont.ttf deleted file mode 100644 index b5b714ba..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-light-webfont.ttf and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-light-webfont.woff b/static/client/seminar_lending/fonts/pfdindisplaypro-light-webfont.woff deleted file mode 100644 index 44946da4..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-light-webfont.woff and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-med-webfont.eot b/static/client/seminar_lending/fonts/pfdindisplaypro-med-webfont.eot deleted file mode 100644 index 7864480e..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-med-webfont.eot and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-med-webfont.svg b/static/client/seminar_lending/fonts/pfdindisplaypro-med-webfont.svg deleted file mode 100644 index 730367b8..00000000 --- a/static/client/seminar_lending/fonts/pfdindisplaypro-med-webfont.svg +++ /dev/null @@ -1,530 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-med-webfont.ttf b/static/client/seminar_lending/fonts/pfdindisplaypro-med-webfont.ttf deleted file mode 100644 index 6aa79354..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-med-webfont.ttf and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-med-webfont.woff b/static/client/seminar_lending/fonts/pfdindisplaypro-med-webfont.woff deleted file mode 100644 index d97bb73d..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-med-webfont.woff and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-reg-webfont.eot b/static/client/seminar_lending/fonts/pfdindisplaypro-reg-webfont.eot deleted file mode 100644 index cbe8845a..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-reg-webfont.eot and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-reg-webfont.svg b/static/client/seminar_lending/fonts/pfdindisplaypro-reg-webfont.svg deleted file mode 100644 index 7b9e43ab..00000000 --- a/static/client/seminar_lending/fonts/pfdindisplaypro-reg-webfont.svg +++ /dev/null @@ -1,530 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-reg-webfont.ttf b/static/client/seminar_lending/fonts/pfdindisplaypro-reg-webfont.ttf deleted file mode 100644 index 8788f069..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-reg-webfont.ttf and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-reg-webfont.woff b/static/client/seminar_lending/fonts/pfdindisplaypro-reg-webfont.woff deleted file mode 100644 index 0d50dc09..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-reg-webfont.woff and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-thin-webfont.eot b/static/client/seminar_lending/fonts/pfdindisplaypro-thin-webfont.eot deleted file mode 100644 index 28370ec8..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-thin-webfont.eot and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-thin-webfont.svg b/static/client/seminar_lending/fonts/pfdindisplaypro-thin-webfont.svg deleted file mode 100644 index 3e11c93b..00000000 --- a/static/client/seminar_lending/fonts/pfdindisplaypro-thin-webfont.svg +++ /dev/null @@ -1,530 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-thin-webfont.ttf b/static/client/seminar_lending/fonts/pfdindisplaypro-thin-webfont.ttf deleted file mode 100644 index 11ca262b..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-thin-webfont.ttf and /dev/null differ diff --git a/static/client/seminar_lending/fonts/pfdindisplaypro-thin-webfont.woff b/static/client/seminar_lending/fonts/pfdindisplaypro-thin-webfont.woff deleted file mode 100644 index a426ebf3..00000000 Binary files a/static/client/seminar_lending/fonts/pfdindisplaypro-thin-webfont.woff and /dev/null differ diff --git a/static/client/seminar_lending/gulpfile.js b/static/client/seminar_lending/gulpfile.js deleted file mode 100644 index 9b57a9f4..00000000 --- a/static/client/seminar_lending/gulpfile.js +++ /dev/null @@ -1,157 +0,0 @@ -var gulp = require('gulp'), - uglify = require('gulp-uglify'), - concat = require('gulp-concat'), - rename = require("gulp-rename"), - autoprefixer = require('gulp-autoprefixer'), - cssmin = require('gulp-cssmin'), - //preen = require('preen'), - //bower = require('gulp-bower'), - //gutil = require('gulp-util'), - imageop = require('gulp-image-optimization'), - less = require('gulp-less'), - - livereload = require('gulp-livereload'), - sourcemaps = require('gulp-sourcemaps'), - newer = require('gulp-newer'); - -/** - * less convertation - */ -gulp.task('process-less', function () { - return gulp.src('less/main.less') - .pipe(sourcemaps.init()) - .pipe(less().on('error', function(err) { - console.log(err); - })) - //.pipe(autoprefixer({ - // browsers:['> 1%', 'Opera > 11', 'Explorer >= 8', 'Firefox >20', 'Chrome > 20'] - //})) - .pipe(autoprefixer({ - browsers:['> 1%', 'Opera > 11', 'Explorer >= 8', 'Firefox >20', 'Chrome > 20'] - })) - .pipe(sourcemaps.write()) - .pipe(gulp.dest('css')); -}); -/** - * concatenate all js used lib files in one vendor.js files and minimized it - */ -gulp.task('make-vendor-js', function () { - return gulp.src([ - 'bower_components/jquery/jquery.js', - 'bower_components/bootstrap/dist/js/bootstrap.js', - 'bower_components/superscrollorama/js/greensock/TweenMax.min.js', - 'bower_components/superscrollorama/js/jquery.superscrollorama.js' - ]) - .pipe(concat('vendor.js')) - .pipe(gulp.dest('js')) - .pipe(uglify()) - .pipe(rename('vendor.min.js')) - .pipe(gulp.dest('js')) - -}); -/** - * concatenate all used css lib files in one vendor.css files and minimized it - */ -gulp.task('make-vendor-css', function () { - return gulp.src([ - 'bower_components/normalize.css/normalize.css', - 'bower_components/html5-boilerplate/src/css/main.css', - 'bower_components/bootstrap/dist/css/bootstrap.css', - 'bower_components/bootstrap/dist/css/bootstrap-theme.css' - ]) - .pipe(concat('vendor.css')) - .pipe(gulp.dest('css')) - .pipe(cssmin()) - .pipe(rename('vendor.min.css')) - .pipe(gulp.dest('css')) - -}); - -gulp.task('main-css',["process-less"], function () { - return gulp.src('css/main.css') - .pipe(livereload()); -}); - - -/** - * images optimization - */ -gulp.task('minfy-images', function(cb) { - gulp.src(['img/**/*.png','img/**/*.jpg', 'img/**/*.gif']).pipe(imageop({ - optimizationLevel: 5, - progressive: true, - interlaced: true - })).pipe(gulp.dest('img')).on('end', cb).on('error', cb); -}); -gulp.task('minfy-png', function(cb) { - gulp.src('img/**/*.png').pipe(imageop({ - optimizationLevel: 7 - - })).pipe(gulp.dest('img')).on('end', cb).on('error', cb); -}); - -//gulp.task('minify-modules', function () { -// return gulp.src('frontend/web/js/*.js') -// .pipe(newer('frontend/web/min/js')) -// .pipe(uglify()) -// .pipe(rename({extname: ".min.js"})) -// .pipe(gulp.dest('frontend/web/min/js')) -// -//}); -//gulp.task('production',['make-vendor-js','make-vendor-css','main-css','minify-modules']); -gulp.task('reload', function () { - livereload.reload(); - -}); -// -//gulp.task('watch-js', function () { -// livereload.reload(); -// gulp.watch("frontend/web/js/*.js", ["minify-modules"]); -//}); -gulp.task('watch-all', function () { - livereload.listen(); - gulp.watch("less/main.less", ["main-css"]); - //gulp.watch("frontend/web/js/*.js", ["minify-modules","reload"]); - gulp.watch("*.html", ["reload"]); -}); -//gulp.task('watch-workflow', function () { -// gulp.watch(["static_client/css/main.css","static_client/js/_modules/*.js"], ["main-css","minify-modules"]); -//}); -//Project maintenance - -/** - * update all vendor libs in project - * lib are downloaded with bower, cleaned and copied to lib/ folder - * requires git being installed on server or in the PATH - */ -//gulp.task('update-vendor',['bower-preen','bower-to-project'], function(cb) { -// return gutil.log('libs updated!'); -//}); - -// BOWER MANIPULATIONS - -/** - * get vendor libs folders from bower folder and copy to project structure - */ -//gulp.task('bower-to-project', function(cb) { -// return gulp.src('vendor/bower/**/*') -// .pipe(gulp.dest('frontend/web/lib/')); -//}); - -/** - * update vendor libs installed by bower - * requires git being installed or in the PATH - */ -//gulp.task('bower-update', function(cb) { -// bower({ cmd: 'update'}); -//}); - -/** - * clean unnecessary files from vendor libs installed by bower.js - */ -//gulp.task('bower-preen', function(cb) { -// preen.preen({}, cb); -//}); -gulp.task('default', ['watch-all'], function() { - // place code for your default task here -}); diff --git a/static/client/seminar_lending/img/event-programm-bg.png b/static/client/seminar_lending/img/event-programm-bg.png deleted file mode 100644 index 54c95163..00000000 Binary files a/static/client/seminar_lending/img/event-programm-bg.png and /dev/null differ diff --git a/static/client/seminar_lending/img/footer_back.jpg b/static/client/seminar_lending/img/footer_back.jpg deleted file mode 100644 index 262d1d12..00000000 Binary files a/static/client/seminar_lending/img/footer_back.jpg and /dev/null differ diff --git a/static/client/seminar_lending/img/header_back.jpg b/static/client/seminar_lending/img/header_back.jpg deleted file mode 100644 index bd2f20e2..00000000 Binary files a/static/client/seminar_lending/img/header_back.jpg and /dev/null differ diff --git a/static/client/seminar_lending/img/logo.png b/static/client/seminar_lending/img/logo.png deleted file mode 100644 index 91b76893..00000000 Binary files a/static/client/seminar_lending/img/logo.png and /dev/null differ diff --git a/static/client/seminar_lending/img/reason1.png b/static/client/seminar_lending/img/reason1.png deleted file mode 100644 index 163366af..00000000 Binary files a/static/client/seminar_lending/img/reason1.png and /dev/null differ diff --git a/static/client/seminar_lending/img/reason2.png b/static/client/seminar_lending/img/reason2.png deleted file mode 100644 index 5dcf78a4..00000000 Binary files a/static/client/seminar_lending/img/reason2.png and /dev/null differ diff --git a/static/client/seminar_lending/img/reason3.png b/static/client/seminar_lending/img/reason3.png deleted file mode 100644 index 50595f6d..00000000 Binary files a/static/client/seminar_lending/img/reason3.png and /dev/null differ diff --git a/static/client/seminar_lending/img/reason4.png b/static/client/seminar_lending/img/reason4.png deleted file mode 100644 index 62b2eae1..00000000 Binary files a/static/client/seminar_lending/img/reason4.png and /dev/null differ diff --git a/static/client/seminar_lending/img/reason5.png b/static/client/seminar_lending/img/reason5.png deleted file mode 100644 index ae93c2ad..00000000 Binary files a/static/client/seminar_lending/img/reason5.png and /dev/null differ diff --git a/static/client/seminar_lending/img/reporter1.png b/static/client/seminar_lending/img/reporter1.png deleted file mode 100644 index 3c1c2cdd..00000000 Binary files a/static/client/seminar_lending/img/reporter1.png and /dev/null differ diff --git a/static/client/seminar_lending/img/reporter2.png b/static/client/seminar_lending/img/reporter2.png deleted file mode 100644 index 50492eb1..00000000 Binary files a/static/client/seminar_lending/img/reporter2.png and /dev/null differ diff --git a/static/client/seminar_lending/img/venue.jpg b/static/client/seminar_lending/img/venue.jpg deleted file mode 100644 index d9c91e35..00000000 Binary files a/static/client/seminar_lending/img/venue.jpg and /dev/null differ diff --git a/static/client/seminar_lending/js/main.js b/static/client/seminar_lending/js/main.js deleted file mode 100644 index 3f54a5b0..00000000 --- a/static/client/seminar_lending/js/main.js +++ /dev/null @@ -1,13 +0,0 @@ -$(document).ready(function () { - var controller = $.superscrollorama({ - triggerAtCenter: true, - //playoutAnimations: true, - reverse:false - }); - controller.addTween('#quote-strip', - TweenMax.from($('#quote-strip'), .3, {css:{opacity:0}})); - controller.addTween('#event-program-strip', - TweenMax.from($('#event-program-strip'), .5, {css:{opacity:0}})); - controller.addTween('#footer', - TweenMax.from($('#footer'), .5, {css:{opacity:0}})); -}); diff --git a/static/client/seminar_lending/js/vendor.js b/static/client/seminar_lending/js/vendor.js deleted file mode 100644 index 14d1464f..00000000 --- a/static/client/seminar_lending/js/vendor.js +++ /dev/null @@ -1,12401 +0,0 @@ -/*! - * jQuery JavaScript Library v1.9.1 - * http://jquery.com/ - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * - * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2013-2-4 - */ -(function( window, undefined ) { - -// Can't do this because several apps including ASP.NET trace -// the stack via arguments.caller.callee and Firefox dies if -// you try to trace through "use strict" call chains. (#13335) -// Support: Firefox 18+ -//"use strict"; -var - // The deferred used on DOM ready - readyList, - - // A central reference to the root jQuery(document) - rootjQuery, - - // Support: IE<9 - // For `typeof node.method` instead of `node.method !== undefined` - core_strundefined = typeof undefined, - - // Use the correct document accordingly with window argument (sandbox) - document = window.document, - location = window.location, - - // Map over jQuery in case of overwrite - _jQuery = window.jQuery, - - // Map over the $ in case of overwrite - _$ = window.$, - - // [[Class]] -> type pairs - class2type = {}, - - // List of deleted data cache ids, so we can reuse them - core_deletedIds = [], - - core_version = "1.9.1", - - // Save a reference to some core methods - core_concat = core_deletedIds.concat, - core_push = core_deletedIds.push, - core_slice = core_deletedIds.slice, - core_indexOf = core_deletedIds.indexOf, - core_toString = class2type.toString, - core_hasOwn = class2type.hasOwnProperty, - core_trim = core_version.trim, - - // Define a local copy of jQuery - jQuery = function( selector, context ) { - // The jQuery object is actually just the init constructor 'enhanced' - return new jQuery.fn.init( selector, context, rootjQuery ); - }, - - // Used for matching numbers - core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, - - // Used for splitting on whitespace - core_rnotwhite = /\S+/g, - - // Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE) - rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, - - // A simple way to check for HTML strings - // Prioritize #id over to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) - rquickExpr = /^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/, - - // Match a standalone tag - rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/, - - // JSON RegExp - rvalidchars = /^[\],:{}\s]*$/, - rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, - rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, - rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g, - - // Matches dashed string for camelizing - rmsPrefix = /^-ms-/, - rdashAlpha = /-([\da-z])/gi, - - // Used by jQuery.camelCase as callback to replace() - fcamelCase = function( all, letter ) { - return letter.toUpperCase(); - }, - - // The ready event handler - completed = function( event ) { - - // readyState === "complete" is good enough for us to call the dom ready in oldIE - if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) { - detach(); - jQuery.ready(); - } - }, - // Clean-up method for dom ready events - detach = function() { - if ( document.addEventListener ) { - document.removeEventListener( "DOMContentLoaded", completed, false ); - window.removeEventListener( "load", completed, false ); - - } else { - document.detachEvent( "onreadystatechange", completed ); - window.detachEvent( "onload", completed ); - } - }; - -jQuery.fn = jQuery.prototype = { - // The current version of jQuery being used - jquery: core_version, - - constructor: jQuery, - init: function( selector, context, rootjQuery ) { - var match, elem; - - // HANDLE: $(""), $(null), $(undefined), $(false) - if ( !selector ) { - return this; - } - - // Handle HTML strings - if ( typeof selector === "string" ) { - if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) { - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [ null, selector, null ]; - - } else { - match = rquickExpr.exec( selector ); - } - - // Match html or make sure no context is specified for #id - if ( match && (match[1] || !context) ) { - - // HANDLE: $(html) -> $(array) - if ( match[1] ) { - context = context instanceof jQuery ? context[0] : context; - - // scripts is true for back-compat - jQuery.merge( this, jQuery.parseHTML( - match[1], - context && context.nodeType ? context.ownerDocument || context : document, - true - ) ); - - // HANDLE: $(html, props) - if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) { - for ( match in context ) { - // Properties of context are called as methods if possible - if ( jQuery.isFunction( this[ match ] ) ) { - this[ match ]( context[ match ] ); - - // ...and otherwise set as attributes - } else { - this.attr( match, context[ match ] ); - } - } - } - - return this; - - // HANDLE: $(#id) - } else { - elem = document.getElementById( match[2] ); - - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE and Opera return items - // by name instead of ID - if ( elem.id !== match[2] ) { - return rootjQuery.find( selector ); - } - - // Otherwise, we inject the element directly into the jQuery object - this.length = 1; - this[0] = elem; - } - - this.context = document; - this.selector = selector; - return this; - } - - // HANDLE: $(expr, $(...)) - } else if ( !context || context.jquery ) { - return ( context || rootjQuery ).find( selector ); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor( context ).find( selector ); - } - - // HANDLE: $(DOMElement) - } else if ( selector.nodeType ) { - this.context = this[0] = selector; - this.length = 1; - return this; - - // HANDLE: $(function) - // Shortcut for document ready - } else if ( jQuery.isFunction( selector ) ) { - return rootjQuery.ready( selector ); - } - - if ( selector.selector !== undefined ) { - this.selector = selector.selector; - this.context = selector.context; - } - - return jQuery.makeArray( selector, this ); - }, - - // Start with an empty selector - selector: "", - - // The default length of a jQuery object is 0 - length: 0, - - // The number of elements contained in the matched element set - size: function() { - return this.length; - }, - - toArray: function() { - return core_slice.call( this ); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function( num ) { - return num == null ? - - // Return a 'clean' array - this.toArray() : - - // Return just the object - ( num < 0 ? this[ this.length + num ] : this[ num ] ); - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function( elems ) { - - // Build a new jQuery matched element set - var ret = jQuery.merge( this.constructor(), elems ); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - ret.context = this.context; - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - // (You can seed the arguments with an array of args, but this is - // only used internally.) - each: function( callback, args ) { - return jQuery.each( this, callback, args ); - }, - - ready: function( fn ) { - // Add the callback - jQuery.ready.promise().done( fn ); - - return this; - }, - - slice: function() { - return this.pushStack( core_slice.apply( this, arguments ) ); - }, - - first: function() { - return this.eq( 0 ); - }, - - last: function() { - return this.eq( -1 ); - }, - - eq: function( i ) { - var len = this.length, - j = +i + ( i < 0 ? len : 0 ); - return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] ); - }, - - map: function( callback ) { - return this.pushStack( jQuery.map(this, function( elem, i ) { - return callback.call( elem, i, elem ); - })); - }, - - end: function() { - return this.prevObject || this.constructor(null); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: core_push, - sort: [].sort, - splice: [].splice -}; - -// Give the init function the jQuery prototype for later instantiation -jQuery.fn.init.prototype = jQuery.fn; - -jQuery.extend = jQuery.fn.extend = function() { - var src, copyIsArray, copy, name, options, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if ( typeof target === "boolean" ) { - deep = target; - target = arguments[1] || {}; - // skip the boolean and the target - i = 2; - } - - // Handle case when target is a string or something (possible in deep copy) - if ( typeof target !== "object" && !jQuery.isFunction(target) ) { - target = {}; - } - - // extend jQuery itself if only one argument is passed - if ( length === i ) { - target = this; - --i; - } - - for ( ; i < length; i++ ) { - // Only deal with non-null/undefined values - if ( (options = arguments[ i ]) != null ) { - // Extend the base object - for ( name in options ) { - src = target[ name ]; - copy = options[ name ]; - - // Prevent never-ending loop - if ( target === copy ) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) { - if ( copyIsArray ) { - copyIsArray = false; - clone = src && jQuery.isArray(src) ? src : []; - - } else { - clone = src && jQuery.isPlainObject(src) ? src : {}; - } - - // Never move original objects, clone them - target[ name ] = jQuery.extend( deep, clone, copy ); - - // Don't bring in undefined values - } else if ( copy !== undefined ) { - target[ name ] = copy; - } - } - } - } - - // Return the modified object - return target; -}; - -jQuery.extend({ - noConflict: function( deep ) { - if ( window.$ === jQuery ) { - window.$ = _$; - } - - if ( deep && window.jQuery === jQuery ) { - window.jQuery = _jQuery; - } - - return jQuery; - }, - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Hold (or release) the ready event - holdReady: function( hold ) { - if ( hold ) { - jQuery.readyWait++; - } else { - jQuery.ready( true ); - } - }, - - // Handle when the DOM is ready - ready: function( wait ) { - - // Abort if there are pending holds or we're already ready - if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { - return; - } - - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( !document.body ) { - return setTimeout( jQuery.ready ); - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --jQuery.readyWait > 0 ) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith( document, [ jQuery ] ); - - // Trigger any bound ready events - if ( jQuery.fn.trigger ) { - jQuery( document ).trigger("ready").off("ready"); - } - }, - - // See test/unit/core.js for details concerning isFunction. - // Since version 1.3, DOM methods and functions like alert - // aren't supported. They return false on IE (#2968). - isFunction: function( obj ) { - return jQuery.type(obj) === "function"; - }, - - isArray: Array.isArray || function( obj ) { - return jQuery.type(obj) === "array"; - }, - - isWindow: function( obj ) { - return obj != null && obj == obj.window; - }, - - isNumeric: function( obj ) { - return !isNaN( parseFloat(obj) ) && isFinite( obj ); - }, - - type: function( obj ) { - if ( obj == null ) { - return String( obj ); - } - return typeof obj === "object" || typeof obj === "function" ? - class2type[ core_toString.call(obj) ] || "object" : - typeof obj; - }, - - isPlainObject: function( obj ) { - // Must be an Object. - // Because of IE, we also have to check the presence of the constructor property. - // Make sure that DOM nodes and window objects don't pass through, as well - if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) { - return false; - } - - try { - // Not own constructor property must be Object - if ( obj.constructor && - !core_hasOwn.call(obj, "constructor") && - !core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) { - return false; - } - } catch ( e ) { - // IE8,9 Will throw exceptions on certain host objects #9897 - return false; - } - - // Own properties are enumerated firstly, so to speed up, - // if last one is own, then all properties are own. - - var key; - for ( key in obj ) {} - - return key === undefined || core_hasOwn.call( obj, key ); - }, - - isEmptyObject: function( obj ) { - var name; - for ( name in obj ) { - return false; - } - return true; - }, - - error: function( msg ) { - throw new Error( msg ); - }, - - // data: string of html - // context (optional): If specified, the fragment will be created in this context, defaults to document - // keepScripts (optional): If true, will include scripts passed in the html string - parseHTML: function( data, context, keepScripts ) { - if ( !data || typeof data !== "string" ) { - return null; - } - if ( typeof context === "boolean" ) { - keepScripts = context; - context = false; - } - context = context || document; - - var parsed = rsingleTag.exec( data ), - scripts = !keepScripts && []; - - // Single tag - if ( parsed ) { - return [ context.createElement( parsed[1] ) ]; - } - - parsed = jQuery.buildFragment( [ data ], context, scripts ); - if ( scripts ) { - jQuery( scripts ).remove(); - } - return jQuery.merge( [], parsed.childNodes ); - }, - - parseJSON: function( data ) { - // Attempt to parse using the native JSON parser first - if ( window.JSON && window.JSON.parse ) { - return window.JSON.parse( data ); - } - - if ( data === null ) { - return data; - } - - if ( typeof data === "string" ) { - - // Make sure leading/trailing whitespace is removed (IE can't handle it) - data = jQuery.trim( data ); - - if ( data ) { - // Make sure the incoming data is actual JSON - // Logic borrowed from http://json.org/json2.js - if ( rvalidchars.test( data.replace( rvalidescape, "@" ) - .replace( rvalidtokens, "]" ) - .replace( rvalidbraces, "")) ) { - - return ( new Function( "return " + data ) )(); - } - } - } - - jQuery.error( "Invalid JSON: " + data ); - }, - - // Cross-browser xml parsing - parseXML: function( data ) { - var xml, tmp; - if ( !data || typeof data !== "string" ) { - return null; - } - try { - if ( window.DOMParser ) { // Standard - tmp = new DOMParser(); - xml = tmp.parseFromString( data , "text/xml" ); - } else { // IE - xml = new ActiveXObject( "Microsoft.XMLDOM" ); - xml.async = "false"; - xml.loadXML( data ); - } - } catch( e ) { - xml = undefined; - } - if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) { - jQuery.error( "Invalid XML: " + data ); - } - return xml; - }, - - noop: function() {}, - - // Evaluates a script in a global context - // Workarounds based on findings by Jim Driscoll - // http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context - globalEval: function( data ) { - if ( data && jQuery.trim( data ) ) { - // We use execScript on Internet Explorer - // We use an anonymous function so that context is window - // rather than jQuery in Firefox - ( window.execScript || function( data ) { - window[ "eval" ].call( window, data ); - } )( data ); - } - }, - - // Convert dashed to camelCase; used by the css and data modules - // Microsoft forgot to hump their vendor prefix (#9572) - camelCase: function( string ) { - return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); - }, - - nodeName: function( elem, name ) { - return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - }, - - // args is for internal usage only - each: function( obj, callback, args ) { - var value, - i = 0, - length = obj.length, - isArray = isArraylike( obj ); - - if ( args ) { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.apply( obj[ i ], args ); - - if ( value === false ) { - break; - } - } - } - - // A special, fast, case for the most common use of each - } else { - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } else { - for ( i in obj ) { - value = callback.call( obj[ i ], i, obj[ i ] ); - - if ( value === false ) { - break; - } - } - } - } - - return obj; - }, - - // Use native String.trim function wherever possible - trim: core_trim && !core_trim.call("\uFEFF\xA0") ? - function( text ) { - return text == null ? - "" : - core_trim.call( text ); - } : - - // Otherwise use our own trimming functionality - function( text ) { - return text == null ? - "" : - ( text + "" ).replace( rtrim, "" ); - }, - - // results is for internal usage only - makeArray: function( arr, results ) { - var ret = results || []; - - if ( arr != null ) { - if ( isArraylike( Object(arr) ) ) { - jQuery.merge( ret, - typeof arr === "string" ? - [ arr ] : arr - ); - } else { - core_push.call( ret, arr ); - } - } - - return ret; - }, - - inArray: function( elem, arr, i ) { - var len; - - if ( arr ) { - if ( core_indexOf ) { - return core_indexOf.call( arr, elem, i ); - } - - len = arr.length; - i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0; - - for ( ; i < len; i++ ) { - // Skip accessing in sparse arrays - if ( i in arr && arr[ i ] === elem ) { - return i; - } - } - } - - return -1; - }, - - merge: function( first, second ) { - var l = second.length, - i = first.length, - j = 0; - - if ( typeof l === "number" ) { - for ( ; j < l; j++ ) { - first[ i++ ] = second[ j ]; - } - } else { - while ( second[j] !== undefined ) { - first[ i++ ] = second[ j++ ]; - } - } - - first.length = i; - - return first; - }, - - grep: function( elems, callback, inv ) { - var retVal, - ret = [], - i = 0, - length = elems.length; - inv = !!inv; - - // Go through the array, only saving the items - // that pass the validator function - for ( ; i < length; i++ ) { - retVal = !!callback( elems[ i ], i ); - if ( inv !== retVal ) { - ret.push( elems[ i ] ); - } - } - - return ret; - }, - - // arg is for internal usage only - map: function( elems, callback, arg ) { - var value, - i = 0, - length = elems.length, - isArray = isArraylike( elems ), - ret = []; - - // Go through the array, translating each of the items to their - if ( isArray ) { - for ( ; i < length; i++ ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - - // Go through every key on the object, - } else { - for ( i in elems ) { - value = callback( elems[ i ], i, arg ); - - if ( value != null ) { - ret[ ret.length ] = value; - } - } - } - - // Flatten any nested arrays - return core_concat.apply( [], ret ); - }, - - // A global GUID counter for objects - guid: 1, - - // Bind a function to a context, optionally partially applying any - // arguments. - proxy: function( fn, context ) { - var args, proxy, tmp; - - if ( typeof context === "string" ) { - tmp = fn[ context ]; - context = fn; - fn = tmp; - } - - // Quick check to determine if target is callable, in the spec - // this throws a TypeError, but we will just return undefined. - if ( !jQuery.isFunction( fn ) ) { - return undefined; - } - - // Simulated bind - args = core_slice.call( arguments, 2 ); - proxy = function() { - return fn.apply( context || this, args.concat( core_slice.call( arguments ) ) ); - }; - - // Set the guid of unique handler to the same of original handler, so it can be removed - proxy.guid = fn.guid = fn.guid || jQuery.guid++; - - return proxy; - }, - - // Multifunctional method to get and set values of a collection - // The value/s can optionally be executed if it's a function - access: function( elems, fn, key, value, chainable, emptyGet, raw ) { - var i = 0, - length = elems.length, - bulk = key == null; - - // Sets many values - if ( jQuery.type( key ) === "object" ) { - chainable = true; - for ( i in key ) { - jQuery.access( elems, fn, i, key[i], true, emptyGet, raw ); - } - - // Sets one value - } else if ( value !== undefined ) { - chainable = true; - - if ( !jQuery.isFunction( value ) ) { - raw = true; - } - - if ( bulk ) { - // Bulk operations run against the entire set - if ( raw ) { - fn.call( elems, value ); - fn = null; - - // ...except when executing function values - } else { - bulk = fn; - fn = function( elem, key, value ) { - return bulk.call( jQuery( elem ), value ); - }; - } - } - - if ( fn ) { - for ( ; i < length; i++ ) { - fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) ); - } - } - } - - return chainable ? - elems : - - // Gets - bulk ? - fn.call( elems ) : - length ? fn( elems[0], key ) : emptyGet; - }, - - now: function() { - return ( new Date() ).getTime(); - } -}); - -jQuery.ready.promise = function( obj ) { - if ( !readyList ) { - - readyList = jQuery.Deferred(); - - // Catch cases where $(document).ready() is called after the browser event has already occurred. - // we once tried to use readyState "interactive" here, but it caused issues like the one - // discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15 - if ( document.readyState === "complete" ) { - // Handle it asynchronously to allow scripts the opportunity to delay ready - setTimeout( jQuery.ready ); - - // Standards-based browsers support DOMContentLoaded - } else if ( document.addEventListener ) { - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", completed, false ); - - // A fallback to window.onload, that will always work - window.addEventListener( "load", completed, false ); - - // If IE event model is used - } else { - // Ensure firing before onload, maybe late but safe also for iframes - document.attachEvent( "onreadystatechange", completed ); - - // A fallback to window.onload, that will always work - window.attachEvent( "onload", completed ); - - // If IE and not a frame - // continually check to see if the document is ready - var top = false; - - try { - top = window.frameElement == null && document.documentElement; - } catch(e) {} - - if ( top && top.doScroll ) { - (function doScrollCheck() { - if ( !jQuery.isReady ) { - - try { - // Use the trick by Diego Perini - // http://javascript.nwbox.com/IEContentLoaded/ - top.doScroll("left"); - } catch(e) { - return setTimeout( doScrollCheck, 50 ); - } - - // detach all dom ready events - detach(); - - // and execute any waiting functions - jQuery.ready(); - } - })(); - } - } - } - return readyList.promise( obj ); -}; - -// Populate the class2type map -jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) { - class2type[ "[object " + name + "]" ] = name.toLowerCase(); -}); - -function isArraylike( obj ) { - var length = obj.length, - type = jQuery.type( obj ); - - if ( jQuery.isWindow( obj ) ) { - return false; - } - - if ( obj.nodeType === 1 && length ) { - return true; - } - - return type === "array" || type !== "function" && - ( length === 0 || - typeof length === "number" && length > 0 && ( length - 1 ) in obj ); -} - -// All jQuery objects should point back to these -rootjQuery = jQuery(document); -// String to Object options format cache -var optionsCache = {}; - -// Convert String-formatted options into Object-formatted ones and store in cache -function createOptions( options ) { - var object = optionsCache[ options ] = {}; - jQuery.each( options.match( core_rnotwhite ) || [], function( _, flag ) { - object[ flag ] = true; - }); - return object; -} - -/* - * Create a callback list using the following parameters: - * - * options: an optional list of space-separated options that will change how - * the callback list behaves or a more traditional option object - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible options: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ -jQuery.Callbacks = function( options ) { - - // Convert options from String-formatted to Object-formatted if needed - // (we check in cache first) - options = typeof options === "string" ? - ( optionsCache[ options ] || createOptions( options ) ) : - jQuery.extend( {}, options ); - - var // Flag to know if list is currently firing - firing, - // Last fire value (for non-forgettable lists) - memory, - // Flag to know if list was already fired - fired, - // End of the loop when firing - firingLength, - // Index of currently firing callback (modified by remove if needed) - firingIndex, - // First callback to fire (used internally by add and fireWith) - firingStart, - // Actual callback list - list = [], - // Stack of fire calls for repeatable lists - stack = !options.once && [], - // Fire callbacks - fire = function( data ) { - memory = options.memory && data; - fired = true; - firingIndex = firingStart || 0; - firingStart = 0; - firingLength = list.length; - firing = true; - for ( ; list && firingIndex < firingLength; firingIndex++ ) { - if ( list[ firingIndex ].apply( data[ 0 ], data[ 1 ] ) === false && options.stopOnFalse ) { - memory = false; // To prevent further calls using add - break; - } - } - firing = false; - if ( list ) { - if ( stack ) { - if ( stack.length ) { - fire( stack.shift() ); - } - } else if ( memory ) { - list = []; - } else { - self.disable(); - } - } - }, - // Actual Callbacks object - self = { - // Add a callback or a collection of callbacks to the list - add: function() { - if ( list ) { - // First, we save the current length - var start = list.length; - (function add( args ) { - jQuery.each( args, function( _, arg ) { - var type = jQuery.type( arg ); - if ( type === "function" ) { - if ( !options.unique || !self.has( arg ) ) { - list.push( arg ); - } - } else if ( arg && arg.length && type !== "string" ) { - // Inspect recursively - add( arg ); - } - }); - })( arguments ); - // Do we need to add the callbacks to the - // current firing batch? - if ( firing ) { - firingLength = list.length; - // With memory, if we're not firing then - // we should call right away - } else if ( memory ) { - firingStart = start; - fire( memory ); - } - } - return this; - }, - // Remove a callback from the list - remove: function() { - if ( list ) { - jQuery.each( arguments, function( _, arg ) { - var index; - while( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { - list.splice( index, 1 ); - // Handle firing indexes - if ( firing ) { - if ( index <= firingLength ) { - firingLength--; - } - if ( index <= firingIndex ) { - firingIndex--; - } - } - } - }); - } - return this; - }, - // Check if a given callback is in the list. - // If no argument is given, return whether or not list has callbacks attached. - has: function( fn ) { - return fn ? jQuery.inArray( fn, list ) > -1 : !!( list && list.length ); - }, - // Remove all callbacks from the list - empty: function() { - list = []; - return this; - }, - // Have the list do nothing anymore - disable: function() { - list = stack = memory = undefined; - return this; - }, - // Is it disabled? - disabled: function() { - return !list; - }, - // Lock the list in its current state - lock: function() { - stack = undefined; - if ( !memory ) { - self.disable(); - } - return this; - }, - // Is it locked? - locked: function() { - return !stack; - }, - // Call all callbacks with the given context and arguments - fireWith: function( context, args ) { - args = args || []; - args = [ context, args.slice ? args.slice() : args ]; - if ( list && ( !fired || stack ) ) { - if ( firing ) { - stack.push( args ); - } else { - fire( args ); - } - } - return this; - }, - // Call all the callbacks with the given arguments - fire: function() { - self.fireWith( this, arguments ); - return this; - }, - // To know if the callbacks have already been called at least once - fired: function() { - return !!fired; - } - }; - - return self; -}; -jQuery.extend({ - - Deferred: function( func ) { - var tuples = [ - // action, add listener, listener list, final state - [ "resolve", "done", jQuery.Callbacks("once memory"), "resolved" ], - [ "reject", "fail", jQuery.Callbacks("once memory"), "rejected" ], - [ "notify", "progress", jQuery.Callbacks("memory") ] - ], - state = "pending", - promise = { - state: function() { - return state; - }, - always: function() { - deferred.done( arguments ).fail( arguments ); - return this; - }, - then: function( /* fnDone, fnFail, fnProgress */ ) { - var fns = arguments; - return jQuery.Deferred(function( newDefer ) { - jQuery.each( tuples, function( i, tuple ) { - var action = tuple[ 0 ], - fn = jQuery.isFunction( fns[ i ] ) && fns[ i ]; - // deferred[ done | fail | progress ] for forwarding actions to newDefer - deferred[ tuple[1] ](function() { - var returned = fn && fn.apply( this, arguments ); - if ( returned && jQuery.isFunction( returned.promise ) ) { - returned.promise() - .done( newDefer.resolve ) - .fail( newDefer.reject ) - .progress( newDefer.notify ); - } else { - newDefer[ action + "With" ]( this === promise ? newDefer.promise() : this, fn ? [ returned ] : arguments ); - } - }); - }); - fns = null; - }).promise(); - }, - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function( obj ) { - return obj != null ? jQuery.extend( obj, promise ) : promise; - } - }, - deferred = {}; - - // Keep pipe for back-compat - promise.pipe = promise.then; - - // Add list-specific methods - jQuery.each( tuples, function( i, tuple ) { - var list = tuple[ 2 ], - stateString = tuple[ 3 ]; - - // promise[ done | fail | progress ] = list.add - promise[ tuple[1] ] = list.add; - - // Handle state - if ( stateString ) { - list.add(function() { - // state = [ resolved | rejected ] - state = stateString; - - // [ reject_list | resolve_list ].disable; progress_list.lock - }, tuples[ i ^ 1 ][ 2 ].disable, tuples[ 2 ][ 2 ].lock ); - } - - // deferred[ resolve | reject | notify ] - deferred[ tuple[0] ] = function() { - deferred[ tuple[0] + "With" ]( this === deferred ? promise : this, arguments ); - return this; - }; - deferred[ tuple[0] + "With" ] = list.fireWith; - }); - - // Make the deferred a promise - promise.promise( deferred ); - - // Call given func if any - if ( func ) { - func.call( deferred, deferred ); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function( subordinate /* , ..., subordinateN */ ) { - var i = 0, - resolveValues = core_slice.call( arguments ), - length = resolveValues.length, - - // the count of uncompleted subordinates - remaining = length !== 1 || ( subordinate && jQuery.isFunction( subordinate.promise ) ) ? length : 0, - - // the master Deferred. If resolveValues consist of only a single Deferred, just use that. - deferred = remaining === 1 ? subordinate : jQuery.Deferred(), - - // Update function for both resolve and progress values - updateFunc = function( i, contexts, values ) { - return function( value ) { - contexts[ i ] = this; - values[ i ] = arguments.length > 1 ? core_slice.call( arguments ) : value; - if( values === progressValues ) { - deferred.notifyWith( contexts, values ); - } else if ( !( --remaining ) ) { - deferred.resolveWith( contexts, values ); - } - }; - }, - - progressValues, progressContexts, resolveContexts; - - // add listeners to Deferred subordinates; treat others as resolved - if ( length > 1 ) { - progressValues = new Array( length ); - progressContexts = new Array( length ); - resolveContexts = new Array( length ); - for ( ; i < length; i++ ) { - if ( resolveValues[ i ] && jQuery.isFunction( resolveValues[ i ].promise ) ) { - resolveValues[ i ].promise() - .done( updateFunc( i, resolveContexts, resolveValues ) ) - .fail( deferred.reject ) - .progress( updateFunc( i, progressContexts, progressValues ) ); - } else { - --remaining; - } - } - } - - // if we're not waiting on anything, resolve the master - if ( !remaining ) { - deferred.resolveWith( resolveContexts, resolveValues ); - } - - return deferred.promise(); - } -}); -jQuery.support = (function() { - - var support, all, a, - input, select, fragment, - opt, eventName, isSupported, i, - div = document.createElement("div"); - - // Setup - div.setAttribute( "className", "t" ); - div.innerHTML = "
                    a"; - - // Support tests won't run in some limited or non-browser environments - all = div.getElementsByTagName("*"); - a = div.getElementsByTagName("a")[ 0 ]; - if ( !all || !a || !all.length ) { - return {}; - } - - // First batch of tests - select = document.createElement("select"); - opt = select.appendChild( document.createElement("option") ); - input = div.getElementsByTagName("input")[ 0 ]; - - a.style.cssText = "top:1px;float:left;opacity:.5"; - support = { - // Test setAttribute on camelCase class. If it works, we need attrFixes when doing get/setAttribute (ie6/7) - getSetAttribute: div.className !== "t", - - // IE strips leading whitespace when .innerHTML is used - leadingWhitespace: div.firstChild.nodeType === 3, - - // Make sure that tbody elements aren't automatically inserted - // IE will insert them into empty tables - tbody: !div.getElementsByTagName("tbody").length, - - // Make sure that link elements get serialized correctly by innerHTML - // This requires a wrapper element in IE - htmlSerialize: !!div.getElementsByTagName("link").length, - - // Get the style information from getAttribute - // (IE uses .cssText instead) - style: /top/.test( a.getAttribute("style") ), - - // Make sure that URLs aren't manipulated - // (IE normalizes it by default) - hrefNormalized: a.getAttribute("href") === "/a", - - // Make sure that element opacity exists - // (IE uses filter instead) - // Use a regex to work around a WebKit issue. See #5145 - opacity: /^0.5/.test( a.style.opacity ), - - // Verify style float existence - // (IE uses styleFloat instead of cssFloat) - cssFloat: !!a.style.cssFloat, - - // Check the default checkbox/radio value ("" on WebKit; "on" elsewhere) - checkOn: !!input.value, - - // Make sure that a selected-by-default option has a working selected property. - // (WebKit defaults to false instead of true, IE too, if it's in an optgroup) - optSelected: opt.selected, - - // Tests for enctype support on a form (#6743) - enctype: !!document.createElement("form").enctype, - - // Makes sure cloning an html5 element does not cause problems - // Where outerHTML is undefined, this still works - html5Clone: document.createElement("nav").cloneNode( true ).outerHTML !== "<:nav>", - - // jQuery.support.boxModel DEPRECATED in 1.8 since we don't support Quirks Mode - boxModel: document.compatMode === "CSS1Compat", - - // Will be defined later - deleteExpando: true, - noCloneEvent: true, - inlineBlockNeedsLayout: false, - shrinkWrapBlocks: false, - reliableMarginRight: true, - boxSizingReliable: true, - pixelPosition: false - }; - - // Make sure checked status is properly cloned - input.checked = true; - support.noCloneChecked = input.cloneNode( true ).checked; - - // Make sure that the options inside disabled selects aren't marked as disabled - // (WebKit marks them as disabled) - select.disabled = true; - support.optDisabled = !opt.disabled; - - // Support: IE<9 - try { - delete div.test; - } catch( e ) { - support.deleteExpando = false; - } - - // Check if we can trust getAttribute("value") - input = document.createElement("input"); - input.setAttribute( "value", "" ); - support.input = input.getAttribute( "value" ) === ""; - - // Check if an input maintains its value after becoming a radio - input.value = "t"; - input.setAttribute( "type", "radio" ); - support.radioValue = input.value === "t"; - - // #11217 - WebKit loses check when the name is after the checked attribute - input.setAttribute( "checked", "t" ); - input.setAttribute( "name", "t" ); - - fragment = document.createDocumentFragment(); - fragment.appendChild( input ); - - // Check if a disconnected checkbox will retain its checked - // value of true after appended to the DOM (IE6/7) - support.appendChecked = input.checked; - - // WebKit doesn't clone checked state correctly in fragments - support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked; - - // Support: IE<9 - // Opera does not clone events (and typeof div.attachEvent === undefined). - // IE9-10 clones events bound via attachEvent, but they don't trigger with .click() - if ( div.attachEvent ) { - div.attachEvent( "onclick", function() { - support.noCloneEvent = false; - }); - - div.cloneNode( true ).click(); - } - - // Support: IE<9 (lack submit/change bubble), Firefox 17+ (lack focusin event) - // Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP), test/csp.php - for ( i in { submit: true, change: true, focusin: true }) { - div.setAttribute( eventName = "on" + i, "t" ); - - support[ i + "Bubbles" ] = eventName in window || div.attributes[ eventName ].expando === false; - } - - div.style.backgroundClip = "content-box"; - div.cloneNode( true ).style.backgroundClip = ""; - support.clearCloneStyle = div.style.backgroundClip === "content-box"; - - // Run tests that need a body at doc ready - jQuery(function() { - var container, marginDiv, tds, - divReset = "padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;", - body = document.getElementsByTagName("body")[0]; - - if ( !body ) { - // Return for frameset docs that don't have a body - return; - } - - container = document.createElement("div"); - container.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px"; - - body.appendChild( container ).appendChild( div ); - - // Support: IE8 - // Check if table cells still have offsetWidth/Height when they are set - // to display:none and there are still other visible table cells in a - // table row; if so, offsetWidth/Height are not reliable for use when - // determining if an element has been hidden directly using - // display:none (it is still safe to use offsets if a parent element is - // hidden; don safety goggles and see bug #4512 for more information). - div.innerHTML = "
                    t
                    "; - tds = div.getElementsByTagName("td"); - tds[ 0 ].style.cssText = "padding:0;margin:0;border:0;display:none"; - isSupported = ( tds[ 0 ].offsetHeight === 0 ); - - tds[ 0 ].style.display = ""; - tds[ 1 ].style.display = "none"; - - // Support: IE8 - // Check if empty table cells still have offsetWidth/Height - support.reliableHiddenOffsets = isSupported && ( tds[ 0 ].offsetHeight === 0 ); - - // Check box-sizing and margin behavior - div.innerHTML = ""; - div.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;"; - support.boxSizing = ( div.offsetWidth === 4 ); - support.doesNotIncludeMarginInBodyOffset = ( body.offsetTop !== 1 ); - - // Use window.getComputedStyle because jsdom on node.js will break without it. - if ( window.getComputedStyle ) { - support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%"; - support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px"; - - // Check if div with explicit width and no margin-right incorrectly - // gets computed margin-right based on width of container. (#3333) - // Fails in WebKit before Feb 2011 nightlies - // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right - marginDiv = div.appendChild( document.createElement("div") ); - marginDiv.style.cssText = div.style.cssText = divReset; - marginDiv.style.marginRight = marginDiv.style.width = "0"; - div.style.width = "1px"; - - support.reliableMarginRight = - !parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight ); - } - - if ( typeof div.style.zoom !== core_strundefined ) { - // Support: IE<8 - // Check if natively block-level elements act like inline-block - // elements when setting their display to 'inline' and giving - // them layout - div.innerHTML = ""; - div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1"; - support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 ); - - // Support: IE6 - // Check if elements with layout shrink-wrap their children - div.style.display = "block"; - div.innerHTML = "
                    "; - div.firstChild.style.width = "5px"; - support.shrinkWrapBlocks = ( div.offsetWidth !== 3 ); - - if ( support.inlineBlockNeedsLayout ) { - // Prevent IE 6 from affecting layout for positioned elements #11048 - // Prevent IE from shrinking the body in IE 7 mode #12869 - // Support: IE<8 - body.style.zoom = 1; - } - } - - body.removeChild( container ); - - // Null elements to avoid leaks in IE - container = div = tds = marginDiv = null; - }); - - // Null elements to avoid leaks in IE - all = select = fragment = opt = a = input = null; - - return support; -})(); - -var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, - rmultiDash = /([A-Z])/g; - -function internalData( elem, name, data, pvt /* Internal Use Only */ ){ - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var thisCache, ret, - internalKey = jQuery.expando, - getByName = typeof name === "string", - - // We have to handle DOM nodes and JS objects differently because IE6-7 - // can't GC object references properly across the DOM-JS boundary - isNode = elem.nodeType, - - // Only DOM nodes need the global jQuery cache; JS object data is - // attached directly to the object so GC can occur automatically - cache = isNode ? jQuery.cache : elem, - - // Only defining an ID for JS objects if its cache already exists allows - // the code to shortcut on the same path as a DOM node with no cache - id = isNode ? elem[ internalKey ] : elem[ internalKey ] && internalKey; - - // Avoid doing any more work than we need to when trying to get data on an - // object that has no data at all - if ( (!id || !cache[id] || (!pvt && !cache[id].data)) && getByName && data === undefined ) { - return; - } - - if ( !id ) { - // Only DOM nodes need a new unique ID for each element since their data - // ends up in the global cache - if ( isNode ) { - elem[ internalKey ] = id = core_deletedIds.pop() || jQuery.guid++; - } else { - id = internalKey; - } - } - - if ( !cache[ id ] ) { - cache[ id ] = {}; - - // Avoids exposing jQuery metadata on plain JS objects when the object - // is serialized using JSON.stringify - if ( !isNode ) { - cache[ id ].toJSON = jQuery.noop; - } - } - - // An object can be passed to jQuery.data instead of a key/value pair; this gets - // shallow copied over onto the existing cache - if ( typeof name === "object" || typeof name === "function" ) { - if ( pvt ) { - cache[ id ] = jQuery.extend( cache[ id ], name ); - } else { - cache[ id ].data = jQuery.extend( cache[ id ].data, name ); - } - } - - thisCache = cache[ id ]; - - // jQuery data() is stored in a separate object inside the object's internal data - // cache in order to avoid key collisions between internal data and user-defined - // data. - if ( !pvt ) { - if ( !thisCache.data ) { - thisCache.data = {}; - } - - thisCache = thisCache.data; - } - - if ( data !== undefined ) { - thisCache[ jQuery.camelCase( name ) ] = data; - } - - // Check for both converted-to-camel and non-converted data property names - // If a data property was specified - if ( getByName ) { - - // First Try to find as-is property data - ret = thisCache[ name ]; - - // Test for null|undefined property data - if ( ret == null ) { - - // Try to find the camelCased property - ret = thisCache[ jQuery.camelCase( name ) ]; - } - } else { - ret = thisCache; - } - - return ret; -} - -function internalRemoveData( elem, name, pvt ) { - if ( !jQuery.acceptData( elem ) ) { - return; - } - - var i, l, thisCache, - isNode = elem.nodeType, - - // See jQuery.data for more information - cache = isNode ? jQuery.cache : elem, - id = isNode ? elem[ jQuery.expando ] : jQuery.expando; - - // If there is already no cache entry for this object, there is no - // purpose in continuing - if ( !cache[ id ] ) { - return; - } - - if ( name ) { - - thisCache = pvt ? cache[ id ] : cache[ id ].data; - - if ( thisCache ) { - - // Support array or space separated string names for data keys - if ( !jQuery.isArray( name ) ) { - - // try the string as a key before any manipulation - if ( name in thisCache ) { - name = [ name ]; - } else { - - // split the camel cased version by spaces unless a key with the spaces exists - name = jQuery.camelCase( name ); - if ( name in thisCache ) { - name = [ name ]; - } else { - name = name.split(" "); - } - } - } else { - // If "name" is an array of keys... - // When data is initially created, via ("key", "val") signature, - // keys will be converted to camelCase. - // Since there is no way to tell _how_ a key was added, remove - // both plain key and camelCase key. #12786 - // This will only penalize the array argument path. - name = name.concat( jQuery.map( name, jQuery.camelCase ) ); - } - - for ( i = 0, l = name.length; i < l; i++ ) { - delete thisCache[ name[i] ]; - } - - // If there is no data left in the cache, we want to continue - // and let the cache object itself get destroyed - if ( !( pvt ? isEmptyDataObject : jQuery.isEmptyObject )( thisCache ) ) { - return; - } - } - } - - // See jQuery.data for more information - if ( !pvt ) { - delete cache[ id ].data; - - // Don't destroy the parent cache unless the internal data object - // had been the only thing left in it - if ( !isEmptyDataObject( cache[ id ] ) ) { - return; - } - } - - // Destroy the cache - if ( isNode ) { - jQuery.cleanData( [ elem ], true ); - - // Use delete when supported for expandos or `cache` is not a window per isWindow (#10080) - } else if ( jQuery.support.deleteExpando || cache != cache.window ) { - delete cache[ id ]; - - // When all else fails, null - } else { - cache[ id ] = null; - } -} - -jQuery.extend({ - cache: {}, - - // Unique for each copy of jQuery on the page - // Non-digits removed to match rinlinejQuery - expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ), - - // The following elements throw uncatchable exceptions if you - // attempt to add expando properties to them. - noData: { - "embed": true, - // Ban all objects except for Flash (which handle expandos) - "object": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000", - "applet": true - }, - - hasData: function( elem ) { - elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ]; - return !!elem && !isEmptyDataObject( elem ); - }, - - data: function( elem, name, data ) { - return internalData( elem, name, data ); - }, - - removeData: function( elem, name ) { - return internalRemoveData( elem, name ); - }, - - // For internal use only. - _data: function( elem, name, data ) { - return internalData( elem, name, data, true ); - }, - - _removeData: function( elem, name ) { - return internalRemoveData( elem, name, true ); - }, - - // A method for determining if a DOM node can handle the data expando - acceptData: function( elem ) { - // Do not set data on non-element because it will not be cleared (#8335). - if ( elem.nodeType && elem.nodeType !== 1 && elem.nodeType !== 9 ) { - return false; - } - - var noData = elem.nodeName && jQuery.noData[ elem.nodeName.toLowerCase() ]; - - // nodes accept data unless otherwise specified; rejection can be conditional - return !noData || noData !== true && elem.getAttribute("classid") === noData; - } -}); - -jQuery.fn.extend({ - data: function( key, value ) { - var attrs, name, - elem = this[0], - i = 0, - data = null; - - // Gets all values - if ( key === undefined ) { - if ( this.length ) { - data = jQuery.data( elem ); - - if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) { - attrs = elem.attributes; - for ( ; i < attrs.length; i++ ) { - name = attrs[i].name; - - if ( !name.indexOf( "data-" ) ) { - name = jQuery.camelCase( name.slice(5) ); - - dataAttr( elem, name, data[ name ] ); - } - } - jQuery._data( elem, "parsedAttrs", true ); - } - } - - return data; - } - - // Sets multiple values - if ( typeof key === "object" ) { - return this.each(function() { - jQuery.data( this, key ); - }); - } - - return jQuery.access( this, function( value ) { - - if ( value === undefined ) { - // Try to fetch any internally stored data first - return elem ? dataAttr( elem, key, jQuery.data( elem, key ) ) : null; - } - - this.each(function() { - jQuery.data( this, key, value ); - }); - }, null, value, arguments.length > 1, null, true ); - }, - - removeData: function( key ) { - return this.each(function() { - jQuery.removeData( this, key ); - }); - } -}); - -function dataAttr( elem, key, data ) { - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if ( data === undefined && elem.nodeType === 1 ) { - - var name = "data-" + key.replace( rmultiDash, "-$1" ).toLowerCase(); - - data = elem.getAttribute( name ); - - if ( typeof data === "string" ) { - try { - data = data === "true" ? true : - data === "false" ? false : - data === "null" ? null : - // Only convert to a number if it doesn't change the string - +data + "" === data ? +data : - rbrace.test( data ) ? jQuery.parseJSON( data ) : - data; - } catch( e ) {} - - // Make sure we set the data so it isn't changed later - jQuery.data( elem, key, data ); - - } else { - data = undefined; - } - } - - return data; -} - -// checks a cache object for emptiness -function isEmptyDataObject( obj ) { - var name; - for ( name in obj ) { - - // if the public data object is empty, the private is still empty - if ( name === "data" && jQuery.isEmptyObject( obj[name] ) ) { - continue; - } - if ( name !== "toJSON" ) { - return false; - } - } - - return true; -} -jQuery.extend({ - queue: function( elem, type, data ) { - var queue; - - if ( elem ) { - type = ( type || "fx" ) + "queue"; - queue = jQuery._data( elem, type ); - - // Speed up dequeue by getting out quickly if this is just a lookup - if ( data ) { - if ( !queue || jQuery.isArray(data) ) { - queue = jQuery._data( elem, type, jQuery.makeArray(data) ); - } else { - queue.push( data ); - } - } - return queue || []; - } - }, - - dequeue: function( elem, type ) { - type = type || "fx"; - - var queue = jQuery.queue( elem, type ), - startLength = queue.length, - fn = queue.shift(), - hooks = jQuery._queueHooks( elem, type ), - next = function() { - jQuery.dequeue( elem, type ); - }; - - // If the fx queue is dequeued, always remove the progress sentinel - if ( fn === "inprogress" ) { - fn = queue.shift(); - startLength--; - } - - hooks.cur = fn; - if ( fn ) { - - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if ( type === "fx" ) { - queue.unshift( "inprogress" ); - } - - // clear up the last queue stop function - delete hooks.stop; - fn.call( elem, next, hooks ); - } - - if ( !startLength && hooks ) { - hooks.empty.fire(); - } - }, - - // not intended for public consumption - generates a queueHooks object, or returns the current one - _queueHooks: function( elem, type ) { - var key = type + "queueHooks"; - return jQuery._data( elem, key ) || jQuery._data( elem, key, { - empty: jQuery.Callbacks("once memory").add(function() { - jQuery._removeData( elem, type + "queue" ); - jQuery._removeData( elem, key ); - }) - }); - } -}); - -jQuery.fn.extend({ - queue: function( type, data ) { - var setter = 2; - - if ( typeof type !== "string" ) { - data = type; - type = "fx"; - setter--; - } - - if ( arguments.length < setter ) { - return jQuery.queue( this[0], type ); - } - - return data === undefined ? - this : - this.each(function() { - var queue = jQuery.queue( this, type, data ); - - // ensure a hooks for this queue - jQuery._queueHooks( this, type ); - - if ( type === "fx" && queue[0] !== "inprogress" ) { - jQuery.dequeue( this, type ); - } - }); - }, - dequeue: function( type ) { - return this.each(function() { - jQuery.dequeue( this, type ); - }); - }, - // Based off of the plugin by Clint Helfers, with permission. - // http://blindsignals.com/index.php/2009/07/jquery-delay/ - delay: function( time, type ) { - time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; - type = type || "fx"; - - return this.queue( type, function( next, hooks ) { - var timeout = setTimeout( next, time ); - hooks.stop = function() { - clearTimeout( timeout ); - }; - }); - }, - clearQueue: function( type ) { - return this.queue( type || "fx", [] ); - }, - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function( type, obj ) { - var tmp, - count = 1, - defer = jQuery.Deferred(), - elements = this, - i = this.length, - resolve = function() { - if ( !( --count ) ) { - defer.resolveWith( elements, [ elements ] ); - } - }; - - if ( typeof type !== "string" ) { - obj = type; - type = undefined; - } - type = type || "fx"; - - while( i-- ) { - tmp = jQuery._data( elements[ i ], type + "queueHooks" ); - if ( tmp && tmp.empty ) { - count++; - tmp.empty.add( resolve ); - } - } - resolve(); - return defer.promise( obj ); - } -}); -var nodeHook, boolHook, - rclass = /[\t\r\n]/g, - rreturn = /\r/g, - rfocusable = /^(?:input|select|textarea|button|object)$/i, - rclickable = /^(?:a|area)$/i, - rboolean = /^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i, - ruseDefault = /^(?:checked|selected)$/i, - getSetAttribute = jQuery.support.getSetAttribute, - getSetInput = jQuery.support.input; - -jQuery.fn.extend({ - attr: function( name, value ) { - return jQuery.access( this, jQuery.attr, name, value, arguments.length > 1 ); - }, - - removeAttr: function( name ) { - return this.each(function() { - jQuery.removeAttr( this, name ); - }); - }, - - prop: function( name, value ) { - return jQuery.access( this, jQuery.prop, name, value, arguments.length > 1 ); - }, - - removeProp: function( name ) { - name = jQuery.propFix[ name ] || name; - return this.each(function() { - // try/catch handles cases where IE balks (such as removing a property on window) - try { - this[ name ] = undefined; - delete this[ name ]; - } catch( e ) {} - }); - }, - - addClass: function( value ) { - var classes, elem, cur, clazz, j, - i = 0, - len = this.length, - proceed = typeof value === "string" && value; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).addClass( value.call( this, j, this.className ) ); - }); - } - - if ( proceed ) { - // The disjunction here is for better compressibility (see removeClass) - classes = ( value || "" ).match( core_rnotwhite ) || []; - - for ( ; i < len; i++ ) { - elem = this[ i ]; - cur = elem.nodeType === 1 && ( elem.className ? - ( " " + elem.className + " " ).replace( rclass, " " ) : - " " - ); - - if ( cur ) { - j = 0; - while ( (clazz = classes[j++]) ) { - if ( cur.indexOf( " " + clazz + " " ) < 0 ) { - cur += clazz + " "; - } - } - elem.className = jQuery.trim( cur ); - - } - } - } - - return this; - }, - - removeClass: function( value ) { - var classes, elem, cur, clazz, j, - i = 0, - len = this.length, - proceed = arguments.length === 0 || typeof value === "string" && value; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( j ) { - jQuery( this ).removeClass( value.call( this, j, this.className ) ); - }); - } - if ( proceed ) { - classes = ( value || "" ).match( core_rnotwhite ) || []; - - for ( ; i < len; i++ ) { - elem = this[ i ]; - // This expression is here for better compressibility (see addClass) - cur = elem.nodeType === 1 && ( elem.className ? - ( " " + elem.className + " " ).replace( rclass, " " ) : - "" - ); - - if ( cur ) { - j = 0; - while ( (clazz = classes[j++]) ) { - // Remove *all* instances - while ( cur.indexOf( " " + clazz + " " ) >= 0 ) { - cur = cur.replace( " " + clazz + " ", " " ); - } - } - elem.className = value ? jQuery.trim( cur ) : ""; - } - } - } - - return this; - }, - - toggleClass: function( value, stateVal ) { - var type = typeof value, - isBool = typeof stateVal === "boolean"; - - if ( jQuery.isFunction( value ) ) { - return this.each(function( i ) { - jQuery( this ).toggleClass( value.call(this, i, this.className, stateVal), stateVal ); - }); - } - - return this.each(function() { - if ( type === "string" ) { - // toggle individual class names - var className, - i = 0, - self = jQuery( this ), - state = stateVal, - classNames = value.match( core_rnotwhite ) || []; - - while ( (className = classNames[ i++ ]) ) { - // check each className given, space separated list - state = isBool ? state : !self.hasClass( className ); - self[ state ? "addClass" : "removeClass" ]( className ); - } - - // Toggle whole class name - } else if ( type === core_strundefined || type === "boolean" ) { - if ( this.className ) { - // store className if set - jQuery._data( this, "__className__", this.className ); - } - - // If the element has a class name or if we're passed "false", - // then remove the whole classname (if there was one, the above saved it). - // Otherwise bring back whatever was previously saved (if anything), - // falling back to the empty string if nothing was stored. - this.className = this.className || value === false ? "" : jQuery._data( this, "__className__" ) || ""; - } - }); - }, - - hasClass: function( selector ) { - var className = " " + selector + " ", - i = 0, - l = this.length; - for ( ; i < l; i++ ) { - if ( this[i].nodeType === 1 && (" " + this[i].className + " ").replace(rclass, " ").indexOf( className ) >= 0 ) { - return true; - } - } - - return false; - }, - - val: function( value ) { - var ret, hooks, isFunction, - elem = this[0]; - - if ( !arguments.length ) { - if ( elem ) { - hooks = jQuery.valHooks[ elem.type ] || jQuery.valHooks[ elem.nodeName.toLowerCase() ]; - - if ( hooks && "get" in hooks && (ret = hooks.get( elem, "value" )) !== undefined ) { - return ret; - } - - ret = elem.value; - - return typeof ret === "string" ? - // handle most common string cases - ret.replace(rreturn, "") : - // handle cases where value is null/undef or number - ret == null ? "" : ret; - } - - return; - } - - isFunction = jQuery.isFunction( value ); - - return this.each(function( i ) { - var val, - self = jQuery(this); - - if ( this.nodeType !== 1 ) { - return; - } - - if ( isFunction ) { - val = value.call( this, i, self.val() ); - } else { - val = value; - } - - // Treat null/undefined as ""; convert numbers to string - if ( val == null ) { - val = ""; - } else if ( typeof val === "number" ) { - val += ""; - } else if ( jQuery.isArray( val ) ) { - val = jQuery.map(val, function ( value ) { - return value == null ? "" : value + ""; - }); - } - - hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; - - // If set returns undefined, fall back to normal setting - if ( !hooks || !("set" in hooks) || hooks.set( this, val, "value" ) === undefined ) { - this.value = val; - } - }); - } -}); - -jQuery.extend({ - valHooks: { - option: { - get: function( elem ) { - // attributes.value is undefined in Blackberry 4.7 but - // uses .value. See #6932 - var val = elem.attributes.value; - return !val || val.specified ? elem.value : elem.text; - } - }, - select: { - get: function( elem ) { - var value, option, - options = elem.options, - index = elem.selectedIndex, - one = elem.type === "select-one" || index < 0, - values = one ? null : [], - max = one ? index + 1 : options.length, - i = index < 0 ? - max : - one ? index : 0; - - // Loop through all the selected options - for ( ; i < max; i++ ) { - option = options[ i ]; - - // oldIE doesn't update selected after form reset (#2551) - if ( ( option.selected || i === index ) && - // Don't return options that are disabled or in a disabled optgroup - ( jQuery.support.optDisabled ? !option.disabled : option.getAttribute("disabled") === null ) && - ( !option.parentNode.disabled || !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) { - - // Get the specific value for the option - value = jQuery( option ).val(); - - // We don't need an array for one selects - if ( one ) { - return value; - } - - // Multi-Selects return an array - values.push( value ); - } - } - - return values; - }, - - set: function( elem, value ) { - var values = jQuery.makeArray( value ); - - jQuery(elem).find("option").each(function() { - this.selected = jQuery.inArray( jQuery(this).val(), values ) >= 0; - }); - - if ( !values.length ) { - elem.selectedIndex = -1; - } - return values; - } - } - }, - - attr: function( elem, name, value ) { - var hooks, notxml, ret, - nType = elem.nodeType; - - // don't get/set attributes on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - // Fallback to prop when attributes are not supported - if ( typeof elem.getAttribute === core_strundefined ) { - return jQuery.prop( elem, name, value ); - } - - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - // All attributes are lowercase - // Grab necessary hook if one is defined - if ( notxml ) { - name = name.toLowerCase(); - hooks = jQuery.attrHooks[ name ] || ( rboolean.test( name ) ? boolHook : nodeHook ); - } - - if ( value !== undefined ) { - - if ( value === null ) { - jQuery.removeAttr( elem, name ); - - } else if ( hooks && notxml && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - elem.setAttribute( name, value + "" ); - return value; - } - - } else if ( hooks && notxml && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { - return ret; - - } else { - - // In IE9+, Flash objects don't have .getAttribute (#12945) - // Support: IE9+ - if ( typeof elem.getAttribute !== core_strundefined ) { - ret = elem.getAttribute( name ); - } - - // Non-existent attributes return null, we normalize to undefined - return ret == null ? - undefined : - ret; - } - }, - - removeAttr: function( elem, value ) { - var name, propName, - i = 0, - attrNames = value && value.match( core_rnotwhite ); - - if ( attrNames && elem.nodeType === 1 ) { - while ( (name = attrNames[i++]) ) { - propName = jQuery.propFix[ name ] || name; - - // Boolean attributes get special treatment (#10870) - if ( rboolean.test( name ) ) { - // Set corresponding property to false for boolean attributes - // Also clear defaultChecked/defaultSelected (if appropriate) for IE<8 - if ( !getSetAttribute && ruseDefault.test( name ) ) { - elem[ jQuery.camelCase( "default-" + name ) ] = - elem[ propName ] = false; - } else { - elem[ propName ] = false; - } - - // See #9699 for explanation of this approach (setting first, then removal) - } else { - jQuery.attr( elem, name, "" ); - } - - elem.removeAttribute( getSetAttribute ? name : propName ); - } - } - }, - - attrHooks: { - type: { - set: function( elem, value ) { - if ( !jQuery.support.radioValue && value === "radio" && jQuery.nodeName(elem, "input") ) { - // Setting the type on a radio button after the value resets the value in IE6-9 - // Reset value to default in case type is set after value during creation - var val = elem.value; - elem.setAttribute( "type", value ); - if ( val ) { - elem.value = val; - } - return value; - } - } - } - }, - - propFix: { - tabindex: "tabIndex", - readonly: "readOnly", - "for": "htmlFor", - "class": "className", - maxlength: "maxLength", - cellspacing: "cellSpacing", - cellpadding: "cellPadding", - rowspan: "rowSpan", - colspan: "colSpan", - usemap: "useMap", - frameborder: "frameBorder", - contenteditable: "contentEditable" - }, - - prop: function( elem, name, value ) { - var ret, hooks, notxml, - nType = elem.nodeType; - - // don't get/set properties on text, comment and attribute nodes - if ( !elem || nType === 3 || nType === 8 || nType === 2 ) { - return; - } - - notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - - if ( notxml ) { - // Fix name and attach hooks - name = jQuery.propFix[ name ] || name; - hooks = jQuery.propHooks[ name ]; - } - - if ( value !== undefined ) { - if ( hooks && "set" in hooks && (ret = hooks.set( elem, value, name )) !== undefined ) { - return ret; - - } else { - return ( elem[ name ] = value ); - } - - } else { - if ( hooks && "get" in hooks && (ret = hooks.get( elem, name )) !== null ) { - return ret; - - } else { - return elem[ name ]; - } - } - }, - - propHooks: { - tabIndex: { - get: function( elem ) { - // elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set - // http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ - var attributeNode = elem.getAttributeNode("tabindex"); - - return attributeNode && attributeNode.specified ? - parseInt( attributeNode.value, 10 ) : - rfocusable.test( elem.nodeName ) || rclickable.test( elem.nodeName ) && elem.href ? - 0 : - undefined; - } - } - } -}); - -// Hook for boolean attributes -boolHook = { - get: function( elem, name ) { - var - // Use .prop to determine if this attribute is understood as boolean - prop = jQuery.prop( elem, name ), - - // Fetch it accordingly - attr = typeof prop === "boolean" && elem.getAttribute( name ), - detail = typeof prop === "boolean" ? - - getSetInput && getSetAttribute ? - attr != null : - // oldIE fabricates an empty string for missing boolean attributes - // and conflates checked/selected into attroperties - ruseDefault.test( name ) ? - elem[ jQuery.camelCase( "default-" + name ) ] : - !!attr : - - // fetch an attribute node for properties not recognized as boolean - elem.getAttributeNode( name ); - - return detail && detail.value !== false ? - name.toLowerCase() : - undefined; - }, - set: function( elem, value, name ) { - if ( value === false ) { - // Remove boolean attributes when set to false - jQuery.removeAttr( elem, name ); - } else if ( getSetInput && getSetAttribute || !ruseDefault.test( name ) ) { - // IE<8 needs the *property* name - elem.setAttribute( !getSetAttribute && jQuery.propFix[ name ] || name, name ); - - // Use defaultChecked and defaultSelected for oldIE - } else { - elem[ jQuery.camelCase( "default-" + name ) ] = elem[ name ] = true; - } - - return name; - } -}; - -// fix oldIE value attroperty -if ( !getSetInput || !getSetAttribute ) { - jQuery.attrHooks.value = { - get: function( elem, name ) { - var ret = elem.getAttributeNode( name ); - return jQuery.nodeName( elem, "input" ) ? - - // Ignore the value *property* by using defaultValue - elem.defaultValue : - - ret && ret.specified ? ret.value : undefined; - }, - set: function( elem, value, name ) { - if ( jQuery.nodeName( elem, "input" ) ) { - // Does not return so that setAttribute is also used - elem.defaultValue = value; - } else { - // Use nodeHook if defined (#1954); otherwise setAttribute is fine - return nodeHook && nodeHook.set( elem, value, name ); - } - } - }; -} - -// IE6/7 do not support getting/setting some attributes with get/setAttribute -if ( !getSetAttribute ) { - - // Use this for any attribute in IE6/7 - // This fixes almost every IE6/7 issue - nodeHook = jQuery.valHooks.button = { - get: function( elem, name ) { - var ret = elem.getAttributeNode( name ); - return ret && ( name === "id" || name === "name" || name === "coords" ? ret.value !== "" : ret.specified ) ? - ret.value : - undefined; - }, - set: function( elem, value, name ) { - // Set the existing or create a new attribute node - var ret = elem.getAttributeNode( name ); - if ( !ret ) { - elem.setAttributeNode( - (ret = elem.ownerDocument.createAttribute( name )) - ); - } - - ret.value = value += ""; - - // Break association with cloned elements by also using setAttribute (#9646) - return name === "value" || value === elem.getAttribute( name ) ? - value : - undefined; - } - }; - - // Set contenteditable to false on removals(#10429) - // Setting to empty string throws an error as an invalid value - jQuery.attrHooks.contenteditable = { - get: nodeHook.get, - set: function( elem, value, name ) { - nodeHook.set( elem, value === "" ? false : value, name ); - } - }; - - // Set width and height to auto instead of 0 on empty string( Bug #8150 ) - // This is for removals - jQuery.each([ "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { - set: function( elem, value ) { - if ( value === "" ) { - elem.setAttribute( name, "auto" ); - return value; - } - } - }); - }); -} - - -// Some attributes require a special call on IE -// http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx -if ( !jQuery.support.hrefNormalized ) { - jQuery.each([ "href", "src", "width", "height" ], function( i, name ) { - jQuery.attrHooks[ name ] = jQuery.extend( jQuery.attrHooks[ name ], { - get: function( elem ) { - var ret = elem.getAttribute( name, 2 ); - return ret == null ? undefined : ret; - } - }); - }); - - // href/src property should get the full normalized URL (#10299/#12915) - jQuery.each([ "href", "src" ], function( i, name ) { - jQuery.propHooks[ name ] = { - get: function( elem ) { - return elem.getAttribute( name, 4 ); - } - }; - }); -} - -if ( !jQuery.support.style ) { - jQuery.attrHooks.style = { - get: function( elem ) { - // Return undefined in the case of empty string - // Note: IE uppercases css property names, but if we were to .toLowerCase() - // .cssText, that would destroy case senstitivity in URL's, like in "background" - return elem.style.cssText || undefined; - }, - set: function( elem, value ) { - return ( elem.style.cssText = value + "" ); - } - }; -} - -// Safari mis-reports the default selected property of an option -// Accessing the parent's selectedIndex property fixes it -if ( !jQuery.support.optSelected ) { - jQuery.propHooks.selected = jQuery.extend( jQuery.propHooks.selected, { - get: function( elem ) { - var parent = elem.parentNode; - - if ( parent ) { - parent.selectedIndex; - - // Make sure that it also works with optgroups, see #5701 - if ( parent.parentNode ) { - parent.parentNode.selectedIndex; - } - } - return null; - } - }); -} - -// IE6/7 call enctype encoding -if ( !jQuery.support.enctype ) { - jQuery.propFix.enctype = "encoding"; -} - -// Radios and checkboxes getter/setter -if ( !jQuery.support.checkOn ) { - jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = { - get: function( elem ) { - // Handle the case where in Webkit "" is returned instead of "on" if a value isn't specified - return elem.getAttribute("value") === null ? "on" : elem.value; - } - }; - }); -} -jQuery.each([ "radio", "checkbox" ], function() { - jQuery.valHooks[ this ] = jQuery.extend( jQuery.valHooks[ this ], { - set: function( elem, value ) { - if ( jQuery.isArray( value ) ) { - return ( elem.checked = jQuery.inArray( jQuery(elem).val(), value ) >= 0 ); - } - } - }); -}); -var rformElems = /^(?:input|select|textarea)$/i, - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|contextmenu)|click/, - rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, - rtypenamespace = /^([^.]*)(?:\.(.+)|)$/; - -function returnTrue() { - return true; -} - -function returnFalse() { - return false; -} - -/* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ -jQuery.event = { - - global: {}, - - add: function( elem, types, handler, data, selector ) { - var tmp, events, t, handleObjIn, - special, eventHandle, handleObj, - handlers, type, namespaces, origType, - elemData = jQuery._data( elem ); - - // Don't attach events to noData or text/comment nodes (but allow plain objects) - if ( !elemData ) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if ( handler.handler ) { - handleObjIn = handler; - handler = handleObjIn.handler; - selector = handleObjIn.selector; - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if ( !handler.guid ) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - if ( !(events = elemData.events) ) { - events = elemData.events = {}; - } - if ( !(eventHandle = elemData.handle) ) { - eventHandle = elemData.handle = function( e ) { - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== core_strundefined && (!e || jQuery.event.triggered !== e.type) ? - jQuery.event.dispatch.apply( eventHandle.elem, arguments ) : - undefined; - }; - // Add elem as a property of the handle fn to prevent a memory leak with IE non-native events - eventHandle.elem = elem; - } - - // Handle multiple events separated by a space - // jQuery(...).bind("mouseover mouseout", fn); - types = ( types || "" ).match( core_rnotwhite ) || [""]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[ type ] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = ( selector ? special.delegateType : special.bindType ) || type; - - // Update special based on newly reset type - special = jQuery.event.special[ type ] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend({ - type: type, - origType: origType, - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - needsContext: selector && jQuery.expr.match.needsContext.test( selector ), - namespace: namespaces.join(".") - }, handleObjIn ); - - // Init the event handler queue if we're the first - if ( !(handlers = events[ type ]) ) { - handlers = events[ type ] = []; - handlers.delegateCount = 0; - - // Only use addEventListener/attachEvent if the special events handler returns false - if ( !special.setup || special.setup.call( elem, data, namespaces, eventHandle ) === false ) { - // Bind the global event handler to the element - if ( elem.addEventListener ) { - elem.addEventListener( type, eventHandle, false ); - - } else if ( elem.attachEvent ) { - elem.attachEvent( "on" + type, eventHandle ); - } - } - } - - if ( special.add ) { - special.add.call( elem, handleObj ); - - if ( !handleObj.handler.guid ) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if ( selector ) { - handlers.splice( handlers.delegateCount++, 0, handleObj ); - } else { - handlers.push( handleObj ); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[ type ] = true; - } - - // Nullify elem to prevent memory leaks in IE - elem = null; - }, - - // Detach an event or set of events from an element - remove: function( elem, types, handler, selector, mappedTypes ) { - var j, handleObj, tmp, - origCount, t, events, - special, handlers, type, - namespaces, origType, - elemData = jQuery.hasData( elem ) && jQuery._data( elem ); - - if ( !elemData || !(events = elemData.events) ) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = ( types || "" ).match( core_rnotwhite ) || [""]; - t = types.length; - while ( t-- ) { - tmp = rtypenamespace.exec( types[t] ) || []; - type = origType = tmp[1]; - namespaces = ( tmp[2] || "" ).split( "." ).sort(); - - // Unbind all events (on this namespace, if provided) for the element - if ( !type ) { - for ( type in events ) { - jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); - } - continue; - } - - special = jQuery.event.special[ type ] || {}; - type = ( selector ? special.delegateType : special.bindType ) || type; - handlers = events[ type ] || []; - tmp = tmp[2] && new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ); - - // Remove matching events - origCount = j = handlers.length; - while ( j-- ) { - handleObj = handlers[ j ]; - - if ( ( mappedTypes || origType === handleObj.origType ) && - ( !handler || handler.guid === handleObj.guid ) && - ( !tmp || tmp.test( handleObj.namespace ) ) && - ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { - handlers.splice( j, 1 ); - - if ( handleObj.selector ) { - handlers.delegateCount--; - } - if ( special.remove ) { - special.remove.call( elem, handleObj ); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if ( origCount && !handlers.length ) { - if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { - jQuery.removeEvent( elem, type, elemData.handle ); - } - - delete events[ type ]; - } - } - - // Remove the expando if it's no longer used - if ( jQuery.isEmptyObject( events ) ) { - delete elemData.handle; - - // removeData also checks for emptiness and clears the expando if empty - // so use it instead of delete - jQuery._removeData( elem, "events" ); - } - }, - - trigger: function( event, data, elem, onlyHandlers ) { - var handle, ontype, cur, - bubbleType, special, tmp, i, - eventPath = [ elem || document ], - type = core_hasOwn.call( event, "type" ) ? event.type : event, - namespaces = core_hasOwn.call( event, "namespace" ) ? event.namespace.split(".") : []; - - cur = tmp = elem = elem || document; - - // Don't do events on text and comment nodes - if ( elem.nodeType === 3 || elem.nodeType === 8 ) { - return; - } - - // focus/blur morphs to focusin/out; ensure we're not firing them right now - if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { - return; - } - - if ( type.indexOf(".") >= 0 ) { - // Namespaced trigger; create a regexp to match event type in handle() - namespaces = type.split("."); - type = namespaces.shift(); - namespaces.sort(); - } - ontype = type.indexOf(":") < 0 && "on" + type; - - // Caller can pass in a jQuery.Event object, Object, or just an event type string - event = event[ jQuery.expando ] ? - event : - new jQuery.Event( type, typeof event === "object" && event ); - - event.isTrigger = true; - event.namespace = namespaces.join("."); - event.namespace_re = event.namespace ? - new RegExp( "(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)" ) : - null; - - // Clean up the event in case it is being reused - event.result = undefined; - if ( !event.target ) { - event.target = elem; - } - - // Clone any incoming data and prepend the event, creating the handler arg list - data = data == null ? - [ event ] : - jQuery.makeArray( data, [ event ] ); - - // Allow special events to draw outside the lines - special = jQuery.event.special[ type ] || {}; - if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { - return; - } - - // Determine event propagation path in advance, per W3C events spec (#9951) - // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) - if ( !onlyHandlers && !special.noBubble && !jQuery.isWindow( elem ) ) { - - bubbleType = special.delegateType || type; - if ( !rfocusMorph.test( bubbleType + type ) ) { - cur = cur.parentNode; - } - for ( ; cur; cur = cur.parentNode ) { - eventPath.push( cur ); - tmp = cur; - } - - // Only add window if we got to document (e.g., not plain obj or detached DOM) - if ( tmp === (elem.ownerDocument || document) ) { - eventPath.push( tmp.defaultView || tmp.parentWindow || window ); - } - } - - // Fire handlers on the event path - i = 0; - while ( (cur = eventPath[i++]) && !event.isPropagationStopped() ) { - - event.type = i > 1 ? - bubbleType : - special.bindType || type; - - // jQuery handler - handle = ( jQuery._data( cur, "events" ) || {} )[ event.type ] && jQuery._data( cur, "handle" ); - if ( handle ) { - handle.apply( cur, data ); - } - - // Native handler - handle = ontype && cur[ ontype ]; - if ( handle && jQuery.acceptData( cur ) && handle.apply && handle.apply( cur, data ) === false ) { - event.preventDefault(); - } - } - event.type = type; - - // If nobody prevented the default action, do it now - if ( !onlyHandlers && !event.isDefaultPrevented() ) { - - if ( (!special._default || special._default.apply( elem.ownerDocument, data ) === false) && - !(type === "click" && jQuery.nodeName( elem, "a" )) && jQuery.acceptData( elem ) ) { - - // Call a native DOM method on the target with the same name name as the event. - // Can't use an .isFunction() check here because IE6/7 fails that test. - // Don't do default actions on window, that's where global variables be (#6170) - if ( ontype && elem[ type ] && !jQuery.isWindow( elem ) ) { - - // Don't re-trigger an onFOO event when we call its FOO() method - tmp = elem[ ontype ]; - - if ( tmp ) { - elem[ ontype ] = null; - } - - // Prevent re-triggering of the same event, since we already bubbled it above - jQuery.event.triggered = type; - try { - elem[ type ](); - } catch ( e ) { - // IE<9 dies on focus/blur to hidden element (#1486,#12518) - // only reproducible on winXP IE8 native, not IE9 in IE8 mode - } - jQuery.event.triggered = undefined; - - if ( tmp ) { - elem[ ontype ] = tmp; - } - } - } - } - - return event.result; - }, - - dispatch: function( event ) { - - // Make a writable jQuery.Event from the native event object - event = jQuery.event.fix( event ); - - var i, ret, handleObj, matched, j, - handlerQueue = [], - args = core_slice.call( arguments ), - handlers = ( jQuery._data( this, "events" ) || {} )[ event.type ] || [], - special = jQuery.event.special[ event.type ] || {}; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[0] = event; - event.delegateTarget = this; - - // Call the preDispatch hook for the mapped type, and let it bail if desired - if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { - return; - } - - // Determine handlers - handlerQueue = jQuery.event.handlers.call( this, event, handlers ); - - // Run delegates first; they may want to stop propagation beneath us - i = 0; - while ( (matched = handlerQueue[ i++ ]) && !event.isPropagationStopped() ) { - event.currentTarget = matched.elem; - - j = 0; - while ( (handleObj = matched.handlers[ j++ ]) && !event.isImmediatePropagationStopped() ) { - - // Triggered event must either 1) have no namespace, or - // 2) have namespace(s) a subset or equal to those in the bound event (both can have no namespace). - if ( !event.namespace_re || event.namespace_re.test( handleObj.namespace ) ) { - - event.handleObj = handleObj; - event.data = handleObj.data; - - ret = ( (jQuery.event.special[ handleObj.origType ] || {}).handle || handleObj.handler ) - .apply( matched.elem, args ); - - if ( ret !== undefined ) { - if ( (event.result = ret) === false ) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - // Call the postDispatch hook for the mapped type - if ( special.postDispatch ) { - special.postDispatch.call( this, event ); - } - - return event.result; - }, - - handlers: function( event, handlers ) { - var sel, handleObj, matches, i, - handlerQueue = [], - delegateCount = handlers.delegateCount, - cur = event.target; - - // Find delegate handlers - // Black-hole SVG instance trees (#13180) - // Avoid non-left-click bubbling in Firefox (#3861) - if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { - - for ( ; cur != this; cur = cur.parentNode || this ) { - - // Don't check non-elements (#13208) - // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) - if ( cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click") ) { - matches = []; - for ( i = 0; i < delegateCount; i++ ) { - handleObj = handlers[ i ]; - - // Don't conflict with Object.prototype properties (#13203) - sel = handleObj.selector + " "; - - if ( matches[ sel ] === undefined ) { - matches[ sel ] = handleObj.needsContext ? - jQuery( sel, this ).index( cur ) >= 0 : - jQuery.find( sel, this, null, [ cur ] ).length; - } - if ( matches[ sel ] ) { - matches.push( handleObj ); - } - } - if ( matches.length ) { - handlerQueue.push({ elem: cur, handlers: matches }); - } - } - } - } - - // Add the remaining (directly-bound) handlers - if ( delegateCount < handlers.length ) { - handlerQueue.push({ elem: this, handlers: handlers.slice( delegateCount ) }); - } - - return handlerQueue; - }, - - fix: function( event ) { - if ( event[ jQuery.expando ] ) { - return event; - } - - // Create a writable copy of the event object and normalize some properties - var i, prop, copy, - type = event.type, - originalEvent = event, - fixHook = this.fixHooks[ type ]; - - if ( !fixHook ) { - this.fixHooks[ type ] = fixHook = - rmouseEvent.test( type ) ? this.mouseHooks : - rkeyEvent.test( type ) ? this.keyHooks : - {}; - } - copy = fixHook.props ? this.props.concat( fixHook.props ) : this.props; - - event = new jQuery.Event( originalEvent ); - - i = copy.length; - while ( i-- ) { - prop = copy[ i ]; - event[ prop ] = originalEvent[ prop ]; - } - - // Support: IE<9 - // Fix target property (#1925) - if ( !event.target ) { - event.target = originalEvent.srcElement || document; - } - - // Support: Chrome 23+, Safari? - // Target should not be a text node (#504, #13143) - if ( event.target.nodeType === 3 ) { - event.target = event.target.parentNode; - } - - // Support: IE<9 - // For mouse/key events, metaKey==false if it's undefined (#3368, #11328) - event.metaKey = !!event.metaKey; - - return fixHook.filter ? fixHook.filter( event, originalEvent ) : event; - }, - - // Includes some event props shared by KeyEvent and MouseEvent - props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "), - - fixHooks: {}, - - keyHooks: { - props: "char charCode key keyCode".split(" "), - filter: function( event, original ) { - - // Add which for key events - if ( event.which == null ) { - event.which = original.charCode != null ? original.charCode : original.keyCode; - } - - return event; - } - }, - - mouseHooks: { - props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "), - filter: function( event, original ) { - var body, eventDoc, doc, - button = original.button, - fromElement = original.fromElement; - - // Calculate pageX/Y if missing and clientX/Y available - if ( event.pageX == null && original.clientX != null ) { - eventDoc = event.target.ownerDocument || document; - doc = eventDoc.documentElement; - body = eventDoc.body; - - event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc && doc.clientLeft || body && body.clientLeft || 0 ); - event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc && doc.clientTop || body && body.clientTop || 0 ); - } - - // Add relatedTarget, if necessary - if ( !event.relatedTarget && fromElement ) { - event.relatedTarget = fromElement === event.target ? original.toElement : fromElement; - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - // Note: button is not normalized, so don't use it - if ( !event.which && button !== undefined ) { - event.which = ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) ); - } - - return event; - } - }, - - special: { - load: { - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - click: { - // For checkbox, fire native event so checked state will be right - trigger: function() { - if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) { - this.click(); - return false; - } - } - }, - focus: { - // Fire native event if possible so blur/focus sequence is correct - trigger: function() { - if ( this !== document.activeElement && this.focus ) { - try { - this.focus(); - return false; - } catch ( e ) { - // Support: IE<9 - // If we error on focus to hidden element (#1486, #12518), - // let .trigger() run the handlers - } - } - }, - delegateType: "focusin" - }, - blur: { - trigger: function() { - if ( this === document.activeElement && this.blur ) { - this.blur(); - return false; - } - }, - delegateType: "focusout" - }, - - beforeunload: { - postDispatch: function( event ) { - - // Even when returnValue equals to undefined Firefox will still show alert - if ( event.result !== undefined ) { - event.originalEvent.returnValue = event.result; - } - } - } - }, - - simulate: function( type, elem, event, bubble ) { - // Piggyback on a donor event to simulate a different one. - // Fake originalEvent to avoid donor's stopPropagation, but if the - // simulated event prevents default then we do the same on the donor. - var e = jQuery.extend( - new jQuery.Event(), - event, - { type: type, - isSimulated: true, - originalEvent: {} - } - ); - if ( bubble ) { - jQuery.event.trigger( e, null, elem ); - } else { - jQuery.event.dispatch.call( elem, e ); - } - if ( e.isDefaultPrevented() ) { - event.preventDefault(); - } - } -}; - -jQuery.removeEvent = document.removeEventListener ? - function( elem, type, handle ) { - if ( elem.removeEventListener ) { - elem.removeEventListener( type, handle, false ); - } - } : - function( elem, type, handle ) { - var name = "on" + type; - - if ( elem.detachEvent ) { - - // #8545, #7054, preventing memory leaks for custom events in IE6-8 - // detachEvent needed property on element, by name of that event, to properly expose it to GC - if ( typeof elem[ name ] === core_strundefined ) { - elem[ name ] = null; - } - - elem.detachEvent( name, handle ); - } - }; - -jQuery.Event = function( src, props ) { - // Allow instantiation without the 'new' keyword - if ( !(this instanceof jQuery.Event) ) { - return new jQuery.Event( src, props ); - } - - // Event object - if ( src && src.type ) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = ( src.defaultPrevented || src.returnValue === false || - src.getPreventDefault && src.getPreventDefault() ) ? returnTrue : returnFalse; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if ( props ) { - jQuery.extend( this, props ); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || jQuery.now(); - - // Mark it as fixed - this[ jQuery.expando ] = true; -}; - -// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding -// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html -jQuery.Event.prototype = { - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse, - - preventDefault: function() { - var e = this.originalEvent; - - this.isDefaultPrevented = returnTrue; - if ( !e ) { - return; - } - - // If preventDefault exists, run it on the original event - if ( e.preventDefault ) { - e.preventDefault(); - - // Support: IE - // Otherwise set the returnValue property of the original event to false - } else { - e.returnValue = false; - } - }, - stopPropagation: function() { - var e = this.originalEvent; - - this.isPropagationStopped = returnTrue; - if ( !e ) { - return; - } - // If stopPropagation exists, run it on the original event - if ( e.stopPropagation ) { - e.stopPropagation(); - } - - // Support: IE - // Set the cancelBubble property of the original event to true - e.cancelBubble = true; - }, - stopImmediatePropagation: function() { - this.isImmediatePropagationStopped = returnTrue; - this.stopPropagation(); - } -}; - -// Create mouseenter/leave events using mouseover/out and event-time checks -jQuery.each({ - mouseenter: "mouseover", - mouseleave: "mouseout" -}, function( orig, fix ) { - jQuery.event.special[ orig ] = { - delegateType: fix, - bindType: fix, - - handle: function( event ) { - var ret, - target = this, - related = event.relatedTarget, - handleObj = event.handleObj; - - // For mousenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if ( !related || (related !== target && !jQuery.contains( target, related )) ) { - event.type = handleObj.origType; - ret = handleObj.handler.apply( this, arguments ); - event.type = fix; - } - return ret; - } - }; -}); - -// IE submit delegation -if ( !jQuery.support.submitBubbles ) { - - jQuery.event.special.submit = { - setup: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Lazy-add a submit handler when a descendant form may potentially be submitted - jQuery.event.add( this, "click._submit keypress._submit", function( e ) { - // Node name check avoids a VML-related crash in IE (#9807) - var elem = e.target, - form = jQuery.nodeName( elem, "input" ) || jQuery.nodeName( elem, "button" ) ? elem.form : undefined; - if ( form && !jQuery._data( form, "submitBubbles" ) ) { - jQuery.event.add( form, "submit._submit", function( event ) { - event._submit_bubble = true; - }); - jQuery._data( form, "submitBubbles", true ); - } - }); - // return undefined since we don't need an event listener - }, - - postDispatch: function( event ) { - // If form was submitted by the user, bubble the event up the tree - if ( event._submit_bubble ) { - delete event._submit_bubble; - if ( this.parentNode && !event.isTrigger ) { - jQuery.event.simulate( "submit", this.parentNode, event, true ); - } - } - }, - - teardown: function() { - // Only need this for delegated form submit events - if ( jQuery.nodeName( this, "form" ) ) { - return false; - } - - // Remove delegated handlers; cleanData eventually reaps submit handlers attached above - jQuery.event.remove( this, "._submit" ); - } - }; -} - -// IE change delegation and checkbox/radio fix -if ( !jQuery.support.changeBubbles ) { - - jQuery.event.special.change = { - - setup: function() { - - if ( rformElems.test( this.nodeName ) ) { - // IE doesn't fire change on a check/radio until blur; trigger it on click - // after a propertychange. Eat the blur-change in special.change.handle. - // This still fires onchange a second time for check/radio after blur. - if ( this.type === "checkbox" || this.type === "radio" ) { - jQuery.event.add( this, "propertychange._change", function( event ) { - if ( event.originalEvent.propertyName === "checked" ) { - this._just_changed = true; - } - }); - jQuery.event.add( this, "click._change", function( event ) { - if ( this._just_changed && !event.isTrigger ) { - this._just_changed = false; - } - // Allow triggered, simulated change events (#11500) - jQuery.event.simulate( "change", this, event, true ); - }); - } - return false; - } - // Delegated event; lazy-add a change handler on descendant inputs - jQuery.event.add( this, "beforeactivate._change", function( e ) { - var elem = e.target; - - if ( rformElems.test( elem.nodeName ) && !jQuery._data( elem, "changeBubbles" ) ) { - jQuery.event.add( elem, "change._change", function( event ) { - if ( this.parentNode && !event.isSimulated && !event.isTrigger ) { - jQuery.event.simulate( "change", this.parentNode, event, true ); - } - }); - jQuery._data( elem, "changeBubbles", true ); - } - }); - }, - - handle: function( event ) { - var elem = event.target; - - // Swallow native change events from checkbox/radio, we already triggered them above - if ( this !== elem || event.isSimulated || event.isTrigger || (elem.type !== "radio" && elem.type !== "checkbox") ) { - return event.handleObj.handler.apply( this, arguments ); - } - }, - - teardown: function() { - jQuery.event.remove( this, "._change" ); - - return !rformElems.test( this.nodeName ); - } - }; -} - -// Create "bubbling" focus and blur events -if ( !jQuery.support.focusinBubbles ) { - jQuery.each({ focus: "focusin", blur: "focusout" }, function( orig, fix ) { - - // Attach a single capturing handler while someone wants focusin/focusout - var attaches = 0, - handler = function( event ) { - jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ), true ); - }; - - jQuery.event.special[ fix ] = { - setup: function() { - if ( attaches++ === 0 ) { - document.addEventListener( orig, handler, true ); - } - }, - teardown: function() { - if ( --attaches === 0 ) { - document.removeEventListener( orig, handler, true ); - } - } - }; - }); -} - -jQuery.fn.extend({ - - on: function( types, selector, data, fn, /*INTERNAL*/ one ) { - var type, origFn; - - // Types can be a map of types/handlers - if ( typeof types === "object" ) { - // ( types-Object, selector, data ) - if ( typeof selector !== "string" ) { - // ( types-Object, data ) - data = data || selector; - selector = undefined; - } - for ( type in types ) { - this.on( type, selector, data, types[ type ], one ); - } - return this; - } - - if ( data == null && fn == null ) { - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if ( fn == null ) { - if ( typeof selector === "string" ) { - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if ( fn === false ) { - fn = returnFalse; - } else if ( !fn ) { - return this; - } - - if ( one === 1 ) { - origFn = fn; - fn = function( event ) { - // Can use an empty set, since event contains the info - jQuery().off( event ); - return origFn.apply( this, arguments ); - }; - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); - } - return this.each( function() { - jQuery.event.add( this, types, fn, data, selector ); - }); - }, - one: function( types, selector, data, fn ) { - return this.on( types, selector, data, fn, 1 ); - }, - off: function( types, selector, fn ) { - var handleObj, type; - if ( types && types.preventDefault && types.handleObj ) { - // ( event ) dispatched jQuery.Event - handleObj = types.handleObj; - jQuery( types.delegateTarget ).off( - handleObj.namespace ? handleObj.origType + "." + handleObj.namespace : handleObj.origType, - handleObj.selector, - handleObj.handler - ); - return this; - } - if ( typeof types === "object" ) { - // ( types-object [, selector] ) - for ( type in types ) { - this.off( type, selector, types[ type ] ); - } - return this; - } - if ( selector === false || typeof selector === "function" ) { - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if ( fn === false ) { - fn = returnFalse; - } - return this.each(function() { - jQuery.event.remove( this, types, fn, selector ); - }); - }, - - bind: function( types, data, fn ) { - return this.on( types, null, data, fn ); - }, - unbind: function( types, fn ) { - return this.off( types, null, fn ); - }, - - delegate: function( selector, types, data, fn ) { - return this.on( types, selector, data, fn ); - }, - undelegate: function( selector, types, fn ) { - // ( namespace ) or ( selector, types [, fn] ) - return arguments.length === 1 ? this.off( selector, "**" ) : this.off( types, selector || "**", fn ); - }, - - trigger: function( type, data ) { - return this.each(function() { - jQuery.event.trigger( type, data, this ); - }); - }, - triggerHandler: function( type, data ) { - var elem = this[0]; - if ( elem ) { - return jQuery.event.trigger( type, data, elem, true ); - } - } -}); -/*! - * Sizzle CSS Selector Engine - * Copyright 2012 jQuery Foundation and other contributors - * Released under the MIT license - * http://sizzlejs.com/ - */ -(function( window, undefined ) { - -var i, - cachedruns, - Expr, - getText, - isXML, - compile, - hasDuplicate, - outermostContext, - - // Local document vars - setDocument, - document, - docElem, - documentIsXML, - rbuggyQSA, - rbuggyMatches, - matches, - contains, - sortOrder, - - // Instance-specific data - expando = "sizzle" + -(new Date()), - preferredDoc = window.document, - support = {}, - dirruns = 0, - done = 0, - classCache = createCache(), - tokenCache = createCache(), - compilerCache = createCache(), - - // General-purpose constants - strundefined = typeof undefined, - MAX_NEGATIVE = 1 << 31, - - // Array methods - arr = [], - pop = arr.pop, - push = arr.push, - slice = arr.slice, - // Use a stripped-down indexOf if we can't use a native one - indexOf = arr.indexOf || function( elem ) { - var i = 0, - len = this.length; - for ( ; i < len; i++ ) { - if ( this[i] === elem ) { - return i; - } - } - return -1; - }, - - - // Regular expressions - - // Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace - whitespace = "[\\x20\\t\\r\\n\\f]", - // http://www.w3.org/TR/css3-syntax/#characters - characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", - - // Loosely modeled on CSS identifier characters - // An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors - // Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier - identifier = characterEncoding.replace( "w", "w#" ), - - // Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors - operators = "([*^$|!~]?=)", - attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace + - "*(?:" + operators + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]", - - // Prefer arguments quoted, - // then not containing pseudos/brackets, - // then attribute selectors/non-parenthetical expressions, - // then anything else - // These preferences are here to reduce the number of selectors - // needing tokenize in the PSEUDO preFilter - pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)", - - // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter - rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ), - - rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), - rcombinators = new RegExp( "^" + whitespace + "*([\\x20\\t\\r\\n\\f>+~])" + whitespace + "*" ), - rpseudo = new RegExp( pseudos ), - ridentifier = new RegExp( "^" + identifier + "$" ), - - matchExpr = { - "ID": new RegExp( "^#(" + characterEncoding + ")" ), - "CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ), - "NAME": new RegExp( "^\\[name=['\"]?(" + characterEncoding + ")['\"]?\\]" ), - "TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ), - "ATTR": new RegExp( "^" + attributes ), - "PSEUDO": new RegExp( "^" + pseudos ), - "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + - "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + - "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), - // For use in libraries implementing .is() - // We use this for POS matching in `select` - "needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + - whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) - }, - - rsibling = /[\x20\t\r\n\f]*[+~]/, - - rnative = /^[^{]+\{\s*\[native code/, - - // Easily-parseable/retrievable ID or TAG or CLASS selectors - rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - - rinputs = /^(?:input|select|textarea|button)$/i, - rheader = /^h\d$/i, - - rescape = /'|\\/g, - rattributeQuotes = /\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g, - - // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters - runescape = /\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g, - funescape = function( _, escaped ) { - var high = "0x" + escaped - 0x10000; - // NaN means non-codepoint - return high !== high ? - escaped : - // BMP codepoint - high < 0 ? - String.fromCharCode( high + 0x10000 ) : - // Supplemental Plane codepoint (surrogate pair) - String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); - }; - -// Use a stripped-down slice if we can't use a native one -try { - slice.call( preferredDoc.documentElement.childNodes, 0 )[0].nodeType; -} catch ( e ) { - slice = function( i ) { - var elem, - results = []; - while ( (elem = this[i++]) ) { - results.push( elem ); - } - return results; - }; -} - -/** - * For feature detection - * @param {Function} fn The function to test for native support - */ -function isNative( fn ) { - return rnative.test( fn + "" ); -} - -/** - * Create key-value caches of limited size - * @returns {Function(string, Object)} Returns the Object data after storing it on itself with - * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) - * deleting the oldest entry - */ -function createCache() { - var cache, - keys = []; - - return (cache = function( key, value ) { - // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) - if ( keys.push( key += " " ) > Expr.cacheLength ) { - // Only keep the most recent entries - delete cache[ keys.shift() ]; - } - return (cache[ key ] = value); - }); -} - -/** - * Mark a function for special use by Sizzle - * @param {Function} fn The function to mark - */ -function markFunction( fn ) { - fn[ expando ] = true; - return fn; -} - -/** - * Support testing using an element - * @param {Function} fn Passed the created div and expects a boolean result - */ -function assert( fn ) { - var div = document.createElement("div"); - - try { - return fn( div ); - } catch (e) { - return false; - } finally { - // release memory in IE - div = null; - } -} - -function Sizzle( selector, context, results, seed ) { - var match, elem, m, nodeType, - // QSA vars - i, groups, old, nid, newContext, newSelector; - - if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) { - setDocument( context ); - } - - context = context || document; - results = results || []; - - if ( !selector || typeof selector !== "string" ) { - return results; - } - - if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) { - return []; - } - - if ( !documentIsXML && !seed ) { - - // Shortcuts - if ( (match = rquickExpr.exec( selector )) ) { - // Speed-up: Sizzle("#ID") - if ( (m = match[1]) ) { - if ( nodeType === 9 ) { - elem = context.getElementById( m ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - if ( elem && elem.parentNode ) { - // Handle the case where IE, Opera, and Webkit return items - // by name instead of ID - if ( elem.id === m ) { - results.push( elem ); - return results; - } - } else { - return results; - } - } else { - // Context is not a document - if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) && - contains( context, elem ) && elem.id === m ) { - results.push( elem ); - return results; - } - } - - // Speed-up: Sizzle("TAG") - } else if ( match[2] ) { - push.apply( results, slice.call(context.getElementsByTagName( selector ), 0) ); - return results; - - // Speed-up: Sizzle(".CLASS") - } else if ( (m = match[3]) && support.getByClassName && context.getElementsByClassName ) { - push.apply( results, slice.call(context.getElementsByClassName( m ), 0) ); - return results; - } - } - - // QSA path - if ( support.qsa && !rbuggyQSA.test(selector) ) { - old = true; - nid = expando; - newContext = context; - newSelector = nodeType === 9 && selector; - - // qSA works strangely on Element-rooted queries - // We can work around this by specifying an extra ID on the root - // and working up from there (Thanks to Andrew Dupont for the technique) - // IE 8 doesn't work on object elements - if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) { - groups = tokenize( selector ); - - if ( (old = context.getAttribute("id")) ) { - nid = old.replace( rescape, "\\$&" ); - } else { - context.setAttribute( "id", nid ); - } - nid = "[id='" + nid + "'] "; - - i = groups.length; - while ( i-- ) { - groups[i] = nid + toSelector( groups[i] ); - } - newContext = rsibling.test( selector ) && context.parentNode || context; - newSelector = groups.join(","); - } - - if ( newSelector ) { - try { - push.apply( results, slice.call( newContext.querySelectorAll( - newSelector - ), 0 ) ); - return results; - } catch(qsaError) { - } finally { - if ( !old ) { - context.removeAttribute("id"); - } - } - } - } - } - - // All others - return select( selector.replace( rtrim, "$1" ), context, results, seed ); -} - -/** - * Detect xml - * @param {Element|Object} elem An element or a document - */ -isXML = Sizzle.isXML = function( elem ) { - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = elem && (elem.ownerDocument || elem).documentElement; - return documentElement ? documentElement.nodeName !== "HTML" : false; -}; - -/** - * Sets document-related variables once based on the current document - * @param {Element|Object} [doc] An element or document object to use to set the document - * @returns {Object} Returns the current document - */ -setDocument = Sizzle.setDocument = function( node ) { - var doc = node ? node.ownerDocument || node : preferredDoc; - - // If no document and documentElement is available, return - if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) { - return document; - } - - // Set our document - document = doc; - docElem = doc.documentElement; - - // Support tests - documentIsXML = isXML( doc ); - - // Check if getElementsByTagName("*") returns only elements - support.tagNameNoComments = assert(function( div ) { - div.appendChild( doc.createComment("") ); - return !div.getElementsByTagName("*").length; - }); - - // Check if attributes should be retrieved by attribute nodes - support.attributes = assert(function( div ) { - div.innerHTML = ""; - var type = typeof div.lastChild.getAttribute("multiple"); - // IE8 returns a string for some attributes even when not present - return type !== "boolean" && type !== "string"; - }); - - // Check if getElementsByClassName can be trusted - support.getByClassName = assert(function( div ) { - // Opera can't find a second classname (in 9.6) - div.innerHTML = ""; - if ( !div.getElementsByClassName || !div.getElementsByClassName("e").length ) { - return false; - } - - // Safari 3.2 caches class attributes and doesn't catch changes - div.lastChild.className = "e"; - return div.getElementsByClassName("e").length === 2; - }); - - // Check if getElementById returns elements by name - // Check if getElementsByName privileges form controls or returns elements by ID - support.getByName = assert(function( div ) { - // Inject content - div.id = expando + 0; - div.innerHTML = "
                    "; - docElem.insertBefore( div, docElem.firstChild ); - - // Test - var pass = doc.getElementsByName && - // buggy browsers will return fewer than the correct 2 - doc.getElementsByName( expando ).length === 2 + - // buggy browsers will return more than the correct 0 - doc.getElementsByName( expando + 0 ).length; - support.getIdNotName = !doc.getElementById( expando ); - - // Cleanup - docElem.removeChild( div ); - - return pass; - }); - - // IE6/7 return modified attributes - Expr.attrHandle = assert(function( div ) { - div.innerHTML = ""; - return div.firstChild && typeof div.firstChild.getAttribute !== strundefined && - div.firstChild.getAttribute("href") === "#"; - }) ? - {} : - { - "href": function( elem ) { - return elem.getAttribute( "href", 2 ); - }, - "type": function( elem ) { - return elem.getAttribute("type"); - } - }; - - // ID find and filter - if ( support.getIdNotName ) { - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== strundefined && !documentIsXML ) { - var m = context.getElementById( id ); - // Check parentNode to catch when Blackberry 4.6 returns - // nodes that are no longer in the document #6963 - return m && m.parentNode ? [m] : []; - } - }; - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - return elem.getAttribute("id") === attrId; - }; - }; - } else { - Expr.find["ID"] = function( id, context ) { - if ( typeof context.getElementById !== strundefined && !documentIsXML ) { - var m = context.getElementById( id ); - - return m ? - m.id === id || typeof m.getAttributeNode !== strundefined && m.getAttributeNode("id").value === id ? - [m] : - undefined : - []; - } - }; - Expr.filter["ID"] = function( id ) { - var attrId = id.replace( runescape, funescape ); - return function( elem ) { - var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id"); - return node && node.value === attrId; - }; - }; - } - - // Tag - Expr.find["TAG"] = support.tagNameNoComments ? - function( tag, context ) { - if ( typeof context.getElementsByTagName !== strundefined ) { - return context.getElementsByTagName( tag ); - } - } : - function( tag, context ) { - var elem, - tmp = [], - i = 0, - results = context.getElementsByTagName( tag ); - - // Filter out possible comments - if ( tag === "*" ) { - while ( (elem = results[i++]) ) { - if ( elem.nodeType === 1 ) { - tmp.push( elem ); - } - } - - return tmp; - } - return results; - }; - - // Name - Expr.find["NAME"] = support.getByName && function( tag, context ) { - if ( typeof context.getElementsByName !== strundefined ) { - return context.getElementsByName( name ); - } - }; - - // Class - Expr.find["CLASS"] = support.getByClassName && function( className, context ) { - if ( typeof context.getElementsByClassName !== strundefined && !documentIsXML ) { - return context.getElementsByClassName( className ); - } - }; - - // QSA and matchesSelector support - - // matchesSelector(:active) reports false when true (IE9/Opera 11.5) - rbuggyMatches = []; - - // qSa(:focus) reports false when true (Chrome 21), - // no need to also add to buggyMatches since matches checks buggyQSA - // A support test would require too much code (would include document ready) - rbuggyQSA = [ ":focus" ]; - - if ( (support.qsa = isNative(doc.querySelectorAll)) ) { - // Build QSA regex - // Regex strategy adopted from Diego Perini - assert(function( div ) { - // Select is set to empty string on purpose - // This is to test IE's treatment of not explictly - // setting a boolean content attribute, - // since its presence should be enough - // http://bugs.jquery.com/ticket/12359 - div.innerHTML = ""; - - // IE8 - Some boolean attributes are not treated correctly - if ( !div.querySelectorAll("[selected]").length ) { - rbuggyQSA.push( "\\[" + whitespace + "*(?:checked|disabled|ismap|multiple|readonly|selected|value)" ); - } - - // Webkit/Opera - :checked should return selected option elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":checked").length ) { - rbuggyQSA.push(":checked"); - } - }); - - assert(function( div ) { - - // Opera 10-12/IE8 - ^= $= *= and empty values - // Should not select anything - div.innerHTML = ""; - if ( div.querySelectorAll("[i^='']").length ) { - rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:\"\"|'')" ); - } - - // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) - // IE8 throws error here and will not see later tests - if ( !div.querySelectorAll(":enabled").length ) { - rbuggyQSA.push( ":enabled", ":disabled" ); - } - - // Opera 10-11 does not throw on post-comma invalid pseudos - div.querySelectorAll("*,:x"); - rbuggyQSA.push(",.*:"); - }); - } - - if ( (support.matchesSelector = isNative( (matches = docElem.matchesSelector || - docElem.mozMatchesSelector || - docElem.webkitMatchesSelector || - docElem.oMatchesSelector || - docElem.msMatchesSelector) )) ) { - - assert(function( div ) { - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9) - support.disconnectedMatch = matches.call( div, "div" ); - - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call( div, "[s!='']:x" ); - rbuggyMatches.push( "!=", pseudos ); - }); - } - - rbuggyQSA = new RegExp( rbuggyQSA.join("|") ); - rbuggyMatches = new RegExp( rbuggyMatches.join("|") ); - - // Element contains another - // Purposefully does not implement inclusive descendent - // As in, an element does not contain itself - contains = isNative(docElem.contains) || docElem.compareDocumentPosition ? - function( a, b ) { - var adown = a.nodeType === 9 ? a.documentElement : a, - bup = b && b.parentNode; - return a === bup || !!( bup && bup.nodeType === 1 && ( - adown.contains ? - adown.contains( bup ) : - a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 - )); - } : - function( a, b ) { - if ( b ) { - while ( (b = b.parentNode) ) { - if ( b === a ) { - return true; - } - } - } - return false; - }; - - // Document order sorting - sortOrder = docElem.compareDocumentPosition ? - function( a, b ) { - var compare; - - if ( a === b ) { - hasDuplicate = true; - return 0; - } - - if ( (compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition( b )) ) { - if ( compare & 1 || a.parentNode && a.parentNode.nodeType === 11 ) { - if ( a === doc || contains( preferredDoc, a ) ) { - return -1; - } - if ( b === doc || contains( preferredDoc, b ) ) { - return 1; - } - return 0; - } - return compare & 4 ? -1 : 1; - } - - return a.compareDocumentPosition ? -1 : 1; - } : - function( a, b ) { - var cur, - i = 0, - aup = a.parentNode, - bup = b.parentNode, - ap = [ a ], - bp = [ b ]; - - // Exit early if the nodes are identical - if ( a === b ) { - hasDuplicate = true; - return 0; - - // Parentless nodes are either documents or disconnected - } else if ( !aup || !bup ) { - return a === doc ? -1 : - b === doc ? 1 : - aup ? -1 : - bup ? 1 : - 0; - - // If the nodes are siblings, we can do a quick check - } else if ( aup === bup ) { - return siblingCheck( a, b ); - } - - // Otherwise we need full lists of their ancestors for comparison - cur = a; - while ( (cur = cur.parentNode) ) { - ap.unshift( cur ); - } - cur = b; - while ( (cur = cur.parentNode) ) { - bp.unshift( cur ); - } - - // Walk down the tree looking for a discrepancy - while ( ap[i] === bp[i] ) { - i++; - } - - return i ? - // Do a sibling check if the nodes have a common ancestor - siblingCheck( ap[i], bp[i] ) : - - // Otherwise nodes in our document sort first - ap[i] === preferredDoc ? -1 : - bp[i] === preferredDoc ? 1 : - 0; - }; - - // Always assume the presence of duplicates if sort doesn't - // pass them to our comparison function (as in Google Chrome). - hasDuplicate = false; - [0, 0].sort( sortOrder ); - support.detectDuplicates = hasDuplicate; - - return document; -}; - -Sizzle.matches = function( expr, elements ) { - return Sizzle( expr, null, null, elements ); -}; - -Sizzle.matchesSelector = function( elem, expr ) { - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - // Make sure that attribute selectors are quoted - expr = expr.replace( rattributeQuotes, "='$1']" ); - - // rbuggyQSA always contains :focus, so no need for an existence check - if ( support.matchesSelector && !documentIsXML && (!rbuggyMatches || !rbuggyMatches.test(expr)) && !rbuggyQSA.test(expr) ) { - try { - var ret = matches.call( elem, expr ); - - // IE 9's matchesSelector returns false on disconnected nodes - if ( ret || support.disconnectedMatch || - // As well, disconnected nodes are said to be in a document - // fragment in IE 9 - elem.document && elem.document.nodeType !== 11 ) { - return ret; - } - } catch(e) {} - } - - return Sizzle( expr, document, null, [elem] ).length > 0; -}; - -Sizzle.contains = function( context, elem ) { - // Set document vars if needed - if ( ( context.ownerDocument || context ) !== document ) { - setDocument( context ); - } - return contains( context, elem ); -}; - -Sizzle.attr = function( elem, name ) { - var val; - - // Set document vars if needed - if ( ( elem.ownerDocument || elem ) !== document ) { - setDocument( elem ); - } - - if ( !documentIsXML ) { - name = name.toLowerCase(); - } - if ( (val = Expr.attrHandle[ name ]) ) { - return val( elem ); - } - if ( documentIsXML || support.attributes ) { - return elem.getAttribute( name ); - } - return ( (val = elem.getAttributeNode( name )) || elem.getAttribute( name ) ) && elem[ name ] === true ? - name : - val && val.specified ? val.value : null; -}; - -Sizzle.error = function( msg ) { - throw new Error( "Syntax error, unrecognized expression: " + msg ); -}; - -// Document sorting and removing duplicates -Sizzle.uniqueSort = function( results ) { - var elem, - duplicates = [], - i = 1, - j = 0; - - // Unless we *know* we can detect duplicates, assume their presence - hasDuplicate = !support.detectDuplicates; - results.sort( sortOrder ); - - if ( hasDuplicate ) { - for ( ; (elem = results[i]); i++ ) { - if ( elem === results[ i - 1 ] ) { - j = duplicates.push( i ); - } - } - while ( j-- ) { - results.splice( duplicates[ j ], 1 ); - } - } - - return results; -}; - -function siblingCheck( a, b ) { - var cur = b && a, - diff = cur && ( ~b.sourceIndex || MAX_NEGATIVE ) - ( ~a.sourceIndex || MAX_NEGATIVE ); - - // Use IE sourceIndex if available on both nodes - if ( diff ) { - return diff; - } - - // Check if b follows a - if ( cur ) { - while ( (cur = cur.nextSibling) ) { - if ( cur === b ) { - return -1; - } - } - } - - return a ? 1 : -1; -} - -// Returns a function to use in pseudos for input types -function createInputPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === type; - }; -} - -// Returns a function to use in pseudos for buttons -function createButtonPseudo( type ) { - return function( elem ) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && elem.type === type; - }; -} - -// Returns a function to use in pseudos for positionals -function createPositionalPseudo( fn ) { - return markFunction(function( argument ) { - argument = +argument; - return markFunction(function( seed, matches ) { - var j, - matchIndexes = fn( [], seed.length, argument ), - i = matchIndexes.length; - - // Match elements found at the specified indexes - while ( i-- ) { - if ( seed[ (j = matchIndexes[i]) ] ) { - seed[j] = !(matches[j] = seed[j]); - } - } - }); - }); -} - -/** - * Utility function for retrieving the text value of an array of DOM nodes - * @param {Array|Element} elem - */ -getText = Sizzle.getText = function( elem ) { - var node, - ret = "", - i = 0, - nodeType = elem.nodeType; - - if ( !nodeType ) { - // If no nodeType, this is expected to be an array - for ( ; (node = elem[i]); i++ ) { - // Do not traverse comment nodes - ret += getText( node ); - } - } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { - // Use textContent for elements - // innerText usage removed for consistency of new lines (see #11153) - if ( typeof elem.textContent === "string" ) { - return elem.textContent; - } else { - // Traverse its children - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - ret += getText( elem ); - } - } - } else if ( nodeType === 3 || nodeType === 4 ) { - return elem.nodeValue; - } - // Do not include comment or processing instruction nodes - - return ret; -}; - -Expr = Sizzle.selectors = { - - // Can be adjusted by the user - cacheLength: 50, - - createPseudo: markFunction, - - match: matchExpr, - - find: {}, - - relative: { - ">": { dir: "parentNode", first: true }, - " ": { dir: "parentNode" }, - "+": { dir: "previousSibling", first: true }, - "~": { dir: "previousSibling" } - }, - - preFilter: { - "ATTR": function( match ) { - match[1] = match[1].replace( runescape, funescape ); - - // Move the given value to match[3] whether quoted or unquoted - match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape ); - - if ( match[2] === "~=" ) { - match[3] = " " + match[3] + " "; - } - - return match.slice( 0, 4 ); - }, - - "CHILD": function( match ) { - /* matches from matchExpr["CHILD"] - 1 type (only|nth|...) - 2 what (child|of-type) - 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) - 4 xn-component of xn+y argument ([+-]?\d*n|) - 5 sign of xn-component - 6 x of xn-component - 7 sign of y-component - 8 y of y-component - */ - match[1] = match[1].toLowerCase(); - - if ( match[1].slice( 0, 3 ) === "nth" ) { - // nth-* requires argument - if ( !match[3] ) { - Sizzle.error( match[0] ); - } - - // numeric x and y parameters for Expr.filter.CHILD - // remember that false/true cast respectively to 0/1 - match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) ); - match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" ); - - // other types prohibit arguments - } else if ( match[3] ) { - Sizzle.error( match[0] ); - } - - return match; - }, - - "PSEUDO": function( match ) { - var excess, - unquoted = !match[5] && match[2]; - - if ( matchExpr["CHILD"].test( match[0] ) ) { - return null; - } - - // Accept quoted arguments as-is - if ( match[4] ) { - match[2] = match[4]; - - // Strip excess characters from unquoted arguments - } else if ( unquoted && rpseudo.test( unquoted ) && - // Get excess from tokenize (recursively) - (excess = tokenize( unquoted, true )) && - // advance to the next closing parenthesis - (excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) { - - // excess is a negative index - match[0] = match[0].slice( 0, excess ); - match[2] = unquoted.slice( 0, excess ); - } - - // Return only captures needed by the pseudo filter method (type and argument) - return match.slice( 0, 3 ); - } - }, - - filter: { - - "TAG": function( nodeName ) { - if ( nodeName === "*" ) { - return function() { return true; }; - } - - nodeName = nodeName.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; - }; - }, - - "CLASS": function( className ) { - var pattern = classCache[ className + " " ]; - - return pattern || - (pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) && - classCache( className, function( elem ) { - return pattern.test( elem.className || (typeof elem.getAttribute !== strundefined && elem.getAttribute("class")) || "" ); - }); - }, - - "ATTR": function( name, operator, check ) { - return function( elem ) { - var result = Sizzle.attr( elem, name ); - - if ( result == null ) { - return operator === "!="; - } - if ( !operator ) { - return true; - } - - result += ""; - - return operator === "=" ? result === check : - operator === "!=" ? result !== check : - operator === "^=" ? check && result.indexOf( check ) === 0 : - operator === "*=" ? check && result.indexOf( check ) > -1 : - operator === "$=" ? check && result.slice( -check.length ) === check : - operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 : - operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : - false; - }; - }, - - "CHILD": function( type, what, argument, first, last ) { - var simple = type.slice( 0, 3 ) !== "nth", - forward = type.slice( -4 ) !== "last", - ofType = what === "of-type"; - - return first === 1 && last === 0 ? - - // Shortcut for :nth-*(n) - function( elem ) { - return !!elem.parentNode; - } : - - function( elem, context, xml ) { - var cache, outerCache, node, diff, nodeIndex, start, - dir = simple !== forward ? "nextSibling" : "previousSibling", - parent = elem.parentNode, - name = ofType && elem.nodeName.toLowerCase(), - useCache = !xml && !ofType; - - if ( parent ) { - - // :(first|last|only)-(child|of-type) - if ( simple ) { - while ( dir ) { - node = elem; - while ( (node = node[ dir ]) ) { - if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) { - return false; - } - } - // Reverse direction for :only-* (if we haven't yet done so) - start = dir = type === "only" && !start && "nextSibling"; - } - return true; - } - - start = [ forward ? parent.firstChild : parent.lastChild ]; - - // non-xml :nth-child(...) stores cache data on `parent` - if ( forward && useCache ) { - // Seek `elem` from a previously-cached index - outerCache = parent[ expando ] || (parent[ expando ] = {}); - cache = outerCache[ type ] || []; - nodeIndex = cache[0] === dirruns && cache[1]; - diff = cache[0] === dirruns && cache[2]; - node = nodeIndex && parent.childNodes[ nodeIndex ]; - - while ( (node = ++nodeIndex && node && node[ dir ] || - - // Fallback to seeking `elem` from the start - (diff = nodeIndex = 0) || start.pop()) ) { - - // When found, cache indexes on `parent` and break - if ( node.nodeType === 1 && ++diff && node === elem ) { - outerCache[ type ] = [ dirruns, nodeIndex, diff ]; - break; - } - } - - // Use previously-cached element index if available - } else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) { - diff = cache[1]; - - // xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...) - } else { - // Use the same loop as above to seek `elem` from the start - while ( (node = ++nodeIndex && node && node[ dir ] || - (diff = nodeIndex = 0) || start.pop()) ) { - - if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) { - // Cache the index of each encountered element - if ( useCache ) { - (node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ]; - } - - if ( node === elem ) { - break; - } - } - } - } - - // Incorporate the offset, then check against cycle size - diff -= last; - return diff === first || ( diff % first === 0 && diff / first >= 0 ); - } - }; - }, - - "PSEUDO": function( pseudo, argument ) { - // pseudo-class names are case-insensitive - // http://www.w3.org/TR/selectors/#pseudo-classes - // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters - // Remember that setFilters inherits from pseudos - var args, - fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || - Sizzle.error( "unsupported pseudo: " + pseudo ); - - // The user may use createPseudo to indicate that - // arguments are needed to create the filter function - // just as Sizzle does - if ( fn[ expando ] ) { - return fn( argument ); - } - - // But maintain support for old signatures - if ( fn.length > 1 ) { - args = [ pseudo, pseudo, "", argument ]; - return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? - markFunction(function( seed, matches ) { - var idx, - matched = fn( seed, argument ), - i = matched.length; - while ( i-- ) { - idx = indexOf.call( seed, matched[i] ); - seed[ idx ] = !( matches[ idx ] = matched[i] ); - } - }) : - function( elem ) { - return fn( elem, 0, args ); - }; - } - - return fn; - } - }, - - pseudos: { - // Potentially complex pseudos - "not": markFunction(function( selector ) { - // Trim the selector passed to compile - // to avoid treating leading and trailing - // spaces as combinators - var input = [], - results = [], - matcher = compile( selector.replace( rtrim, "$1" ) ); - - return matcher[ expando ] ? - markFunction(function( seed, matches, context, xml ) { - var elem, - unmatched = matcher( seed, null, xml, [] ), - i = seed.length; - - // Match elements unmatched by `matcher` - while ( i-- ) { - if ( (elem = unmatched[i]) ) { - seed[i] = !(matches[i] = elem); - } - } - }) : - function( elem, context, xml ) { - input[0] = elem; - matcher( input, null, xml, results ); - return !results.pop(); - }; - }), - - "has": markFunction(function( selector ) { - return function( elem ) { - return Sizzle( selector, elem ).length > 0; - }; - }), - - "contains": markFunction(function( text ) { - return function( elem ) { - return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1; - }; - }), - - // "Whether an element is represented by a :lang() selector - // is based solely on the element's language value - // being equal to the identifier C, - // or beginning with the identifier C immediately followed by "-". - // The matching of C against the element's language value is performed case-insensitively. - // The identifier C does not have to be a valid language name." - // http://www.w3.org/TR/selectors/#lang-pseudo - "lang": markFunction( function( lang ) { - // lang value must be a valid identifider - if ( !ridentifier.test(lang || "") ) { - Sizzle.error( "unsupported lang: " + lang ); - } - lang = lang.replace( runescape, funescape ).toLowerCase(); - return function( elem ) { - var elemLang; - do { - if ( (elemLang = documentIsXML ? - elem.getAttribute("xml:lang") || elem.getAttribute("lang") : - elem.lang) ) { - - elemLang = elemLang.toLowerCase(); - return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; - } - } while ( (elem = elem.parentNode) && elem.nodeType === 1 ); - return false; - }; - }), - - // Miscellaneous - "target": function( elem ) { - var hash = window.location && window.location.hash; - return hash && hash.slice( 1 ) === elem.id; - }, - - "root": function( elem ) { - return elem === docElem; - }, - - "focus": function( elem ) { - return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); - }, - - // Boolean properties - "enabled": function( elem ) { - return elem.disabled === false; - }, - - "disabled": function( elem ) { - return elem.disabled === true; - }, - - "checked": function( elem ) { - // In CSS3, :checked should return both checked and selected elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - var nodeName = elem.nodeName.toLowerCase(); - return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); - }, - - "selected": function( elem ) { - // Accessing this property makes selected-by-default - // options in Safari work properly - if ( elem.parentNode ) { - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - // Contents - "empty": function( elem ) { - // http://www.w3.org/TR/selectors/#empty-pseudo - // :empty is only affected by element nodes and content nodes(including text(3), cdata(4)), - // not comment, processing instructions, or others - // Thanks to Diego Perini for the nodeName shortcut - // Greater than "@" means alpha characters (specifically not starting with "#" or "?") - for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { - if ( elem.nodeName > "@" || elem.nodeType === 3 || elem.nodeType === 4 ) { - return false; - } - } - return true; - }, - - "parent": function( elem ) { - return !Expr.pseudos["empty"]( elem ); - }, - - // Element/input types - "header": function( elem ) { - return rheader.test( elem.nodeName ); - }, - - "input": function( elem ) { - return rinputs.test( elem.nodeName ); - }, - - "button": function( elem ) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === "button" || name === "button"; - }, - - "text": function( elem ) { - var attr; - // IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc) - // use getAttribute instead to test this case - return elem.nodeName.toLowerCase() === "input" && - elem.type === "text" && - ( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === elem.type ); - }, - - // Position-in-collection - "first": createPositionalPseudo(function() { - return [ 0 ]; - }), - - "last": createPositionalPseudo(function( matchIndexes, length ) { - return [ length - 1 ]; - }), - - "eq": createPositionalPseudo(function( matchIndexes, length, argument ) { - return [ argument < 0 ? argument + length : argument ]; - }), - - "even": createPositionalPseudo(function( matchIndexes, length ) { - var i = 0; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "odd": createPositionalPseudo(function( matchIndexes, length ) { - var i = 1; - for ( ; i < length; i += 2 ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "lt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; --i >= 0; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }), - - "gt": createPositionalPseudo(function( matchIndexes, length, argument ) { - var i = argument < 0 ? argument + length : argument; - for ( ; ++i < length; ) { - matchIndexes.push( i ); - } - return matchIndexes; - }) - } -}; - -// Add button/input type pseudos -for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { - Expr.pseudos[ i ] = createInputPseudo( i ); -} -for ( i in { submit: true, reset: true } ) { - Expr.pseudos[ i ] = createButtonPseudo( i ); -} - -function tokenize( selector, parseOnly ) { - var matched, match, tokens, type, - soFar, groups, preFilters, - cached = tokenCache[ selector + " " ]; - - if ( cached ) { - return parseOnly ? 0 : cached.slice( 0 ); - } - - soFar = selector; - groups = []; - preFilters = Expr.preFilter; - - while ( soFar ) { - - // Comma and first run - if ( !matched || (match = rcomma.exec( soFar )) ) { - if ( match ) { - // Don't consume trailing commas as valid - soFar = soFar.slice( match[0].length ) || soFar; - } - groups.push( tokens = [] ); - } - - matched = false; - - // Combinators - if ( (match = rcombinators.exec( soFar )) ) { - matched = match.shift(); - tokens.push( { - value: matched, - // Cast descendant combinators to space - type: match[0].replace( rtrim, " " ) - } ); - soFar = soFar.slice( matched.length ); - } - - // Filters - for ( type in Expr.filter ) { - if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] || - (match = preFilters[ type ]( match ))) ) { - matched = match.shift(); - tokens.push( { - value: matched, - type: type, - matches: match - } ); - soFar = soFar.slice( matched.length ); - } - } - - if ( !matched ) { - break; - } - } - - // Return the length of the invalid excess - // if we're just parsing - // Otherwise, throw an error or return tokens - return parseOnly ? - soFar.length : - soFar ? - Sizzle.error( selector ) : - // Cache the tokens - tokenCache( selector, groups ).slice( 0 ); -} - -function toSelector( tokens ) { - var i = 0, - len = tokens.length, - selector = ""; - for ( ; i < len; i++ ) { - selector += tokens[i].value; - } - return selector; -} - -function addCombinator( matcher, combinator, base ) { - var dir = combinator.dir, - checkNonElements = base && dir === "parentNode", - doneName = done++; - - return combinator.first ? - // Check against closest ancestor/preceding element - function( elem, context, xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - return matcher( elem, context, xml ); - } - } - } : - - // Check against all ancestor/preceding elements - function( elem, context, xml ) { - var data, cache, outerCache, - dirkey = dirruns + " " + doneName; - - // We can't set arbitrary data on XML nodes, so they don't benefit from dir caching - if ( xml ) { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - if ( matcher( elem, context, xml ) ) { - return true; - } - } - } - } else { - while ( (elem = elem[ dir ]) ) { - if ( elem.nodeType === 1 || checkNonElements ) { - outerCache = elem[ expando ] || (elem[ expando ] = {}); - if ( (cache = outerCache[ dir ]) && cache[0] === dirkey ) { - if ( (data = cache[1]) === true || data === cachedruns ) { - return data === true; - } - } else { - cache = outerCache[ dir ] = [ dirkey ]; - cache[1] = matcher( elem, context, xml ) || cachedruns; - if ( cache[1] === true ) { - return true; - } - } - } - } - } - }; -} - -function elementMatcher( matchers ) { - return matchers.length > 1 ? - function( elem, context, xml ) { - var i = matchers.length; - while ( i-- ) { - if ( !matchers[i]( elem, context, xml ) ) { - return false; - } - } - return true; - } : - matchers[0]; -} - -function condense( unmatched, map, filter, context, xml ) { - var elem, - newUnmatched = [], - i = 0, - len = unmatched.length, - mapped = map != null; - - for ( ; i < len; i++ ) { - if ( (elem = unmatched[i]) ) { - if ( !filter || filter( elem, context, xml ) ) { - newUnmatched.push( elem ); - if ( mapped ) { - map.push( i ); - } - } - } - } - - return newUnmatched; -} - -function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { - if ( postFilter && !postFilter[ expando ] ) { - postFilter = setMatcher( postFilter ); - } - if ( postFinder && !postFinder[ expando ] ) { - postFinder = setMatcher( postFinder, postSelector ); - } - return markFunction(function( seed, results, context, xml ) { - var temp, i, elem, - preMap = [], - postMap = [], - preexisting = results.length, - - // Get initial elements from seed or context - elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ), - - // Prefilter to get matcher input, preserving a map for seed-results synchronization - matcherIn = preFilter && ( seed || !selector ) ? - condense( elems, preMap, preFilter, context, xml ) : - elems, - - matcherOut = matcher ? - // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, - postFinder || ( seed ? preFilter : preexisting || postFilter ) ? - - // ...intermediate processing is necessary - [] : - - // ...otherwise use results directly - results : - matcherIn; - - // Find primary matches - if ( matcher ) { - matcher( matcherIn, matcherOut, context, xml ); - } - - // Apply postFilter - if ( postFilter ) { - temp = condense( matcherOut, postMap ); - postFilter( temp, [], context, xml ); - - // Un-match failing elements by moving them back to matcherIn - i = temp.length; - while ( i-- ) { - if ( (elem = temp[i]) ) { - matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem); - } - } - } - - if ( seed ) { - if ( postFinder || preFilter ) { - if ( postFinder ) { - // Get the final matcherOut by condensing this intermediate into postFinder contexts - temp = []; - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) ) { - // Restore matcherIn since elem is not yet a final match - temp.push( (matcherIn[i] = elem) ); - } - } - postFinder( null, (matcherOut = []), temp, xml ); - } - - // Move matched elements from seed to results to keep them synchronized - i = matcherOut.length; - while ( i-- ) { - if ( (elem = matcherOut[i]) && - (temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) { - - seed[temp] = !(results[temp] = elem); - } - } - } - - // Add elements to results, through postFinder if defined - } else { - matcherOut = condense( - matcherOut === results ? - matcherOut.splice( preexisting, matcherOut.length ) : - matcherOut - ); - if ( postFinder ) { - postFinder( null, results, matcherOut, xml ); - } else { - push.apply( results, matcherOut ); - } - } - }); -} - -function matcherFromTokens( tokens ) { - var checkContext, matcher, j, - len = tokens.length, - leadingRelative = Expr.relative[ tokens[0].type ], - implicitRelative = leadingRelative || Expr.relative[" "], - i = leadingRelative ? 1 : 0, - - // The foundational matcher ensures that elements are reachable from top-level context(s) - matchContext = addCombinator( function( elem ) { - return elem === checkContext; - }, implicitRelative, true ), - matchAnyContext = addCombinator( function( elem ) { - return indexOf.call( checkContext, elem ) > -1; - }, implicitRelative, true ), - matchers = [ function( elem, context, xml ) { - return ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( - (checkContext = context).nodeType ? - matchContext( elem, context, xml ) : - matchAnyContext( elem, context, xml ) ); - } ]; - - for ( ; i < len; i++ ) { - if ( (matcher = Expr.relative[ tokens[i].type ]) ) { - matchers = [ addCombinator(elementMatcher( matchers ), matcher) ]; - } else { - matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches ); - - // Return special upon seeing a positional matcher - if ( matcher[ expando ] ) { - // Find the next relative operator (if any) for proper handling - j = ++i; - for ( ; j < len; j++ ) { - if ( Expr.relative[ tokens[j].type ] ) { - break; - } - } - return setMatcher( - i > 1 && elementMatcher( matchers ), - i > 1 && toSelector( tokens.slice( 0, i - 1 ) ).replace( rtrim, "$1" ), - matcher, - i < j && matcherFromTokens( tokens.slice( i, j ) ), - j < len && matcherFromTokens( (tokens = tokens.slice( j )) ), - j < len && toSelector( tokens ) - ); - } - matchers.push( matcher ); - } - } - - return elementMatcher( matchers ); -} - -function matcherFromGroupMatchers( elementMatchers, setMatchers ) { - // A counter to specify which element is currently being matched - var matcherCachedRuns = 0, - bySet = setMatchers.length > 0, - byElement = elementMatchers.length > 0, - superMatcher = function( seed, context, xml, results, expandContext ) { - var elem, j, matcher, - setMatched = [], - matchedCount = 0, - i = "0", - unmatched = seed && [], - outermost = expandContext != null, - contextBackup = outermostContext, - // We must always have either seed elements or context - elems = seed || byElement && Expr.find["TAG"]( "*", expandContext && context.parentNode || context ), - // Use integer dirruns iff this is the outermost matcher - dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1); - - if ( outermost ) { - outermostContext = context !== document && context; - cachedruns = matcherCachedRuns; - } - - // Add elements passing elementMatchers directly to results - // Keep `i` a string if there are no elements so `matchedCount` will be "00" below - for ( ; (elem = elems[i]) != null; i++ ) { - if ( byElement && elem ) { - j = 0; - while ( (matcher = elementMatchers[j++]) ) { - if ( matcher( elem, context, xml ) ) { - results.push( elem ); - break; - } - } - if ( outermost ) { - dirruns = dirrunsUnique; - cachedruns = ++matcherCachedRuns; - } - } - - // Track unmatched elements for set filters - if ( bySet ) { - // They will have gone through all possible matchers - if ( (elem = !matcher && elem) ) { - matchedCount--; - } - - // Lengthen the array for every element, matched or not - if ( seed ) { - unmatched.push( elem ); - } - } - } - - // Apply set filters to unmatched elements - matchedCount += i; - if ( bySet && i !== matchedCount ) { - j = 0; - while ( (matcher = setMatchers[j++]) ) { - matcher( unmatched, setMatched, context, xml ); - } - - if ( seed ) { - // Reintegrate element matches to eliminate the need for sorting - if ( matchedCount > 0 ) { - while ( i-- ) { - if ( !(unmatched[i] || setMatched[i]) ) { - setMatched[i] = pop.call( results ); - } - } - } - - // Discard index placeholder values to get only actual matches - setMatched = condense( setMatched ); - } - - // Add matches to results - push.apply( results, setMatched ); - - // Seedless set matches succeeding multiple successful matchers stipulate sorting - if ( outermost && !seed && setMatched.length > 0 && - ( matchedCount + setMatchers.length ) > 1 ) { - - Sizzle.uniqueSort( results ); - } - } - - // Override manipulation of globals by nested matchers - if ( outermost ) { - dirruns = dirrunsUnique; - outermostContext = contextBackup; - } - - return unmatched; - }; - - return bySet ? - markFunction( superMatcher ) : - superMatcher; -} - -compile = Sizzle.compile = function( selector, group /* Internal Use Only */ ) { - var i, - setMatchers = [], - elementMatchers = [], - cached = compilerCache[ selector + " " ]; - - if ( !cached ) { - // Generate a function of recursive functions that can be used to check each element - if ( !group ) { - group = tokenize( selector ); - } - i = group.length; - while ( i-- ) { - cached = matcherFromTokens( group[i] ); - if ( cached[ expando ] ) { - setMatchers.push( cached ); - } else { - elementMatchers.push( cached ); - } - } - - // Cache the compiled function - cached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) ); - } - return cached; -}; - -function multipleContexts( selector, contexts, results ) { - var i = 0, - len = contexts.length; - for ( ; i < len; i++ ) { - Sizzle( selector, contexts[i], results ); - } - return results; -} - -function select( selector, context, results, seed ) { - var i, tokens, token, type, find, - match = tokenize( selector ); - - if ( !seed ) { - // Try to minimize operations if there is only one group - if ( match.length === 1 ) { - - // Take a shortcut and set the context if the root selector is an ID - tokens = match[0] = match[0].slice( 0 ); - if ( tokens.length > 2 && (token = tokens[0]).type === "ID" && - context.nodeType === 9 && !documentIsXML && - Expr.relative[ tokens[1].type ] ) { - - context = Expr.find["ID"]( token.matches[0].replace( runescape, funescape ), context )[0]; - if ( !context ) { - return results; - } - - selector = selector.slice( tokens.shift().value.length ); - } - - // Fetch a seed set for right-to-left matching - i = matchExpr["needsContext"].test( selector ) ? 0 : tokens.length; - while ( i-- ) { - token = tokens[i]; - - // Abort if we hit a combinator - if ( Expr.relative[ (type = token.type) ] ) { - break; - } - if ( (find = Expr.find[ type ]) ) { - // Search, expanding context for leading sibling combinators - if ( (seed = find( - token.matches[0].replace( runescape, funescape ), - rsibling.test( tokens[0].type ) && context.parentNode || context - )) ) { - - // If seed is empty or no tokens remain, we can return early - tokens.splice( i, 1 ); - selector = seed.length && toSelector( tokens ); - if ( !selector ) { - push.apply( results, slice.call( seed, 0 ) ); - return results; - } - - break; - } - } - } - } - } - - // Compile and execute a filtering function - // Provide `match` to avoid retokenization if we modified the selector above - compile( selector, match )( - seed, - context, - documentIsXML, - results, - rsibling.test( selector ) - ); - return results; -} - -// Deprecated -Expr.pseudos["nth"] = Expr.pseudos["eq"]; - -// Easy API for creating new setFilters -function setFilters() {} -Expr.filters = setFilters.prototype = Expr.pseudos; -Expr.setFilters = new setFilters(); - -// Initialize with the default document -setDocument(); - -// Override sizzle attribute retrieval -Sizzle.attr = jQuery.attr; -jQuery.find = Sizzle; -jQuery.expr = Sizzle.selectors; -jQuery.expr[":"] = jQuery.expr.pseudos; -jQuery.unique = Sizzle.uniqueSort; -jQuery.text = Sizzle.getText; -jQuery.isXMLDoc = Sizzle.isXML; -jQuery.contains = Sizzle.contains; - - -})( window ); -var runtil = /Until$/, - rparentsprev = /^(?:parents|prev(?:Until|All))/, - isSimple = /^.[^:#\[\.,]*$/, - rneedsContext = jQuery.expr.match.needsContext, - // methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - -jQuery.fn.extend({ - find: function( selector ) { - var i, ret, self, - len = this.length; - - if ( typeof selector !== "string" ) { - self = this; - return this.pushStack( jQuery( selector ).filter(function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( self[ i ], this ) ) { - return true; - } - } - }) ); - } - - ret = []; - for ( i = 0; i < len; i++ ) { - jQuery.find( selector, this[ i ], ret ); - } - - // Needed because $( selector, context ) becomes $( context ).find( selector ) - ret = this.pushStack( len > 1 ? jQuery.unique( ret ) : ret ); - ret.selector = ( this.selector ? this.selector + " " : "" ) + selector; - return ret; - }, - - has: function( target ) { - var i, - targets = jQuery( target, this ), - len = targets.length; - - return this.filter(function() { - for ( i = 0; i < len; i++ ) { - if ( jQuery.contains( this, targets[i] ) ) { - return true; - } - } - }); - }, - - not: function( selector ) { - return this.pushStack( winnow(this, selector, false) ); - }, - - filter: function( selector ) { - return this.pushStack( winnow(this, selector, true) ); - }, - - is: function( selector ) { - return !!selector && ( - typeof selector === "string" ? - // If this is a positional/relative selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - rneedsContext.test( selector ) ? - jQuery( selector, this.context ).index( this[0] ) >= 0 : - jQuery.filter( selector, this ).length > 0 : - this.filter( selector ).length > 0 ); - }, - - closest: function( selectors, context ) { - var cur, - i = 0, - l = this.length, - ret = [], - pos = rneedsContext.test( selectors ) || typeof selectors !== "string" ? - jQuery( selectors, context || this.context ) : - 0; - - for ( ; i < l; i++ ) { - cur = this[i]; - - while ( cur && cur.ownerDocument && cur !== context && cur.nodeType !== 11 ) { - if ( pos ? pos.index(cur) > -1 : jQuery.find.matchesSelector(cur, selectors) ) { - ret.push( cur ); - break; - } - cur = cur.parentNode; - } - } - - return this.pushStack( ret.length > 1 ? jQuery.unique( ret ) : ret ); - }, - - // Determine the position of an element within - // the matched set of elements - index: function( elem ) { - - // No argument, return index in parent - if ( !elem ) { - return ( this[0] && this[0].parentNode ) ? this.first().prevAll().length : -1; - } - - // index in selector - if ( typeof elem === "string" ) { - return jQuery.inArray( this[0], jQuery( elem ) ); - } - - // Locate the position of the desired element - return jQuery.inArray( - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[0] : elem, this ); - }, - - add: function( selector, context ) { - var set = typeof selector === "string" ? - jQuery( selector, context ) : - jQuery.makeArray( selector && selector.nodeType ? [ selector ] : selector ), - all = jQuery.merge( this.get(), set ); - - return this.pushStack( jQuery.unique(all) ); - }, - - addBack: function( selector ) { - return this.add( selector == null ? - this.prevObject : this.prevObject.filter(selector) - ); - } -}); - -jQuery.fn.andSelf = jQuery.fn.addBack; - -function sibling( cur, dir ) { - do { - cur = cur[ dir ]; - } while ( cur && cur.nodeType !== 1 ); - - return cur; -} - -jQuery.each({ - parent: function( elem ) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function( elem ) { - return jQuery.dir( elem, "parentNode" ); - }, - parentsUntil: function( elem, i, until ) { - return jQuery.dir( elem, "parentNode", until ); - }, - next: function( elem ) { - return sibling( elem, "nextSibling" ); - }, - prev: function( elem ) { - return sibling( elem, "previousSibling" ); - }, - nextAll: function( elem ) { - return jQuery.dir( elem, "nextSibling" ); - }, - prevAll: function( elem ) { - return jQuery.dir( elem, "previousSibling" ); - }, - nextUntil: function( elem, i, until ) { - return jQuery.dir( elem, "nextSibling", until ); - }, - prevUntil: function( elem, i, until ) { - return jQuery.dir( elem, "previousSibling", until ); - }, - siblings: function( elem ) { - return jQuery.sibling( ( elem.parentNode || {} ).firstChild, elem ); - }, - children: function( elem ) { - return jQuery.sibling( elem.firstChild ); - }, - contents: function( elem ) { - return jQuery.nodeName( elem, "iframe" ) ? - elem.contentDocument || elem.contentWindow.document : - jQuery.merge( [], elem.childNodes ); - } -}, function( name, fn ) { - jQuery.fn[ name ] = function( until, selector ) { - var ret = jQuery.map( this, fn, until ); - - if ( !runtil.test( name ) ) { - selector = until; - } - - if ( selector && typeof selector === "string" ) { - ret = jQuery.filter( selector, ret ); - } - - ret = this.length > 1 && !guaranteedUnique[ name ] ? jQuery.unique( ret ) : ret; - - if ( this.length > 1 && rparentsprev.test( name ) ) { - ret = ret.reverse(); - } - - return this.pushStack( ret ); - }; -}); - -jQuery.extend({ - filter: function( expr, elems, not ) { - if ( not ) { - expr = ":not(" + expr + ")"; - } - - return elems.length === 1 ? - jQuery.find.matchesSelector(elems[0], expr) ? [ elems[0] ] : [] : - jQuery.find.matches(expr, elems); - }, - - dir: function( elem, dir, until ) { - var matched = [], - cur = elem[ dir ]; - - while ( cur && cur.nodeType !== 9 && (until === undefined || cur.nodeType !== 1 || !jQuery( cur ).is( until )) ) { - if ( cur.nodeType === 1 ) { - matched.push( cur ); - } - cur = cur[dir]; - } - return matched; - }, - - sibling: function( n, elem ) { - var r = []; - - for ( ; n; n = n.nextSibling ) { - if ( n.nodeType === 1 && n !== elem ) { - r.push( n ); - } - } - - return r; - } -}); - -// Implement the identical functionality for filter and not -function winnow( elements, qualifier, keep ) { - - // Can't pass null or undefined to indexOf in Firefox 4 - // Set to 0 to skip string check - qualifier = qualifier || 0; - - if ( jQuery.isFunction( qualifier ) ) { - return jQuery.grep(elements, function( elem, i ) { - var retVal = !!qualifier.call( elem, i, elem ); - return retVal === keep; - }); - - } else if ( qualifier.nodeType ) { - return jQuery.grep(elements, function( elem ) { - return ( elem === qualifier ) === keep; - }); - - } else if ( typeof qualifier === "string" ) { - var filtered = jQuery.grep(elements, function( elem ) { - return elem.nodeType === 1; - }); - - if ( isSimple.test( qualifier ) ) { - return jQuery.filter(qualifier, filtered, !keep); - } else { - qualifier = jQuery.filter( qualifier, filtered ); - } - } - - return jQuery.grep(elements, function( elem ) { - return ( jQuery.inArray( elem, qualifier ) >= 0 ) === keep; - }); -} -function createSafeFragment( document ) { - var list = nodeNames.split( "|" ), - safeFrag = document.createDocumentFragment(); - - if ( safeFrag.createElement ) { - while ( list.length ) { - safeFrag.createElement( - list.pop() - ); - } - } - return safeFrag; -} - -var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" + - "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", - rinlinejQuery = / jQuery\d+="(?:null|\d+)"/g, - rnoshimcache = new RegExp("<(?:" + nodeNames + ")[\\s/>]", "i"), - rleadingWhitespace = /^\s+/, - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi, - rtagName = /<([\w:]+)/, - rtbody = /\s*$/g, - - // We have to close these tags to support XHTML (#13200) - wrapMap = { - option: [ 1, "" ], - legend: [ 1, "
                    ", "
                    " ], - area: [ 1, "", "" ], - param: [ 1, "", "" ], - thead: [ 1, "", "
                    " ], - tr: [ 2, "", "
                    " ], - col: [ 2, "", "
                    " ], - td: [ 3, "", "
                    " ], - - // IE6-8 can't serialize link, script, style, or any html5 (NoScope) tags, - // unless wrapped in a div with non-breaking characters in front of it. - _default: jQuery.support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X
                    ", "
                    " ] - }, - safeFragment = createSafeFragment( document ), - fragmentDiv = safeFragment.appendChild( document.createElement("div") ); - -wrapMap.optgroup = wrapMap.option; -wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; -wrapMap.th = wrapMap.td; - -jQuery.fn.extend({ - text: function( value ) { - return jQuery.access( this, function( value ) { - return value === undefined ? - jQuery.text( this ) : - this.empty().append( ( this[0] && this[0].ownerDocument || document ).createTextNode( value ) ); - }, null, value, arguments.length ); - }, - - wrapAll: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each(function(i) { - jQuery(this).wrapAll( html.call(this, i) ); - }); - } - - if ( this[0] ) { - // The elements to wrap the target around - var wrap = jQuery( html, this[0].ownerDocument ).eq(0).clone(true); - - if ( this[0].parentNode ) { - wrap.insertBefore( this[0] ); - } - - wrap.map(function() { - var elem = this; - - while ( elem.firstChild && elem.firstChild.nodeType === 1 ) { - elem = elem.firstChild; - } - - return elem; - }).append( this ); - } - - return this; - }, - - wrapInner: function( html ) { - if ( jQuery.isFunction( html ) ) { - return this.each(function(i) { - jQuery(this).wrapInner( html.call(this, i) ); - }); - } - - return this.each(function() { - var self = jQuery( this ), - contents = self.contents(); - - if ( contents.length ) { - contents.wrapAll( html ); - - } else { - self.append( html ); - } - }); - }, - - wrap: function( html ) { - var isFunction = jQuery.isFunction( html ); - - return this.each(function(i) { - jQuery( this ).wrapAll( isFunction ? html.call(this, i) : html ); - }); - }, - - unwrap: function() { - return this.parent().each(function() { - if ( !jQuery.nodeName( this, "body" ) ) { - jQuery( this ).replaceWith( this.childNodes ); - } - }).end(); - }, - - append: function() { - return this.domManip(arguments, true, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - this.appendChild( elem ); - } - }); - }, - - prepend: function() { - return this.domManip(arguments, true, function( elem ) { - if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { - this.insertBefore( elem, this.firstChild ); - } - }); - }, - - before: function() { - return this.domManip( arguments, false, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this ); - } - }); - }, - - after: function() { - return this.domManip( arguments, false, function( elem ) { - if ( this.parentNode ) { - this.parentNode.insertBefore( elem, this.nextSibling ); - } - }); - }, - - // keepData is for internal use only--do not document - remove: function( selector, keepData ) { - var elem, - i = 0; - - for ( ; (elem = this[i]) != null; i++ ) { - if ( !selector || jQuery.filter( selector, [ elem ] ).length > 0 ) { - if ( !keepData && elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem ) ); - } - - if ( elem.parentNode ) { - if ( keepData && jQuery.contains( elem.ownerDocument, elem ) ) { - setGlobalEval( getAll( elem, "script" ) ); - } - elem.parentNode.removeChild( elem ); - } - } - } - - return this; - }, - - empty: function() { - var elem, - i = 0; - - for ( ; (elem = this[i]) != null; i++ ) { - // Remove element nodes and prevent memory leaks - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - } - - // Remove any remaining nodes - while ( elem.firstChild ) { - elem.removeChild( elem.firstChild ); - } - - // If this is a select, ensure that it displays empty (#12336) - // Support: IE<9 - if ( elem.options && jQuery.nodeName( elem, "select" ) ) { - elem.options.length = 0; - } - } - - return this; - }, - - clone: function( dataAndEvents, deepDataAndEvents ) { - dataAndEvents = dataAndEvents == null ? false : dataAndEvents; - deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; - - return this.map( function () { - return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); - }); - }, - - html: function( value ) { - return jQuery.access( this, function( value ) { - var elem = this[0] || {}, - i = 0, - l = this.length; - - if ( value === undefined ) { - return elem.nodeType === 1 ? - elem.innerHTML.replace( rinlinejQuery, "" ) : - undefined; - } - - // See if we can take a shortcut and just use innerHTML - if ( typeof value === "string" && !rnoInnerhtml.test( value ) && - ( jQuery.support.htmlSerialize || !rnoshimcache.test( value ) ) && - ( jQuery.support.leadingWhitespace || !rleadingWhitespace.test( value ) ) && - !wrapMap[ ( rtagName.exec( value ) || ["", ""] )[1].toLowerCase() ] ) { - - value = value.replace( rxhtmlTag, "<$1>" ); - - try { - for (; i < l; i++ ) { - // Remove element nodes and prevent memory leaks - elem = this[i] || {}; - if ( elem.nodeType === 1 ) { - jQuery.cleanData( getAll( elem, false ) ); - elem.innerHTML = value; - } - } - - elem = 0; - - // If using innerHTML throws an exception, use the fallback method - } catch(e) {} - } - - if ( elem ) { - this.empty().append( value ); - } - }, null, value, arguments.length ); - }, - - replaceWith: function( value ) { - var isFunc = jQuery.isFunction( value ); - - // Make sure that the elements are removed from the DOM before they are inserted - // this can help fix replacing a parent with child elements - if ( !isFunc && typeof value !== "string" ) { - value = jQuery( value ).not( this ).detach(); - } - - return this.domManip( [ value ], true, function( elem ) { - var next = this.nextSibling, - parent = this.parentNode; - - if ( parent ) { - jQuery( this ).remove(); - parent.insertBefore( elem, next ); - } - }); - }, - - detach: function( selector ) { - return this.remove( selector, true ); - }, - - domManip: function( args, table, callback ) { - - // Flatten any nested arrays - args = core_concat.apply( [], args ); - - var first, node, hasScripts, - scripts, doc, fragment, - i = 0, - l = this.length, - set = this, - iNoClone = l - 1, - value = args[0], - isFunction = jQuery.isFunction( value ); - - // We can't cloneNode fragments that contain checked, in WebKit - if ( isFunction || !( l <= 1 || typeof value !== "string" || jQuery.support.checkClone || !rchecked.test( value ) ) ) { - return this.each(function( index ) { - var self = set.eq( index ); - if ( isFunction ) { - args[0] = value.call( this, index, table ? self.html() : undefined ); - } - self.domManip( args, table, callback ); - }); - } - - if ( l ) { - fragment = jQuery.buildFragment( args, this[ 0 ].ownerDocument, false, this ); - first = fragment.firstChild; - - if ( fragment.childNodes.length === 1 ) { - fragment = first; - } - - if ( first ) { - table = table && jQuery.nodeName( first, "tr" ); - scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); - hasScripts = scripts.length; - - // Use the original fragment for the last item instead of the first because it can end up - // being emptied incorrectly in certain situations (#8070). - for ( ; i < l; i++ ) { - node = fragment; - - if ( i !== iNoClone ) { - node = jQuery.clone( node, true, true ); - - // Keep references to cloned scripts for later restoration - if ( hasScripts ) { - jQuery.merge( scripts, getAll( node, "script" ) ); - } - } - - callback.call( - table && jQuery.nodeName( this[i], "table" ) ? - findOrAppend( this[i], "tbody" ) : - this[i], - node, - i - ); - } - - if ( hasScripts ) { - doc = scripts[ scripts.length - 1 ].ownerDocument; - - // Reenable scripts - jQuery.map( scripts, restoreScript ); - - // Evaluate executable scripts on first document insertion - for ( i = 0; i < hasScripts; i++ ) { - node = scripts[ i ]; - if ( rscriptType.test( node.type || "" ) && - !jQuery._data( node, "globalEval" ) && jQuery.contains( doc, node ) ) { - - if ( node.src ) { - // Hope ajax is available... - jQuery.ajax({ - url: node.src, - type: "GET", - dataType: "script", - async: false, - global: false, - "throws": true - }); - } else { - jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) ); - } - } - } - } - - // Fix #11809: Avoid leaking memory - fragment = first = null; - } - } - - return this; - } -}); - -function findOrAppend( elem, tag ) { - return elem.getElementsByTagName( tag )[0] || elem.appendChild( elem.ownerDocument.createElement( tag ) ); -} - -// Replace/restore the type attribute of script elements for safe DOM manipulation -function disableScript( elem ) { - var attr = elem.getAttributeNode("type"); - elem.type = ( attr && attr.specified ) + "/" + elem.type; - return elem; -} -function restoreScript( elem ) { - var match = rscriptTypeMasked.exec( elem.type ); - if ( match ) { - elem.type = match[1]; - } else { - elem.removeAttribute("type"); - } - return elem; -} - -// Mark scripts as having already been evaluated -function setGlobalEval( elems, refElements ) { - var elem, - i = 0; - for ( ; (elem = elems[i]) != null; i++ ) { - jQuery._data( elem, "globalEval", !refElements || jQuery._data( refElements[i], "globalEval" ) ); - } -} - -function cloneCopyEvent( src, dest ) { - - if ( dest.nodeType !== 1 || !jQuery.hasData( src ) ) { - return; - } - - var type, i, l, - oldData = jQuery._data( src ), - curData = jQuery._data( dest, oldData ), - events = oldData.events; - - if ( events ) { - delete curData.handle; - curData.events = {}; - - for ( type in events ) { - for ( i = 0, l = events[ type ].length; i < l; i++ ) { - jQuery.event.add( dest, type, events[ type ][ i ] ); - } - } - } - - // make the cloned public data object a copy from the original - if ( curData.data ) { - curData.data = jQuery.extend( {}, curData.data ); - } -} - -function fixCloneNodeIssues( src, dest ) { - var nodeName, e, data; - - // We do not need to do anything for non-Elements - if ( dest.nodeType !== 1 ) { - return; - } - - nodeName = dest.nodeName.toLowerCase(); - - // IE6-8 copies events bound via attachEvent when using cloneNode. - if ( !jQuery.support.noCloneEvent && dest[ jQuery.expando ] ) { - data = jQuery._data( dest ); - - for ( e in data.events ) { - jQuery.removeEvent( dest, e, data.handle ); - } - - // Event data gets referenced instead of copied if the expando gets copied too - dest.removeAttribute( jQuery.expando ); - } - - // IE blanks contents when cloning scripts, and tries to evaluate newly-set text - if ( nodeName === "script" && dest.text !== src.text ) { - disableScript( dest ).text = src.text; - restoreScript( dest ); - - // IE6-10 improperly clones children of object elements using classid. - // IE10 throws NoModificationAllowedError if parent is null, #12132. - } else if ( nodeName === "object" ) { - if ( dest.parentNode ) { - dest.outerHTML = src.outerHTML; - } - - // This path appears unavoidable for IE9. When cloning an object - // element in IE9, the outerHTML strategy above is not sufficient. - // If the src has innerHTML and the destination does not, - // copy the src.innerHTML into the dest.innerHTML. #10324 - if ( jQuery.support.html5Clone && ( src.innerHTML && !jQuery.trim(dest.innerHTML) ) ) { - dest.innerHTML = src.innerHTML; - } - - } else if ( nodeName === "input" && manipulation_rcheckableType.test( src.type ) ) { - // IE6-8 fails to persist the checked state of a cloned checkbox - // or radio button. Worse, IE6-7 fail to give the cloned element - // a checked appearance if the defaultChecked value isn't also set - - dest.defaultChecked = dest.checked = src.checked; - - // IE6-7 get confused and end up setting the value of a cloned - // checkbox/radio button to an empty string instead of "on" - if ( dest.value !== src.value ) { - dest.value = src.value; - } - - // IE6-8 fails to return the selected option to the default selected - // state when cloning options - } else if ( nodeName === "option" ) { - dest.defaultSelected = dest.selected = src.defaultSelected; - - // IE6-8 fails to set the defaultValue to the correct value when - // cloning other types of input fields - } else if ( nodeName === "input" || nodeName === "textarea" ) { - dest.defaultValue = src.defaultValue; - } -} - -jQuery.each({ - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" -}, function( name, original ) { - jQuery.fn[ name ] = function( selector ) { - var elems, - i = 0, - ret = [], - insert = jQuery( selector ), - last = insert.length - 1; - - for ( ; i <= last; i++ ) { - elems = i === last ? this : this.clone(true); - jQuery( insert[i] )[ original ]( elems ); - - // Modern browsers can apply jQuery collections as arrays, but oldIE needs a .get() - core_push.apply( ret, elems.get() ); - } - - return this.pushStack( ret ); - }; -}); - -function getAll( context, tag ) { - var elems, elem, - i = 0, - found = typeof context.getElementsByTagName !== core_strundefined ? context.getElementsByTagName( tag || "*" ) : - typeof context.querySelectorAll !== core_strundefined ? context.querySelectorAll( tag || "*" ) : - undefined; - - if ( !found ) { - for ( found = [], elems = context.childNodes || context; (elem = elems[i]) != null; i++ ) { - if ( !tag || jQuery.nodeName( elem, tag ) ) { - found.push( elem ); - } else { - jQuery.merge( found, getAll( elem, tag ) ); - } - } - } - - return tag === undefined || tag && jQuery.nodeName( context, tag ) ? - jQuery.merge( [ context ], found ) : - found; -} - -// Used in buildFragment, fixes the defaultChecked property -function fixDefaultChecked( elem ) { - if ( manipulation_rcheckableType.test( elem.type ) ) { - elem.defaultChecked = elem.checked; - } -} - -jQuery.extend({ - clone: function( elem, dataAndEvents, deepDataAndEvents ) { - var destElements, node, clone, i, srcElements, - inPage = jQuery.contains( elem.ownerDocument, elem ); - - if ( jQuery.support.html5Clone || jQuery.isXMLDoc(elem) || !rnoshimcache.test( "<" + elem.nodeName + ">" ) ) { - clone = elem.cloneNode( true ); - - // IE<=8 does not properly clone detached, unknown element nodes - } else { - fragmentDiv.innerHTML = elem.outerHTML; - fragmentDiv.removeChild( clone = fragmentDiv.firstChild ); - } - - if ( (!jQuery.support.noCloneEvent || !jQuery.support.noCloneChecked) && - (elem.nodeType === 1 || elem.nodeType === 11) && !jQuery.isXMLDoc(elem) ) { - - // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 - destElements = getAll( clone ); - srcElements = getAll( elem ); - - // Fix all IE cloning issues - for ( i = 0; (node = srcElements[i]) != null; ++i ) { - // Ensure that the destination node is not null; Fixes #9587 - if ( destElements[i] ) { - fixCloneNodeIssues( node, destElements[i] ); - } - } - } - - // Copy the events from the original to the clone - if ( dataAndEvents ) { - if ( deepDataAndEvents ) { - srcElements = srcElements || getAll( elem ); - destElements = destElements || getAll( clone ); - - for ( i = 0; (node = srcElements[i]) != null; i++ ) { - cloneCopyEvent( node, destElements[i] ); - } - } else { - cloneCopyEvent( elem, clone ); - } - } - - // Preserve script evaluation history - destElements = getAll( clone, "script" ); - if ( destElements.length > 0 ) { - setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); - } - - destElements = srcElements = node = null; - - // Return the cloned set - return clone; - }, - - buildFragment: function( elems, context, scripts, selection ) { - var j, elem, contains, - tmp, tag, tbody, wrap, - l = elems.length, - - // Ensure a safe fragment - safe = createSafeFragment( context ), - - nodes = [], - i = 0; - - for ( ; i < l; i++ ) { - elem = elems[ i ]; - - if ( elem || elem === 0 ) { - - // Add nodes directly - if ( jQuery.type( elem ) === "object" ) { - jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); - - // Convert non-html into a text node - } else if ( !rhtml.test( elem ) ) { - nodes.push( context.createTextNode( elem ) ); - - // Convert html into DOM nodes - } else { - tmp = tmp || safe.appendChild( context.createElement("div") ); - - // Deserialize a standard representation - tag = ( rtagName.exec( elem ) || ["", ""] )[1].toLowerCase(); - wrap = wrapMap[ tag ] || wrapMap._default; - - tmp.innerHTML = wrap[1] + elem.replace( rxhtmlTag, "<$1>" ) + wrap[2]; - - // Descend through wrappers to the right content - j = wrap[0]; - while ( j-- ) { - tmp = tmp.lastChild; - } - - // Manually add leading whitespace removed by IE - if ( !jQuery.support.leadingWhitespace && rleadingWhitespace.test( elem ) ) { - nodes.push( context.createTextNode( rleadingWhitespace.exec( elem )[0] ) ); - } - - // Remove IE's autoinserted from table fragments - if ( !jQuery.support.tbody ) { - - // String was a , *may* have spurious - elem = tag === "table" && !rtbody.test( elem ) ? - tmp.firstChild : - - // String was a bare or - wrap[1] === "
                    " && !rtbody.test( elem ) ? - tmp : - 0; - - j = elem && elem.childNodes.length; - while ( j-- ) { - if ( jQuery.nodeName( (tbody = elem.childNodes[j]), "tbody" ) && !tbody.childNodes.length ) { - elem.removeChild( tbody ); - } - } - } - - jQuery.merge( nodes, tmp.childNodes ); - - // Fix #12392 for WebKit and IE > 9 - tmp.textContent = ""; - - // Fix #12392 for oldIE - while ( tmp.firstChild ) { - tmp.removeChild( tmp.firstChild ); - } - - // Remember the top-level container for proper cleanup - tmp = safe.lastChild; - } - } - } - - // Fix #11356: Clear elements from fragment - if ( tmp ) { - safe.removeChild( tmp ); - } - - // Reset defaultChecked for any radios and checkboxes - // about to be appended to the DOM in IE 6/7 (#8060) - if ( !jQuery.support.appendChecked ) { - jQuery.grep( getAll( nodes, "input" ), fixDefaultChecked ); - } - - i = 0; - while ( (elem = nodes[ i++ ]) ) { - - // #4087 - If origin and destination elements are the same, and this is - // that element, do not do anything - if ( selection && jQuery.inArray( elem, selection ) !== -1 ) { - continue; - } - - contains = jQuery.contains( elem.ownerDocument, elem ); - - // Append to fragment - tmp = getAll( safe.appendChild( elem ), "script" ); - - // Preserve script evaluation history - if ( contains ) { - setGlobalEval( tmp ); - } - - // Capture executables - if ( scripts ) { - j = 0; - while ( (elem = tmp[ j++ ]) ) { - if ( rscriptType.test( elem.type || "" ) ) { - scripts.push( elem ); - } - } - } - } - - tmp = null; - - return safe; - }, - - cleanData: function( elems, /* internal */ acceptData ) { - var elem, type, id, data, - i = 0, - internalKey = jQuery.expando, - cache = jQuery.cache, - deleteExpando = jQuery.support.deleteExpando, - special = jQuery.event.special; - - for ( ; (elem = elems[i]) != null; i++ ) { - - if ( acceptData || jQuery.acceptData( elem ) ) { - - id = elem[ internalKey ]; - data = id && cache[ id ]; - - if ( data ) { - if ( data.events ) { - for ( type in data.events ) { - if ( special[ type ] ) { - jQuery.event.remove( elem, type ); - - // This is a shortcut to avoid jQuery.event.remove's overhead - } else { - jQuery.removeEvent( elem, type, data.handle ); - } - } - } - - // Remove cache only if it was not already removed by jQuery.event.remove - if ( cache[ id ] ) { - - delete cache[ id ]; - - // IE does not allow us to delete expando properties from nodes, - // nor does it have a removeAttribute function on Document nodes; - // we must handle all of these cases - if ( deleteExpando ) { - delete elem[ internalKey ]; - - } else if ( typeof elem.removeAttribute !== core_strundefined ) { - elem.removeAttribute( internalKey ); - - } else { - elem[ internalKey ] = null; - } - - core_deletedIds.push( id ); - } - } - } - } - } -}); -var iframe, getStyles, curCSS, - ralpha = /alpha\([^)]*\)/i, - ropacity = /opacity\s*=\s*([^)]*)/, - rposition = /^(top|right|bottom|left)$/, - // swappable if display is none or starts with table except "table", "table-cell", or "table-caption" - // see here for display values: https://developer.mozilla.org/en-US/docs/CSS/display - rdisplayswap = /^(none|table(?!-c[ea]).+)/, - rmargin = /^margin/, - rnumsplit = new RegExp( "^(" + core_pnum + ")(.*)$", "i" ), - rnumnonpx = new RegExp( "^(" + core_pnum + ")(?!px)[a-z%]+$", "i" ), - rrelNum = new RegExp( "^([+-])=(" + core_pnum + ")", "i" ), - elemdisplay = { BODY: "block" }, - - cssShow = { position: "absolute", visibility: "hidden", display: "block" }, - cssNormalTransform = { - letterSpacing: 0, - fontWeight: 400 - }, - - cssExpand = [ "Top", "Right", "Bottom", "Left" ], - cssPrefixes = [ "Webkit", "O", "Moz", "ms" ]; - -// return a css property mapped to a potentially vendor prefixed property -function vendorPropName( style, name ) { - - // shortcut for names that are not vendor prefixed - if ( name in style ) { - return name; - } - - // check for vendor prefixed names - var capName = name.charAt(0).toUpperCase() + name.slice(1), - origName = name, - i = cssPrefixes.length; - - while ( i-- ) { - name = cssPrefixes[ i ] + capName; - if ( name in style ) { - return name; - } - } - - return origName; -} - -function isHidden( elem, el ) { - // isHidden might be called from jQuery#filter function; - // in that case, element will be second argument - elem = el || elem; - return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem ); -} - -function showHide( elements, show ) { - var display, elem, hidden, - values = [], - index = 0, - length = elements.length; - - for ( ; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - - values[ index ] = jQuery._data( elem, "olddisplay" ); - display = elem.style.display; - if ( show ) { - // Reset the inline display of this element to learn if it is - // being hidden by cascaded rules or not - if ( !values[ index ] && display === "none" ) { - elem.style.display = ""; - } - - // Set elements which have been overridden with display: none - // in a stylesheet to whatever the default browser style is - // for such an element - if ( elem.style.display === "" && isHidden( elem ) ) { - values[ index ] = jQuery._data( elem, "olddisplay", css_defaultDisplay(elem.nodeName) ); - } - } else { - - if ( !values[ index ] ) { - hidden = isHidden( elem ); - - if ( display && display !== "none" || !hidden ) { - jQuery._data( elem, "olddisplay", hidden ? display : jQuery.css( elem, "display" ) ); - } - } - } - } - - // Set the display of most of the elements in a second loop - // to avoid the constant reflow - for ( index = 0; index < length; index++ ) { - elem = elements[ index ]; - if ( !elem.style ) { - continue; - } - if ( !show || elem.style.display === "none" || elem.style.display === "" ) { - elem.style.display = show ? values[ index ] || "" : "none"; - } - } - - return elements; -} - -jQuery.fn.extend({ - css: function( name, value ) { - return jQuery.access( this, function( elem, name, value ) { - var len, styles, - map = {}, - i = 0; - - if ( jQuery.isArray( name ) ) { - styles = getStyles( elem ); - len = name.length; - - for ( ; i < len; i++ ) { - map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); - } - - return map; - } - - return value !== undefined ? - jQuery.style( elem, name, value ) : - jQuery.css( elem, name ); - }, name, value, arguments.length > 1 ); - }, - show: function() { - return showHide( this, true ); - }, - hide: function() { - return showHide( this ); - }, - toggle: function( state ) { - var bool = typeof state === "boolean"; - - return this.each(function() { - if ( bool ? state : isHidden( this ) ) { - jQuery( this ).show(); - } else { - jQuery( this ).hide(); - } - }); - } -}); - -jQuery.extend({ - // Add in style property hooks for overriding the default - // behavior of getting and setting a style property - cssHooks: { - opacity: { - get: function( elem, computed ) { - if ( computed ) { - // We should always get a number back from opacity - var ret = curCSS( elem, "opacity" ); - return ret === "" ? "1" : ret; - } - } - } - }, - - // Exclude the following css properties to add px - cssNumber: { - "columnCount": true, - "fillOpacity": true, - "fontWeight": true, - "lineHeight": true, - "opacity": true, - "orphans": true, - "widows": true, - "zIndex": true, - "zoom": true - }, - - // Add in properties whose names you wish to fix before - // setting or getting the value - cssProps: { - // normalize float css property - "float": jQuery.support.cssFloat ? "cssFloat" : "styleFloat" - }, - - // Get and set the style property on a DOM Node - style: function( elem, name, value, extra ) { - // Don't set styles on text and comment nodes - if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { - return; - } - - // Make sure that we're working with the right name - var ret, type, hooks, - origName = jQuery.camelCase( name ), - style = elem.style; - - name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( style, origName ) ); - - // gets hook for the prefixed version - // followed by the unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // Check if we're setting a value - if ( value !== undefined ) { - type = typeof value; - - // convert relative number strings (+= or -=) to relative numbers. #7345 - if ( type === "string" && (ret = rrelNum.exec( value )) ) { - value = ( ret[1] + 1 ) * ret[2] + parseFloat( jQuery.css( elem, name ) ); - // Fixes bug #9237 - type = "number"; - } - - // Make sure that NaN and null values aren't set. See: #7116 - if ( value == null || type === "number" && isNaN( value ) ) { - return; - } - - // If a number was passed in, add 'px' to the (except for certain CSS properties) - if ( type === "number" && !jQuery.cssNumber[ origName ] ) { - value += "px"; - } - - // Fixes #8908, it can be done more correctly by specifing setters in cssHooks, - // but it would mean to define eight (for every problematic property) identical functions - if ( !jQuery.support.clearCloneStyle && value === "" && name.indexOf("background") === 0 ) { - style[ name ] = "inherit"; - } - - // If a hook was provided, use that value, otherwise just set the specified value - if ( !hooks || !("set" in hooks) || (value = hooks.set( elem, value, extra )) !== undefined ) { - - // Wrapped to prevent IE from throwing errors when 'invalid' values are provided - // Fixes bug #5509 - try { - style[ name ] = value; - } catch(e) {} - } - - } else { - // If a hook was provided get the non-computed value from there - if ( hooks && "get" in hooks && (ret = hooks.get( elem, false, extra )) !== undefined ) { - return ret; - } - - // Otherwise just get the value from the style object - return style[ name ]; - } - }, - - css: function( elem, name, extra, styles ) { - var num, val, hooks, - origName = jQuery.camelCase( name ); - - // Make sure that we're working with the right name - name = jQuery.cssProps[ origName ] || ( jQuery.cssProps[ origName ] = vendorPropName( elem.style, origName ) ); - - // gets hook for the prefixed version - // followed by the unprefixed version - hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; - - // If a hook was provided get the computed value from there - if ( hooks && "get" in hooks ) { - val = hooks.get( elem, true, extra ); - } - - // Otherwise, if a way to get the computed value exists, use that - if ( val === undefined ) { - val = curCSS( elem, name, styles ); - } - - //convert "normal" to computed value - if ( val === "normal" && name in cssNormalTransform ) { - val = cssNormalTransform[ name ]; - } - - // Return, converting to number if forced or a qualifier was provided and val looks numeric - if ( extra === "" || extra ) { - num = parseFloat( val ); - return extra === true || jQuery.isNumeric( num ) ? num || 0 : val; - } - return val; - }, - - // A method for quickly swapping in/out CSS properties to get correct calculations - swap: function( elem, options, callback, args ) { - var ret, name, - old = {}; - - // Remember the old values, and insert the new ones - for ( name in options ) { - old[ name ] = elem.style[ name ]; - elem.style[ name ] = options[ name ]; - } - - ret = callback.apply( elem, args || [] ); - - // Revert the old values - for ( name in options ) { - elem.style[ name ] = old[ name ]; - } - - return ret; - } -}); - -// NOTE: we've included the "window" in window.getComputedStyle -// because jsdom on node.js will break without it. -if ( window.getComputedStyle ) { - getStyles = function( elem ) { - return window.getComputedStyle( elem, null ); - }; - - curCSS = function( elem, name, _computed ) { - var width, minWidth, maxWidth, - computed = _computed || getStyles( elem ), - - // getPropertyValue is only needed for .css('filter') in IE9, see #12537 - ret = computed ? computed.getPropertyValue( name ) || computed[ name ] : undefined, - style = elem.style; - - if ( computed ) { - - if ( ret === "" && !jQuery.contains( elem.ownerDocument, elem ) ) { - ret = jQuery.style( elem, name ); - } - - // A tribute to the "awesome hack by Dean Edwards" - // Chrome < 17 and Safari 5.0 uses "computed value" instead of "used value" for margin-right - // Safari 5.1.7 (at least) returns percentage for a larger set of values, but width seems to be reliably pixels - // this is against the CSSOM draft spec: http://dev.w3.org/csswg/cssom/#resolved-values - if ( rnumnonpx.test( ret ) && rmargin.test( name ) ) { - - // Remember the original values - width = style.width; - minWidth = style.minWidth; - maxWidth = style.maxWidth; - - // Put in the new values to get a computed value out - style.minWidth = style.maxWidth = style.width = ret; - ret = computed.width; - - // Revert the changed values - style.width = width; - style.minWidth = minWidth; - style.maxWidth = maxWidth; - } - } - - return ret; - }; -} else if ( document.documentElement.currentStyle ) { - getStyles = function( elem ) { - return elem.currentStyle; - }; - - curCSS = function( elem, name, _computed ) { - var left, rs, rsLeft, - computed = _computed || getStyles( elem ), - ret = computed ? computed[ name ] : undefined, - style = elem.style; - - // Avoid setting ret to empty string here - // so we don't default to auto - if ( ret == null && style && style[ name ] ) { - ret = style[ name ]; - } - - // From the awesome hack by Dean Edwards - // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291 - - // If we're not dealing with a regular pixel number - // but a number that has a weird ending, we need to convert it to pixels - // but not position css attributes, as those are proportional to the parent element instead - // and we can't measure the parent instead because it might trigger a "stacking dolls" problem - if ( rnumnonpx.test( ret ) && !rposition.test( name ) ) { - - // Remember the original values - left = style.left; - rs = elem.runtimeStyle; - rsLeft = rs && rs.left; - - // Put in the new values to get a computed value out - if ( rsLeft ) { - rs.left = elem.currentStyle.left; - } - style.left = name === "fontSize" ? "1em" : ret; - ret = style.pixelLeft + "px"; - - // Revert the changed values - style.left = left; - if ( rsLeft ) { - rs.left = rsLeft; - } - } - - return ret === "" ? "auto" : ret; - }; -} - -function setPositiveNumber( elem, value, subtract ) { - var matches = rnumsplit.exec( value ); - return matches ? - // Guard against undefined "subtract", e.g., when used as in cssHooks - Math.max( 0, matches[ 1 ] - ( subtract || 0 ) ) + ( matches[ 2 ] || "px" ) : - value; -} - -function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) { - var i = extra === ( isBorderBox ? "border" : "content" ) ? - // If we already have the right measurement, avoid augmentation - 4 : - // Otherwise initialize for horizontal or vertical properties - name === "width" ? 1 : 0, - - val = 0; - - for ( ; i < 4; i += 2 ) { - // both box models exclude margin, so add it if we want it - if ( extra === "margin" ) { - val += jQuery.css( elem, extra + cssExpand[ i ], true, styles ); - } - - if ( isBorderBox ) { - // border-box includes padding, so remove it if we want content - if ( extra === "content" ) { - val -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - } - - // at this point, extra isn't border nor margin, so remove border - if ( extra !== "margin" ) { - val -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } else { - // at this point, extra isn't content, so add padding - val += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); - - // at this point, extra isn't content nor padding, so add border - if ( extra !== "padding" ) { - val += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); - } - } - } - - return val; -} - -function getWidthOrHeight( elem, name, extra ) { - - // Start with offset property, which is equivalent to the border-box value - var valueIsBorderBox = true, - val = name === "width" ? elem.offsetWidth : elem.offsetHeight, - styles = getStyles( elem ), - isBorderBox = jQuery.support.boxSizing && jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; - - // some non-html elements return undefined for offsetWidth, so check for null/undefined - // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 - // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 - if ( val <= 0 || val == null ) { - // Fall back to computed then uncomputed css if necessary - val = curCSS( elem, name, styles ); - if ( val < 0 || val == null ) { - val = elem.style[ name ]; - } - - // Computed unit is not pixels. Stop here and return. - if ( rnumnonpx.test(val) ) { - return val; - } - - // we need the check for style in case a browser which returns unreliable values - // for getComputedStyle silently falls back to the reliable elem.style - valueIsBorderBox = isBorderBox && ( jQuery.support.boxSizingReliable || val === elem.style[ name ] ); - - // Normalize "", auto, and prepare for extra - val = parseFloat( val ) || 0; - } - - // use the active box-sizing model to add/subtract irrelevant styles - return ( val + - augmentWidthOrHeight( - elem, - name, - extra || ( isBorderBox ? "border" : "content" ), - valueIsBorderBox, - styles - ) - ) + "px"; -} - -// Try to determine the default display value of an element -function css_defaultDisplay( nodeName ) { - var doc = document, - display = elemdisplay[ nodeName ]; - - if ( !display ) { - display = actualDisplay( nodeName, doc ); - - // If the simple way fails, read from inside an iframe - if ( display === "none" || !display ) { - // Use the already-created iframe if possible - iframe = ( iframe || - jQuery("