#24686: Support for Moving a model between two Django apps
-------------------------------+-----------------------------------------
Reporter: Alex Rothberg | Owner: Abhishek Bera
Type: New feature | Status: assigned
Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+-----------------------------------------
Comment (by Abhishek Bera):
Hi, I am new to django development so I started with this documentation
ticket. I am struggling with the level of detail I should mention in the
document. So far I just updated the param and mentioned what it does. Here
is the diff :
ddiff --git a/docs/ref/migration-operations.txt b/docs/ref/migration-
operations.txt
index d1620cce8e..f4a444e8e9 100644
--- a/docs/ref/migration-operations.txt
+++ b/docs/ref/migration-operations.txt
``RenameField``
---------------
-.. class:: RenameField(model_name, old_name, new_name)
+.. class:: RenameField(model_name, old_name, new_name,
new_app_label=None)
Changes a field's name (and, unless
:attr:`~django.db.models.Field.db_column`
-is set, its column name).
+is set, its column name) or moves the Model to `new_app_label`.
Also, what should be the branch name for this PR?
--
Ticket URL: <https://code.djangoproject.com/ticket/24686#comment:16>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.2e3cd1dd2d87b96f1dfcfaa49c530ce1%40djangoproject.com.