[damned-lies/proxymodel: 2/2] Fix the initial South migration
- From: Stéphane Raimbault <stephaner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies/proxymodel: 2/2] Fix the initial South migration
- Date: Fri, 23 Apr 2010 01:16:35 +0000 (UTC)
commit a9647d6e64d23548b171cb6ab9bf06890fd289e3
Author: Stéphane Raimbault <stephane raimbault gmail com>
Date: Fri Apr 23 03:08:03 2010 +0200
Fix the initial South migration
- wrong CharField
- the automatic procedure fails
README | 7 ++++++-
vertimus/migrations/0001_initial.py | 2 +-
2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/README b/README
index 702410c..383cd09 100644
--- a/README
+++ b/README
@@ -49,7 +49,12 @@ Installation
SCRATCHDIR should point to an existing directory, writable by
the web application user.
-2 - Run 'python manage.py syncdb', then 'python manage.py migrate'
+2 - Run './manage.py syncdb' then:
+ ./manage.py migrate people
+ ./manage.py migrate teams
+ ./manage.py migrate
+
+ Note: The automatic migration fails on interdependencies.
3 - Configure Sites in admin interface to define the 'View on site'
link.
diff --git a/vertimus/migrations/0001_initial.py b/vertimus/migrations/0001_initial.py
index a27d9e8..ca2d3b1 100644
--- a/vertimus/migrations/0001_initial.py
+++ b/vertimus/migrations/0001_initial.py
@@ -123,7 +123,7 @@ class Migration:
'Meta': {'unique_together': "(('name', 'module'),)", 'db_table': "'branch'"},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'module': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['stats.Module']"}),
- 'name': ('BranchCharField', [], {'max_length': '50'}),
+ 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
'vcs_subpath': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'})
},
'stats.domain': {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]