From 59d761b574d69fbfa452ee993b1f9c4574cdae93 Mon Sep 17 00:00:00 2001 From: Stan Triepels <1939656+GDay@users.noreply.github.com> Date: Fri, 1 Sep 2023 14:33:26 +0200 Subject: [PATCH] Add documentation to migrate from django-q to django-q2 (#108) --- docs/install.rst | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/install.rst b/docs/install.rst index c7f1af9..2287e10 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -24,6 +24,22 @@ Installation $ python manage.py qcluster + +Migrate from Django-Q to Django-Q2 +---------------------------------- + +If you have an application with django-q running right now, you can simply swap the libraries and you should be good to go.:: + + + $ pip uninstall django-q # you might have to uninstall django-q add-ons as well + $ pip install django-q2 + + +Then migrate the database to get the latest tables/fields:: + + $ python manage.py migrate + + Requirements ------------ @@ -139,7 +155,7 @@ You can reference the `requirements = 3.6