From f27a6975e1e9dd989a96789df7b72ad80b20d133 Mon Sep 17 00:00:00 2001 From: Gustavo Fonseca Date: Wed, 18 Mar 2015 16:51:19 -0300 Subject: [PATCH] =?UTF-8?q?Fixes=20#888=20-=20Limpeza=20de=20migra=C3=A7?= =?UTF-8?q?=C3=B5es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Limpeza das apps: journalmanager, articletrack, editorialmanager e maintenancewindow. TambĂ©m foi criada uma fixture para tipo de entidade ``UseLicense``. --- Makefile | 1 + .../articletrack/migrations/0001_initial.py | 208 ++++- ...add_article__del_field_checkin_issue_la.py | 386 ---------- ...dd_field_comment_created_at__add_field_.py | 272 ------- ...epted_by__add_field_checkin_accepted_at.py | 266 ------- .../0005_auto__add_field_checkin_status.py | 267 ------- ...iewed_by__add_field_checkin_reviewed_at.py | 277 ------- ...d_by__add_field_checkin_rejected_at__ad.py | 288 ------- .../0008_auto__add_checkinworflowlog.py | 287 ------- ...09_auto__add_field_checkin_submitted_by.py | 282 ------- ...0_auto__add_field_checkin_expiration_at.py | 283 ------- .../migrations/0011_auto__add_team.py | 303 -------- ...reviewed_by__add_field_checkin_scielo_r.py | 299 -------- ...013_auto__add_field_checkin_checked_out.py | 292 ------- ...n_checked_out__chg_field_checkin_status.py | 297 ------- ...to__chg_field_checkinworkflowlog_status.py | 289 ------- .../migrations/0001_initial.py | 55 +- .../0002_auto__add_field_roletype_weight.py | 274 ------- ..._issue__add_unique_editorialboard_issue.py | 278 ------- ..._research_id__add_field_editorialmember.py | 285 ------- ...5_auto__chg_field_editorialmember_email.py | 275 ------- ...6_auto__add_field_editorialmember_order.py | 278 ------- .../0007_auto__del_field_roletype_weight.py | 277 ------- ...add_unique_roletypetranslation_role_lan.py | 294 ------- .../0009_auto__add_unique_roletype_name.py | 282 ------- ...auto__chg_field_editorialmember_country.py | 282 ------- ..._country__chg_field_editorialmember_ins.py | 288 ------- scielomanager/fixtures/groups.json | 724 ------------------ .../journalmanager/fixtures/use_licenses.json | 32 + .../journalmanager/migrations/0001_initial.py | 526 +++++++++---- ..._unique_usercollections_user_collection.py | 286 ------- ...pl_volume__add_field_issue_suppl_number.py | 294 ------- ...e__del_field_journal_publisher__add_fie.py | 344 --------- .../0005_auto__chg_field_issue_label.py | 288 ------- .../migrations/0006_years_migration.py | 287 ------- ...final_year__chg_field_journal_init_year.py | 293 ------- .../0008_auto__add_field_issue_order.py | 289 ------- ...e_title__add_field_journal_medline_code.py | 297 ------- ...0010_auto__add_field_journal_collection.py | 292 ------- .../0011_many_journals_to_one_collection.py | 292 ------- ...0012_auto__chg_field_journal_collection.py | 302 -------- ...d_journal_is_indexed_scie__add_field_jo.py | 338 -------- .../migrations/0014_normalize_issue_order.py | 300 -------- .../migrations/0015_publisher_country.py | 302 -------- ...name__add_field_journal_editor_address_.py | 362 --------- ...017_auto__add_field_section_legacy_code.py | 309 -------- .../migrations/0018_legacy_code.py | 320 -------- ...d_section_code__add_unique_section_code.py | 313 -------- .../migrations/0020_auto__add_studyarea.py | 329 -------- .../migrations/0021_study_area.py | 316 -------- .../0022_auto__del_journalstudyarea.py | 313 -------- .../journalmanager/migrations/0023_auto.py | 314 -------- .../0024_study_area_journal_field.py | 309 -------- .../journalmanager/migrations/0025_auto.py | 313 -------- ..._ahead_documents__add_field_journal_pre.py | 316 -------- ...s_ahead_documents__chg_field_journal_cu.py | 316 -------- ...s_ahead_documents__chg_field_journal_cu.py | 316 -------- .../0029_auto__add_datachangeevent.py | 328 -------- ...30_auto__add_field_journal_twitter_user.py | 321 -------- .../0031_remove_null_issuetitle_language.py | 318 -------- ...le_language__chg_field_issuetitle_title.py | 326 -------- ...g_field_pressreleasearticle_article_pid.py | 395 ---------- ..._supplement__chg_field_issuetitle_issue.py | 355 --------- ...5_unbound_inconsistent_trashed_sections.py | 343 --------- .../0036_issue_based_press_release_cleanup.py | 343 --------- ..._auto__del_field_issue_is_press_release.py | 344 --------- .../journalmanager/migrations/0038_auto.py | 350 --------- .../migrations/0039_eletronic2electronic.py | 340 -------- .../migrations/0040_add_journal_editors.py | 350 --------- ...l_code__chg_field_journal_subject_descr.py | 351 --------- ...on_end_month__chg_field_issue_publicati.py | 351 --------- .../migrations/0043_auto__add_article.py | 359 --------- .../0044_auto__add_field_article_issue.py | 355 --------- ...rnal__chg_field_journal_url_online_subm.py | 359 --------- .../0046_auto__add_field_issue_type.py | 356 --------- ...to__add_journaltimeline__add_membership.py | 403 ---------- .../migrations/0047_issue_type_definition.py | 361 --------- .../migrations/0047_status_and_membership.py | 413 ---------- .../0048_auto__add_field_issue_suppl_text.py | 357 --------- ...tus_changed_by__del_field_journal_colle.py | 408 ---------- ..._normalizacao_de_codigos_de_use_license.py | 362 --------- ...0_auto__add_field_uselicense_is_default.py | 358 --------- .../migrations/0051_suppl_text_merge.py | 364 --------- ...pl_number__del_field_issue_suppl_volume.py | 364 --------- .../migrations/0053_merge_models.py | 358 --------- ...d_journal_logo__chg_field_journal_cover.py | 368 --------- .../0055_auto__add_field_issue_spe_text.py | 365 --------- .../0055_auto__del_field_userprofile_email.py | 363 --------- .../migrations/0056_special_numbers.py | 363 --------- ...al_init_vol__chg_field_journal_init_num.py | 376 --------- .../0058_auto__chg_field_issuetitle_title.py | 362 --------- .../journalmanager/migrations/0059_auto.py | 367 --------- .../0060_auto__add_field_journal_editor.py | 364 --------- ...d_field_userprofile_email_notifications.py | 365 --------- .../0062_auto__add_field_userprofile_tz.py | 366 --------- .../migrations/0001_initial.py | 21 +- ...__add_field_event_is_blocking_users__ad.py | 53 -- .../maintenancewindow/migrations/0003_auto.py | 41 - 98 files changed, 633 insertions(+), 29930 deletions(-) delete mode 100644 scielomanager/articletrack/migrations/0002_auto__add_ticket__add_comment__add_article__del_field_checkin_issue_la.py delete mode 100644 scielomanager/articletrack/migrations/0003_auto__del_field_comment_date__add_field_comment_created_at__add_field_.py delete mode 100644 scielomanager/articletrack/migrations/0004_auto__add_field_checkin_accepted_by__add_field_checkin_accepted_at.py delete mode 100644 scielomanager/articletrack/migrations/0005_auto__add_field_checkin_status.py delete mode 100644 scielomanager/articletrack/migrations/0006_auto__add_field_checkin_reviewed_by__add_field_checkin_reviewed_at.py delete mode 100644 scielomanager/articletrack/migrations/0007_auto__add_field_checkin_rejected_by__add_field_checkin_rejected_at__ad.py delete mode 100644 scielomanager/articletrack/migrations/0008_auto__add_checkinworflowlog.py delete mode 100644 scielomanager/articletrack/migrations/0009_auto__add_field_checkin_submitted_by.py delete mode 100644 scielomanager/articletrack/migrations/0010_auto__add_field_checkin_expiration_at.py delete mode 100644 scielomanager/articletrack/migrations/0011_auto__add_team.py delete mode 100644 scielomanager/articletrack/migrations/0012_auto__add_field_checkin_scielo_reviewed_by__add_field_checkin_scielo_r.py delete mode 100644 scielomanager/articletrack/migrations/0013_auto__add_field_checkin_checked_out.py delete mode 100644 scielomanager/articletrack/migrations/0014_auto__del_field_checkin_checked_out__chg_field_checkin_status.py delete mode 100644 scielomanager/articletrack/migrations/0015_auto__chg_field_checkinworkflowlog_status.py delete mode 100644 scielomanager/editorialmanager/migrations/0002_auto__add_field_roletype_weight.py delete mode 100644 scielomanager/editorialmanager/migrations/0003_auto__chg_field_editorialboard_issue__add_unique_editorialboard_issue.py delete mode 100644 scielomanager/editorialmanager/migrations/0004_auto__add_field_editorialmember_research_id__add_field_editorialmember.py delete mode 100644 scielomanager/editorialmanager/migrations/0005_auto__chg_field_editorialmember_email.py delete mode 100644 scielomanager/editorialmanager/migrations/0006_auto__add_field_editorialmember_order.py delete mode 100644 scielomanager/editorialmanager/migrations/0007_auto__del_field_roletype_weight.py delete mode 100644 scielomanager/editorialmanager/migrations/0008_auto__add_roletypetranslation__add_unique_roletypetranslation_role_lan.py delete mode 100644 scielomanager/editorialmanager/migrations/0009_auto__add_unique_roletype_name.py delete mode 100644 scielomanager/editorialmanager/migrations/0009_auto__chg_field_editorialmember_country.py delete mode 100644 scielomanager/editorialmanager/migrations/0010_auto__chg_field_editorialmember_country__chg_field_editorialmember_ins.py delete mode 100644 scielomanager/fixtures/groups.json create mode 100644 scielomanager/journalmanager/fixtures/use_licenses.json delete mode 100644 scielomanager/journalmanager/migrations/0002_auto__add_unique_usercollections_user_collection.py delete mode 100644 scielomanager/journalmanager/migrations/0003_auto__add_field_issue_suppl_volume__add_field_issue_suppl_number.py delete mode 100644 scielomanager/journalmanager/migrations/0004_auto__del_publisher__add_article__del_field_journal_publisher__add_fie.py delete mode 100644 scielomanager/journalmanager/migrations/0005_auto__chg_field_issue_label.py delete mode 100644 scielomanager/journalmanager/migrations/0006_years_migration.py delete mode 100644 scielomanager/journalmanager/migrations/0007_auto__chg_field_journal_final_year__chg_field_journal_init_year.py delete mode 100644 scielomanager/journalmanager/migrations/0008_auto__add_field_issue_order.py delete mode 100644 scielomanager/journalmanager/migrations/0009_auto__add_field_journal_medline_title__add_field_journal_medline_code.py delete mode 100644 scielomanager/journalmanager/migrations/0010_auto__add_field_journal_collection.py delete mode 100644 scielomanager/journalmanager/migrations/0011_many_journals_to_one_collection.py delete mode 100644 scielomanager/journalmanager/migrations/0012_auto__chg_field_journal_collection.py delete mode 100644 scielomanager/journalmanager/migrations/0013_auto__add_wokcategory__add_field_journal_is_indexed_scie__add_field_jo.py delete mode 100644 scielomanager/journalmanager/migrations/0014_normalize_issue_order.py delete mode 100644 scielomanager/journalmanager/migrations/0015_publisher_country.py delete mode 100644 scielomanager/journalmanager/migrations/0016_auto__add_field_journal_editor_name__add_field_journal_editor_address_.py delete mode 100644 scielomanager/journalmanager/migrations/0017_auto__add_field_section_legacy_code.py delete mode 100644 scielomanager/journalmanager/migrations/0018_legacy_code.py delete mode 100644 scielomanager/journalmanager/migrations/0019_auto__chg_field_section_code__add_unique_section_code.py delete mode 100644 scielomanager/journalmanager/migrations/0020_auto__add_studyarea.py delete mode 100644 scielomanager/journalmanager/migrations/0021_study_area.py delete mode 100644 scielomanager/journalmanager/migrations/0022_auto__del_journalstudyarea.py delete mode 100644 scielomanager/journalmanager/migrations/0023_auto.py delete mode 100644 scielomanager/journalmanager/migrations/0024_study_area_journal_field.py delete mode 100644 scielomanager/journalmanager/migrations/0025_auto.py delete mode 100644 scielomanager/journalmanager/migrations/0026_auto__add_field_journal_current_ahead_documents__add_field_journal_pre.py delete mode 100644 scielomanager/journalmanager/migrations/0027_auto__chg_field_journal_previous_ahead_documents__chg_field_journal_cu.py delete mode 100644 scielomanager/journalmanager/migrations/0028_auto__chg_field_journal_previous_ahead_documents__chg_field_journal_cu.py delete mode 100644 scielomanager/journalmanager/migrations/0029_auto__add_datachangeevent.py delete mode 100644 scielomanager/journalmanager/migrations/0030_auto__add_field_journal_twitter_user.py delete mode 100644 scielomanager/journalmanager/migrations/0031_remove_null_issuetitle_language.py delete mode 100644 scielomanager/journalmanager/migrations/0032_auto__chg_field_issuetitle_language__chg_field_issuetitle_title.py delete mode 100644 scielomanager/journalmanager/migrations/0033_auto__chg_field_pressreleasearticle_article_pid.py delete mode 100644 scielomanager/journalmanager/migrations/0034_auto__del_supplement__chg_field_issuetitle_issue.py delete mode 100644 scielomanager/journalmanager/migrations/0035_unbound_inconsistent_trashed_sections.py delete mode 100644 scielomanager/journalmanager/migrations/0036_issue_based_press_release_cleanup.py delete mode 100644 scielomanager/journalmanager/migrations/0037_auto__del_field_issue_is_press_release.py delete mode 100644 scielomanager/journalmanager/migrations/0038_auto.py delete mode 100644 scielomanager/journalmanager/migrations/0039_eletronic2electronic.py delete mode 100644 scielomanager/journalmanager/migrations/0040_add_journal_editors.py delete mode 100644 scielomanager/journalmanager/migrations/0041_auto__chg_field_journal_national_code__chg_field_journal_subject_descr.py delete mode 100644 scielomanager/journalmanager/migrations/0042_auto__chg_field_issue_publication_end_month__chg_field_issue_publicati.py delete mode 100644 scielomanager/journalmanager/migrations/0043_auto__add_article.py delete mode 100644 scielomanager/journalmanager/migrations/0044_auto__add_field_article_issue.py delete mode 100644 scielomanager/journalmanager/migrations/0045_auto__chg_field_journal_url_journal__chg_field_journal_url_online_subm.py delete mode 100644 scielomanager/journalmanager/migrations/0046_auto__add_field_issue_type.py delete mode 100644 scielomanager/journalmanager/migrations/0046_auto__add_journaltimeline__add_membership.py delete mode 100644 scielomanager/journalmanager/migrations/0047_issue_type_definition.py delete mode 100644 scielomanager/journalmanager/migrations/0047_status_and_membership.py delete mode 100644 scielomanager/journalmanager/migrations/0048_auto__add_field_issue_suppl_text.py delete mode 100644 scielomanager/journalmanager/migrations/0048_auto__del_field_journal_pub_status_changed_by__del_field_journal_colle.py delete mode 100644 scielomanager/journalmanager/migrations/0049_normalizacao_de_codigos_de_use_license.py delete mode 100644 scielomanager/journalmanager/migrations/0050_auto__add_field_uselicense_is_default.py delete mode 100644 scielomanager/journalmanager/migrations/0051_suppl_text_merge.py delete mode 100644 scielomanager/journalmanager/migrations/0052_auto__del_field_issue_suppl_number__del_field_issue_suppl_volume.py delete mode 100644 scielomanager/journalmanager/migrations/0053_merge_models.py delete mode 100644 scielomanager/journalmanager/migrations/0054_auto__chg_field_journal_logo__chg_field_journal_cover.py delete mode 100644 scielomanager/journalmanager/migrations/0055_auto__add_field_issue_spe_text.py delete mode 100644 scielomanager/journalmanager/migrations/0055_auto__del_field_userprofile_email.py delete mode 100644 scielomanager/journalmanager/migrations/0056_special_numbers.py delete mode 100644 scielomanager/journalmanager/migrations/0057_auto__chg_field_journal_init_vol__chg_field_journal_init_num.py delete mode 100644 scielomanager/journalmanager/migrations/0058_auto__chg_field_issuetitle_title.py delete mode 100644 scielomanager/journalmanager/migrations/0059_auto.py delete mode 100644 scielomanager/journalmanager/migrations/0060_auto__add_field_journal_editor.py delete mode 100644 scielomanager/journalmanager/migrations/0061_auto__add_field_userprofile_email_notifications.py delete mode 100644 scielomanager/journalmanager/migrations/0062_auto__add_field_userprofile_tz.py delete mode 100644 scielomanager/maintenancewindow/migrations/0002_auto__del_field_event_is_active__add_field_event_is_blocking_users__ad.py delete mode 100644 scielomanager/maintenancewindow/migrations/0003_auto.py diff --git a/Makefile b/Makefile index b97a3101..d627847e 100644 --- a/Makefile +++ b/Makefile @@ -22,6 +22,7 @@ dbsetup: @python $(MANAGE) loaddata $(FIXTURES_DIR)/groups.json --settings=$(SETTINGS) loaddata: + @python $(MANAGE) loaddata $(APP_PATH)/journalmanager/fixtures/use_licenses.json --settings=$(SETTINGS) @python $(MANAGE) loaddata $(FIXTURES_DIR)/subject_categories.json --settings=$(SETTINGS) @python $(MANAGE) loaddata $(FIXTURES_DIR)/study_area.json --settings=$(SETTINGS) diff --git a/scielomanager/articletrack/migrations/0001_initial.py b/scielomanager/articletrack/migrations/0001_initial.py index c9ea5c4f..2b5d68e0 100644 --- a/scielomanager/articletrack/migrations/0001_initial.py +++ b/scielomanager/articletrack/migrations/0001_initial.py @@ -8,10 +8,26 @@ class Migration(SchemaMigration): def forwards(self, orm): + # Adding model 'Team' + db.create_table('articletrack_team', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=128)), + )) + db.send_create_signal('articletrack', ['Team']) + + # Adding M2M table for field member on 'Team' + m2m_table_name = db.shorten_name('articletrack_team_member') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('team', models.ForeignKey(orm['articletrack.team'], null=False)), + ('user', models.ForeignKey(orm['auth.user'], null=False)) + )) + db.create_unique(m2m_table_name, ['team_id', 'user_id']) + # Adding model 'Notice' db.create_table('articletrack_notice', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('checkin', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['articletrack.Checkin'])), + ('checkin', self.gf('django.db.models.fields.related.ForeignKey')(related_name='notices', to=orm['articletrack.Checkin'])), ('stage', self.gf('django.db.models.fields.CharField')(max_length=64)), ('checkpoint', self.gf('django.db.models.fields.CharField')(max_length=64)), ('message', self.gf('django.db.models.fields.CharField')(max_length=512)), @@ -23,59 +39,165 @@ def forwards(self, orm): # Adding model 'Checkin' db.create_table('articletrack_checkin', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('articlepkg_ref', self.gf('django.db.models.fields.CharField')(max_length=32)), ('attempt_ref', self.gf('django.db.models.fields.CharField')(max_length=32)), - ('article_title', self.gf('django.db.models.fields.CharField')(max_length=512)), - ('journal_title', self.gf('django.db.models.fields.CharField')(max_length=256)), - ('issue_label', self.gf('django.db.models.fields.CharField')(max_length=64)), ('package_name', self.gf('django.db.models.fields.CharField')(max_length=128)), ('uploaded_at', self.gf('django.db.models.fields.CharField')(max_length=128)), ('created_at', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + ('article', self.gf('django.db.models.fields.related.ForeignKey')(related_name='checkins', null=True, to=orm['articletrack.Article'])), + ('status', self.gf('django.db.models.fields.CharField')(default='pending', max_length=20)), + ('accepted_by', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True, blank=True)), + ('accepted_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('reviewed_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='checkins_reviewed', null=True, to=orm['auth.User'])), + ('reviewed_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('scielo_reviewed_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='checkins_scielo_reviewed', null=True, to=orm['auth.User'])), + ('scielo_reviewed_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('rejected_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='checkins_rejected', null=True, to=orm['auth.User'])), + ('rejected_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('rejected_cause', self.gf('django.db.models.fields.CharField')(max_length=128, null=True, blank=True)), + ('submitted_by', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='checkins_submitted_by', null=True, to=orm['auth.User'])), + ('expiration_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + )) + db.send_create_signal('articletrack', ['Checkin']) + + # Adding model 'CheckinWorkflowLog' + db.create_table('articletrack_checkinworkflowlog', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('created_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), + ('user', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='checkin_log_responsible', null=True, to=orm['auth.User'])), + ('status', self.gf('django.db.models.fields.CharField')(default='pending', max_length=20)), + ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('checkin', self.gf('django.db.models.fields.related.ForeignKey')(related_name='submission_log', to=orm['articletrack.Checkin'])), + )) + db.send_create_signal('articletrack', ['CheckinWorkflowLog']) + + # Adding model 'Article' + db.create_table('articletrack_article', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('article_title', self.gf('django.db.models.fields.CharField')(max_length=512)), + ('articlepkg_ref', self.gf('django.db.models.fields.CharField')(max_length=32)), + ('journal_title', self.gf('django.db.models.fields.CharField')(max_length=256)), + ('issue_label', self.gf('django.db.models.fields.CharField')(max_length=64)), ('pissn', self.gf('django.db.models.fields.CharField')(default='', max_length=9)), ('eissn', self.gf('django.db.models.fields.CharField')(default='', max_length=9)), )) - db.send_create_signal('articletrack', ['Checkin']) + db.send_create_signal('articletrack', ['Article']) - # Adding M2M table for field journals on 'Checkin' - m2m_table_name = db.shorten_name('articletrack_checkin_journals') + # Adding M2M table for field journals on 'Article' + m2m_table_name = db.shorten_name('articletrack_article_journals') db.create_table(m2m_table_name, ( ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('checkin', models.ForeignKey(orm['articletrack.checkin'], null=False)), + ('article', models.ForeignKey(orm['articletrack.article'], null=False)), ('journal', models.ForeignKey(orm['journalmanager.journal'], null=False)) )) - db.create_unique(m2m_table_name, ['checkin_id', 'journal_id']) + db.create_unique(m2m_table_name, ['article_id', 'journal_id']) + + # Adding model 'Ticket' + db.create_table('articletrack_ticket', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('started_at', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), + ('finished_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), + ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='tickets', to=orm['auth.User'])), + ('title', self.gf('django.db.models.fields.CharField')(max_length=256)), + ('message', self.gf('django.db.models.fields.TextField')()), + ('article', self.gf('django.db.models.fields.related.ForeignKey')(related_name='tickets', to=orm['articletrack.Article'])), + )) + db.send_create_signal('articletrack', ['Ticket']) + + # Adding model 'Comment' + db.create_table('articletrack_comment', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=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)), + ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='comments_author', to=orm['auth.User'])), + ('ticket', self.gf('django.db.models.fields.related.ForeignKey')(related_name='comments', to=orm['articletrack.Ticket'])), + ('message', self.gf('django.db.models.fields.TextField')()), + )) + db.send_create_signal('articletrack', ['Comment']) def backwards(self, orm): + # Deleting model 'Team' + db.delete_table('articletrack_team') + + # Removing M2M table for field member on 'Team' + db.delete_table(db.shorten_name('articletrack_team_member')) + # Deleting model 'Notice' db.delete_table('articletrack_notice') # Deleting model 'Checkin' db.delete_table('articletrack_checkin') - # Removing M2M table for field journals on 'Checkin' - db.delete_table(db.shorten_name('articletrack_checkin_journals')) + # Deleting model 'CheckinWorkflowLog' + db.delete_table('articletrack_checkinworkflowlog') + + # Deleting model 'Article' + db.delete_table('articletrack_article') + + # Removing M2M table for field journals on 'Article' + db.delete_table(db.shorten_name('articletrack_article_journals')) + + # Deleting model 'Ticket' + db.delete_table('articletrack_ticket') + + # Deleting model 'Comment' + db.delete_table('articletrack_comment') models = { - 'articletrack.checkin': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, + 'articletrack.article': { + 'Meta': {'object_name': 'Article'}, 'article_title': ('django.db.models.fields.CharField', [], {'max_length': '512'}), 'articlepkg_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'eissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'issue_label': ('django.db.models.fields.CharField', [], {'max_length': '64'}), 'journal_title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'checkins'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), + 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'checkin_articles'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), + 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}) + }, + 'articletrack.checkin': { + 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, + 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), + 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}), + 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkins'", 'null': 'True', 'to': "orm['articletrack.Article']"}), + 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), + 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'expiration_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'package_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), + 'rejected_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), + 'rejected_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_rejected'", 'null': 'True', 'to': "orm['auth.User']"}), + 'rejected_cause': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), + 'reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), + 'reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), + 'scielo_reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), + 'scielo_reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_scielo_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), + 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '20'}), + 'submitted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_submitted_by'", 'null': 'True', 'to': "orm['auth.User']"}), 'uploaded_at': ('django.db.models.fields.CharField', [], {'max_length': '128'}) }, + 'articletrack.checkinworkflowlog': { + 'Meta': {'ordering': "['created_at']", 'object_name': 'CheckinWorkflowLog'}, + 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'submission_log'", 'to': "orm['articletrack.Checkin']"}), + 'created_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), + 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '20'}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkin_log_responsible'", 'null': 'True', 'to': "orm['auth.User']"}) + }, + 'articletrack.comment': { + 'Meta': {'ordering': "['created_at']", 'object_name': 'Comment'}, + 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments_author'", 'to': "orm['auth.User']"}), + 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'message': ('django.db.models.fields.TextField', [], {}), + 'ticket': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['articletrack.Ticket']"}), + 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) + }, 'articletrack.notice': { 'Meta': {'ordering': "['-created_at']", 'object_name': 'Notice'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['articletrack.Checkin']"}), + 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'notices'", 'to': "orm['articletrack.Checkin']"}), 'checkpoint': ('django.db.models.fields.CharField', [], {'max_length': '64'}), 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), @@ -83,6 +205,22 @@ def backwards(self, orm): 'stage': ('django.db.models.fields.CharField', [], {'max_length': '64'}), 'status': ('django.db.models.fields.CharField', [], {'max_length': '64'}) }, + 'articletrack.team': { + 'Meta': {'object_name': 'Team'}, + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'member': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'team'", 'symmetrical': 'False', 'to': "orm['auth.User']"}), + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '128'}) + }, + 'articletrack.ticket': { + 'Meta': {'ordering': "['started_at']", 'object_name': 'Ticket'}, + 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['articletrack.Article']"}), + 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['auth.User']"}), + 'finished_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'message': ('django.db.models.fields.TextField', [], {}), + 'started_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) + }, 'auth.group': { 'Meta': {'object_name': 'Group'}, 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), @@ -161,16 +299,17 @@ def backwards(self, orm): 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) }, 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, + 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), + 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), + 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), + 'editor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'editor_journal'", 'null': 'True', 'to': "orm['auth.User']"}), 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), @@ -181,7 +320,6 @@ def backwards(self, orm): 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), @@ -189,15 +327,15 @@ def backwards(self, orm): 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), + 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), + 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), + 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), @@ -207,9 +345,6 @@ def backwards(self, orm): 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), @@ -225,8 +360,8 @@ def backwards(self, orm): 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), + 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), + 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) }, 'journalmanager.language': { @@ -235,6 +370,16 @@ def backwards(self, orm): 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) }, + 'journalmanager.membership': { + 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, + 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), + 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), + 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), + 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) + }, 'journalmanager.sponsor': { 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), @@ -254,6 +399,7 @@ def backwards(self, orm): 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) }, diff --git a/scielomanager/articletrack/migrations/0002_auto__add_ticket__add_comment__add_article__del_field_checkin_issue_la.py b/scielomanager/articletrack/migrations/0002_auto__add_ticket__add_comment__add_article__del_field_checkin_issue_la.py deleted file mode 100644 index e27e3737..00000000 --- a/scielomanager/articletrack/migrations/0002_auto__add_ticket__add_comment__add_article__del_field_checkin_issue_la.py +++ /dev/null @@ -1,386 +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 'Ticket' - db.create_table('articletrack_ticket', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('started_at', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), - ('finished_at', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)), - ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='tickets', to=orm['auth.User'])), - ('title', self.gf('django.db.models.fields.CharField')(max_length=256)), - ('message', self.gf('django.db.models.fields.TextField')()), - ('article', self.gf('django.db.models.fields.related.ForeignKey')(related_name='articles', to=orm['articletrack.Article'])), - )) - db.send_create_signal('articletrack', ['Ticket']) - - # Adding model 'Comment' - db.create_table('articletrack_comment', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('date', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), - ('author', self.gf('django.db.models.fields.related.ForeignKey')(related_name='comments_author', to=orm['auth.User'])), - ('ticket', self.gf('django.db.models.fields.related.ForeignKey')(related_name='comments', to=orm['articletrack.Ticket'])), - ('message', self.gf('django.db.models.fields.TextField')()), - )) - db.send_create_signal('articletrack', ['Comment']) - - # Adding model 'Article' - db.create_table('articletrack_article', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('article_title', self.gf('django.db.models.fields.CharField')(max_length=512)), - ('articlepkg_ref', self.gf('django.db.models.fields.CharField')(max_length=32)), - ('journal_title', self.gf('django.db.models.fields.CharField')(max_length=256)), - ('issue_label', self.gf('django.db.models.fields.CharField')(max_length=64)), - ('pissn', self.gf('django.db.models.fields.CharField')(default='', max_length=9)), - ('eissn', self.gf('django.db.models.fields.CharField')(default='', max_length=9)), - )) - db.send_create_signal('articletrack', ['Article']) - - # Adding M2M table for field journals on 'Article' - m2m_table_name = db.shorten_name('articletrack_article_journals') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('article', models.ForeignKey(orm['articletrack.article'], null=False)), - ('journal', models.ForeignKey(orm['journalmanager.journal'], null=False)) - )) - db.create_unique(m2m_table_name, ['article_id', 'journal_id']) - - # Deleting field 'Checkin.issue_label' - db.delete_column('articletrack_checkin', 'issue_label') - - # Deleting field 'Checkin.journal_title' - db.delete_column('articletrack_checkin', 'journal_title') - - # Deleting field 'Checkin.pissn' - db.delete_column('articletrack_checkin', 'pissn') - - # Deleting field 'Checkin.eissn' - db.delete_column('articletrack_checkin', 'eissn') - - # Deleting field 'Checkin.article_title' - db.delete_column('articletrack_checkin', 'article_title') - - # Deleting field 'Checkin.articlepkg_ref' - db.delete_column('articletrack_checkin', 'articlepkg_ref') - - # Adding field 'Checkin.article' - db.add_column('articletrack_checkin', 'article', - self.gf('django.db.models.fields.related.ForeignKey')(related_name='checkins', null=True, to=orm['articletrack.Article']), - keep_default=False) - - # Removing M2M table for field journals on 'Checkin' - db.delete_table(db.shorten_name('articletrack_checkin_journals')) - - - def backwards(self, orm): - # Deleting model 'Ticket' - db.delete_table('articletrack_ticket') - - # Deleting model 'Comment' - db.delete_table('articletrack_comment') - - # Deleting model 'Article' - db.delete_table('articletrack_article') - - # Removing M2M table for field journals on 'Article' - db.delete_table(db.shorten_name('articletrack_article_journals')) - - - # User chose to not deal with backwards NULL issues for 'Checkin.issue_label' - raise RuntimeError("Cannot reverse this migration. 'Checkin.issue_label' and its values cannot be restored.") - - # The following code is provided here to aid in writing a correct migration # Adding field 'Checkin.issue_label' - db.add_column('articletrack_checkin', 'issue_label', - self.gf('django.db.models.fields.CharField')(max_length=64), - keep_default=False) - - - # User chose to not deal with backwards NULL issues for 'Checkin.journal_title' - raise RuntimeError("Cannot reverse this migration. 'Checkin.journal_title' and its values cannot be restored.") - - # The following code is provided here to aid in writing a correct migration # Adding field 'Checkin.journal_title' - db.add_column('articletrack_checkin', 'journal_title', - self.gf('django.db.models.fields.CharField')(max_length=256), - keep_default=False) - - # Adding field 'Checkin.pissn' - db.add_column('articletrack_checkin', 'pissn', - self.gf('django.db.models.fields.CharField')(default='', max_length=9), - keep_default=False) - - # Adding field 'Checkin.eissn' - db.add_column('articletrack_checkin', 'eissn', - self.gf('django.db.models.fields.CharField')(default='', max_length=9), - keep_default=False) - - - # User chose to not deal with backwards NULL issues for 'Checkin.article_title' - raise RuntimeError("Cannot reverse this migration. 'Checkin.article_title' and its values cannot be restored.") - - # The following code is provided here to aid in writing a correct migration # Adding field 'Checkin.article_title' - db.add_column('articletrack_checkin', 'article_title', - self.gf('django.db.models.fields.CharField')(max_length=512), - keep_default=False) - - - # User chose to not deal with backwards NULL issues for 'Checkin.articlepkg_ref' - raise RuntimeError("Cannot reverse this migration. 'Checkin.articlepkg_ref' and its values cannot be restored.") - - # The following code is provided here to aid in writing a correct migration # Adding field 'Checkin.articlepkg_ref' - db.add_column('articletrack_checkin', 'articlepkg_ref', - self.gf('django.db.models.fields.CharField')(max_length=32), - keep_default=False) - - # Deleting field 'Checkin.article' - db.delete_column('articletrack_checkin', 'article_id') - - # Adding M2M table for field journals on 'Checkin' - m2m_table_name = db.shorten_name('articletrack_checkin_journals') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('checkin', models.ForeignKey(orm['articletrack.checkin'], null=False)), - ('journal', models.ForeignKey(orm['journalmanager.journal'], null=False)) - )) - db.create_unique(m2m_table_name, ['checkin_id', 'journal_id']) - - - models = { - 'articletrack.article': { - 'Meta': {'object_name': 'Article'}, - 'article_title': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'articlepkg_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'eissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue_label': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'journal_title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'articles'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}) - }, - 'articletrack.checkin': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkins'", 'null': 'True', 'to': "orm['articletrack.Article']"}), - 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'package_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'uploaded_at': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'articletrack.comment': { - 'Meta': {'ordering': "['-date']", 'object_name': 'Comment'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments_author'", 'to': "orm['auth.User']"}), - 'date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'ticket': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['articletrack.Ticket']"}) - }, - 'articletrack.notice': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Notice'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['articletrack.Checkin']"}), - 'checkpoint': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'stage': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'articletrack.ticket': { - 'Meta': {'object_name': 'Ticket'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['articletrack.Article']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['auth.User']"}), - 'finished_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'started_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - '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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['articletrack'] \ No newline at end of file diff --git a/scielomanager/articletrack/migrations/0003_auto__del_field_comment_date__add_field_comment_created_at__add_field_.py b/scielomanager/articletrack/migrations/0003_auto__del_field_comment_date__add_field_comment_created_at__add_field_.py deleted file mode 100644 index 2297f80a..00000000 --- a/scielomanager/articletrack/migrations/0003_auto__del_field_comment_date__add_field_comment_created_at__add_field_.py +++ /dev/null @@ -1,272 +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 'Comment.date' - db.delete_column('articletrack_comment', 'date') - - # Adding field 'Comment.created_at' - db.add_column('articletrack_comment', 'created_at', - self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, default=datetime.datetime(2014, 2, 24, 0, 0), blank=True), - keep_default=False) - - # Adding field 'Comment.updated_at' - db.add_column('articletrack_comment', 'updated_at', - self.gf('django.db.models.fields.DateTimeField')(auto_now=True, default=datetime.datetime(2014, 2, 24, 0, 0), blank=True), - keep_default=False) - - - def backwards(self, orm): - # Adding field 'Comment.date' - db.add_column('articletrack_comment', 'date', - self.gf('django.db.models.fields.DateTimeField')(auto_now=True, default=datetime.datetime(2014, 2, 24, 0, 0), blank=True), - keep_default=False) - - # Deleting field 'Comment.created_at' - db.delete_column('articletrack_comment', 'created_at') - - # Deleting field 'Comment.updated_at' - db.delete_column('articletrack_comment', 'updated_at') - - - models = { - 'articletrack.article': { - 'Meta': {'object_name': 'Article'}, - 'article_title': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'articlepkg_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'eissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue_label': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'journal_title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'checkin_articles'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}) - }, - 'articletrack.checkin': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkins'", 'null': 'True', 'to': "orm['articletrack.Article']"}), - 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'package_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'uploaded_at': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'articletrack.comment': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'Comment'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments_author'", 'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'ticket': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['articletrack.Ticket']"}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'articletrack.notice': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Notice'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'notices'", 'to': "orm['articletrack.Checkin']"}), - 'checkpoint': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'stage': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'articletrack.ticket': { - 'Meta': {'ordering': "['started_at']", 'object_name': 'Ticket'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['articletrack.Article']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['auth.User']"}), - 'finished_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'started_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - '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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['articletrack'] \ No newline at end of file diff --git a/scielomanager/articletrack/migrations/0004_auto__add_field_checkin_accepted_by__add_field_checkin_accepted_at.py b/scielomanager/articletrack/migrations/0004_auto__add_field_checkin_accepted_by__add_field_checkin_accepted_at.py deleted file mode 100644 index c661ede3..00000000 --- a/scielomanager/articletrack/migrations/0004_auto__add_field_checkin_accepted_by__add_field_checkin_accepted_at.py +++ /dev/null @@ -1,266 +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 'Checkin.accepted_by' - db.add_column('articletrack_checkin', 'accepted_by', - self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True), - keep_default=False) - - # Adding field 'Checkin.accepted_at' - db.add_column('articletrack_checkin', 'accepted_at', - self.gf('django.db.models.fields.DateTimeField')(null=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Checkin.accepted_by' - db.delete_column('articletrack_checkin', 'accepted_by_id') - - # Deleting field 'Checkin.accepted_at' - db.delete_column('articletrack_checkin', 'accepted_at') - - - models = { - 'articletrack.article': { - 'Meta': {'object_name': 'Article'}, - 'article_title': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'articlepkg_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'eissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue_label': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'journal_title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'checkin_articles'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}) - }, - 'articletrack.checkin': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}), - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkins'", 'null': 'True', 'to': "orm['articletrack.Article']"}), - 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'package_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'uploaded_at': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'articletrack.comment': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'Comment'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments_author'", 'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'ticket': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['articletrack.Ticket']"}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'articletrack.notice': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Notice'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'notices'", 'to': "orm['articletrack.Checkin']"}), - 'checkpoint': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'stage': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'articletrack.ticket': { - 'Meta': {'ordering': "['started_at']", 'object_name': 'Ticket'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['articletrack.Article']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['auth.User']"}), - 'finished_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'started_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - '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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['articletrack'] \ No newline at end of file diff --git a/scielomanager/articletrack/migrations/0005_auto__add_field_checkin_status.py b/scielomanager/articletrack/migrations/0005_auto__add_field_checkin_status.py deleted file mode 100644 index bea39901..00000000 --- a/scielomanager/articletrack/migrations/0005_auto__add_field_checkin_status.py +++ /dev/null @@ -1,267 +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 'Checkin.status' - db.add_column('articletrack_checkin', 'status', - self.gf('django.db.models.fields.CharField')(default='pending', max_length=10), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Checkin.status' - db.delete_column('articletrack_checkin', 'status') - - - models = { - 'articletrack.article': { - 'Meta': {'object_name': 'Article'}, - 'article_title': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'articlepkg_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'eissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue_label': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'journal_title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'checkin_articles'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}) - }, - 'articletrack.checkin': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}), - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkins'", 'null': 'True', 'to': "orm['articletrack.Article']"}), - 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'package_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'uploaded_at': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'articletrack.comment': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'Comment'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments_author'", 'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'ticket': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['articletrack.Ticket']"}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'articletrack.notice': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Notice'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'notices'", 'to': "orm['articletrack.Checkin']"}), - 'checkpoint': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'stage': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'articletrack.ticket': { - 'Meta': {'ordering': "['started_at']", 'object_name': 'Ticket'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['articletrack.Article']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['auth.User']"}), - 'finished_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'started_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - '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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['articletrack'] \ No newline at end of file diff --git a/scielomanager/articletrack/migrations/0006_auto__add_field_checkin_reviewed_by__add_field_checkin_reviewed_at.py b/scielomanager/articletrack/migrations/0006_auto__add_field_checkin_reviewed_by__add_field_checkin_reviewed_at.py deleted file mode 100644 index fd21ccd0..00000000 --- a/scielomanager/articletrack/migrations/0006_auto__add_field_checkin_reviewed_by__add_field_checkin_reviewed_at.py +++ /dev/null @@ -1,277 +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 'Checkin.reviewed_by' - db.add_column('articletrack_checkin', 'reviewed_by', - self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='checkins_reviewed', null=True, to=orm['auth.User']), - keep_default=False) - - # Adding field 'Checkin.reviewed_at' - db.add_column('articletrack_checkin', 'reviewed_at', - self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Checkin.reviewed_by' - db.delete_column('articletrack_checkin', 'reviewed_by_id') - - # Deleting field 'Checkin.reviewed_at' - db.delete_column('articletrack_checkin', 'reviewed_at') - - - models = { - 'articletrack.article': { - 'Meta': {'object_name': 'Article'}, - 'article_title': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'articlepkg_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'eissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue_label': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'journal_title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'checkin_articles'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}) - }, - 'articletrack.checkin': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}), - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkins'", 'null': 'True', 'to': "orm['articletrack.Article']"}), - 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'package_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'uploaded_at': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'articletrack.comment': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'Comment'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments_author'", 'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'ticket': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['articletrack.Ticket']"}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'articletrack.notice': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Notice'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'notices'", 'to': "orm['articletrack.Checkin']"}), - 'checkpoint': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'stage': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'articletrack.ticket': { - 'Meta': {'ordering': "['started_at']", 'object_name': 'Ticket'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['articletrack.Article']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['auth.User']"}), - 'finished_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'started_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - '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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['articletrack'] \ No newline at end of file diff --git a/scielomanager/articletrack/migrations/0007_auto__add_field_checkin_rejected_by__add_field_checkin_rejected_at__ad.py b/scielomanager/articletrack/migrations/0007_auto__add_field_checkin_rejected_by__add_field_checkin_rejected_at__ad.py deleted file mode 100644 index 5516be82..00000000 --- a/scielomanager/articletrack/migrations/0007_auto__add_field_checkin_rejected_by__add_field_checkin_rejected_at__ad.py +++ /dev/null @@ -1,288 +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 'Checkin.rejected_by' - db.add_column('articletrack_checkin', 'rejected_by', - self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='checkins_rejected', null=True, to=orm['auth.User']), - keep_default=False) - - # Adding field 'Checkin.rejected_at' - db.add_column('articletrack_checkin', 'rejected_at', - self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), - keep_default=False) - - # Adding field 'Checkin.rejected_cause' - db.add_column('articletrack_checkin', 'rejected_cause', - self.gf('django.db.models.fields.CharField')(max_length=128, null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Checkin.rejected_by' - db.delete_column('articletrack_checkin', 'rejected_by_id') - - # Deleting field 'Checkin.rejected_at' - db.delete_column('articletrack_checkin', 'rejected_at') - - # Deleting field 'Checkin.rejected_cause' - db.delete_column('articletrack_checkin', 'rejected_cause') - - - models = { - 'articletrack.article': { - 'Meta': {'object_name': 'Article'}, - 'article_title': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'articlepkg_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'eissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue_label': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'journal_title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'checkin_articles'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}) - }, - 'articletrack.checkin': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}), - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkins'", 'null': 'True', 'to': "orm['articletrack.Article']"}), - 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'package_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'rejected_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'rejected_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_rejected'", 'null': 'True', 'to': "orm['auth.User']"}), - 'rejected_cause': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'uploaded_at': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'articletrack.comment': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'Comment'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments_author'", 'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'ticket': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['articletrack.Ticket']"}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'articletrack.notice': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Notice'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'notices'", 'to': "orm['articletrack.Checkin']"}), - 'checkpoint': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'stage': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'articletrack.ticket': { - 'Meta': {'ordering': "['started_at']", 'object_name': 'Ticket'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['articletrack.Article']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['auth.User']"}), - 'finished_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'started_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - '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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['articletrack'] \ No newline at end of file diff --git a/scielomanager/articletrack/migrations/0008_auto__add_checkinworflowlog.py b/scielomanager/articletrack/migrations/0008_auto__add_checkinworflowlog.py deleted file mode 100644 index 7696540f..00000000 --- a/scielomanager/articletrack/migrations/0008_auto__add_checkinworflowlog.py +++ /dev/null @@ -1,287 +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 'CheckinWorkflowLog' - db.create_table('articletrack_checkinworkflowlog', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('created_at', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='checkin_log_responsible', null=True, to=orm['auth.User'])), - ('status', self.gf('django.db.models.fields.CharField')(default='pending', max_length=10)), - ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), - ('checkin', self.gf('django.db.models.fields.related.ForeignKey')(related_name='submission_log', to=orm['articletrack.Checkin'])), - )) - db.send_create_signal('articletrack', ['CheckinWorkflowLog']) - - - def backwards(self, orm): - # Deleting model 'CheckinWorkflowLog' - db.delete_table('articletrack_checkinworkflowlog') - - - models = { - 'articletrack.article': { - 'Meta': {'object_name': 'Article'}, - 'article_title': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'articlepkg_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'eissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue_label': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'journal_title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'checkin_articles'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}) - }, - 'articletrack.checkin': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}), - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkins'", 'null': 'True', 'to': "orm['articletrack.Article']"}), - 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'package_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'rejected_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'rejected_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_rejected'", 'null': 'True', 'to': "orm['auth.User']"}), - 'rejected_cause': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'uploaded_at': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'articletrack.checkinworkflowlog': { - 'Meta': {'object_name': 'CheckinWorkflowLog'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'submission_log'", 'to': "orm['articletrack.Checkin']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkin_log_responsible'", 'null': 'True', 'to': "orm['auth.User']"}) - }, - 'articletrack.comment': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'Comment'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments_author'", 'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'ticket': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['articletrack.Ticket']"}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'articletrack.notice': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Notice'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'notices'", 'to': "orm['articletrack.Checkin']"}), - 'checkpoint': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'stage': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'articletrack.ticket': { - 'Meta': {'ordering': "['started_at']", 'object_name': 'Ticket'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['articletrack.Article']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['auth.User']"}), - 'finished_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'started_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - '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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['articletrack'] diff --git a/scielomanager/articletrack/migrations/0009_auto__add_field_checkin_submitted_by.py b/scielomanager/articletrack/migrations/0009_auto__add_field_checkin_submitted_by.py deleted file mode 100644 index 67bbed5e..00000000 --- a/scielomanager/articletrack/migrations/0009_auto__add_field_checkin_submitted_by.py +++ /dev/null @@ -1,282 +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 'Checkin.submitted_by' - db.add_column('articletrack_checkin', 'submitted_by', - self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='checkins_submitted_by', null=True, to=orm['auth.User']), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Checkin.submitted_by' - db.delete_column('articletrack_checkin', 'submitted_by_id') - - - models = { - 'articletrack.article': { - 'Meta': {'object_name': 'Article'}, - 'article_title': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'articlepkg_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'eissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue_label': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'journal_title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'checkin_articles'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}) - }, - 'articletrack.checkin': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}), - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkins'", 'null': 'True', 'to': "orm['articletrack.Article']"}), - 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'package_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'rejected_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'rejected_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_rejected'", 'null': 'True', 'to': "orm['auth.User']"}), - 'rejected_cause': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'submitted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_submitted_by'", 'null': 'True', 'to': "orm['auth.User']"}), - 'uploaded_at': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'articletrack.checkinworkflowlog': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'CheckinWorkflowLog'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkin_workflow_logs'", 'to': "orm['articletrack.Checkin']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkin_log_responsible'", 'null': 'True', 'to': "orm['auth.User']"}) - }, - 'articletrack.comment': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'Comment'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments_author'", 'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'ticket': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['articletrack.Ticket']"}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'articletrack.notice': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Notice'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'notices'", 'to': "orm['articletrack.Checkin']"}), - 'checkpoint': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'stage': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'articletrack.ticket': { - 'Meta': {'ordering': "['started_at']", 'object_name': 'Ticket'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['articletrack.Article']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['auth.User']"}), - 'finished_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'started_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - '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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['articletrack'] \ No newline at end of file diff --git a/scielomanager/articletrack/migrations/0010_auto__add_field_checkin_expiration_at.py b/scielomanager/articletrack/migrations/0010_auto__add_field_checkin_expiration_at.py deleted file mode 100644 index b6d6b37a..00000000 --- a/scielomanager/articletrack/migrations/0010_auto__add_field_checkin_expiration_at.py +++ /dev/null @@ -1,283 +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 'Checkin.expiration_at' - db.add_column('articletrack_checkin', 'expiration_at', - self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Checkin.expiration_at' - db.delete_column('articletrack_checkin', 'expiration_at') - - - models = { - 'articletrack.article': { - 'Meta': {'object_name': 'Article'}, - 'article_title': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'articlepkg_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'eissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue_label': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'journal_title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'checkin_articles'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}) - }, - 'articletrack.checkin': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}), - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkins'", 'null': 'True', 'to': "orm['articletrack.Article']"}), - 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'expiration_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'package_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'rejected_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'rejected_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_rejected'", 'null': 'True', 'to': "orm['auth.User']"}), - 'rejected_cause': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'submitted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_submitted_by'", 'null': 'True', 'to': "orm['auth.User']"}), - 'uploaded_at': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'articletrack.checkinworkflowlog': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'CheckinWorkflowLog'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'submission_log'", 'to': "orm['articletrack.Checkin']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkin_log_responsible'", 'null': 'True', 'to': "orm['auth.User']"}) - }, - 'articletrack.comment': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'Comment'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments_author'", 'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'ticket': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['articletrack.Ticket']"}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'articletrack.notice': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Notice'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'notices'", 'to': "orm['articletrack.Checkin']"}), - 'checkpoint': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'stage': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'articletrack.ticket': { - 'Meta': {'ordering': "['started_at']", 'object_name': 'Ticket'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['articletrack.Article']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['auth.User']"}), - 'finished_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'started_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - '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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['articletrack'] \ No newline at end of file diff --git a/scielomanager/articletrack/migrations/0011_auto__add_team.py b/scielomanager/articletrack/migrations/0011_auto__add_team.py deleted file mode 100644 index b5d69df2..00000000 --- a/scielomanager/articletrack/migrations/0011_auto__add_team.py +++ /dev/null @@ -1,303 +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 'Team' - db.create_table('articletrack_team', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=128)), - )) - db.send_create_signal('articletrack', ['Team']) - - # Adding M2M table for field member on 'Team' - m2m_table_name = db.shorten_name('articletrack_team_member') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('team', models.ForeignKey(orm['articletrack.team'], null=False)), - ('user', models.ForeignKey(orm['auth.user'], null=False)) - )) - db.create_unique(m2m_table_name, ['team_id', 'user_id']) - - - def backwards(self, orm): - # Deleting model 'Team' - db.delete_table('articletrack_team') - - # Removing M2M table for field member on 'Team' - db.delete_table(db.shorten_name('articletrack_team_member')) - - - models = { - 'articletrack.article': { - 'Meta': {'object_name': 'Article'}, - 'article_title': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'articlepkg_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'eissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue_label': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'journal_title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'checkin_articles'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}) - }, - 'articletrack.checkin': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}), - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkins'", 'null': 'True', 'to': "orm['articletrack.Article']"}), - 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'expiration_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'package_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'rejected_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'rejected_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_rejected'", 'null': 'True', 'to': "orm['auth.User']"}), - 'rejected_cause': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'submitted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_submitted_by'", 'null': 'True', 'to': "orm['auth.User']"}), - 'uploaded_at': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'articletrack.checkinworkflowlog': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'CheckinWorkflowLog'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'submission_log'", 'to': "orm['articletrack.Checkin']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkin_log_responsible'", 'null': 'True', 'to': "orm['auth.User']"}) - }, - 'articletrack.comment': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'Comment'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments_author'", 'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'ticket': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['articletrack.Ticket']"}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'articletrack.notice': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Notice'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'notices'", 'to': "orm['articletrack.Checkin']"}), - 'checkpoint': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'stage': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'articletrack.team': { - 'Meta': {'object_name': 'Team'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'team'", 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '128'}) - }, - 'articletrack.ticket': { - 'Meta': {'ordering': "['started_at']", 'object_name': 'Ticket'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['articletrack.Article']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['auth.User']"}), - 'finished_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'started_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - '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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['articletrack'] \ No newline at end of file diff --git a/scielomanager/articletrack/migrations/0012_auto__add_field_checkin_scielo_reviewed_by__add_field_checkin_scielo_r.py b/scielomanager/articletrack/migrations/0012_auto__add_field_checkin_scielo_reviewed_by__add_field_checkin_scielo_r.py deleted file mode 100644 index 74ff4af1..00000000 --- a/scielomanager/articletrack/migrations/0012_auto__add_field_checkin_scielo_reviewed_by__add_field_checkin_scielo_r.py +++ /dev/null @@ -1,299 +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 'Checkin.scielo_reviewed_by' - db.add_column('articletrack_checkin', 'scielo_reviewed_by', - self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='checkins_scielo_reviewed', null=True, to=orm['auth.User']), - keep_default=False) - - # Adding field 'Checkin.scielo_reviewed_at' - db.add_column('articletrack_checkin', 'scielo_reviewed_at', - self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Checkin.scielo_reviewed_by' - db.delete_column('articletrack_checkin', 'scielo_reviewed_by_id') - - # Deleting field 'Checkin.scielo_reviewed_at' - db.delete_column('articletrack_checkin', 'scielo_reviewed_at') - - - models = { - 'articletrack.article': { - 'Meta': {'object_name': 'Article'}, - 'article_title': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'articlepkg_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'eissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue_label': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'journal_title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'checkin_articles'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}) - }, - 'articletrack.checkin': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}), - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkins'", 'null': 'True', 'to': "orm['articletrack.Article']"}), - 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'expiration_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'package_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'rejected_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'rejected_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_rejected'", 'null': 'True', 'to': "orm['auth.User']"}), - 'rejected_cause': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), - 'scielo_reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'scielo_reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_scielo_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'submitted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_submitted_by'", 'null': 'True', 'to': "orm['auth.User']"}), - 'uploaded_at': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'articletrack.checkinworkflowlog': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'CheckinWorkflowLog'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'submission_log'", 'to': "orm['articletrack.Checkin']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkin_log_responsible'", 'null': 'True', 'to': "orm['auth.User']"}) - }, - 'articletrack.comment': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'Comment'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments_author'", 'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'ticket': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['articletrack.Ticket']"}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'articletrack.notice': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Notice'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'notices'", 'to': "orm['articletrack.Checkin']"}), - 'checkpoint': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'stage': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'articletrack.team': { - 'Meta': {'object_name': 'Team'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'team'", 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '128'}) - }, - 'articletrack.ticket': { - 'Meta': {'ordering': "['started_at']", 'object_name': 'Ticket'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['articletrack.Article']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['auth.User']"}), - 'finished_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'started_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - '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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['articletrack'] \ No newline at end of file diff --git a/scielomanager/articletrack/migrations/0013_auto__add_field_checkin_checked_out.py b/scielomanager/articletrack/migrations/0013_auto__add_field_checkin_checked_out.py deleted file mode 100644 index 9061ffe3..00000000 --- a/scielomanager/articletrack/migrations/0013_auto__add_field_checkin_checked_out.py +++ /dev/null @@ -1,292 +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 'Checkin.checked_out' - db.add_column('articletrack_checkin', 'checked_out', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Checkin.checked_out' - db.delete_column('articletrack_checkin', 'checked_out') - - - models = { - 'articletrack.article': { - 'Meta': {'object_name': 'Article'}, - 'article_title': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'articlepkg_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'eissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue_label': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'journal_title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'checkin_articles'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}) - }, - 'articletrack.checkin': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}), - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkins'", 'null': 'True', 'to': "orm['articletrack.Article']"}), - 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'checked_out': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'expiration_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'package_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'rejected_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'rejected_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_rejected'", 'null': 'True', 'to': "orm['auth.User']"}), - 'rejected_cause': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), - 'scielo_reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'scielo_reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_scielo_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'submitted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_submitted_by'", 'null': 'True', 'to': "orm['auth.User']"}), - 'uploaded_at': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'articletrack.checkinworkflowlog': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'CheckinWorkflowLog'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'submission_log'", 'to': "orm['articletrack.Checkin']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkin_log_responsible'", 'null': 'True', 'to': "orm['auth.User']"}) - }, - 'articletrack.comment': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'Comment'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments_author'", 'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'ticket': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['articletrack.Ticket']"}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'articletrack.notice': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Notice'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'notices'", 'to': "orm['articletrack.Checkin']"}), - 'checkpoint': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'stage': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'articletrack.team': { - 'Meta': {'object_name': 'Team'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'team'", 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '128'}) - }, - 'articletrack.ticket': { - 'Meta': {'ordering': "['started_at']", 'object_name': 'Ticket'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['articletrack.Article']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['auth.User']"}), - 'finished_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'started_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - '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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['articletrack'] \ No newline at end of file diff --git a/scielomanager/articletrack/migrations/0014_auto__del_field_checkin_checked_out__chg_field_checkin_status.py b/scielomanager/articletrack/migrations/0014_auto__del_field_checkin_checked_out__chg_field_checkin_status.py deleted file mode 100644 index d8649864..00000000 --- a/scielomanager/articletrack/migrations/0014_auto__del_field_checkin_checked_out__chg_field_checkin_status.py +++ /dev/null @@ -1,297 +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 'Checkin.checked_out' - db.delete_column('articletrack_checkin', 'checked_out') - - - # Changing field 'Checkin.status' - db.alter_column('articletrack_checkin', 'status', self.gf('django.db.models.fields.CharField')(max_length=20)) - - def backwards(self, orm): - # Adding field 'Checkin.checked_out' - db.add_column('articletrack_checkin', 'checked_out', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) - - - # Changing field 'Checkin.status' - db.alter_column('articletrack_checkin', 'status', self.gf('django.db.models.fields.CharField')(max_length=10)) - - models = { - 'articletrack.article': { - 'Meta': {'object_name': 'Article'}, - 'article_title': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'articlepkg_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'eissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue_label': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'journal_title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'checkin_articles'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}) - }, - 'articletrack.checkin': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}), - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkins'", 'null': 'True', 'to': "orm['articletrack.Article']"}), - 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'expiration_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'package_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'rejected_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'rejected_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_rejected'", 'null': 'True', 'to': "orm['auth.User']"}), - 'rejected_cause': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), - 'scielo_reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'scielo_reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_scielo_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '20'}), - 'submitted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_submitted_by'", 'null': 'True', 'to': "orm['auth.User']"}), - 'uploaded_at': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'articletrack.checkinworkflowlog': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'CheckinWorkflowLog'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'submission_log'", 'to': "orm['articletrack.Checkin']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '10'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkin_log_responsible'", 'null': 'True', 'to': "orm['auth.User']"}) - }, - 'articletrack.comment': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'Comment'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments_author'", 'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'ticket': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['articletrack.Ticket']"}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'articletrack.notice': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Notice'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'notices'", 'to': "orm['articletrack.Checkin']"}), - 'checkpoint': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'stage': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'articletrack.team': { - 'Meta': {'object_name': 'Team'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'team'", 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '128'}) - }, - 'articletrack.ticket': { - 'Meta': {'ordering': "['started_at']", 'object_name': 'Ticket'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['articletrack.Article']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['auth.User']"}), - 'finished_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'started_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - '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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['articletrack'] \ No newline at end of file diff --git a/scielomanager/articletrack/migrations/0015_auto__chg_field_checkinworkflowlog_status.py b/scielomanager/articletrack/migrations/0015_auto__chg_field_checkinworkflowlog_status.py deleted file mode 100644 index 6ed5e8a7..00000000 --- a/scielomanager/articletrack/migrations/0015_auto__chg_field_checkinworkflowlog_status.py +++ /dev/null @@ -1,289 +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 'CheckinWorkflowLog.status' - db.alter_column('articletrack_checkinworkflowlog', 'status', self.gf('django.db.models.fields.CharField')(max_length=20)) - - def backwards(self, orm): - - # Changing field 'CheckinWorkflowLog.status' - db.alter_column('articletrack_checkinworkflowlog', 'status', self.gf('django.db.models.fields.CharField')(max_length=10)) - - models = { - 'articletrack.article': { - 'Meta': {'object_name': 'Article'}, - 'article_title': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'articlepkg_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'eissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue_label': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'journal_title': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'journals': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'checkin_articles'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'pissn': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '9'}) - }, - 'articletrack.checkin': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Checkin'}, - 'accepted_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'accepted_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}), - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'checkins'", 'null': 'True', 'to': "orm['articletrack.Article']"}), - 'attempt_ref': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'expiration_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'package_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'rejected_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'rejected_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_rejected'", 'null': 'True', 'to': "orm['auth.User']"}), - 'rejected_cause': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), - 'scielo_reviewed_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'scielo_reviewed_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_scielo_reviewed'", 'null': 'True', 'to': "orm['auth.User']"}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '20'}), - 'submitted_by': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkins_submitted_by'", 'null': 'True', 'to': "orm['auth.User']"}), - 'uploaded_at': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'articletrack.checkinworkflowlog': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'CheckinWorkflowLog'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'submission_log'", 'to': "orm['articletrack.Checkin']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'pending'", 'max_length': '20'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'checkin_log_responsible'", 'null': 'True', 'to': "orm['auth.User']"}) - }, - 'articletrack.comment': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'Comment'}, - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments_author'", 'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'ticket': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'comments'", 'to': "orm['articletrack.Ticket']"}), - 'updated_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'articletrack.notice': { - 'Meta': {'ordering': "['-created_at']", 'object_name': 'Notice'}, - 'checkin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'notices'", 'to': "orm['articletrack.Checkin']"}), - 'checkpoint': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'stage': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'articletrack.team': { - 'Meta': {'object_name': 'Team'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'member': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'team'", 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '128'}) - }, - 'articletrack.ticket': { - 'Meta': {'ordering': "['started_at']", 'object_name': 'Ticket'}, - 'article': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['articletrack.Article']"}), - 'author': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'tickets'", 'to': "orm['auth.User']"}), - 'finished_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'message': ('django.db.models.fields.TextField', [], {}), - 'started_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - '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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['articletrack'] \ No newline at end of file diff --git a/scielomanager/editorialmanager/migrations/0001_initial.py b/scielomanager/editorialmanager/migrations/0001_initial.py index 9bfcddce..e21e2d52 100644 --- a/scielomanager/editorialmanager/migrations/0001_initial.py +++ b/scielomanager/editorialmanager/migrations/0001_initial.py @@ -11,7 +11,7 @@ def forwards(self, orm): # Adding model 'EditorialBoard' db.create_table('editorialmanager_editorialboard', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('issue', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Issue'])), + ('issue', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['journalmanager.Issue'], unique=True)), )) db.send_create_signal('editorialmanager', ['EditorialBoard']) @@ -22,24 +22,42 @@ def forwards(self, orm): ('board', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['editorialmanager.EditorialBoard'])), ('first_name', self.gf('django.db.models.fields.CharField')(max_length=256)), ('last_name', self.gf('django.db.models.fields.CharField')(max_length=256)), - ('email', self.gf('django.db.models.fields.EmailField')(max_length=75)), - ('institution', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)), + ('email', self.gf('django.db.models.fields.EmailField')(max_length=75, null=True, blank=True)), + ('institution', self.gf('django.db.models.fields.CharField')(default='', max_length=256)), ('link_cv', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)), ('city', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)), ('state', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)), - ('country', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)), + ('country', self.gf('django_countries.fields.CountryField')(default='', max_length=2)), + ('research_id', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)), + ('orcid', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)), + ('order', self.gf('django.db.models.fields.IntegerField')(default=1)), )) db.send_create_signal('editorialmanager', ['EditorialMember']) # Adding model 'RoleType' db.create_table('editorialmanager_roletype', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('name', self.gf('django.db.models.fields.CharField')(max_length=256)), + ('name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=256)), )) db.send_create_signal('editorialmanager', ['RoleType']) + # Adding model 'RoleTypeTranslation' + db.create_table('editorialmanager_roletypetranslation', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('role', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', to=orm['editorialmanager.RoleType'])), + ('name', self.gf('django.db.models.fields.CharField')(default='', max_length=256)), + ('language', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Language'])), + )) + db.send_create_signal('editorialmanager', ['RoleTypeTranslation']) + + # Adding unique constraint on 'RoleTypeTranslation', fields ['role', 'language'] + db.create_unique('editorialmanager_roletypetranslation', ['role_id', 'language_id']) + def backwards(self, orm): + # Removing unique constraint on 'RoleTypeTranslation', fields ['role', 'language'] + db.delete_unique('editorialmanager_roletypetranslation', ['role_id', 'language_id']) + # Deleting model 'EditorialBoard' db.delete_table('editorialmanager_editorialboard') @@ -49,6 +67,9 @@ def backwards(self, orm): # Deleting model 'RoleType' db.delete_table('editorialmanager_roletype') + # Deleting model 'RoleTypeTranslation' + db.delete_table('editorialmanager_roletypetranslation') + models = { 'auth.group': { @@ -90,26 +111,36 @@ def backwards(self, orm): 'editorialmanager.editorialboard': { 'Meta': {'object_name': 'EditorialBoard'}, 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}) + 'issue': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True'}) }, 'editorialmanager.editorialmember': { - 'Meta': {'object_name': 'EditorialMember'}, + 'Meta': {'ordering': "('board', 'order', 'pk')", 'object_name': 'EditorialMember'}, 'board': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.EditorialBoard']"}), 'city': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), + 'country': ('django_countries.fields.CountryField', [], {'default': "''", 'max_length': '2'}), + 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}), 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'institution': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), + 'institution': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '256'}), 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), 'link_cv': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), + 'orcid': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), + 'order': ('django.db.models.fields.IntegerField', [], {'default': '1'}), + 'research_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), 'role': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.RoleType']"}), 'state': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) }, 'editorialmanager.roletype': { - 'Meta': {'object_name': 'RoleType'}, + 'Meta': {'ordering': "('name',)", 'object_name': 'RoleType'}, + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '256'}) + }, + 'editorialmanager.roletypetranslation': { + 'Meta': {'unique_together': "(('role', 'language'),)", 'object_name': 'RoleTypeTranslation'}, 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256'}) + 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), + 'name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '256'}), + 'role': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['editorialmanager.RoleType']"}) }, 'journalmanager.collection': { 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, diff --git a/scielomanager/editorialmanager/migrations/0002_auto__add_field_roletype_weight.py b/scielomanager/editorialmanager/migrations/0002_auto__add_field_roletype_weight.py deleted file mode 100644 index b5fb19d3..00000000 --- a/scielomanager/editorialmanager/migrations/0002_auto__add_field_roletype_weight.py +++ /dev/null @@ -1,274 +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 'RoleType.weight' - db.add_column('editorialmanager_roletype', 'weight', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=10), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'RoleType.weight' - db.delete_column('editorialmanager_roletype', 'weight') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'editorialmanager.editorialboard': { - 'Meta': {'object_name': 'EditorialBoard'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}) - }, - 'editorialmanager.editorialmember': { - 'Meta': {'ordering': "('board', 'role')", 'object_name': 'EditorialMember'}, - 'board': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.EditorialBoard']"}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'institution': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'link_cv': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'role': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.RoleType']"}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'editorialmanager.roletype': { - 'Meta': {'ordering': "('weight', 'name')", 'object_name': 'RoleType'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'weight': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '10'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created', 'id')", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.section': { - 'Meta': {'ordering': "('id',)", 'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['editorialmanager'] \ No newline at end of file diff --git a/scielomanager/editorialmanager/migrations/0003_auto__chg_field_editorialboard_issue__add_unique_editorialboard_issue.py b/scielomanager/editorialmanager/migrations/0003_auto__chg_field_editorialboard_issue__add_unique_editorialboard_issue.py deleted file mode 100644 index 1e11613a..00000000 --- a/scielomanager/editorialmanager/migrations/0003_auto__chg_field_editorialboard_issue__add_unique_editorialboard_issue.py +++ /dev/null @@ -1,278 +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 'EditorialBoard.issue' - db.alter_column('editorialmanager_editorialboard', 'issue_id', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['journalmanager.Issue'], unique=True)) - # Adding unique constraint on 'EditorialBoard', fields ['issue'] - db.create_unique('editorialmanager_editorialboard', ['issue_id']) - - - def backwards(self, orm): - # Removing unique constraint on 'EditorialBoard', fields ['issue'] - db.delete_unique('editorialmanager_editorialboard', ['issue_id']) - - - # Changing field 'EditorialBoard.issue' - db.alter_column('editorialmanager_editorialboard', 'issue_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Issue'])) - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'editorialmanager.editorialboard': { - 'Meta': {'object_name': 'EditorialBoard'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True'}) - }, - 'editorialmanager.editorialmember': { - 'Meta': {'object_name': 'EditorialMember'}, - 'board': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.EditorialBoard']"}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'institution': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'link_cv': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'role': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.RoleType']"}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'editorialmanager.roletype': { - 'Meta': {'object_name': 'RoleType'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'weight': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '10'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created', 'id')", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.section': { - 'Meta': {'ordering': "('id',)", 'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['editorialmanager'] diff --git a/scielomanager/editorialmanager/migrations/0004_auto__add_field_editorialmember_research_id__add_field_editorialmember.py b/scielomanager/editorialmanager/migrations/0004_auto__add_field_editorialmember_research_id__add_field_editorialmember.py deleted file mode 100644 index 60b515f0..00000000 --- a/scielomanager/editorialmanager/migrations/0004_auto__add_field_editorialmember_research_id__add_field_editorialmember.py +++ /dev/null @@ -1,285 +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 'EditorialMember.research_id' - db.add_column('editorialmanager_editorialmember', 'research_id', - self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True), - keep_default=False) - - # Adding field 'EditorialMember.orcid' - db.add_column('editorialmanager_editorialmember', 'orcid', - self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'EditorialMember.research_id' - db.delete_column('editorialmanager_editorialmember', 'research_id') - - # Deleting field 'EditorialMember.orcid' - db.delete_column('editorialmanager_editorialmember', 'orcid') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'editorialmanager.editorialboard': { - 'Meta': {'object_name': 'EditorialBoard'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True'}) - }, - 'editorialmanager.editorialmember': { - 'Meta': {'ordering': "('board', 'role__weight')", 'object_name': 'EditorialMember'}, - 'board': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.EditorialBoard']"}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'institution': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'link_cv': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'orcid': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'research_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'role': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.RoleType']"}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'editorialmanager.roletype': { - 'Meta': {'ordering': "('weight', 'name')", 'object_name': 'RoleType'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'weight': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '10'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created', 'id')", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'editor_journal'", 'null': 'True', 'to': "orm['auth.User']"}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.section': { - 'Meta': {'ordering': "('id',)", 'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['editorialmanager'] \ No newline at end of file diff --git a/scielomanager/editorialmanager/migrations/0005_auto__chg_field_editorialmember_email.py b/scielomanager/editorialmanager/migrations/0005_auto__chg_field_editorialmember_email.py deleted file mode 100644 index d9c685d9..00000000 --- a/scielomanager/editorialmanager/migrations/0005_auto__chg_field_editorialmember_email.py +++ /dev/null @@ -1,275 +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 'EditorialMember.email' - db.alter_column('editorialmanager_editorialmember', 'email', self.gf('django.db.models.fields.EmailField')(max_length=75, null=True)) - - def backwards(self, orm): - - # Changing field 'EditorialMember.email' - db.alter_column('editorialmanager_editorialmember', 'email', self.gf('django.db.models.fields.EmailField')(default=None, max_length=75)) - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'editorialmanager.editorialboard': { - 'Meta': {'object_name': 'EditorialBoard'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True'}) - }, - 'editorialmanager.editorialmember': { - 'Meta': {'ordering': "('board', 'role__weight')", 'object_name': 'EditorialMember'}, - 'board': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.EditorialBoard']"}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'institution': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'link_cv': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'orcid': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'research_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'role': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.RoleType']"}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'editorialmanager.roletype': { - 'Meta': {'ordering': "('weight', 'name')", 'object_name': 'RoleType'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'weight': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '10'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created', 'id')", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'editor_journal'", 'null': 'True', 'to': "orm['auth.User']"}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.section': { - 'Meta': {'ordering': "('id',)", 'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['editorialmanager'] diff --git a/scielomanager/editorialmanager/migrations/0006_auto__add_field_editorialmember_order.py b/scielomanager/editorialmanager/migrations/0006_auto__add_field_editorialmember_order.py deleted file mode 100644 index d08daf6a..00000000 --- a/scielomanager/editorialmanager/migrations/0006_auto__add_field_editorialmember_order.py +++ /dev/null @@ -1,278 +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 'EditorialMember.order' - db.add_column('editorialmanager_editorialmember', 'order', - self.gf('django.db.models.fields.IntegerField')(default=1), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'EditorialMember.order' - db.delete_column('editorialmanager_editorialmember', 'order') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'editorialmanager.editorialboard': { - 'Meta': {'object_name': 'EditorialBoard'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True'}) - }, - 'editorialmanager.editorialmember': { - 'Meta': {'ordering': "('board', 'role__name', 'order')", 'object_name': 'EditorialMember'}, - 'board': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.EditorialBoard']"}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'institution': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'link_cv': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'orcid': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'research_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'role': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.RoleType']"}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'editorialmanager.roletype': { - 'Meta': {'ordering': "('weight', 'name')", 'object_name': 'RoleType'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'weight': ('django.db.models.fields.PositiveSmallIntegerField', [], {'default': '10'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created', 'id')", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'editor_journal'", 'null': 'True', 'to': "orm['auth.User']"}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.section': { - 'Meta': {'ordering': "('id',)", 'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['editorialmanager'] \ No newline at end of file diff --git a/scielomanager/editorialmanager/migrations/0007_auto__del_field_roletype_weight.py b/scielomanager/editorialmanager/migrations/0007_auto__del_field_roletype_weight.py deleted file mode 100644 index 2d2d7f37..00000000 --- a/scielomanager/editorialmanager/migrations/0007_auto__del_field_roletype_weight.py +++ /dev/null @@ -1,277 +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 'RoleType.weight' - db.delete_column('editorialmanager_roletype', 'weight') - - - def backwards(self, orm): - # Adding field 'RoleType.weight' - db.add_column('editorialmanager_roletype', 'weight', - self.gf('django.db.models.fields.PositiveSmallIntegerField')(default=10), - keep_default=False) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'editorialmanager.editorialboard': { - 'Meta': {'object_name': 'EditorialBoard'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True'}) - }, - 'editorialmanager.editorialmember': { - 'Meta': {'ordering': "('board', 'order', 'pk')", 'object_name': 'EditorialMember'}, - 'board': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.EditorialBoard']"}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'institution': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'link_cv': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'orcid': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'research_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'role': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.RoleType']"}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'editorialmanager.roletype': { - 'Meta': {'ordering': "('name',)", 'object_name': 'RoleType'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created', 'id')", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'editor_journal'", 'null': 'True', 'to': "orm['auth.User']"}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.section': { - 'Meta': {'ordering': "('id',)", 'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['editorialmanager'] \ No newline at end of file diff --git a/scielomanager/editorialmanager/migrations/0008_auto__add_roletypetranslation__add_unique_roletypetranslation_role_lan.py b/scielomanager/editorialmanager/migrations/0008_auto__add_roletypetranslation__add_unique_roletypetranslation_role_lan.py deleted file mode 100644 index 99fbdc41..00000000 --- a/scielomanager/editorialmanager/migrations/0008_auto__add_roletypetranslation__add_unique_roletypetranslation_role_lan.py +++ /dev/null @@ -1,294 +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 'RoleTypeTranslation' - db.create_table('editorialmanager_roletypetranslation', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('role', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', to=orm['editorialmanager.RoleType'])), - ('name', self.gf('django.db.models.fields.CharField')(default='', max_length=256)), - ('language', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Language'])), - )) - db.send_create_signal('editorialmanager', ['RoleTypeTranslation']) - - # Adding unique constraint on 'RoleTypeTranslation', fields ['role', 'language'] - db.create_unique('editorialmanager_roletypetranslation', ['role_id', 'language_id']) - - - def backwards(self, orm): - # Removing unique constraint on 'RoleTypeTranslation', fields ['role', 'language'] - db.delete_unique('editorialmanager_roletypetranslation', ['role_id', 'language_id']) - - # Deleting model 'RoleTypeTranslation' - db.delete_table('editorialmanager_roletypetranslation') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'editorialmanager.editorialboard': { - 'Meta': {'object_name': 'EditorialBoard'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True'}) - }, - 'editorialmanager.editorialmember': { - 'Meta': {'ordering': "('board', 'order', 'pk')", 'object_name': 'EditorialMember'}, - 'board': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.EditorialBoard']"}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'institution': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'link_cv': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'orcid': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'research_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'role': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.RoleType']"}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'editorialmanager.roletype': { - 'Meta': {'ordering': "('name',)", 'object_name': 'RoleType'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'editorialmanager.roletypetranslation': { - 'Meta': {'unique_together': "(('role', 'language'),)", 'object_name': 'RoleTypeTranslation'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '256'}), - 'role': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['editorialmanager.RoleType']"}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created', 'id')", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'editor_journal'", 'null': 'True', 'to': "orm['auth.User']"}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.section': { - 'Meta': {'ordering': "('id',)", 'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['editorialmanager'] \ No newline at end of file diff --git a/scielomanager/editorialmanager/migrations/0009_auto__add_unique_roletype_name.py b/scielomanager/editorialmanager/migrations/0009_auto__add_unique_roletype_name.py deleted file mode 100644 index 63cdb7c3..00000000 --- a/scielomanager/editorialmanager/migrations/0009_auto__add_unique_roletype_name.py +++ /dev/null @@ -1,282 +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 unique constraint on 'RoleType', fields ['name'] - db.create_unique('editorialmanager_roletype', ['name']) - - - def backwards(self, orm): - # Removing unique constraint on 'RoleType', fields ['name'] - db.delete_unique('editorialmanager_roletype', ['name']) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'editorialmanager.editorialboard': { - 'Meta': {'object_name': 'EditorialBoard'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True'}) - }, - 'editorialmanager.editorialmember': { - 'Meta': {'ordering': "('board', 'order', 'pk')", 'object_name': 'EditorialMember'}, - 'board': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.EditorialBoard']"}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'institution': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'link_cv': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'orcid': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'research_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'role': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.RoleType']"}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'editorialmanager.roletype': { - 'Meta': {'ordering': "('name',)", 'object_name': 'RoleType'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '256'}) - }, - 'editorialmanager.roletypetranslation': { - 'Meta': {'unique_together': "(('role', 'language'),)", 'object_name': 'RoleTypeTranslation'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '256'}), - 'role': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['editorialmanager.RoleType']"}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created', 'id')", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'editor_journal'", 'null': 'True', 'to': "orm['auth.User']"}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.section': { - 'Meta': {'ordering': "('id',)", 'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['editorialmanager'] \ No newline at end of file diff --git a/scielomanager/editorialmanager/migrations/0009_auto__chg_field_editorialmember_country.py b/scielomanager/editorialmanager/migrations/0009_auto__chg_field_editorialmember_country.py deleted file mode 100644 index 73452cc2..00000000 --- a/scielomanager/editorialmanager/migrations/0009_auto__chg_field_editorialmember_country.py +++ /dev/null @@ -1,282 +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 'EditorialMember.country' - db.alter_column('editorialmanager_editorialmember', 'country', self.gf('django_countries.fields.CountryField')(max_length=2, null=True)) - - def backwards(self, orm): - - # Changing field 'EditorialMember.country' - db.alter_column('editorialmanager_editorialmember', 'country', self.gf('django.db.models.fields.CharField')(max_length=256, null=True)) - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'editorialmanager.editorialboard': { - 'Meta': {'object_name': 'EditorialBoard'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True'}) - }, - 'editorialmanager.editorialmember': { - 'Meta': {'ordering': "('board', 'order', 'pk')", 'object_name': 'EditorialMember'}, - 'board': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.EditorialBoard']"}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'country': ('django_countries.fields.CountryField', [], {'max_length': '2', 'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'institution': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'link_cv': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'orcid': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'research_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'role': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.RoleType']"}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'editorialmanager.roletype': { - 'Meta': {'ordering': "('name',)", 'object_name': 'RoleType'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'editorialmanager.roletypetranslation': { - 'Meta': {'unique_together': "(('role', 'language'),)", 'object_name': 'RoleTypeTranslation'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '256'}), - 'role': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['editorialmanager.RoleType']"}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created', 'id')", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'editor_journal'", 'null': 'True', 'to': "orm['auth.User']"}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.section': { - 'Meta': {'ordering': "('id',)", 'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['editorialmanager'] \ No newline at end of file diff --git a/scielomanager/editorialmanager/migrations/0010_auto__chg_field_editorialmember_country__chg_field_editorialmember_ins.py b/scielomanager/editorialmanager/migrations/0010_auto__chg_field_editorialmember_country__chg_field_editorialmember_ins.py deleted file mode 100644 index 478af01c..00000000 --- a/scielomanager/editorialmanager/migrations/0010_auto__chg_field_editorialmember_country__chg_field_editorialmember_ins.py +++ /dev/null @@ -1,288 +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 'EditorialMember.country' - db.alter_column('editorialmanager_editorialmember', 'country', self.gf('django_countries.fields.CountryField')(max_length=2)) - - # Changing field 'EditorialMember.institution' - db.alter_column('editorialmanager_editorialmember', 'institution', self.gf('django.db.models.fields.CharField')(max_length=256)) - - def backwards(self, orm): - - # Changing field 'EditorialMember.country' - db.alter_column('editorialmanager_editorialmember', 'country', self.gf('django_countries.fields.CountryField')(max_length=2, null=True)) - - # Changing field 'EditorialMember.institution' - db.alter_column('editorialmanager_editorialmember', 'institution', self.gf('django.db.models.fields.CharField')(max_length=256, null=True)) - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'editorialmanager.editorialboard': { - 'Meta': {'object_name': 'EditorialBoard'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True'}) - }, - 'editorialmanager.editorialmember': { - 'Meta': {'ordering': "('board', 'order', 'pk')", 'object_name': 'EditorialMember'}, - 'board': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.EditorialBoard']"}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'country': ('django_countries.fields.CountryField', [], {'default': "''", 'max_length': '2'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'null': 'True', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'institution': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '256'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'link_cv': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'orcid': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'research_id': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'role': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['editorialmanager.RoleType']"}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'editorialmanager.roletype': { - 'Meta': {'ordering': "('name',)", 'object_name': 'RoleType'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'editorialmanager.roletypetranslation': { - 'Meta': {'unique_together': "(('role', 'language'),)", 'object_name': 'RoleTypeTranslation'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '256'}), - 'role': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['editorialmanager.RoleType']"}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created', 'id')", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'editor_journal'", 'null': 'True', 'to': "orm['auth.User']"}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.section': { - 'Meta': {'ordering': "('id',)", 'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - } - } - - complete_apps = ['editorialmanager'] \ No newline at end of file diff --git a/scielomanager/fixtures/groups.json b/scielomanager/fixtures/groups.json deleted file mode 100644 index 36341b99..00000000 --- a/scielomanager/fixtures/groups.json +++ /dev/null @@ -1,724 +0,0 @@ -[ - { - "pk": 7, - "model": "auth.group", - "fields": { - "name": "Outsourced Technician", - "permissions": [ - [ - "list_collection", - "journalmanager", - "collection" - ], - [ - "add_issue", - "journalmanager", - "issue" - ], - [ - "change_issue", - "journalmanager", - "issue" - ], - [ - "delete_issue", - "journalmanager", - "issue" - ], - [ - "list_issue", - "journalmanager", - "issue" - ], - [ - "add_issuetitle", - "journalmanager", - "issuetitle" - ], - [ - "change_issuetitle", - "journalmanager", - "issuetitle" - ], - [ - "delete_issuetitle", - "journalmanager", - "issuetitle" - ], - [ - "list_journal", - "journalmanager", - "journal" - ], - [ - "add_section", - "journalmanager", - "section" - ], - [ - "change_section", - "journalmanager", - "section" - ], - [ - "delete_section", - "journalmanager", - "section" - ], - [ - "list_section", - "journalmanager", - "section" - ] - ] - } - }, - { - "pk": 6, - "model": "auth.group", - "fields": { - "name": "Technician", - "permissions": [ - [ - "add_aheadpressrelease", - "journalmanager", - "aheadpressrelease" - ], - [ - "change_aheadpressrelease", - "journalmanager", - "aheadpressrelease" - ], - [ - "list_collection", - "journalmanager", - "collection" - ], - [ - "add_issue", - "journalmanager", - "issue" - ], - [ - "change_issue", - "journalmanager", - "issue" - ], - [ - "delete_issue", - "journalmanager", - "issue" - ], - [ - "list_issue", - "journalmanager", - "issue" - ], - [ - "add_issuetitle", - "journalmanager", - "issuetitle" - ], - [ - "change_issuetitle", - "journalmanager", - "issuetitle" - ], - [ - "delete_issuetitle", - "journalmanager", - "issuetitle" - ], - [ - "list_journal", - "journalmanager", - "journal" - ], - [ - "add_pressrelease", - "journalmanager", - "pressrelease" - ], - [ - "change_pressrelease", - "journalmanager", - "pressrelease" - ], - [ - "list_pressrelease", - "journalmanager", - "pressrelease" - ], - [ - "add_pressreleasearticle", - "journalmanager", - "pressreleasearticle" - ], - [ - "change_pressreleasearticle", - "journalmanager", - "pressreleasearticle" - ], - [ - "add_pressreleasetranslation", - "journalmanager", - "pressreleasetranslation" - ], - [ - "change_pressreleasetranslation", - "journalmanager", - "pressreleasetranslation" - ], - [ - "add_regularpressrelease", - "journalmanager", - "regularpressrelease" - ], - [ - "change_regularpressrelease", - "journalmanager", - "regularpressrelease" - ], - [ - "add_section", - "journalmanager", - "section" - ], - [ - "change_section", - "journalmanager", - "section" - ], - [ - "delete_section", - "journalmanager", - "section" - ], - [ - "list_section", - "journalmanager", - "section" - ] - ] - } - }, - { - "pk": 5, - "model": "auth.group", - "fields": { - "name": "Trainee", - "permissions": [ - [ - "list_collection", - "journalmanager", - "collection" - ], - [ - "add_issue", - "journalmanager", - "issue" - ], - [ - "change_issue", - "journalmanager", - "issue" - ], - [ - "list_issue", - "journalmanager", - "issue" - ], - [ - "list_journal", - "journalmanager", - "journal" - ], - [ - "add_section", - "journalmanager", - "section" - ], - [ - "change_section", - "journalmanager", - "section" - ], - [ - "delete_section", - "journalmanager", - "section" - ], - [ - "list_section", - "journalmanager", - "section" - ] - ] - } - }, - { - "pk": 8, - "model": "auth.group", - "fields": { - "name": "Producer", - "permissions": [ - [ - "change_checkin", - "articletrack", - "checkin" - ], - [ - "list_checkin", - "articletrack", - "checkin" - ], - [ - "add_checkinworkflowlog", - "articletrack", - "checkinworkflowlog" - ], - [ - "add_comment", - "articletrack", - "comment" - ], - [ - "change_comment", - "articletrack", - "comment" - ], - [ - "list_comment", - "articletrack", - "comment" - ], - [ - "list_notice", - "articletrack", - "notice" - ], - [ - "add_ticket", - "articletrack", - "ticket" - ], - [ - "change_ticket", - "articletrack", - "ticket" - ], - [ - "list_ticket", - "articletrack", - "ticket" - ], - [ - "list_collection", - "journalmanager", - "collection" - ] - ] - } - }, - { - "pk": 9, - "model": "auth.group", - "fields": { - "name": "QAL1", - "permissions": [ - [ - "change_checkin", - "articletrack", - "checkin" - ], - [ - "list_checkin", - "articletrack", - "checkin" - ], - [ - "add_checkinworkflowlog", - "articletrack", - "checkinworkflowlog" - ], - [ - "add_comment", - "articletrack", - "comment" - ], - [ - "change_comment", - "articletrack", - "comment" - ], - [ - "list_comment", - "articletrack", - "comment" - ], - [ - "list_notice", - "articletrack", - "notice" - ], - [ - "add_ticket", - "articletrack", - "ticket" - ], - [ - "change_ticket", - "articletrack", - "ticket" - ], - [ - "list_ticket", - "articletrack", - "ticket" - ], - [ - "list_collection", - "journalmanager", - "collection" - ] - ] - } - }, - { - "pk": 10, - "model": "auth.group", - "fields": { - "name": "QAL2", - "permissions": [ - [ - "change_checkin", - "articletrack", - "checkin" - ], - [ - "list_checkin", - "articletrack", - "checkin" - ], - [ - "add_checkinworkflowlog", - "articletrack", - "checkinworkflowlog" - ], - [ - "add_comment", - "articletrack", - "comment" - ], - [ - "change_comment", - "articletrack", - "comment" - ], - [ - "list_comment", - "articletrack", - "comment" - ], - [ - "list_notice", - "articletrack", - "notice" - ], - [ - "add_ticket", - "articletrack", - "ticket" - ], - [ - "change_ticket", - "articletrack", - "ticket" - ], - [ - "list_ticket", - "articletrack", - "ticket" - ], - [ - "list_collection", - "journalmanager", - "collection" - ] - ] - } - }, - { - "pk": 11, - "model": "auth.group", - "fields": { - "name": "Editors", - "permissions": [ - [ - "add_editorialmember", - "editorialmanager", - "editorialmember" - ], - [ - "change_editorialmember", - "editorialmanager", - "editorialmember" - ], - [ - "delete_editorialmember", - "editorialmanager", - "editorialmember" - ], - [ - "list_editor_journal", - "journalmanager", - "journal" - ] - ] - } - }, - { - "pk": 4, - "model": "auth.group", - "fields": { - "name": "Librarian", - "permissions": [ - [ - "add_user", - "auth", - "user" - ], - [ - "change_user", - "auth", - "user" - ], - [ - "delete_user", - "auth", - "user" - ], - [ - "add_editorialmember", - "editorialmanager", - "editorialmember" - ], - [ - "change_editorialmember", - "editorialmanager", - "editorialmember" - ], - [ - "delete_editorialmember", - "editorialmanager", - "editorialmember" - ], - [ - "add_aheadpressrelease", - "journalmanager", - "aheadpressrelease" - ], - [ - "change_aheadpressrelease", - "journalmanager", - "aheadpressrelease" - ], - [ - "list_collection", - "journalmanager", - "collection" - ], - [ - "add_issue", - "journalmanager", - "issue" - ], - [ - "change_issue", - "journalmanager", - "issue" - ], - [ - "delete_issue", - "journalmanager", - "issue" - ], - [ - "list_issue", - "journalmanager", - "issue" - ], - [ - "add_issuetitle", - "journalmanager", - "issuetitle" - ], - [ - "change_issuetitle", - "journalmanager", - "issuetitle" - ], - [ - "delete_issuetitle", - "journalmanager", - "issuetitle" - ], - [ - "add_journal", - "journalmanager", - "journal" - ], - [ - "change_editor", - "journalmanager", - "journal" - ], - [ - "change_journal", - "journalmanager", - "journal" - ], - [ - "delete_journal", - "journalmanager", - "journal" - ], - [ - "list_journal", - "journalmanager", - "journal" - ], - [ - "add_journalmission", - "journalmanager", - "journalmission" - ], - [ - "change_journalmission", - "journalmanager", - "journalmission" - ], - [ - "delete_journalmission", - "journalmanager", - "journalmission" - ], - [ - "add_journaltitle", - "journalmanager", - "journaltitle" - ], - [ - "change_journaltitle", - "journalmanager", - "journaltitle" - ], - [ - "delete_journaltitle", - "journalmanager", - "journaltitle" - ], - [ - "add_language", - "journalmanager", - "language" - ], - [ - "change_language", - "journalmanager", - "language" - ], - [ - "delete_language", - "journalmanager", - "language" - ], - [ - "change_pendedform", - "journalmanager", - "pendedform" - ], - [ - "add_pressrelease", - "journalmanager", - "pressrelease" - ], - [ - "change_pressrelease", - "journalmanager", - "pressrelease" - ], - [ - "list_pressrelease", - "journalmanager", - "pressrelease" - ], - [ - "add_pressreleasearticle", - "journalmanager", - "pressreleasearticle" - ], - [ - "change_pressreleasearticle", - "journalmanager", - "pressreleasearticle" - ], - [ - "add_section", - "journalmanager", - "section" - ], - [ - "change_section", - "journalmanager", - "section" - ], - [ - "delete_section", - "journalmanager", - "section" - ], - [ - "list_section", - "journalmanager", - "section" - ], - [ - "add_sectiontitle", - "journalmanager", - "sectiontitle" - ], - [ - "change_sectiontitle", - "journalmanager", - "sectiontitle" - ], - [ - "delete_sectiontitle", - "journalmanager", - "sectiontitle" - ], - [ - "add_sponsor", - "journalmanager", - "sponsor" - ], - [ - "change_sponsor", - "journalmanager", - "sponsor" - ], - [ - "delete_sponsor", - "journalmanager", - "sponsor" - ], - [ - "list_sponsor", - "journalmanager", - "sponsor" - ] - ] - } - } -] \ No newline at end of file diff --git a/scielomanager/journalmanager/fixtures/use_licenses.json b/scielomanager/journalmanager/fixtures/use_licenses.json new file mode 100644 index 00000000..e5bf60cd --- /dev/null +++ b/scielomanager/journalmanager/fixtures/use_licenses.json @@ -0,0 +1,32 @@ +[ + { + "pk": 1, + "model": "journalmanager.uselicense", + "fields": { + "reference_url": null, + "is_default": false, + "disclaimer": "\"Creative Todo el contenido de la revista, excepto d\u00f3nde est\u00e1 identificado, est\u00e1 bajo una Licencia Creative Commons", + "license_code": "BY" + } + }, + { + "pk": 2, + "model": "journalmanager.uselicense", + "fields": { + "reference_url": null, + "is_default": true, + "disclaimer": "\"Creative Todo el contenido de esta revista, excepto d\u00f3nde est\u00e1 identificado, está bajo una Licencia Creative Commons", + "license_code": "BY-NC" + } + }, + { + "pk": 3, + "model": "journalmanager.uselicense", + "fields": { + "reference_url": null, + "is_default": false, + "disclaimer": "

