From 07410d912ee98f86a8ccf011b88dd85b3aa39bde Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Aguirre?= Date: Thu, 5 May 2011 19:16:38 -0300 Subject: [PATCH] Add doc about South migrations --- README.rst | 15 +++++++++++++++ doc/index.rst | 1 + doc/miscellaneous.rst | 13 +++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 doc/miscellaneous.rst 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/ -- 2.39.5