From: Matías Aguirre Date: Thu, 5 May 2011 22:16:38 +0000 (-0300) Subject: Add doc about South migrations X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=07410d912ee98f86a8ccf011b88dd85b3aa39bde;p=django-social-auth.git Add doc about South migrations --- diff --git a/README.rst b/README.rst index c065668..db14842 100644 --- a/README.rst +++ b/README.rst @@ -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/ diff --git a/doc/index.rst b/doc/index.rst index e1686b3..926317c 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -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 index 0000000..dcbc102 --- /dev/null +++ b/doc/miscellaneous.rst @@ -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/