", + "license_code": "nd" + } + } +] diff --git a/scielomanager/journalmanager/migrations/0001_initial.py b/scielomanager/journalmanager/migrations/0001_initial.py index ea4c7147..8d53ed66 100644 --- a/scielomanager/journalmanager/migrations/0001_initial.py +++ b/scielomanager/journalmanager/migrations/0001_initial.py @@ -1,13 +1,13 @@ -# encoding: utf-8 -import datetime +# -*- 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 'Language' db.create_table('journalmanager_language', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), @@ -20,7 +20,8 @@ def forwards(self, orm): db.create_table('journalmanager_userprofile', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('user', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['auth.User'], unique=True)), - ('email', self.gf('django.db.models.fields.EmailField')(unique=True, max_length=75)), + ('email_notifications', self.gf('django.db.models.fields.BooleanField')(default=True)), + ('tz', self.gf('django.db.models.fields.CharField')(default='America/Sao_Paulo', max_length=150)), )) db.send_create_signal('journalmanager', ['UserProfile']) @@ -28,7 +29,7 @@ def forwards(self, orm): db.create_table('journalmanager_collection', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('name', self.gf('django.db.models.fields.CharField')(max_length=128, db_index=True)), - ('name_slug', self.gf('django.db.models.fields.SlugField')(db_index=True, max_length=50, unique=True, null=True, blank=True)), + ('name_slug', self.gf('django.db.models.fields.SlugField')(max_length=50, unique=True, null=True, blank=True)), ('url', self.gf('django.db.models.fields.URLField')(max_length=200)), ('logo', self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True)), ('acronym', self.gf('django.db.models.fields.CharField')(db_index=True, max_length=16, blank=True)), @@ -55,6 +56,9 @@ def forwards(self, orm): )) db.send_create_signal('journalmanager', ['UserCollections']) + # Adding unique constraint on 'UserCollections', fields ['user', 'collection'] + db.create_unique('journalmanager_usercollections', ['user_id', 'collection_id']) + # Adding model 'Institution' db.create_table('journalmanager_institution', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), @@ -78,20 +82,6 @@ def forwards(self, orm): )) db.send_create_signal('journalmanager', ['Institution']) - # Adding model 'Publisher' - db.create_table('journalmanager_publisher', ( - ('institution_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['journalmanager.Institution'], unique=True, primary_key=True)), - )) - db.send_create_signal('journalmanager', ['Publisher']) - - # Adding M2M table for field collections on 'Publisher' - db.create_table('journalmanager_publisher_collections', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('publisher', models.ForeignKey(orm['journalmanager.publisher'], null=False)), - ('collection', models.ForeignKey(orm['journalmanager.collection'], null=False)) - )) - db.create_unique('journalmanager_publisher_collections', ['publisher_id', 'collection_id']) - # Adding model 'Sponsor' db.create_table('journalmanager_sponsor', ( ('institution_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['journalmanager.Institution'], unique=True, primary_key=True)), @@ -99,21 +89,39 @@ def forwards(self, orm): db.send_create_signal('journalmanager', ['Sponsor']) # Adding M2M table for field collections on 'Sponsor' - db.create_table('journalmanager_sponsor_collections', ( + m2m_table_name = db.shorten_name('journalmanager_sponsor_collections') + db.create_table(m2m_table_name, ( ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), ('sponsor', models.ForeignKey(orm['journalmanager.sponsor'], null=False)), ('collection', models.ForeignKey(orm['journalmanager.collection'], null=False)) )) - db.create_unique('journalmanager_sponsor_collections', ['sponsor_id', 'collection_id']) + db.create_unique(m2m_table_name, ['sponsor_id', 'collection_id']) + + # Adding model 'SubjectCategory' + db.create_table('journalmanager_subjectcategory', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('term', self.gf('django.db.models.fields.CharField')(max_length=256, db_index=True)), + )) + db.send_create_signal('journalmanager', ['SubjectCategory']) + + # Adding model 'StudyArea' + db.create_table('journalmanager_studyarea', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('study_area', self.gf('django.db.models.fields.CharField')(max_length=256)), + )) + db.send_create_signal('journalmanager', ['StudyArea']) # Adding model 'Journal' db.create_table('journalmanager_journal', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('editor', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='editor_journal', null=True, to=orm['auth.User'])), ('creator', self.gf('django.db.models.fields.related.ForeignKey')(related_name='enjoy_creator', to=orm['auth.User'])), - ('publisher', self.gf('django.db.models.fields.related.ForeignKey')(related_name='publishers', to=orm['journalmanager.Publisher'])), ('previous_title', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='prev_title', null=True, to=orm['journalmanager.Journal'])), ('use_license', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.UseLicense'])), - ('national_code', self.gf('django.db.models.fields.CharField')(max_length=16, null=True, blank=True)), + ('national_code', self.gf('django.db.models.fields.CharField')(max_length=64, null=True, blank=True)), + ('current_ahead_documents', self.gf('django.db.models.fields.IntegerField')(default=0, max_length=3, null=True, blank=True)), + ('previous_ahead_documents', self.gf('django.db.models.fields.IntegerField')(default=0, max_length=3, null=True, blank=True)), + ('twitter_user', self.gf('django.db.models.fields.CharField')(max_length=128, null=True, blank=True)), ('title', self.gf('django.db.models.fields.CharField')(max_length=256, db_index=True)), ('title_iso', self.gf('django.db.models.fields.CharField')(max_length=256, db_index=True)), ('short_title', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, db_index=True)), @@ -121,85 +129,121 @@ def forwards(self, orm): ('updated', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), ('acronym', self.gf('django.db.models.fields.CharField')(max_length=16)), ('scielo_issn', self.gf('django.db.models.fields.CharField')(max_length=16)), - ('print_issn', self.gf('django.db.models.fields.CharField')(max_length=9)), - ('eletronic_issn', self.gf('django.db.models.fields.CharField')(max_length=9)), - ('subject_descriptors', self.gf('django.db.models.fields.CharField')(max_length=512)), - ('init_year', self.gf('django.db.models.fields.CharField')(max_length=16)), - ('init_vol', self.gf('django.db.models.fields.CharField')(max_length=16)), - ('init_num', self.gf('django.db.models.fields.CharField')(max_length=16)), - ('final_year', self.gf('django.db.models.fields.CharField')(max_length=16, null=True, blank=True)), + ('print_issn', self.gf('django.db.models.fields.CharField')(max_length=9, db_index=True)), + ('eletronic_issn', self.gf('django.db.models.fields.CharField')(max_length=9, db_index=True)), + ('subject_descriptors', self.gf('django.db.models.fields.CharField')(max_length=1024)), + ('init_year', self.gf('django.db.models.fields.CharField')(max_length=4)), + ('init_vol', self.gf('django.db.models.fields.CharField')(max_length=16, null=True, blank=True)), + ('init_num', self.gf('django.db.models.fields.CharField')(max_length=16, null=True, blank=True)), + ('final_year', self.gf('django.db.models.fields.CharField')(max_length=4, null=True, blank=True)), ('final_vol', self.gf('django.db.models.fields.CharField')(max_length=16, blank=True)), ('final_num', self.gf('django.db.models.fields.CharField')(max_length=16, blank=True)), + ('medline_title', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)), + ('medline_code', self.gf('django.db.models.fields.CharField')(max_length=64, null=True, blank=True)), ('frequency', self.gf('django.db.models.fields.CharField')(max_length=16)), - ('pub_status', self.gf('django.db.models.fields.CharField')(default='inprogress', max_length=16, null=True, blank=True)), - ('pub_status_reason', self.gf('django.db.models.fields.TextField')(default='', blank=True)), - ('pub_status_changed_by', self.gf('django.db.models.fields.related.ForeignKey')(related_name='pub_status_changed_by', to=orm['auth.User'])), ('editorial_standard', self.gf('django.db.models.fields.CharField')(max_length=64)), ('ctrl_vocabulary', self.gf('django.db.models.fields.CharField')(max_length=64)), ('pub_level', self.gf('django.db.models.fields.CharField')(max_length=64)), ('secs_code', self.gf('django.db.models.fields.CharField')(max_length=64, blank=True)), ('copyrighter', self.gf('django.db.models.fields.CharField')(max_length=254)), - ('url_online_submission', self.gf('django.db.models.fields.CharField')(max_length=64, null=True, blank=True)), - ('url_journal', self.gf('django.db.models.fields.CharField')(max_length=64, null=True, blank=True)), + ('url_online_submission', self.gf('django.db.models.fields.CharField')(max_length=128, null=True, blank=True)), + ('url_journal', self.gf('django.db.models.fields.CharField')(max_length=128, null=True, blank=True)), ('notes', self.gf('django.db.models.fields.TextField')(max_length=254, null=True, blank=True)), ('index_coverage', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), - ('cover', self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True)), - ('logo', self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True)), + ('cover', self.gf('scielomanager.custom_fields.ContentTypeRestrictedFileField')(max_length=100, null=True, blank=True)), + ('logo', self.gf('scielomanager.custom_fields.ContentTypeRestrictedFileField')(max_length=100, null=True, blank=True)), ('is_trashed', self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True)), ('other_previous_title', self.gf('django.db.models.fields.CharField')(max_length=255, blank=True)), + ('editor_name', self.gf('django.db.models.fields.CharField')(max_length=512)), + ('editor_address', self.gf('django.db.models.fields.CharField')(max_length=512)), + ('editor_address_city', self.gf('django.db.models.fields.CharField')(max_length=256)), + ('editor_address_state', self.gf('django.db.models.fields.CharField')(max_length=128)), + ('editor_address_zip', self.gf('django.db.models.fields.CharField')(max_length=64)), + ('editor_address_country', self.gf('scielo_extensions.modelfields.CountryField')(max_length=2)), + ('editor_phone1', self.gf('django.db.models.fields.CharField')(max_length=32)), + ('editor_phone2', self.gf('django.db.models.fields.CharField')(max_length=32, null=True, blank=True)), + ('editor_email', self.gf('django.db.models.fields.EmailField')(max_length=75)), + ('publisher_name', self.gf('django.db.models.fields.CharField')(max_length=256)), + ('publisher_country', self.gf('scielo_extensions.modelfields.CountryField')(max_length=2)), + ('publisher_state', self.gf('django.db.models.fields.CharField')(max_length=64)), + ('publication_city', self.gf('django.db.models.fields.CharField')(max_length=64)), + ('is_indexed_scie', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('is_indexed_ssci', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('is_indexed_aehci', self.gf('django.db.models.fields.BooleanField')(default=False)), )) db.send_create_signal('journalmanager', ['Journal']) # Adding M2M table for field sponsor on 'Journal' - db.create_table('journalmanager_journal_sponsor', ( + m2m_table_name = db.shorten_name('journalmanager_journal_sponsor') + db.create_table(m2m_table_name, ( ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), ('journal', models.ForeignKey(orm['journalmanager.journal'], null=False)), ('sponsor', models.ForeignKey(orm['journalmanager.sponsor'], null=False)) )) - db.create_unique('journalmanager_journal_sponsor', ['journal_id', 'sponsor_id']) + db.create_unique(m2m_table_name, ['journal_id', 'sponsor_id']) - # Adding M2M table for field collections on 'Journal' - db.create_table('journalmanager_journal_collections', ( + # Adding M2M table for field languages on 'Journal' + m2m_table_name = db.shorten_name('journalmanager_journal_languages') + db.create_table(m2m_table_name, ( ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), ('journal', models.ForeignKey(orm['journalmanager.journal'], null=False)), - ('collection', models.ForeignKey(orm['journalmanager.collection'], null=False)) + ('language', models.ForeignKey(orm['journalmanager.language'], null=False)) )) - db.create_unique('journalmanager_journal_collections', ['journal_id', 'collection_id']) + db.create_unique(m2m_table_name, ['journal_id', 'language_id']) - # Adding M2M table for field languages on 'Journal' - db.create_table('journalmanager_journal_languages', ( + # Adding M2M table for field abstract_keyword_languages on 'Journal' + m2m_table_name = db.shorten_name('journalmanager_journal_abstract_keyword_languages') + db.create_table(m2m_table_name, ( ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), ('journal', models.ForeignKey(orm['journalmanager.journal'], null=False)), ('language', models.ForeignKey(orm['journalmanager.language'], null=False)) )) - db.create_unique('journalmanager_journal_languages', ['journal_id', 'language_id']) + db.create_unique(m2m_table_name, ['journal_id', 'language_id']) - # Adding M2M table for field abstract_keyword_languages on 'Journal' - db.create_table('journalmanager_journal_abstract_keyword_languages', ( + # Adding M2M table for field subject_categories on 'Journal' + m2m_table_name = db.shorten_name('journalmanager_journal_subject_categories') + db.create_table(m2m_table_name, ( ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), ('journal', models.ForeignKey(orm['journalmanager.journal'], null=False)), - ('language', models.ForeignKey(orm['journalmanager.language'], null=False)) + ('subjectcategory', models.ForeignKey(orm['journalmanager.subjectcategory'], null=False)) )) - db.create_unique('journalmanager_journal_abstract_keyword_languages', ['journal_id', 'language_id']) + db.create_unique(m2m_table_name, ['journal_id', 'subjectcategory_id']) - # Adding model 'JournalPublicationEvents' - db.create_table('journalmanager_journalpublicationevents', ( + # Adding M2M table for field study_areas on 'Journal' + m2m_table_name = db.shorten_name('journalmanager_journal_study_areas') + db.create_table(m2m_table_name, ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('journal', models.ForeignKey(orm['journalmanager.journal'], null=False)), + ('studyarea', models.ForeignKey(orm['journalmanager.studyarea'], null=False)) + )) + db.create_unique(m2m_table_name, ['journal_id', 'studyarea_id']) + + # Adding model 'Membership' + db.create_table('journalmanager_membership', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('journal', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Journal'])), - ('status', self.gf('django.db.models.fields.CharField')(max_length=16)), + ('collection', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Collection'])), + ('status', self.gf('django.db.models.fields.CharField')(default='inprogress', max_length=16)), + ('since', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), ('reason', self.gf('django.db.models.fields.TextField')(default='', blank=True)), - ('created_at', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), - ('changed_by', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])), + ('created_by', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])), )) - db.send_create_signal('journalmanager', ['JournalPublicationEvents']) + db.send_create_signal('journalmanager', ['Membership']) + + # Adding unique constraint on 'Membership', fields ['journal', 'collection'] + db.create_unique('journalmanager_membership', ['journal_id', 'collection_id']) - # Adding model 'JournalStudyArea' - db.create_table('journalmanager_journalstudyarea', ( + # Adding model 'JournalTimeline' + db.create_table('journalmanager_journaltimeline', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('journal', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Journal'])), - ('study_area', self.gf('django.db.models.fields.CharField')(max_length=256)), + ('journal', self.gf('django.db.models.fields.related.ForeignKey')(related_name='statuses', to=orm['journalmanager.Journal'])), + ('collection', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Collection'])), + ('status', self.gf('django.db.models.fields.CharField')(max_length=16)), + ('since', self.gf('django.db.models.fields.DateTimeField')()), + ('reason', self.gf('django.db.models.fields.TextField')(default='')), + ('created_by', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])), )) - db.send_create_signal('journalmanager', ['JournalStudyArea']) + db.send_create_signal('journalmanager', ['JournalTimeline']) # Adding model 'JournalTitle' db.create_table('journalmanager_journaltitle', ( @@ -225,6 +269,7 @@ def forwards(self, orm): ('license_code', self.gf('django.db.models.fields.CharField')(unique=True, max_length=64)), ('reference_url', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)), ('disclaimer', self.gf('django.db.models.fields.TextField')(max_length=512, null=True, blank=True)), + ('is_default', self.gf('django.db.models.fields.BooleanField')(default=False)), )) db.send_create_signal('journalmanager', ['UseLicense']) @@ -241,7 +286,7 @@ def forwards(self, orm): # Adding model 'SectionTitle' db.create_table('journalmanager_sectiontitle', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('section', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Section'])), + ('section', self.gf('django.db.models.fields.related.ForeignKey')(related_name='titles', to=orm['journalmanager.Section'])), ('title', self.gf('django.db.models.fields.CharField')(max_length=256)), ('language', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Language'])), )) @@ -251,7 +296,8 @@ def forwards(self, orm): db.create_table('journalmanager_section', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('journal', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Journal'])), - ('code', self.gf('django.db.models.fields.CharField')(max_length=16, null=True, blank=True)), + ('code', self.gf('django.db.models.fields.CharField')(unique=True, max_length=21, blank=True)), + ('legacy_code', self.gf('django.db.models.fields.CharField')(max_length=16, null=True, blank=True)), ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('updated', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), ('is_trashed', self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True)), @@ -262,13 +308,12 @@ def forwards(self, orm): db.create_table('journalmanager_issue', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('journal', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Journal'])), - ('volume', self.gf('django.db.models.fields.CharField')(max_length=16)), - ('number', self.gf('django.db.models.fields.CharField')(max_length=16)), - ('is_press_release', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('volume', self.gf('django.db.models.fields.CharField')(max_length=16, blank=True)), + ('number', self.gf('django.db.models.fields.CharField')(max_length=16, blank=True)), ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), ('updated', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), - ('publication_start_month', self.gf('django.db.models.fields.IntegerField')()), - ('publication_end_month', self.gf('django.db.models.fields.IntegerField')()), + ('publication_start_month', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)), + ('publication_end_month', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)), ('publication_year', self.gf('django.db.models.fields.IntegerField')()), ('is_marked_up', self.gf('django.db.models.fields.BooleanField')(default=False)), ('use_license', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.UseLicense'], null=True)), @@ -277,34 +322,32 @@ def forwards(self, orm): ('editorial_standard', self.gf('django.db.models.fields.CharField')(max_length=64)), ('cover', self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True, blank=True)), ('is_trashed', self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True)), - ('label', self.gf('django.db.models.fields.CharField')(db_index=True, max_length=16, null=True, blank=True)), + ('label', self.gf('django.db.models.fields.CharField')(db_index=True, max_length=64, null=True, blank=True)), + ('order', self.gf('django.db.models.fields.IntegerField')(blank=True)), + ('type', self.gf('django.db.models.fields.CharField')(default='regular', max_length=15)), + ('suppl_text', self.gf('django.db.models.fields.CharField')(max_length=15, null=True, blank=True)), + ('spe_text', self.gf('django.db.models.fields.CharField')(max_length=15, null=True, blank=True)), )) db.send_create_signal('journalmanager', ['Issue']) # Adding M2M table for field section on 'Issue' - db.create_table('journalmanager_issue_section', ( + m2m_table_name = db.shorten_name('journalmanager_issue_section') + db.create_table(m2m_table_name, ( ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), ('issue', models.ForeignKey(orm['journalmanager.issue'], null=False)), ('section', models.ForeignKey(orm['journalmanager.section'], null=False)) )) - db.create_unique('journalmanager_issue_section', ['issue_id', 'section_id']) + db.create_unique(m2m_table_name, ['issue_id', 'section_id']) # Adding model 'IssueTitle' db.create_table('journalmanager_issuetitle', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('issue', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Issue'])), - ('language', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Language'], null=True, blank=True)), - ('title', self.gf('django.db.models.fields.CharField')(max_length=128, null=True, blank=True)), + ('language', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Language'])), + ('title', self.gf('django.db.models.fields.CharField')(max_length=256)), )) db.send_create_signal('journalmanager', ['IssueTitle']) - # Adding model 'Supplement' - db.create_table('journalmanager_supplement', ( - ('issue_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['journalmanager.Issue'], unique=True, primary_key=True)), - ('suppl_label', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)), - )) - db.send_create_signal('journalmanager', ['Supplement']) - # Adding model 'PendedForm' db.create_table('journalmanager_pendedform', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), @@ -324,9 +367,76 @@ def forwards(self, orm): )) db.send_create_signal('journalmanager', ['PendedValue']) + # Adding model 'DataChangeEvent' + db.create_table('journalmanager_datachangeevent', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('changed_at', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), + ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])), + ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])), + ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()), + ('event_type', self.gf('django.db.models.fields.CharField')(max_length=16)), + ('collection', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Collection'])), + )) + db.send_create_signal('journalmanager', ['DataChangeEvent']) + + # Adding model 'PressRelease' + db.create_table('journalmanager_pressrelease', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('doi', self.gf('django.db.models.fields.CharField')(max_length=128, null=True, blank=True)), + )) + db.send_create_signal('journalmanager', ['PressRelease']) + + # Adding model 'PressReleaseTranslation' + db.create_table('journalmanager_pressreleasetranslation', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('press_release', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', to=orm['journalmanager.PressRelease'])), + ('language', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Language'])), + ('title', self.gf('django.db.models.fields.CharField')(max_length=128)), + ('content', self.gf('django.db.models.fields.TextField')()), + )) + db.send_create_signal('journalmanager', ['PressReleaseTranslation']) + + # Adding model 'PressReleaseArticle' + db.create_table('journalmanager_pressreleasearticle', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('press_release', self.gf('django.db.models.fields.related.ForeignKey')(related_name='articles', to=orm['journalmanager.PressRelease'])), + ('article_pid', self.gf('django.db.models.fields.CharField')(max_length=32, db_index=True)), + )) + db.send_create_signal('journalmanager', ['PressReleaseArticle']) + + # Adding model 'RegularPressRelease' + db.create_table('journalmanager_regularpressrelease', ( + ('pressrelease_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['journalmanager.PressRelease'], unique=True, primary_key=True)), + ('issue', self.gf('django.db.models.fields.related.ForeignKey')(related_name='press_releases', to=orm['journalmanager.Issue'])), + )) + db.send_create_signal('journalmanager', ['RegularPressRelease']) + + # Adding model 'AheadPressRelease' + db.create_table('journalmanager_aheadpressrelease', ( + ('pressrelease_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['journalmanager.PressRelease'], unique=True, primary_key=True)), + ('journal', self.gf('django.db.models.fields.related.ForeignKey')(related_name='press_releases', to=orm['journalmanager.Journal'])), + )) + db.send_create_signal('journalmanager', ['AheadPressRelease']) + + # Adding model 'Article' + db.create_table('journalmanager_article', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('issue', self.gf('django.db.models.fields.related.ForeignKey')(related_name='articles', to=orm['journalmanager.Issue'])), + ('front', self.gf('jsonfield.fields.JSONField')()), + ('xml_url', self.gf('django.db.models.fields.CharField')(max_length=256)), + ('pdf_url', self.gf('django.db.models.fields.CharField')(max_length=256)), + ('images_url', self.gf('django.db.models.fields.CharField')(max_length=256)), + )) + db.send_create_signal('journalmanager', ['Article']) + def backwards(self, orm): - + # Removing unique constraint on 'Membership', fields ['journal', 'collection'] + db.delete_unique('journalmanager_membership', ['journal_id', 'collection_id']) + + # Removing unique constraint on 'UserCollections', fields ['user', 'collection'] + db.delete_unique('journalmanager_usercollections', ['user_id', 'collection_id']) + # Deleting model 'Language' db.delete_table('journalmanager_language') @@ -342,38 +452,41 @@ def backwards(self, orm): # Deleting model 'Institution' db.delete_table('journalmanager_institution') - # Deleting model 'Publisher' - db.delete_table('journalmanager_publisher') - - # Removing M2M table for field collections on 'Publisher' - db.delete_table('journalmanager_publisher_collections') - # Deleting model 'Sponsor' db.delete_table('journalmanager_sponsor') # Removing M2M table for field collections on 'Sponsor' - db.delete_table('journalmanager_sponsor_collections') + db.delete_table(db.shorten_name('journalmanager_sponsor_collections')) + + # Deleting model 'SubjectCategory' + db.delete_table('journalmanager_subjectcategory') + + # Deleting model 'StudyArea' + db.delete_table('journalmanager_studyarea') # Deleting model 'Journal' db.delete_table('journalmanager_journal') # Removing M2M table for field sponsor on 'Journal' - db.delete_table('journalmanager_journal_sponsor') - - # Removing M2M table for field collections on 'Journal' - db.delete_table('journalmanager_journal_collections') + db.delete_table(db.shorten_name('journalmanager_journal_sponsor')) # Removing M2M table for field languages on 'Journal' - db.delete_table('journalmanager_journal_languages') + db.delete_table(db.shorten_name('journalmanager_journal_languages')) # Removing M2M table for field abstract_keyword_languages on 'Journal' - db.delete_table('journalmanager_journal_abstract_keyword_languages') + db.delete_table(db.shorten_name('journalmanager_journal_abstract_keyword_languages')) + + # Removing M2M table for field subject_categories on 'Journal' + db.delete_table(db.shorten_name('journalmanager_journal_subject_categories')) - # Deleting model 'JournalPublicationEvents' - db.delete_table('journalmanager_journalpublicationevents') + # Removing M2M table for field study_areas on 'Journal' + db.delete_table(db.shorten_name('journalmanager_journal_study_areas')) - # Deleting model 'JournalStudyArea' - db.delete_table('journalmanager_journalstudyarea') + # Deleting model 'Membership' + db.delete_table('journalmanager_membership') + + # Deleting model 'JournalTimeline' + db.delete_table('journalmanager_journaltimeline') # Deleting model 'JournalTitle' db.delete_table('journalmanager_journaltitle') @@ -397,20 +510,38 @@ def backwards(self, orm): db.delete_table('journalmanager_issue') # Removing M2M table for field section on 'Issue' - db.delete_table('journalmanager_issue_section') + db.delete_table(db.shorten_name('journalmanager_issue_section')) # Deleting model 'IssueTitle' db.delete_table('journalmanager_issuetitle') - # Deleting model 'Supplement' - db.delete_table('journalmanager_supplement') - # Deleting model 'PendedForm' db.delete_table('journalmanager_pendedform') # Deleting model 'PendedValue' db.delete_table('journalmanager_pendedvalue') + # Deleting model 'DataChangeEvent' + db.delete_table('journalmanager_datachangeevent') + + # Deleting model 'PressRelease' + db.delete_table('journalmanager_pressrelease') + + # Deleting model 'PressReleaseTranslation' + db.delete_table('journalmanager_pressreleasetranslation') + + # Deleting model 'PressReleaseArticle' + db.delete_table('journalmanager_pressreleasearticle') + + # Deleting model 'RegularPressRelease' + db.delete_table('journalmanager_regularpressrelease') + + # Deleting model 'AheadPressRelease' + db.delete_table('journalmanager_aheadpressrelease') + + # Deleting model 'Article' + db.delete_table('journalmanager_article') + models = { 'auth.group': { @@ -449,6 +580,20 @@ def backwards(self, orm): 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) }, + 'journalmanager.aheadpressrelease': { + 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, + 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), + 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) + }, + 'journalmanager.article': { + 'Meta': {'object_name': 'Article'}, + 'front': ('jsonfield.fields.JSONField', [], {}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), + 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), + 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), + 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) + }, 'journalmanager.collection': { 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), @@ -463,12 +608,22 @@ def backwards(self, orm): 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), + 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) }, + 'journalmanager.datachangeevent': { + 'Meta': {'object_name': 'DataChangeEvent'}, + 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), + 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), + 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), + 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) + }, 'journalmanager.institution': { 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), @@ -491,78 +646,101 @@ def backwards(self, orm): 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) }, 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, + 'Meta': {'ordering': "('created', 'id')", 'object_name': 'Issue'}, 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), + 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), + 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), + 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), + 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), 'publication_year': ('django.db.models.fields.IntegerField', [], {}), 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), + 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), + 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), + 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16'}) + 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) }, 'journalmanager.issuetitle': { 'Meta': {'object_name': 'IssueTitle'}, 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) + 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) }, 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, + 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), + 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), + 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), + 'editor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'editor_journal'", 'null': 'True', 'to': "orm['auth.User']"}), + 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), + 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), + 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), + 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), + 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), + 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), + 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), + 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), + 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), + 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '16'}), + 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), + 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), + 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), + 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), + 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), + 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), + 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), + 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), + 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), + 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publisher': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'publishers'", 'to': "orm['journalmanager.Publisher']"}), + 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), + 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), + 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), + 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), + 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), + 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), + 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), + 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), + 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), + 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) }, 'journalmanager.journalmission': { @@ -572,21 +750,16 @@ def backwards(self, orm): 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'journalmanager.journaltimeline': { + 'Meta': {'object_name': 'JournalTimeline'}, + 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), + 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), + 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statuses'", 'to': "orm['journalmanager.Journal']"}), + 'reason': ('django.db.models.fields.TextField', [], {'default': "''"}), + 'since': ('django.db.models.fields.DateTimeField', [], {}), 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, 'journalmanager.journaltitle': { 'Meta': {'object_name': 'JournalTitle'}, 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), @@ -600,6 +773,16 @@ def backwards(self, orm): 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) }, + 'journalmanager.membership': { + 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, + 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), + 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), + 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), + 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), + 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) + }, 'journalmanager.pendedform': { 'Meta': {'object_name': 'PendedForm'}, 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), @@ -615,25 +798,45 @@ def backwards(self, orm): 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'value': ('django.db.models.fields.TextField', [], {}) }, - 'journalmanager.publisher': { - 'Meta': {'ordering': "['name']", 'object_name': 'Publisher', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) + 'journalmanager.pressrelease': { + 'Meta': {'object_name': 'PressRelease'}, + 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) + }, + 'journalmanager.pressreleasearticle': { + 'Meta': {'object_name': 'PressReleaseArticle'}, + 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) + }, + 'journalmanager.pressreleasetranslation': { + 'Meta': {'object_name': 'PressReleaseTranslation'}, + 'content': ('django.db.models.fields.TextField', [], {}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), + 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) + }, + 'journalmanager.regularpressrelease': { + 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, + 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), + 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) }, 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), + 'Meta': {'ordering': "('id',)", 'object_name': 'Section'}, + 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), + 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) }, 'journalmanager.sectiontitle': { - 'Meta': {'object_name': 'SectionTitle'}, + 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Section']"}), + 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) }, 'journalmanager.sponsor': { @@ -641,10 +844,15 @@ def backwards(self, orm): 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) + 'journalmanager.studyarea': { + 'Meta': {'object_name': 'StudyArea'}, + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) + }, + 'journalmanager.subjectcategory': { + 'Meta': {'object_name': 'SubjectCategory'}, + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) }, 'journalmanager.translateddata': { 'Meta': {'object_name': 'TranslatedData'}, @@ -655,14 +863,15 @@ def backwards(self, orm): 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) }, 'journalmanager.uselicense': { - 'Meta': {'object_name': 'UseLicense'}, + 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) }, 'journalmanager.usercollections': { - 'Meta': {'object_name': 'UserCollections'}, + 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), @@ -671,10 +880,11 @@ def backwards(self, orm): }, 'journalmanager.userprofile': { 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), + 'email_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'tz': ('django.db.models.fields.CharField', [], {'default': "'America/Sao_Paulo'", 'max_length': '150'}), 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) } } - complete_apps = ['journalmanager'] + complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0002_auto__add_unique_usercollections_user_collection.py b/scielomanager/journalmanager/migrations/0002_auto__add_unique_usercollections_user_collection.py deleted file mode 100644 index 1ccc65a7..00000000 --- a/scielomanager/journalmanager/migrations/0002_auto__add_unique_usercollections_user_collection.py +++ /dev/null @@ -1,286 +0,0 @@ -# encoding: 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 unique constraint on 'UserCollections', fields ['user', 'collection'] - db.create_unique('journalmanager_usercollections', ['user_id', 'collection_id']) - - - def backwards(self, orm): - - # Removing unique constraint on 'UserCollections', fields ['user', 'collection'] - db.delete_unique('journalmanager_usercollections', ['user_id', 'collection_id']) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publisher': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'publishers'", 'to': "orm['journalmanager.Publisher']"}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.publisher': { - 'Meta': {'ordering': "['name']", 'object_name': 'Publisher', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0003_auto__add_field_issue_suppl_volume__add_field_issue_suppl_number.py b/scielomanager/journalmanager/migrations/0003_auto__add_field_issue_suppl_volume__add_field_issue_suppl_number.py deleted file mode 100644 index c2d3ceb3..00000000 --- a/scielomanager/journalmanager/migrations/0003_auto__add_field_issue_suppl_volume__add_field_issue_suppl_number.py +++ /dev/null @@ -1,294 +0,0 @@ -# encoding: 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 field 'Issue.suppl_volume' - db.add_column('journalmanager_issue', 'suppl_volume', self.gf('django.db.models.fields.CharField')(max_length=16, null=True, blank=True), keep_default=False) - - # Adding field 'Issue.suppl_number' - db.add_column('journalmanager_issue', 'suppl_number', self.gf('django.db.models.fields.CharField')(max_length=16, null=True, blank=True), keep_default=False) - - - def backwards(self, orm): - - # Deleting field 'Issue.suppl_volume' - db.delete_column('journalmanager_issue', 'suppl_volume') - - # Deleting field 'Issue.suppl_number' - db.delete_column('journalmanager_issue', 'suppl_number') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publisher': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'publishers'", 'to': "orm['journalmanager.Publisher']"}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.publisher': { - 'Meta': {'ordering': "['name']", 'object_name': 'Publisher', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0004_auto__del_publisher__add_article__del_field_journal_publisher__add_fie.py b/scielomanager/journalmanager/migrations/0004_auto__del_publisher__add_article__del_field_journal_publisher__add_fie.py deleted file mode 100644 index 0144066f..00000000 --- a/scielomanager/journalmanager/migrations/0004_auto__del_publisher__add_article__del_field_journal_publisher__add_fie.py +++ /dev/null @@ -1,344 +0,0 @@ -# encoding: 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): - - # Deleting model 'Publisher' - db.delete_table('journalmanager_publisher') - - # Removing M2M table for field collections on 'Publisher' - db.delete_table('journalmanager_publisher_collections') - - # Deleting field 'Journal.publisher' - db.delete_column('journalmanager_journal', 'publisher_id') - - # Adding field 'Journal.editor_address' - db.add_column('journalmanager_journal', 'editor_address', self.gf('django.db.models.fields.TextField')(default=''), keep_default=False) - - # Adding field 'Journal.editor_email' - db.add_column('journalmanager_journal', 'editor_email', self.gf('django.db.models.fields.EmailField')(default='', max_length=75), keep_default=False) - - # Adding field 'Journal.publisher_name' - db.add_column('journalmanager_journal', 'publisher_name', self.gf('django.db.models.fields.CharField')(default='', max_length=256), keep_default=False) - - # Adding field 'Journal.publisher_country' - db.add_column('journalmanager_journal', 'publisher_country', self.gf('django.db.models.fields.CharField')(default='', max_length=64), keep_default=False) - - # Adding field 'Journal.publisher_state' - db.add_column('journalmanager_journal', 'publisher_state', self.gf('django.db.models.fields.CharField')(default='', max_length=64), keep_default=False) - - # Adding field 'Journal.publication_city' - db.add_column('journalmanager_journal', 'publication_city', self.gf('django.db.models.fields.CharField')(default='', max_length=64), keep_default=False) - - - def backwards(self, orm): - - # Adding model 'Publisher' - db.create_table('journalmanager_publisher', ( - ('institution_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['journalmanager.Institution'], unique=True, primary_key=True)), - )) - db.send_create_signal('journalmanager', ['Publisher']) - - # Adding M2M table for field collections on 'Publisher' - db.create_table('journalmanager_publisher_collections', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('publisher', models.ForeignKey(orm['journalmanager.publisher'], null=False)), - ('collection', models.ForeignKey(orm['journalmanager.collection'], null=False)) - )) - db.create_unique('journalmanager_publisher_collections', ['publisher_id', 'collection_id']) - - # Adding field 'Journal.publisher' - db.add_column('journalmanager_journal', 'publisher', self.gf('django.db.models.fields.related.ForeignKey')(default='', related_name='publishers', to=orm['journalmanager.Publisher']), keep_default=False) - - # Deleting field 'Journal.editor_address' - db.delete_column('journalmanager_journal', 'editor_address') - - # Deleting field 'Journal.editor_email' - db.delete_column('journalmanager_journal', 'editor_email') - - # Deleting field 'Journal.publisher_name' - db.delete_column('journalmanager_journal', 'publisher_name') - - # Deleting field 'Journal.publisher_country' - db.delete_column('journalmanager_journal', 'publisher_country') - - # Deleting field 'Journal.publisher_state' - db.delete_column('journalmanager_journal', 'publisher_state') - - # Deleting field 'Journal.publication_city' - db.delete_column('journalmanager_journal', 'publication_city') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.TextField', [], {}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0005_auto__chg_field_issue_label.py b/scielomanager/journalmanager/migrations/0005_auto__chg_field_issue_label.py deleted file mode 100644 index 05433142..00000000 --- a/scielomanager/journalmanager/migrations/0005_auto__chg_field_issue_label.py +++ /dev/null @@ -1,288 +0,0 @@ -# encoding: 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 'Issue.label' - db.alter_column('journalmanager_issue', 'label', self.gf('django.db.models.fields.CharField')(max_length=64, null=True)) - - - def backwards(self, orm): - - # Changing field 'Issue.label' - db.alter_column('journalmanager_issue', 'label', self.gf('django.db.models.fields.CharField')(max_length=16, null=True)) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.TextField', [], {}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0006_years_migration.py b/scielomanager/journalmanager/migrations/0006_years_migration.py deleted file mode 100644 index 89ff636c..00000000 --- a/scielomanager/journalmanager/migrations/0006_years_migration.py +++ /dev/null @@ -1,287 +0,0 @@ -# encoding: 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." - for journal in orm.Journal.objects.all(): - journal.final_year = journal.final_year[:4] if journal.final_year else None - journal.init_year = journal.init_year[:4] if journal.init_year else '' - journal.save() - - def backwards(self, orm): - "Write your backwards methods here." - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.TextField', [], {}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0007_auto__chg_field_journal_final_year__chg_field_journal_init_year.py b/scielomanager/journalmanager/migrations/0007_auto__chg_field_journal_final_year__chg_field_journal_init_year.py deleted file mode 100644 index 744893ec..00000000 --- a/scielomanager/journalmanager/migrations/0007_auto__chg_field_journal_final_year__chg_field_journal_init_year.py +++ /dev/null @@ -1,293 +0,0 @@ -# encoding: 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 'Journal.final_year' - db.alter_column('journalmanager_journal', 'final_year', self.gf('django.db.models.fields.CharField')(max_length=4, null=True)) - - # Changing field 'Journal.init_year' - db.alter_column('journalmanager_journal', 'init_year', self.gf('django.db.models.fields.CharField')(max_length=4)) - - - def backwards(self, orm): - - # Changing field 'Journal.final_year' - db.alter_column('journalmanager_journal', 'final_year', self.gf('django.db.models.fields.CharField')(max_length=16, null=True)) - - # Changing field 'Journal.init_year' - db.alter_column('journalmanager_journal', 'init_year', self.gf('django.db.models.fields.CharField')(max_length=16)) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.TextField', [], {}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0008_auto__add_field_issue_order.py b/scielomanager/journalmanager/migrations/0008_auto__add_field_issue_order.py deleted file mode 100644 index 3a25f22d..00000000 --- a/scielomanager/journalmanager/migrations/0008_auto__add_field_issue_order.py +++ /dev/null @@ -1,289 +0,0 @@ -# encoding: 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 field 'Issue.order' - db.add_column('journalmanager_issue', 'order', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False) - - - def backwards(self, orm): - - # Deleting field 'Issue.order' - db.delete_column('journalmanager_issue', 'order') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.TextField', [], {}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0009_auto__add_field_journal_medline_title__add_field_journal_medline_code.py b/scielomanager/journalmanager/migrations/0009_auto__add_field_journal_medline_title__add_field_journal_medline_code.py deleted file mode 100644 index a35d3f9f..00000000 --- a/scielomanager/journalmanager/migrations/0009_auto__add_field_journal_medline_title__add_field_journal_medline_code.py +++ /dev/null @@ -1,297 +0,0 @@ -# encoding: 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 field 'Journal.medline_title' - db.add_column('journalmanager_journal', 'medline_title', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True), keep_default=False) - - # Adding field 'Journal.medline_code' - db.add_column('journalmanager_journal', 'medline_code', self.gf('django.db.models.fields.CharField')(max_length=64, null=True, blank=True), keep_default=False) - - - def backwards(self, orm): - - # Deleting field 'Journal.medline_title' - db.delete_column('journalmanager_journal', 'medline_title') - - # Deleting field 'Journal.medline_code' - db.delete_column('journalmanager_journal', 'medline_code') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.TextField', [], {}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0010_auto__add_field_journal_collection.py b/scielomanager/journalmanager/migrations/0010_auto__add_field_journal_collection.py deleted file mode 100644 index 7d7d9c4f..00000000 --- a/scielomanager/journalmanager/migrations/0010_auto__add_field_journal_collection.py +++ /dev/null @@ -1,292 +0,0 @@ -# encoding: 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 field 'Journal.collection' - db.add_column('journalmanager_journal', 'collection', self.gf('django.db.models.fields.related.ForeignKey')(related_name='journals', null=True, to=orm['journalmanager.Collection']), keep_default=False) - - - def backwards(self, orm): - - # Deleting field 'Journal.collection' - db.delete_column('journalmanager_journal', 'collection_id') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.Collection']"}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.TextField', [], {}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0011_many_journals_to_one_collection.py b/scielomanager/journalmanager/migrations/0011_many_journals_to_one_collection.py deleted file mode 100644 index 02c6e053..00000000 --- a/scielomanager/journalmanager/migrations/0011_many_journals_to_one_collection.py +++ /dev/null @@ -1,292 +0,0 @@ -# encoding: 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." - for journal in orm.Journal.objects.all(): - journal.collection = journal.collections.all()[0] - journal.save() - - def backwards(self, orm): - "Write your backwards methods here." - for journal in orm.Journal.objects.all(): - journal.collections.add(journal.collection) - journal.save() - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.Collection']"}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.TextField', [], {}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0012_auto__chg_field_journal_collection.py b/scielomanager/journalmanager/migrations/0012_auto__chg_field_journal_collection.py deleted file mode 100644 index 1903cac7..00000000 --- a/scielomanager/journalmanager/migrations/0012_auto__chg_field_journal_collection.py +++ /dev/null @@ -1,302 +0,0 @@ -# encoding: 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): - - # Removing M2M table for field collections on 'Journal' - db.delete_table('journalmanager_journal_collections') - - # Changing field 'Journal.collection' - db.alter_column('journalmanager_journal', 'collection_id', self.gf('django.db.models.fields.related.ForeignKey')(default=1, to=orm['journalmanager.Collection'])) - - - def backwards(self, orm): - - # Adding M2M table for field collections on 'Journal' - db.create_table('journalmanager_journal_collections', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('journal', models.ForeignKey(orm['journalmanager.journal'], null=False)), - ('collection', models.ForeignKey(orm['journalmanager.collection'], null=False)) - )) - db.create_unique('journalmanager_journal_collections', ['journal_id', 'collection_id']) - - # Changing field 'Journal.collection' - db.alter_column('journalmanager_journal', 'collection_id', self.gf('django.db.models.fields.related.ForeignKey')(null=True, to=orm['journalmanager.Collection'])) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.TextField', [], {}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0013_auto__add_wokcategory__add_field_journal_is_indexed_scie__add_field_jo.py b/scielomanager/journalmanager/migrations/0013_auto__add_wokcategory__add_field_journal_is_indexed_scie__add_field_jo.py deleted file mode 100644 index ccdc3065..00000000 --- a/scielomanager/journalmanager/migrations/0013_auto__add_wokcategory__add_field_journal_is_indexed_scie__add_field_jo.py +++ /dev/null @@ -1,338 +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 'SubjectCategory' - db.create_table('journalmanager_subjectcategory', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('term', self.gf('django.db.models.fields.CharField')(max_length=256, db_index=True)), - )) - db.send_create_signal('journalmanager', ['SubjectCategory']) - - # Adding field 'Journal.is_indexed_scie' - db.add_column('journalmanager_journal', 'is_indexed_scie', - self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True), - keep_default=False) - - # Adding field 'Journal.is_indexed_ssci' - db.add_column('journalmanager_journal', 'is_indexed_ssci', - self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True), - keep_default=False) - - # Adding field 'Journal.is_indexed_aehci' - db.add_column('journalmanager_journal', 'is_indexed_aehci', - self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True), - keep_default=False) - - # Adding M2M table for field subject_categories on 'Journal' - db.create_table('journalmanager_journal_subject_categories', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('journal', models.ForeignKey(orm['journalmanager.journal'], null=False)), - ('subjectcategory', models.ForeignKey(orm['journalmanager.subjectcategory'], null=False)) - )) - db.create_unique('journalmanager_journal_subject_categories', ['journal_id', 'subjectcategory_id']) - - - def backwards(self, orm): - # Deleting model 'SubjectCategory' - db.delete_table('journalmanager_subjectcategory') - - # Deleting field 'Journal.is_indexed_scie' - db.delete_column('journalmanager_journal', 'is_indexed_scie') - - # Deleting field 'Journal.is_indexed_ssci' - db.delete_column('journalmanager_journal', 'is_indexed_ssci') - - # Deleting field 'Journal.is_indexed_aehci' - db.delete_column('journalmanager_journal', 'is_indexed_aehci') - - # Removing M2M table for field subject_categories on 'Journal' - db.delete_table('journalmanager_journal_subject_categories') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.TextField', [], {}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0014_normalize_issue_order.py b/scielomanager/journalmanager/migrations/0014_normalize_issue_order.py deleted file mode 100644 index abc08b5a..00000000 --- a/scielomanager/journalmanager/migrations/0014_normalize_issue_order.py +++ /dev/null @@ -1,300 +0,0 @@ -# encoding: 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." - for issue in orm.Issue.objects.all(): - issue.order = int(str(issue.order)[4:]) - issue.save() - - def backwards(self, orm): - "Write your backwards methods here." - for issue in orm.Issue.objects.all(): - issue.order = int(str(issue.publication_year) + str(issue.order)) - issue.save() - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.TextField', [], {}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0015_publisher_country.py b/scielomanager/journalmanager/migrations/0015_publisher_country.py deleted file mode 100644 index 6d699068..00000000 --- a/scielomanager/journalmanager/migrations/0015_publisher_country.py +++ /dev/null @@ -1,302 +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." - # Note: Remember to use orm['appname.ModelName'] rather than "from appname.models..." - for journal in orm.Journal.objects.all(): - if journal.publisher_country.strip() == 'Brasil' or journal.publisher_country == 'Brazil': - journal.publisher_country = 'BR' - journal.save() - else: - continue - - def backwards(self, orm): - "Write your backwards methods here." - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] - symmetrical = True diff --git a/scielomanager/journalmanager/migrations/0016_auto__add_field_journal_editor_name__add_field_journal_editor_address_.py b/scielomanager/journalmanager/migrations/0016_auto__add_field_journal_editor_name__add_field_journal_editor_address_.py deleted file mode 100644 index 01c4c2f2..00000000 --- a/scielomanager/journalmanager/migrations/0016_auto__add_field_journal_editor_name__add_field_journal_editor_address_.py +++ /dev/null @@ -1,362 +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 field 'Journal.editor_name' - db.add_column('journalmanager_journal', 'editor_name', - self.gf('django.db.models.fields.CharField')(default='', max_length=512), - keep_default=False) - - # Adding field 'Journal.editor_address_city' - db.add_column('journalmanager_journal', 'editor_address_city', - self.gf('django.db.models.fields.CharField')(default='', max_length=256), - keep_default=False) - - # Adding field 'Journal.editor_address_state' - db.add_column('journalmanager_journal', 'editor_address_state', - self.gf('django.db.models.fields.CharField')(default='', max_length=128), - keep_default=False) - - # Adding field 'Journal.editor_address_zip' - db.add_column('journalmanager_journal', 'editor_address_zip', - self.gf('django.db.models.fields.CharField')(default='', max_length=64), - keep_default=False) - - # Adding field 'Journal.editor_address_country' - db.add_column('journalmanager_journal', 'editor_address_country', - self.gf('scielo_extensions.modelfields.CountryField')(default='', max_length=2), - keep_default=False) - - # Adding field 'Journal.editor_phone1' - db.add_column('journalmanager_journal', 'editor_phone1', - self.gf('django.db.models.fields.CharField')(default='', max_length=32), - keep_default=False) - - # Adding field 'Journal.editor_phone2' - db.add_column('journalmanager_journal', 'editor_phone2', - self.gf('django.db.models.fields.CharField')(max_length=32, null=True, blank=True), - keep_default=False) - - - # Changing field 'Journal.publisher_country' - db.alter_column('journalmanager_journal', 'publisher_country', self.gf('scielo_extensions.modelfields.CountryField')(max_length=2)) - - def backwards(self, orm): - # Deleting field 'Journal.editor_name' - db.delete_column('journalmanager_journal', 'editor_name') - - # Deleting field 'Journal.editor_address_city' - db.delete_column('journalmanager_journal', 'editor_address_city') - - # Deleting field 'Journal.editor_address_state' - db.delete_column('journalmanager_journal', 'editor_address_state') - - # Deleting field 'Journal.editor_address_zip' - db.delete_column('journalmanager_journal', 'editor_address_zip') - - # Deleting field 'Journal.editor_address_country' - db.delete_column('journalmanager_journal', 'editor_address_country') - - # Deleting field 'Journal.editor_phone1' - db.delete_column('journalmanager_journal', 'editor_phone1') - - # Deleting field 'Journal.editor_phone2' - db.delete_column('journalmanager_journal', 'editor_phone2') - - - # Changing field 'Journal.publisher_country' - db.alter_column('journalmanager_journal', 'publisher_country', self.gf('django.db.models.fields.CharField')(max_length=64)) - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0017_auto__add_field_section_legacy_code.py b/scielomanager/journalmanager/migrations/0017_auto__add_field_section_legacy_code.py deleted file mode 100644 index ea05e290..00000000 --- a/scielomanager/journalmanager/migrations/0017_auto__add_field_section_legacy_code.py +++ /dev/null @@ -1,309 +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 field 'Section.legacy_code' - db.add_column('journalmanager_section', 'legacy_code', - self.gf('django.db.models.fields.CharField')(max_length=16, null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Section.legacy_code' - db.delete_column('journalmanager_section', 'legacy_code') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0018_legacy_code.py b/scielomanager/journalmanager/migrations/0018_legacy_code.py deleted file mode 100644 index 73d8f95f..00000000 --- a/scielomanager/journalmanager/migrations/0018_legacy_code.py +++ /dev/null @@ -1,320 +0,0 @@ -# encoding: utf-8 -import datetime -from south.db import db -from south.v2 import DataMigration -from django.db import models -from django.db import IntegrityError - -from scielomanager.utils import base28 - - -class Migration(DataMigration): - - def forwards(self, orm): - for sec in orm.Section.objects.all(): - sec.legacy_code = sec.code - tries = 10 - while tries > 0: - sec.code = '{0}-{1}'.format(sec.journal.acronym, base28.genbase(4)) - try: - sec.save() - except IntegrityError: - tries -= 1 - continue - else: - break - - def backwards(self, orm): - for sec in orm.Section.objects.all(): - sec.code = sec.legacy_code - sec.save() - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0019_auto__chg_field_section_code__add_unique_section_code.py b/scielomanager/journalmanager/migrations/0019_auto__chg_field_section_code__add_unique_section_code.py deleted file mode 100644 index 144a4bd5..00000000 --- a/scielomanager/journalmanager/migrations/0019_auto__chg_field_section_code__add_unique_section_code.py +++ /dev/null @@ -1,313 +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 'Section.code' - db.alter_column('journalmanager_section', 'code', self.gf('django.db.models.fields.CharField')(default='', unique=True, max_length=21)) - # Adding unique constraint on 'Section', fields ['code'] - db.create_unique('journalmanager_section', ['code']) - - - def backwards(self, orm): - # Removing unique constraint on 'Section', fields ['code'] - db.delete_unique('journalmanager_section', ['code']) - - - # Changing field 'Section.code' - db.alter_column('journalmanager_section', 'code', self.gf('django.db.models.fields.CharField')(max_length=16, null=True)) - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0020_auto__add_studyarea.py b/scielomanager/journalmanager/migrations/0020_auto__add_studyarea.py deleted file mode 100644 index 8f818d95..00000000 --- a/scielomanager/journalmanager/migrations/0020_auto__add_studyarea.py +++ /dev/null @@ -1,329 +0,0 @@ -# encoding: 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 'StudyArea' - db.create_table('journalmanager_studyarea', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('study_area', self.gf('django.db.models.fields.CharField')(max_length=256)), - )) - db.send_create_signal('journalmanager', ['StudyArea']) - - # Adding M2M table for field studyareas on 'Journal' - db.create_table('journalmanager_journal_studyareas', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('journal', models.ForeignKey(orm['journalmanager.journal'], null=False)), - ('studyarea', models.ForeignKey(orm['journalmanager.studyarea'], null=False)) - )) - db.create_unique('journalmanager_journal_studyareas', ['journal_id', 'studyarea_id']) - - - def backwards(self, orm): - - # Deleting model 'StudyArea' - db.delete_table('journalmanager_studyarea') - - # Removing M2M table for field studyareas on 'Journal' - db.delete_table('journalmanager_journal_studyareas') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'studyareas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0021_study_area.py b/scielomanager/journalmanager/migrations/0021_study_area.py deleted file mode 100644 index 7408350a..00000000 --- a/scielomanager/journalmanager/migrations/0021_study_area.py +++ /dev/null @@ -1,316 +0,0 @@ -# encoding: 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): - for journal in orm.Journal.objects.all(): - for area in journal.study_areas.all(): - new_area = orm.StudyArea.objects.get_or_create(study_area=area.study_area)[0] - journal.studyareas.add(new_area) - - def backwards(self, orm): - for journal in orm.Journal.objects.all(): - rels = journal.studyareas.all() - for area in rels: - journal.study_areas.add( - orm.JournalStudyArea.objects.get_or_create(study_area=area.study_area, journal=journal)[0]) - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'studyareas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journalstudyarea': { - 'Meta': {'object_name': 'JournalStudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'study_areas'", 'to': "orm['journalmanager.Journal']"}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0022_auto__del_journalstudyarea.py b/scielomanager/journalmanager/migrations/0022_auto__del_journalstudyarea.py deleted file mode 100644 index a6bc1752..00000000 --- a/scielomanager/journalmanager/migrations/0022_auto__del_journalstudyarea.py +++ /dev/null @@ -1,313 +0,0 @@ -# encoding: 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): - - # Deleting model 'JournalStudyArea' - db.delete_table('journalmanager_journalstudyarea') - - - def backwards(self, orm): - - # Adding model 'JournalStudyArea' - db.create_table('journalmanager_journalstudyarea', ( - ('study_area', self.gf('django.db.models.fields.CharField')(max_length=256)), - ('journal', self.gf('django.db.models.fields.related.ForeignKey')(related_name='study_areas', to=orm['journalmanager.Journal'])), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - )) - db.send_create_signal('journalmanager', ['JournalStudyArea']) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'studyareas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0023_auto.py b/scielomanager/journalmanager/migrations/0023_auto.py deleted file mode 100644 index fa00f8fc..00000000 --- a/scielomanager/journalmanager/migrations/0023_auto.py +++ /dev/null @@ -1,314 +0,0 @@ -# encoding: 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 M2M table for field study_areas on 'Journal' - db.create_table('journalmanager_journal_study_areas', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('journal', models.ForeignKey(orm['journalmanager.journal'], null=False)), - ('studyarea', models.ForeignKey(orm['journalmanager.studyarea'], null=False)) - )) - db.create_unique('journalmanager_journal_study_areas', ['journal_id', 'studyarea_id']) - - - def backwards(self, orm): - - # Removing M2M table for field study_areas on 'Journal' - db.delete_table('journalmanager_journal_study_areas') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'studyareas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0024_study_area_journal_field.py b/scielomanager/journalmanager/migrations/0024_study_area_journal_field.py deleted file mode 100644 index 59af819f..00000000 --- a/scielomanager/journalmanager/migrations/0024_study_area_journal_field.py +++ /dev/null @@ -1,309 +0,0 @@ -# encoding: 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): - for journal in orm.Journal.objects.all(): - for area in journal.studyareas.all(): - journal.study_areas.add(area) - journal.studyareas.remove(area) - - def backwards(self, orm): - for journal in orm.Journal.objects.all(): - for area in journal.study_areas.all(): - journal.studyareas.add(area) - journal.study_areas.remove(area) - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'studyareas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0025_auto.py b/scielomanager/journalmanager/migrations/0025_auto.py deleted file mode 100644 index 6da2bf95..00000000 --- a/scielomanager/journalmanager/migrations/0025_auto.py +++ /dev/null @@ -1,313 +0,0 @@ -# encoding: 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): - - # Removing M2M table for field studyareas on 'Journal' - db.delete_table('journalmanager_journal_studyareas') - - - def backwards(self, orm): - - # Adding M2M table for field studyareas on 'Journal' - db.create_table('journalmanager_journal_studyareas', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('journal', models.ForeignKey(orm['journalmanager.journal'], null=False)), - ('studyarea', models.ForeignKey(orm['journalmanager.studyarea'], null=False)) - )) - db.create_unique('journalmanager_journal_studyareas', ['journal_id', 'studyarea_id']) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0026_auto__add_field_journal_current_ahead_documents__add_field_journal_pre.py b/scielomanager/journalmanager/migrations/0026_auto__add_field_journal_current_ahead_documents__add_field_journal_pre.py deleted file mode 100644 index 25d3cf2d..00000000 --- a/scielomanager/journalmanager/migrations/0026_auto__add_field_journal_current_ahead_documents__add_field_journal_pre.py +++ /dev/null @@ -1,316 +0,0 @@ -# encoding: 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 field 'Journal.current_ahead_documents' - db.add_column('journalmanager_journal', 'current_ahead_documents', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False) - - # Adding field 'Journal.previous_ahead_documents' - db.add_column('journalmanager_journal', 'previous_ahead_documents', self.gf('django.db.models.fields.IntegerField')(default=0), keep_default=False) - - - def backwards(self, orm): - - # Deleting field 'Journal.current_ahead_documents' - db.delete_column('journalmanager_journal', 'current_ahead_documents') - - # Deleting field 'Journal.previous_ahead_documents' - db.delete_column('journalmanager_journal', 'previous_ahead_documents') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0027_auto__chg_field_journal_previous_ahead_documents__chg_field_journal_cu.py b/scielomanager/journalmanager/migrations/0027_auto__chg_field_journal_previous_ahead_documents__chg_field_journal_cu.py deleted file mode 100644 index 55821529..00000000 --- a/scielomanager/journalmanager/migrations/0027_auto__chg_field_journal_previous_ahead_documents__chg_field_journal_cu.py +++ /dev/null @@ -1,316 +0,0 @@ -# encoding: 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 'Journal.previous_ahead_documents' - db.alter_column('journalmanager_journal', 'previous_ahead_documents', self.gf('django.db.models.fields.IntegerField')(null=True)) - - # Changing field 'Journal.current_ahead_documents' - db.alter_column('journalmanager_journal', 'current_ahead_documents', self.gf('django.db.models.fields.IntegerField')(null=True)) - - - def backwards(self, orm): - - # Changing field 'Journal.previous_ahead_documents' - db.alter_column('journalmanager_journal', 'previous_ahead_documents', self.gf('django.db.models.fields.IntegerField')()) - - # Changing field 'Journal.current_ahead_documents' - db.alter_column('journalmanager_journal', 'current_ahead_documents', self.gf('django.db.models.fields.IntegerField')()) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0028_auto__chg_field_journal_previous_ahead_documents__chg_field_journal_cu.py b/scielomanager/journalmanager/migrations/0028_auto__chg_field_journal_previous_ahead_documents__chg_field_journal_cu.py deleted file mode 100644 index e92f2389..00000000 --- a/scielomanager/journalmanager/migrations/0028_auto__chg_field_journal_previous_ahead_documents__chg_field_journal_cu.py +++ /dev/null @@ -1,316 +0,0 @@ -# encoding: 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 'Journal.previous_ahead_documents' - db.alter_column('journalmanager_journal', 'previous_ahead_documents', self.gf('django.db.models.fields.IntegerField')(max_length=3, null=True)) - - # Changing field 'Journal.current_ahead_documents' - db.alter_column('journalmanager_journal', 'current_ahead_documents', self.gf('django.db.models.fields.IntegerField')(max_length=3, null=True)) - - - def backwards(self, orm): - - # Changing field 'Journal.previous_ahead_documents' - db.alter_column('journalmanager_journal', 'previous_ahead_documents', self.gf('django.db.models.fields.IntegerField')(null=True)) - - # Changing field 'Journal.current_ahead_documents' - db.alter_column('journalmanager_journal', 'current_ahead_documents', self.gf('django.db.models.fields.IntegerField')(null=True)) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0029_auto__add_datachangeevent.py b/scielomanager/journalmanager/migrations/0029_auto__add_datachangeevent.py deleted file mode 100644 index 7dc2ad7d..00000000 --- a/scielomanager/journalmanager/migrations/0029_auto__add_datachangeevent.py +++ /dev/null @@ -1,328 +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 'DataChangeEvent' - db.create_table('journalmanager_datachangeevent', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('changed_at', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), - ('user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])), - ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])), - ('object_id', self.gf('django.db.models.fields.PositiveIntegerField')()), - ('event_type', self.gf('django.db.models.fields.CharField')(max_length=16)), - ('collection', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Collection'])), - )) - db.send_create_signal('journalmanager', ['DataChangeEvent']) - - - def backwards(self, orm): - # Deleting model 'DataChangeEvent' - db.delete_table('journalmanager_datachangeevent') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0030_auto__add_field_journal_twitter_user.py b/scielomanager/journalmanager/migrations/0030_auto__add_field_journal_twitter_user.py deleted file mode 100644 index 787f4aa8..00000000 --- a/scielomanager/journalmanager/migrations/0030_auto__add_field_journal_twitter_user.py +++ /dev/null @@ -1,321 +0,0 @@ -# encoding: 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 field 'Journal.twitter_user' - db.add_column('journalmanager_journal', 'twitter_user', self.gf('django.db.models.fields.CharField')(max_length=128, null=True, blank=True), keep_default=False) - - - def backwards(self, orm): - - # Deleting field 'Journal.twitter_user' - db.delete_column('journalmanager_journal', 'twitter_user') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0031_remove_null_issuetitle_language.py b/scielomanager/journalmanager/migrations/0031_remove_null_issuetitle_language.py deleted file mode 100644 index 260ae48a..00000000 --- a/scielomanager/journalmanager/migrations/0031_remove_null_issuetitle_language.py +++ /dev/null @@ -1,318 +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): - for ititle in orm.IssueTitle.objects.all(): - if ititle.language is None or ititle.title is None: - ititle.delete() - - def backwards(self, orm): - "Write your backwards methods here." - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] - symmetrical = True diff --git a/scielomanager/journalmanager/migrations/0032_auto__chg_field_issuetitle_language__chg_field_issuetitle_title.py b/scielomanager/journalmanager/migrations/0032_auto__chg_field_issuetitle_language__chg_field_issuetitle_title.py deleted file mode 100644 index 3febd810..00000000 --- a/scielomanager/journalmanager/migrations/0032_auto__chg_field_issuetitle_language__chg_field_issuetitle_title.py +++ /dev/null @@ -1,326 +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 'IssueTitle.language' - db.alter_column('journalmanager_issuetitle', 'language_id', self.gf('django.db.models.fields.related.ForeignKey')(default=0, to=orm['journalmanager.Language'])) - - # Changing field 'IssueTitle.title' - db.alter_column('journalmanager_issuetitle', 'title', self.gf('django.db.models.fields.CharField')(default='', max_length=128)) - - def backwards(self, orm): - - # Changing field 'IssueTitle.language' - db.alter_column('journalmanager_issuetitle', 'language_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Language'], null=True)) - - # Changing field 'IssueTitle.title' - db.alter_column('journalmanager_issuetitle', 'title', self.gf('django.db.models.fields.CharField')(max_length=128, null=True)) - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0033_auto__chg_field_pressreleasearticle_article_pid.py b/scielomanager/journalmanager/migrations/0033_auto__chg_field_pressreleasearticle_article_pid.py deleted file mode 100644 index 05394b81..00000000 --- a/scielomanager/journalmanager/migrations/0033_auto__chg_field_pressreleasearticle_article_pid.py +++ /dev/null @@ -1,395 +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 'AheadPressRelease' - db.create_table('journalmanager_aheadpressrelease', ( - ('pressrelease_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['journalmanager.PressRelease'], unique=True, primary_key=True)), - ('journal', self.gf('django.db.models.fields.related.ForeignKey')(related_name='press_releases', to=orm['journalmanager.Journal'])), - )) - db.send_create_signal('journalmanager', ['AheadPressRelease']) - - # Adding model 'PressReleaseArticle' - db.create_table('journalmanager_pressreleasearticle', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('press_release', self.gf('django.db.models.fields.related.ForeignKey')(related_name='articles', to=orm['journalmanager.PressRelease'])), - ('article_pid', self.gf('django.db.models.fields.CharField')(max_length=32, db_index=True)), - )) - db.send_create_signal('journalmanager', ['PressReleaseArticle']) - - # Adding model 'RegularPressRelease' - db.create_table('journalmanager_regularpressrelease', ( - ('pressrelease_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['journalmanager.PressRelease'], unique=True, primary_key=True)), - ('issue', self.gf('django.db.models.fields.related.ForeignKey')(related_name='press_releases', to=orm['journalmanager.Issue'])), - )) - db.send_create_signal('journalmanager', ['RegularPressRelease']) - - # Adding model 'PressReleaseTranslation' - db.create_table('journalmanager_pressreleasetranslation', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('press_release', self.gf('django.db.models.fields.related.ForeignKey')(related_name='translations', to=orm['journalmanager.PressRelease'])), - ('language', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Language'])), - ('title', self.gf('django.db.models.fields.CharField')(max_length=128)), - ('content', self.gf('django.db.models.fields.TextField')()), - )) - db.send_create_signal('journalmanager', ['PressReleaseTranslation']) - - # Adding model 'PressRelease' - db.create_table('journalmanager_pressrelease', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('doi', self.gf('django.db.models.fields.CharField')(max_length=128, null=True, blank=True)), - )) - db.send_create_signal('journalmanager', ['PressRelease']) - - def backwards(self, orm): - # Deleting model 'AheadPressRelease' - db.delete_table('journalmanager_aheadpressrelease') - - # Deleting model 'PressReleaseArticle' - db.delete_table('journalmanager_pressreleasearticle') - - # Deleting model 'RegularPressRelease' - db.delete_table('journalmanager_regularpressrelease') - - # Deleting model 'PressReleaseTranslation' - db.delete_table('journalmanager_pressreleasetranslation') - - # Deleting model 'PressRelease' - db.delete_table('journalmanager_pressrelease') - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']", 'null': 'True', 'blank': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.supplement': { - 'Meta': {'object_name': 'Supplement', '_ormbases': ['journalmanager.Issue']}, - 'issue_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Issue']", 'unique': 'True', 'primary_key': 'True'}), - 'suppl_label': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0034_auto__del_supplement__chg_field_issuetitle_issue.py b/scielomanager/journalmanager/migrations/0034_auto__del_supplement__chg_field_issuetitle_issue.py deleted file mode 100644 index 91a46098..00000000 --- a/scielomanager/journalmanager/migrations/0034_auto__del_supplement__chg_field_issuetitle_issue.py +++ /dev/null @@ -1,355 +0,0 @@ -# encoding: 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): - - # Deleting model 'Supplement' - db.delete_table('journalmanager_supplement') - - # Changing field 'IssueTitle.issue' - db.alter_column('journalmanager_issuetitle', 'issue_id', self.gf('django.db.models.fields.related.ForeignKey')(default=None, to=orm['journalmanager.Issue'])) - - - def backwards(self, orm): - - # Adding model 'Supplement' - db.create_table('journalmanager_supplement', ( - ('suppl_label', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)), - ('issue_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['journalmanager.Issue'], unique=True, primary_key=True)), - )) - db.send_create_signal('journalmanager', ['Supplement']) - - # Changing field 'IssueTitle.issue' - db.alter_column('journalmanager_issuetitle', 'issue_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Issue'], null=True)) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0035_unbound_inconsistent_trashed_sections.py b/scielomanager/journalmanager/migrations/0035_unbound_inconsistent_trashed_sections.py deleted file mode 100644 index 15b55691..00000000 --- a/scielomanager/journalmanager/migrations/0035_unbound_inconsistent_trashed_sections.py +++ /dev/null @@ -1,343 +0,0 @@ -# encoding: 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): - for sec in orm.Section.objects.filter(is_trashed=True): - if sec.issue_set.exists(): - sec.delete() - - - def backwards(self, orm): - "Write your backwards methods here." - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0036_issue_based_press_release_cleanup.py b/scielomanager/journalmanager/migrations/0036_issue_based_press_release_cleanup.py deleted file mode 100644 index 2ffbca71..00000000 --- a/scielomanager/journalmanager/migrations/0036_issue_based_press_release_cleanup.py +++ /dev/null @@ -1,343 +0,0 @@ -# encoding: 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): - for pr in orm.Issue.objects.filter(is_press_release=True): - pr.is_trashed = True - pr.save() - - - def backwards(self, orm): - "Write your backwards methods here." - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_press_release': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0037_auto__del_field_issue_is_press_release.py b/scielomanager/journalmanager/migrations/0037_auto__del_field_issue_is_press_release.py deleted file mode 100644 index c426b0ce..00000000 --- a/scielomanager/journalmanager/migrations/0037_auto__del_field_issue_is_press_release.py +++ /dev/null @@ -1,344 +0,0 @@ -# encoding: 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): - - # Deleting field 'Issue.is_press_release' - db.delete_column('journalmanager_issue', 'is_press_release') - - - def backwards(self, orm): - - # Adding field 'Issue.is_press_release' - db.add_column('journalmanager_issue', 'is_press_release', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0038_auto.py b/scielomanager/journalmanager/migrations/0038_auto.py deleted file mode 100644 index a550cd65..00000000 --- a/scielomanager/journalmanager/migrations/0038_auto.py +++ /dev/null @@ -1,350 +0,0 @@ -# encoding: 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 index on 'Journal', fields ['eletronic_issn'] - db.create_index('journalmanager_journal', ['eletronic_issn']) - - # Adding index on 'Journal', fields ['print_issn'] - db.create_index('journalmanager_journal', ['print_issn']) - - - def backwards(self, orm): - - # Removing index on 'Journal', fields ['print_issn'] - db.delete_index('journalmanager_journal', ['print_issn']) - - # Removing index on 'Journal', fields ['eletronic_issn'] - db.delete_index('journalmanager_journal', ['eletronic_issn']) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0039_eletronic2electronic.py b/scielomanager/journalmanager/migrations/0039_eletronic2electronic.py deleted file mode 100644 index b859adcb..00000000 --- a/scielomanager/journalmanager/migrations/0039_eletronic2electronic.py +++ /dev/null @@ -1,340 +0,0 @@ -# encoding: 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): - orm.Journal.objects.filter(scielo_issn='eletronic').update(scielo_issn='electronic') - - - def backwards(self, orm): - "Write your backwards methods here." - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0040_add_journal_editors.py b/scielomanager/journalmanager/migrations/0040_add_journal_editors.py deleted file mode 100644 index 1d495eae..00000000 --- a/scielomanager/journalmanager/migrations/0040_add_journal_editors.py +++ /dev/null @@ -1,350 +0,0 @@ -# encoding: 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 M2M table for field editors on 'Journal' - db.create_table('journalmanager_journal_editors', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('journal', models.ForeignKey(orm['journalmanager.journal'], null=False)), - ('user', models.ForeignKey(orm['auth.user'], null=False)) - )) - db.create_unique('journalmanager_journal_editors', ['journal_id', 'user_id']) - - - def backwards(self, orm): - - # Removing M2M table for field editors on 'Journal' - db.delete_table('journalmanager_journal_editors') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0041_auto__chg_field_journal_national_code__chg_field_journal_subject_descr.py b/scielomanager/journalmanager/migrations/0041_auto__chg_field_journal_national_code__chg_field_journal_subject_descr.py deleted file mode 100644 index 4b9bf2c5..00000000 --- a/scielomanager/journalmanager/migrations/0041_auto__chg_field_journal_national_code__chg_field_journal_subject_descr.py +++ /dev/null @@ -1,351 +0,0 @@ -# encoding: 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 'Journal.national_code' - db.alter_column('journalmanager_journal', 'national_code', self.gf('django.db.models.fields.CharField')(max_length=64, null=True)) - - # Changing field 'Journal.subject_descriptors' - db.alter_column('journalmanager_journal', 'subject_descriptors', self.gf('django.db.models.fields.CharField')(max_length=1024)) - - - def backwards(self, orm): - - # Changing field 'Journal.national_code' - db.alter_column('journalmanager_journal', 'national_code', self.gf('django.db.models.fields.CharField')(max_length=16, null=True)) - - # Changing field 'Journal.subject_descriptors' - db.alter_column('journalmanager_journal', 'subject_descriptors', self.gf('django.db.models.fields.CharField')(max_length=512)) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0042_auto__chg_field_issue_publication_end_month__chg_field_issue_publicati.py b/scielomanager/journalmanager/migrations/0042_auto__chg_field_issue_publication_end_month__chg_field_issue_publicati.py deleted file mode 100644 index c1175ae1..00000000 --- a/scielomanager/journalmanager/migrations/0042_auto__chg_field_issue_publication_end_month__chg_field_issue_publicati.py +++ /dev/null @@ -1,351 +0,0 @@ -# encoding: 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 'Issue.publication_end_month' - db.alter_column('journalmanager_issue', 'publication_end_month', self.gf('django.db.models.fields.IntegerField')(null=True)) - - # Changing field 'Issue.publication_start_month' - db.alter_column('journalmanager_issue', 'publication_start_month', self.gf('django.db.models.fields.IntegerField')(null=True)) - - - def backwards(self, orm): - - # Changing field 'Issue.publication_end_month' - db.alter_column('journalmanager_issue', 'publication_end_month', self.gf('django.db.models.fields.IntegerField')(default=None)) - - # Changing field 'Issue.publication_start_month' - db.alter_column('journalmanager_issue', 'publication_start_month', self.gf('django.db.models.fields.IntegerField')(default=None)) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'db_index': 'True', 'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0043_auto__add_article.py b/scielomanager/journalmanager/migrations/0043_auto__add_article.py deleted file mode 100644 index 80409256..00000000 --- a/scielomanager/journalmanager/migrations/0043_auto__add_article.py +++ /dev/null @@ -1,359 +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 'Article' - db.create_table('journalmanager_article', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('front', self.gf('jsonfield.fields.JSONField')(default={})), - ('xml_url', self.gf('django.db.models.fields.CharField')(max_length=256)), - ('pdf_url', self.gf('django.db.models.fields.CharField')(max_length=256)), - ('images_url', self.gf('django.db.models.fields.CharField')(max_length=256)), - )) - db.send_create_signal('journalmanager', ['Article']) - - - def backwards(self, orm): - # Deleting model 'Article' - db.delete_table('journalmanager_article') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {'default': '{}'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0044_auto__add_field_article_issue.py b/scielomanager/journalmanager/migrations/0044_auto__add_field_article_issue.py deleted file mode 100644 index fda86774..00000000 --- a/scielomanager/journalmanager/migrations/0044_auto__add_field_article_issue.py +++ /dev/null @@ -1,355 +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.issue' - db.add_column('journalmanager_article', 'issue', - self.gf('django.db.models.fields.related.ForeignKey')(default=0, related_name='issue_article', to=orm['journalmanager.Issue']), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Article.issue' - db.delete_column('journalmanager_article', 'issue_id') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'issue_article'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0045_auto__chg_field_journal_url_journal__chg_field_journal_url_online_subm.py b/scielomanager/journalmanager/migrations/0045_auto__chg_field_journal_url_journal__chg_field_journal_url_online_subm.py deleted file mode 100644 index b455073b..00000000 --- a/scielomanager/journalmanager/migrations/0045_auto__chg_field_journal_url_journal__chg_field_journal_url_online_subm.py +++ /dev/null @@ -1,359 +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 'Journal.url_journal' - db.alter_column('journalmanager_journal', 'url_journal', self.gf('django.db.models.fields.CharField')(max_length=128, null=True)) - - # Changing field 'Journal.url_online_submission' - db.alter_column('journalmanager_journal', 'url_online_submission', self.gf('django.db.models.fields.CharField')(max_length=128, null=True)) - - def backwards(self, orm): - - # Changing field 'Journal.url_journal' - db.alter_column('journalmanager_journal', 'url_journal', self.gf('django.db.models.fields.CharField')(max_length=64, null=True)) - - # Changing field 'Journal.url_online_submission' - db.alter_column('journalmanager_journal', 'url_online_submission', self.gf('django.db.models.fields.CharField')(max_length=64, null=True)) - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'issue_article'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0046_auto__add_field_issue_type.py b/scielomanager/journalmanager/migrations/0046_auto__add_field_issue_type.py deleted file mode 100644 index 40e1bb66..00000000 --- a/scielomanager/journalmanager/migrations/0046_auto__add_field_issue_type.py +++ /dev/null @@ -1,356 +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 'Issue.type' - db.add_column('journalmanager_issue', 'type', - self.gf('django.db.models.fields.CharField')(default='regular', max_length=15), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Issue.type' - db.delete_column('journalmanager_issue', 'type') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0046_auto__add_journaltimeline__add_membership.py b/scielomanager/journalmanager/migrations/0046_auto__add_journaltimeline__add_membership.py deleted file mode 100644 index 26b91c93..00000000 --- a/scielomanager/journalmanager/migrations/0046_auto__add_journaltimeline__add_membership.py +++ /dev/null @@ -1,403 +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 'JournalTimeline' - db.create_table('journalmanager_journaltimeline', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('journal', self.gf('django.db.models.fields.related.ForeignKey')(related_name='statuses', to=orm['journalmanager.Journal'])), - ('collection', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Collection'])), - ('status', self.gf('django.db.models.fields.CharField')(max_length=16)), - ('since', self.gf('django.db.models.fields.DateTimeField')()), - ('reason', self.gf('django.db.models.fields.TextField')(default='')), - ('created_by', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])), - )) - db.send_create_signal('journalmanager', ['JournalTimeline']) - - # Adding model 'Membership' - db.create_table('journalmanager_membership', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('journal', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Journal'])), - ('collection', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['journalmanager.Collection'])), - ('status', self.gf('django.db.models.fields.CharField')(default='inprogress', max_length=16)), - ('since', self.gf('django.db.models.fields.DateTimeField')(auto_now=True, blank=True)), - ('reason', self.gf('django.db.models.fields.TextField')(default='', blank=True)), - ('created_by', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])), - )) - db.send_create_signal('journalmanager', ['Membership']) - - db.create_unique('journalmanager_membership', ['journal_id', 'collection_id']) - - def backwards(self, orm): - - db.delete_unique('journalmanager_membership', ['journal_id', 'collection_id']) - - # Deleting model 'JournalTimeline' - db.delete_table('journalmanager_journaltimeline') - - # Deleting model 'Membership' - db.delete_table('journalmanager_membership') - - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltimeline': { - 'Meta': {'object_name': 'JournalTimeline'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statuses'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'since': ('django.db.models.fields.DateTimeField', [], {}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0047_issue_type_definition.py b/scielomanager/journalmanager/migrations/0047_issue_type_definition.py deleted file mode 100644 index d731c591..00000000 --- a/scielomanager/journalmanager/migrations/0047_issue_type_definition.py +++ /dev/null @@ -1,361 +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 - -class Migration(DataMigration): - - def forwards(self, orm): - - def define_issue_type(issue): - if issue.suppl_volume or issue.suppl_number: - return 'supplement' - elif 'spe' in issue.number.lower(): - return 'special' - else: - return 'regular' - - for issue in orm.Issue.objects.all(): - issue.type = define_issue_type(issue) - issue.save() - - def backwards(self, orm): - "Write your backwards methods here." - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] - symmetrical = True diff --git a/scielomanager/journalmanager/migrations/0047_status_and_membership.py b/scielomanager/journalmanager/migrations/0047_status_and_membership.py deleted file mode 100644 index e6e81ca9..00000000 --- a/scielomanager/journalmanager/migrations/0047_status_and_membership.py +++ /dev/null @@ -1,413 +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 scielomanager.utils import migrations - - -class Migration(DataMigration): - - @migrations.safe_autodatetime('Membership') - def forwards(self, orm): - "Write your forwards methods here." - - for jpe in orm.JournalPublicationEvents.objects.all().order_by('created_at'): - - try: - ms = orm.Membership.objects.get( - collection=jpe.journal.collection, - journal=jpe.journal - ) - except orm.Membership.DoesNotExist: - ms = orm.Membership() - - ms.journal = jpe.journal - ms.collection = jpe.journal.collection - ms.status = jpe.status - ms.reason = jpe.reason - ms.created_by = jpe.changed_by - ms.since = jpe.created_at - ms.save() - - orm.JournalTimeline.objects.create(journal=ms.journal, - collection=ms.collection, - status=ms.status, - reason=ms.reason, - created_by=ms.created_by, - since=ms.since) - - jpe.delete() - - def backwards(self, orm): - "Write your backwards methods here." - - for ms in orm.JournalTimeline.objects.all().order_by('since'): - jpe = orm.JournalPublicationEvents() - jpe.journal = ms.journal - jpe.status = ms.status - jpe.reason = ms.reason - jpe.changed_by = ms.created_by - jpe.created_at = ms.since - jpe.save() - - ms.delete() - - orm.Membership.objects.all().delete() - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltimeline': { - 'Meta': {'object_name': 'JournalTimeline'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statuses'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'since': ('django.db.models.fields.DateTimeField', [], {}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] - symmetrical = True diff --git a/scielomanager/journalmanager/migrations/0048_auto__add_field_issue_suppl_text.py b/scielomanager/journalmanager/migrations/0048_auto__add_field_issue_suppl_text.py deleted file mode 100644 index bdb2c407..00000000 --- a/scielomanager/journalmanager/migrations/0048_auto__add_field_issue_suppl_text.py +++ /dev/null @@ -1,357 +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 'Issue.suppl_text' - db.add_column('journalmanager_issue', 'suppl_text', - self.gf('django.db.models.fields.CharField')(max_length=15, null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Issue.suppl_text' - db.delete_column('journalmanager_issue', 'suppl_text') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0048_auto__del_field_journal_pub_status_changed_by__del_field_journal_colle.py b/scielomanager/journalmanager/migrations/0048_auto__del_field_journal_pub_status_changed_by__del_field_journal_colle.py deleted file mode 100644 index e3b0b0c4..00000000 --- a/scielomanager/journalmanager/migrations/0048_auto__del_field_journal_pub_status_changed_by__del_field_journal_colle.py +++ /dev/null @@ -1,408 +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 'Journal.pub_status_changed_by' - db.delete_column('journalmanager_journal', 'pub_status_changed_by_id') - - # Deleting field 'Journal.collection' - db.delete_column('journalmanager_journal', 'collection_id') - - # Deleting field 'Journal.pub_status' - db.delete_column('journalmanager_journal', 'pub_status') - - # Deleting field 'Journal.pub_status_reason' - db.delete_column('journalmanager_journal', 'pub_status_reason') - - # Deleting model 'JournalPublicationEvents' - db.delete_table('journalmanager_journalpublicationevents') - - def backwards(self, orm): - - # User chose to not deal with backwards NULL issues for 'Journal.pub_status_changed_by' - raise RuntimeError("Cannot reverse this migration. 'Journal.pub_status_changed_by' and its values cannot be restored.") - - # The following code is provided here to aid in writing a correct migration # Adding field 'Journal.pub_status_changed_by' - db.add_column('journalmanager_journal', 'pub_status_changed_by', - self.gf('django.db.models.fields.related.ForeignKey')(related_name='pub_status_changed_by', to=orm['auth.User']), - keep_default=False) - - - # User chose to not deal with backwards NULL issues for 'Journal.collection' - raise RuntimeError("Cannot reverse this migration. 'Journal.collection' and its values cannot be restored.") - - # The following code is provided here to aid in writing a correct migration # Adding field 'Journal.collection' - db.add_column('journalmanager_journal', 'collection', - self.gf('django.db.models.fields.related.ForeignKey')(related_name='journals', to=orm['journalmanager.Collection']), - keep_default=False) - - # Adding field 'Journal.pub_status' - db.add_column('journalmanager_journal', 'pub_status', - self.gf('django.db.models.fields.CharField')(default='inprogress', max_length=16, null=True, blank=True), - keep_default=False) - - # Adding field 'Journal.pub_status_reason' - db.add_column('journalmanager_journal', 'pub_status_reason', - self.gf('django.db.models.fields.TextField')(default='', blank=True), - keep_default=False) - - # Adding model 'JournalPublicationEvents' - db.create_table('journalmanager_journalpublicationevents', ( - ('status', self.gf('django.db.models.fields.CharField')(max_length=16)), - ('created_at', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), - ('journal', self.gf('django.db.models.fields.related.ForeignKey')(related_name='status_history', to=orm['journalmanager.Journal'])), - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('reason', self.gf('django.db.models.fields.TextField')(default='', blank=True)), - ('changed_by', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'])), - )) - db.send_create_signal('journalmanager', ['JournalPublicationEvents']) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journaltimeline': { - 'Meta': {'object_name': 'JournalTimeline'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statuses'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'since': ('django.db.models.fields.DateTimeField', [], {}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] diff --git a/scielomanager/journalmanager/migrations/0049_normalizacao_de_codigos_de_use_license.py b/scielomanager/journalmanager/migrations/0049_normalizacao_de_codigos_de_use_license.py deleted file mode 100644 index 5794dd7f..00000000 --- a/scielomanager/journalmanager/migrations/0049_normalizacao_de_codigos_de_use_license.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 DataMigration -from django.db import models - -class Migration(DataMigration): - - def forwards(self, orm): - try: - use_license_code_nd = orm.UseLicense.objects.get(license_code='nd') - except orm.UseLicense.DoesNotExist: - pass # Data already migrated - else: - for journal in orm.Journal.objects.filter(use_license__license_code=''): - journal.use_license = use_license_code_nd - journal.save() - - for issue in orm.Issue.objects.filter(use_license__license_code=''): - issue.use_license = use_license_code_nd - issue.save() - - def backwards(self, orm): - "Write your backwards methods here." - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] - symmetrical = True diff --git a/scielomanager/journalmanager/migrations/0050_auto__add_field_uselicense_is_default.py b/scielomanager/journalmanager/migrations/0050_auto__add_field_uselicense_is_default.py deleted file mode 100644 index 054a238b..00000000 --- a/scielomanager/journalmanager/migrations/0050_auto__add_field_uselicense_is_default.py +++ /dev/null @@ -1,358 +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 'UseLicense.is_default' - db.add_column('journalmanager_uselicense', 'is_default', - self.gf('django.db.models.fields.BooleanField')(default=False), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'UseLicense.is_default' - db.delete_column('journalmanager_uselicense', 'is_default') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0051_suppl_text_merge.py b/scielomanager/journalmanager/migrations/0051_suppl_text_merge.py deleted file mode 100644 index fd1002c9..00000000 --- a/scielomanager/journalmanager/migrations/0051_suppl_text_merge.py +++ /dev/null @@ -1,364 +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 - -class Migration(DataMigration): - - def forwards(self, orm): - "Write your forwards methods here." - for issue in orm.Issue.objects.filter(type='supplement'): - issue.suppl_text = issue.suppl_volume or issue.suppl_number - issue.save() - - - def backwards(self, orm): - "Write your backwards methods here." - for issue in orm.Issue.objects.filter(type='supplement'): - if issue.volume: - issue.suppl_volume = issue.suppl_text - else: - issue.suppl_number = issue.suppl_text - - issue.save() - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] - symmetrical = True diff --git a/scielomanager/journalmanager/migrations/0052_auto__del_field_issue_suppl_number__del_field_issue_suppl_volume.py b/scielomanager/journalmanager/migrations/0052_auto__del_field_issue_suppl_number__del_field_issue_suppl_volume.py deleted file mode 100644 index a2a003cc..00000000 --- a/scielomanager/journalmanager/migrations/0052_auto__del_field_issue_suppl_number__del_field_issue_suppl_volume.py +++ /dev/null @@ -1,364 +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 'Issue.suppl_number' - db.delete_column('journalmanager_issue', 'suppl_number') - - # Deleting field 'Issue.suppl_volume' - db.delete_column('journalmanager_issue', 'suppl_volume') - - - def backwards(self, orm): - # Adding field 'Issue.suppl_number' - db.add_column('journalmanager_issue', 'suppl_number', - self.gf('django.db.models.fields.CharField')(max_length=16, null=True, blank=True), - keep_default=False) - - # Adding field 'Issue.suppl_volume' - db.add_column('journalmanager_issue', 'suppl_volume', - self.gf('django.db.models.fields.CharField')(max_length=16, null=True, blank=True), - keep_default=False) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'journals'", 'to': "orm['journalmanager.Collection']"}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'pub_status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'pub_status_changed_by': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pub_status_changed_by'", 'to': "orm['auth.User']"}), - 'pub_status_reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journalpublicationevents': { - 'Meta': {'ordering': "['created_at']", 'object_name': 'JournalPublicationEvents'}, - 'changed_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'status_history'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0053_merge_models.py b/scielomanager/journalmanager/migrations/0053_merge_models.py deleted file mode 100644 index 147067af..00000000 --- a/scielomanager/journalmanager/migrations/0053_merge_models.py +++ /dev/null @@ -1,358 +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): - pass - - def backwards(self, orm): - pass - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journaltimeline': { - 'Meta': {'object_name': 'JournalTimeline'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statuses'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'since': ('django.db.models.fields.DateTimeField', [], {}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0054_auto__chg_field_journal_logo__chg_field_journal_cover.py b/scielomanager/journalmanager/migrations/0054_auto__chg_field_journal_logo__chg_field_journal_cover.py deleted file mode 100644 index b5c3c68e..00000000 --- a/scielomanager/journalmanager/migrations/0054_auto__chg_field_journal_logo__chg_field_journal_cover.py +++ /dev/null @@ -1,368 +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 'Journal.logo' - db.alter_column('journalmanager_journal', 'logo', self.gf('scielomanager.custom_fields.ContentTypeRestrictedFileField')(max_length=100, null=True)) - - # Changing field 'Journal.cover' - db.alter_column('journalmanager_journal', 'cover', self.gf('scielomanager.custom_fields.ContentTypeRestrictedFileField')(max_length=100, null=True)) - - def backwards(self, orm): - - # Changing field 'Journal.logo' - db.alter_column('journalmanager_journal', 'logo', self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True)) - - # Changing field 'Journal.cover' - db.alter_column('journalmanager_journal', 'cover', self.gf('django.db.models.fields.files.ImageField')(max_length=100, null=True)) - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created',)", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journaltimeline': { - 'Meta': {'object_name': 'JournalTimeline'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statuses'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'since': ('django.db.models.fields.DateTimeField', [], {}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0055_auto__add_field_issue_spe_text.py b/scielomanager/journalmanager/migrations/0055_auto__add_field_issue_spe_text.py deleted file mode 100644 index 2201d058..00000000 --- a/scielomanager/journalmanager/migrations/0055_auto__add_field_issue_spe_text.py +++ /dev/null @@ -1,365 +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 'Issue.spe_text' - db.add_column('journalmanager_issue', 'spe_text', - self.gf('django.db.models.fields.CharField')(max_length=15, null=True, blank=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Issue.spe_text' - db.delete_column('journalmanager_issue', 'spe_text') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created',)", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journaltimeline': { - 'Meta': {'object_name': 'JournalTimeline'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statuses'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'since': ('django.db.models.fields.DateTimeField', [], {}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '75'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0055_auto__del_field_userprofile_email.py b/scielomanager/journalmanager/migrations/0055_auto__del_field_userprofile_email.py deleted file mode 100644 index 0ac267fe..00000000 --- a/scielomanager/journalmanager/migrations/0055_auto__del_field_userprofile_email.py +++ /dev/null @@ -1,363 +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 'UserProfile.email' - db.delete_column('journalmanager_userprofile', 'email') - - - def backwards(self, orm): - # Adding field 'UserProfile.email' - db.add_column('journalmanager_userprofile', 'email', - self.gf('django.db.models.fields.EmailField')(default=None, max_length=75, unique=True), - keep_default=False) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created',)", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journaltimeline': { - 'Meta': {'object_name': 'JournalTimeline'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statuses'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'since': ('django.db.models.fields.DateTimeField', [], {}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0056_special_numbers.py b/scielomanager/journalmanager/migrations/0056_special_numbers.py deleted file mode 100644 index 95381e8f..00000000 --- a/scielomanager/journalmanager/migrations/0056_special_numbers.py +++ /dev/null @@ -1,363 +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): - for issue in orm.Issue.objects.filter(): - if 'spe' in issue.number: - issue.spe_text = issue.number.lower().replace('spe', '') - issue.number = '' - issue.type = 'special' - issue.save() - - def backwards(self, orm): - pass - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created',)", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journaltimeline': { - 'Meta': {'object_name': 'JournalTimeline'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statuses'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'since': ('django.db.models.fields.DateTimeField', [], {}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0057_auto__chg_field_journal_init_vol__chg_field_journal_init_num.py b/scielomanager/journalmanager/migrations/0057_auto__chg_field_journal_init_vol__chg_field_journal_init_num.py deleted file mode 100644 index db82f659..00000000 --- a/scielomanager/journalmanager/migrations/0057_auto__chg_field_journal_init_vol__chg_field_journal_init_num.py +++ /dev/null @@ -1,376 +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 'Journal.init_vol' - db.alter_column('journalmanager_journal', 'init_vol', self.gf('django.db.models.fields.CharField')(max_length=16, null=True)) - - # Changing field 'Journal.init_num' - db.alter_column('journalmanager_journal', 'init_num', self.gf('django.db.models.fields.CharField')(max_length=16, null=True)) - - def backwards(self, orm): - - # User chose to not deal with backwards NULL issues for 'Journal.init_vol' - raise RuntimeError("Cannot reverse this migration. 'Journal.init_vol' and its values cannot be restored.") - - # The following code is provided here to aid in writing a correct migration - # Changing field 'Journal.init_vol' - db.alter_column('journalmanager_journal', 'init_vol', self.gf('django.db.models.fields.CharField')(max_length=16)) - - # User chose to not deal with backwards NULL issues for 'Journal.init_num' - raise RuntimeError("Cannot reverse this migration. 'Journal.init_num' and its values cannot be restored.") - - # The following code is provided here to aid in writing a correct migration - # Changing field 'Journal.init_num' - db.alter_column('journalmanager_journal', 'init_num', self.gf('django.db.models.fields.CharField')(max_length=16)) - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created',)", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journaltimeline': { - 'Meta': {'object_name': 'JournalTimeline'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statuses'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'since': ('django.db.models.fields.DateTimeField', [], {}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0058_auto__chg_field_issuetitle_title.py b/scielomanager/journalmanager/migrations/0058_auto__chg_field_issuetitle_title.py deleted file mode 100644 index 1538baa8..00000000 --- a/scielomanager/journalmanager/migrations/0058_auto__chg_field_issuetitle_title.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): - - # Changing field 'IssueTitle.title' - db.alter_column('journalmanager_issuetitle', 'title', self.gf('django.db.models.fields.CharField')(max_length=256)) - - def backwards(self, orm): - - # Changing field 'IssueTitle.title' - db.alter_column('journalmanager_issuetitle', 'title', self.gf('django.db.models.fields.CharField')(max_length=128)) - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created',)", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "['title']", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editors': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'user_editors'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['auth.User']"}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journaltimeline': { - 'Meta': {'object_name': 'JournalTimeline'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statuses'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'since': ('django.db.models.fields.DateTimeField', [], {}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0059_auto.py b/scielomanager/journalmanager/migrations/0059_auto.py deleted file mode 100644 index a8cfdd1f..00000000 --- a/scielomanager/journalmanager/migrations/0059_auto.py +++ /dev/null @@ -1,367 +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): - # Removing M2M table for field editors on 'Journal' - db.delete_table(db.shorten_name('journalmanager_journal_editors')) - - - def backwards(self, orm): - # Adding M2M table for field editors on 'Journal' - m2m_table_name = db.shorten_name('journalmanager_journal_editors') - db.create_table(m2m_table_name, ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('journal', models.ForeignKey(orm['journalmanager.journal'], null=False)), - ('user', models.ForeignKey(orm['auth.user'], null=False)) - )) - db.create_unique(m2m_table_name, ['journal_id', 'user_id']) - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created', 'id')", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journaltimeline': { - 'Meta': {'object_name': 'JournalTimeline'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statuses'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'since': ('django.db.models.fields.DateTimeField', [], {}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'ordering': "('id',)", 'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0060_auto__add_field_journal_editor.py b/scielomanager/journalmanager/migrations/0060_auto__add_field_journal_editor.py deleted file mode 100644 index d04a0543..00000000 --- a/scielomanager/journalmanager/migrations/0060_auto__add_field_journal_editor.py +++ /dev/null @@ -1,364 +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 'Journal.editor' - db.add_column('journalmanager_journal', 'editor', - self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='editor_journal', null=True, to=orm['auth.User']), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'Journal.editor' - db.delete_column('journalmanager_journal', 'editor_id') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created', 'id')", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'editor_journal'", 'null': 'True', 'to': "orm['auth.User']"}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journaltimeline': { - 'Meta': {'object_name': 'JournalTimeline'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statuses'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'since': ('django.db.models.fields.DateTimeField', [], {}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'ordering': "('id',)", 'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0061_auto__add_field_userprofile_email_notifications.py b/scielomanager/journalmanager/migrations/0061_auto__add_field_userprofile_email_notifications.py deleted file mode 100644 index df43cd18..00000000 --- a/scielomanager/journalmanager/migrations/0061_auto__add_field_userprofile_email_notifications.py +++ /dev/null @@ -1,365 +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 'UserProfile.email_notifications' - db.add_column('journalmanager_userprofile', 'email_notifications', - self.gf('django.db.models.fields.BooleanField')(default=True), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'UserProfile.email_notifications' - db.delete_column('journalmanager_userprofile', 'email_notifications') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created', 'id')", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'editor_journal'", 'null': 'True', 'to': "orm['auth.User']"}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journaltimeline': { - 'Meta': {'object_name': 'JournalTimeline'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statuses'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'since': ('django.db.models.fields.DateTimeField', [], {}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'ordering': "('id',)", 'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/journalmanager/migrations/0062_auto__add_field_userprofile_tz.py b/scielomanager/journalmanager/migrations/0062_auto__add_field_userprofile_tz.py deleted file mode 100644 index bbc381d5..00000000 --- a/scielomanager/journalmanager/migrations/0062_auto__add_field_userprofile_tz.py +++ /dev/null @@ -1,366 +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 'UserProfile.tz' - db.add_column('journalmanager_userprofile', 'tz', - self.gf('django.db.models.fields.CharField')(default='America/Sao_Paulo', max_length=150), - keep_default=False) - - - def backwards(self, orm): - # Deleting field 'UserProfile.tz' - db.delete_column('journalmanager_userprofile', 'tz') - - - 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'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - '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'}) - }, - 'journalmanager.aheadpressrelease': { - 'Meta': {'object_name': 'AheadPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Journal']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.article': { - 'Meta': {'object_name': 'Article'}, - 'front': ('jsonfield.fields.JSONField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'images_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.Issue']"}), - 'pdf_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'xml_url': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.collection': { - 'Meta': {'ordering': "['name']", 'object_name': 'Collection'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'user_collection'", 'to': "orm['auth.User']", 'through': "orm['journalmanager.UserCollections']", 'blank': 'True', 'symmetrical': 'False', 'null': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'logo': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128', 'db_index': 'True'}), - 'name_slug': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.datachangeevent': { - 'Meta': {'object_name': 'DataChangeEvent'}, - 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'event_type': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.institution': { - 'Meta': {'ordering': "['name']", 'object_name': 'Institution'}, - 'acronym': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '16', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {}), - 'address_complement': ('django.db.models.fields.CharField', [], {'max_length': '128', 'blank': 'True'}), - 'address_number': ('django.db.models.fields.CharField', [], {'max_length': '8'}), - 'cel': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'city': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'complement': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'fax': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'state': ('django.db.models.fields.CharField', [], {'max_length': '32', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.issue': { - 'Meta': {'ordering': "('created', 'id')", 'object_name': 'Issue'}, - 'cover': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_marked_up': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'label': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'number': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}), - 'publication_end_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_start_month': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'publication_year': ('django.db.models.fields.IntegerField', [], {}), - 'section': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Section']", 'symmetrical': 'False', 'blank': 'True'}), - 'spe_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'suppl_text': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'total_documents': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'type': ('django.db.models.fields.CharField', [], {'default': "'regular'", 'max_length': '15'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']", 'null': 'True'}), - 'volume': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}) - }, - 'journalmanager.issuetitle': { - 'Meta': {'object_name': 'IssueTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Issue']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.journal': { - 'Meta': {'ordering': "('title', 'id')", 'object_name': 'Journal'}, - 'abstract_keyword_languages': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'abstract_keyword_languages'", 'symmetrical': 'False', 'to': "orm['journalmanager.Language']"}), - 'acronym': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'through': "orm['journalmanager.Membership']", 'symmetrical': 'False'}), - 'copyrighter': ('django.db.models.fields.CharField', [], {'max_length': '254'}), - 'cover': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'enjoy_creator'", 'to': "orm['auth.User']"}), - 'ctrl_vocabulary': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'current_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'editor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'editor_journal'", 'null': 'True', 'to': "orm['auth.User']"}), - 'editor_address': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_address_city': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'editor_address_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'editor_address_state': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'editor_address_zip': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'editor_email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}), - 'editor_name': ('django.db.models.fields.CharField', [], {'max_length': '512'}), - 'editor_phone1': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'editor_phone2': ('django.db.models.fields.CharField', [], {'max_length': '32', 'null': 'True', 'blank': 'True'}), - 'editorial_standard': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'eletronic_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'final_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'blank': 'True'}), - 'final_year': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'frequency': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index_coverage': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'init_num': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_vol': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'init_year': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'is_indexed_aehci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_scie': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_indexed_ssci': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'languages': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Language']", 'symmetrical': 'False'}), - 'logo': ('scielomanager.custom_fields.ContentTypeRestrictedFileField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'medline_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'medline_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), - 'national_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}), - 'notes': ('django.db.models.fields.TextField', [], {'max_length': '254', 'null': 'True', 'blank': 'True'}), - 'other_previous_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}), - 'previous_ahead_documents': ('django.db.models.fields.IntegerField', [], {'default': '0', 'max_length': '3', 'null': 'True', 'blank': 'True'}), - 'previous_title': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'prev_title'", 'null': 'True', 'to': "orm['journalmanager.Journal']"}), - 'print_issn': ('django.db.models.fields.CharField', [], {'max_length': '9', 'db_index': 'True'}), - 'pub_level': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publication_city': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'publisher_country': ('scielo_extensions.modelfields.CountryField', [], {'max_length': '2'}), - 'publisher_name': ('django.db.models.fields.CharField', [], {'max_length': '256'}), - 'publisher_state': ('django.db.models.fields.CharField', [], {'max_length': '64'}), - 'scielo_issn': ('django.db.models.fields.CharField', [], {'max_length': '16'}), - 'secs_code': ('django.db.models.fields.CharField', [], {'max_length': '64', 'blank': 'True'}), - 'short_title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'db_index': 'True'}), - 'sponsor': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'journal_sponsor'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['journalmanager.Sponsor']"}), - 'study_areas': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals_migration_tmp'", 'null': 'True', 'to': "orm['journalmanager.StudyArea']"}), - 'subject_categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'journals'", 'null': 'True', 'to': "orm['journalmanager.SubjectCategory']"}), - 'subject_descriptors': ('django.db.models.fields.CharField', [], {'max_length': '1024'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'title_iso': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}), - 'twitter_user': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'url_journal': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'url_online_submission': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'use_license': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.UseLicense']"}) - }, - 'journalmanager.journalmission': { - 'Meta': {'object_name': 'JournalMission'}, - 'description': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'missions'", 'to': "orm['journalmanager.Journal']"}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']", 'null': 'True'}) - }, - 'journalmanager.journaltimeline': { - 'Meta': {'object_name': 'JournalTimeline'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'statuses'", 'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''"}), - 'since': ('django.db.models.fields.DateTimeField', [], {}), - 'status': ('django.db.models.fields.CharField', [], {'max_length': '16'}) - }, - 'journalmanager.journaltitle': { - 'Meta': {'object_name': 'JournalTitle'}, - 'category': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'other_titles'", 'to': "orm['journalmanager.Journal']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.language': { - 'Meta': {'ordering': "['name']", 'object_name': 'Language'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'iso_code': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '64'}) - }, - 'journalmanager.membership': { - 'Meta': {'unique_together': "(('journal', 'collection'),)", 'object_name': 'Membership'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'created_by': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'reason': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}), - 'since': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'status': ('django.db.models.fields.CharField', [], {'default': "'inprogress'", 'max_length': '16'}) - }, - 'journalmanager.pendedform': { - 'Meta': {'object_name': 'PendedForm'}, - 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}), - 'form_hash': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pending_forms'", 'to': "orm['auth.User']"}), - 'view_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.pendedvalue': { - 'Meta': {'object_name': 'PendedValue'}, - 'form': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'data'", 'to': "orm['journalmanager.PendedForm']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}), - 'value': ('django.db.models.fields.TextField', [], {}) - }, - 'journalmanager.pressrelease': { - 'Meta': {'object_name': 'PressRelease'}, - 'doi': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}) - }, - 'journalmanager.pressreleasearticle': { - 'Meta': {'object_name': 'PressReleaseArticle'}, - 'article_pid': ('django.db.models.fields.CharField', [], {'max_length': '32', 'db_index': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'articles'", 'to': "orm['journalmanager.PressRelease']"}) - }, - 'journalmanager.pressreleasetranslation': { - 'Meta': {'object_name': 'PressReleaseTranslation'}, - 'content': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'press_release': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'to': "orm['journalmanager.PressRelease']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - }, - 'journalmanager.regularpressrelease': { - 'Meta': {'object_name': 'RegularPressRelease', '_ormbases': ['journalmanager.PressRelease']}, - 'issue': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'press_releases'", 'to': "orm['journalmanager.Issue']"}), - 'pressrelease_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.PressRelease']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.section': { - 'Meta': {'ordering': "('id',)", 'object_name': 'Section'}, - 'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '21', 'blank': 'True'}), - 'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_trashed': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'journal': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Journal']"}), - 'legacy_code': ('django.db.models.fields.CharField', [], {'max_length': '16', 'null': 'True', 'blank': 'True'}), - 'updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}) - }, - 'journalmanager.sectiontitle': { - 'Meta': {'ordering': "['title']", 'object_name': 'SectionTitle'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Language']"}), - 'section': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'titles'", 'to': "orm['journalmanager.Section']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.sponsor': { - 'Meta': {'ordering': "['name']", 'object_name': 'Sponsor', '_ormbases': ['journalmanager.Institution']}, - 'collections': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['journalmanager.Collection']", 'symmetrical': 'False'}), - 'institution_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['journalmanager.Institution']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'journalmanager.studyarea': { - 'Meta': {'object_name': 'StudyArea'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'study_area': ('django.db.models.fields.CharField', [], {'max_length': '256'}) - }, - 'journalmanager.subjectcategory': { - 'Meta': {'object_name': 'SubjectCategory'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'term': ('django.db.models.fields.CharField', [], {'max_length': '256', 'db_index': 'True'}) - }, - 'journalmanager.translateddata': { - 'Meta': {'object_name': 'TranslatedData'}, - 'field': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'language': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '32'}), - 'translation': ('django.db.models.fields.CharField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.uselicense': { - 'Meta': {'ordering': "['license_code']", 'object_name': 'UseLicense'}, - 'disclaimer': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'license_code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64'}), - 'reference_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}) - }, - 'journalmanager.usercollections': { - 'Meta': {'unique_together': "(('user', 'collection'),)", 'object_name': 'UserCollections'}, - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['journalmanager.Collection']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_default': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_manager': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}) - }, - 'journalmanager.userprofile': { - 'Meta': {'object_name': 'UserProfile'}, - 'email_notifications': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'tz': ('django.db.models.fields.CharField', [], {'default': "'America/Sao_Paulo'", 'max_length': '150'}), - 'user': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True'}) - } - } - - complete_apps = ['journalmanager'] \ No newline at end of file diff --git a/scielomanager/maintenancewindow/migrations/0001_initial.py b/scielomanager/maintenancewindow/migrations/0001_initial.py index 7b2ecd8a..6e5fa06e 100644 --- a/scielomanager/maintenancewindow/migrations/0001_initial.py +++ b/scielomanager/maintenancewindow/migrations/0001_initial.py @@ -1,27 +1,28 @@ -# encoding: utf-8 -import datetime +# -*- 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 'Event' db.create_table('maintenancewindow_event', ( ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('title', self.gf('django.db.models.fields.CharField')(max_length=128)), ('begin_at', self.gf('django.db.models.fields.DateTimeField')()), - ('end_at', self.gf('django.db.models.fields.DateTimeField')()), + ('end_at', self.gf('django.db.models.fields.DateTimeField')(db_index=True)), ('description', self.gf('django.db.models.fields.TextField')()), - ('is_active', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('is_blocking_users', self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True)), + ('is_finished', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('event_report', self.gf('django.db.models.fields.TextField')(blank=True)), )) db.send_create_signal('maintenancewindow', ['Event']) def backwards(self, orm): - # Deleting model 'Event' db.delete_table('maintenancewindow_event') @@ -31,11 +32,13 @@ def backwards(self, orm): 'Meta': {'ordering': "['begin_at', 'title']", 'object_name': 'Event'}, 'begin_at': ('django.db.models.fields.DateTimeField', [], {}), 'description': ('django.db.models.fields.TextField', [], {}), - 'end_at': ('django.db.models.fields.DateTimeField', [], {}), + 'end_at': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}), + 'event_report': ('django.db.models.fields.TextField', [], {'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_blocking_users': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), + 'is_finished': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) } } - complete_apps = ['maintenancewindow'] + complete_apps = ['maintenancewindow'] \ No newline at end of file diff --git a/scielomanager/maintenancewindow/migrations/0002_auto__del_field_event_is_active__add_field_event_is_blocking_users__ad.py b/scielomanager/maintenancewindow/migrations/0002_auto__del_field_event_is_active__add_field_event_is_blocking_users__ad.py deleted file mode 100644 index 75c2079e..00000000 --- a/scielomanager/maintenancewindow/migrations/0002_auto__del_field_event_is_active__add_field_event_is_blocking_users__ad.py +++ /dev/null @@ -1,53 +0,0 @@ -# encoding: 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): - - # Deleting field 'Event.is_active' - db.delete_column('maintenancewindow_event', 'is_active') - - # Adding field 'Event.is_blocking_users' - db.add_column('maintenancewindow_event', 'is_blocking_users', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False) - - # Adding field 'Event.is_finished' - db.add_column('maintenancewindow_event', 'is_finished', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False) - - # Adding field 'Event.event_report' - db.add_column('maintenancewindow_event', 'event_report', self.gf('django.db.models.fields.TextField')(default=''), keep_default=False) - - - def backwards(self, orm): - - # Adding field 'Event.is_active' - db.add_column('maintenancewindow_event', 'is_active', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False) - - # Deleting field 'Event.is_blocking_users' - db.delete_column('maintenancewindow_event', 'is_blocking_users') - - # Deleting field 'Event.is_finished' - db.delete_column('maintenancewindow_event', 'is_finished') - - # Deleting field 'Event.event_report' - db.delete_column('maintenancewindow_event', 'event_report') - - - models = { - 'maintenancewindow.event': { - 'Meta': {'ordering': "['begin_at', 'title']", 'object_name': 'Event'}, - 'begin_at': ('django.db.models.fields.DateTimeField', [], {}), - 'description': ('django.db.models.fields.TextField', [], {}), - 'end_at': ('django.db.models.fields.DateTimeField', [], {}), - 'event_report': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_blocking_users': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_finished': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - } - } - - complete_apps = ['maintenancewindow'] diff --git a/scielomanager/maintenancewindow/migrations/0003_auto.py b/scielomanager/maintenancewindow/migrations/0003_auto.py deleted file mode 100644 index fc5c7b8c..00000000 --- a/scielomanager/maintenancewindow/migrations/0003_auto.py +++ /dev/null @@ -1,41 +0,0 @@ -# encoding: 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 index on 'Event', fields ['end_at'] - db.create_index('maintenancewindow_event', ['end_at']) - - # Adding index on 'Event', fields ['is_blocking_users'] - db.create_index('maintenancewindow_event', ['is_blocking_users']) - - - def backwards(self, orm): - - # Removing index on 'Event', fields ['is_blocking_users'] - db.delete_index('maintenancewindow_event', ['is_blocking_users']) - - # Removing index on 'Event', fields ['end_at'] - db.delete_index('maintenancewindow_event', ['end_at']) - - - models = { - 'maintenancewindow.event': { - 'Meta': {'ordering': "['begin_at', 'title']", 'object_name': 'Event'}, - 'begin_at': ('django.db.models.fields.DateTimeField', [], {}), - 'description': ('django.db.models.fields.TextField', [], {}), - 'end_at': ('django.db.models.fields.DateTimeField', [], {'db_index': 'True'}), - 'event_report': ('django.db.models.fields.TextField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_blocking_users': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True'}), - 'is_finished': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '128'}) - } - } - - complete_apps = ['maintenancewindow']