]> git.parisson.com Git - django-social-auth.git/commitdiff
Add doc about South migrations
authorMatías Aguirre <matiasaguirre@gmail.com>
Thu, 5 May 2011 22:16:38 +0000 (19:16 -0300)
committerMatías Aguirre <matiasaguirre@gmail.com>
Thu, 5 May 2011 22:16:38 +0000 (19:16 -0300)
README.rst
doc/index.rst
doc/miscellaneous.rst [new file with mode: 0644]

index c06566876b0da4dbded46ddaa5bb4f072f994aa4..db1484286c5cc72ac710ea320c0ab162e939e1fa 100644 (file)
@@ -499,6 +499,20 @@ credentials in the following way::
     TEST_GOOGLE_USER = 'testing_account@gmail.com'
     TEST_GOOGLE_PASSWORD = 'password_for_testing_account'
 
+
+-------------
+Miscellaneous
+-------------
+
+South_ users should add this rule to enable migrations::
+    try:
+        import south
+        from south.modelsinspector import add_introspection_rules
+        add_introspection_rules([], ["^social_auth\.fields\.JSONField"])
+    except:
+        pass
+
+
 ----
 Bugs
 ----
@@ -600,3 +614,4 @@ Base work is copyrighted by:
 .. _mattucf: https://github.com/mattucf
 .. _Quard: https://github.com/Quard
 .. _micrypt: https://github.com/micrypt
+.. _South: http://south.aeracode.org/
index e1686b3ade1a51064cea8e8d8b56bf75f3d60f42..926317cd0bb47414212f4fc1624eb1b819457adf 100644 (file)
@@ -19,6 +19,7 @@ Contents:
    signals
    contributions
    testing
+   miscellaneous
    bugs
 
 Indices and tables
diff --git a/doc/miscellaneous.rst b/doc/miscellaneous.rst
new file mode 100644 (file)
index 0000000..dcbc102
--- /dev/null
@@ -0,0 +1,13 @@
+Miscellaneous
+=============
+
+South_ users should add this rule to enable migrations::
+    try:
+        import south
+        from south.modelsinspector import add_introspection_rules
+        add_introspection_rules([], ["^social_auth\.fields\.JSONField"])
+    except:
+        pass
+
+
+.. _South: http://south.aeracode.org/