--(Unsigned mail from my phone)
-------- Original message --------From: Joseph Amiri <joejoe.am...@gmail.com> 
Date: 17/7/22  05:41  (GMT+10:00) To: Django users 
<django-users@googlegroups.com> Subject: remove django polymorphism hey all.i 
have models like this :class basemodel(polymorphism):...class 
teachers(basemodel):...class courses(basemodel):...now i want to remove 
teachers from polymorphism basemodel and transfer records from basemodel to 
teachers table. any document to do that ?Yes. Django has you totally covered. 
You need to look at docs.djangoproject.com and search "migrations".Essentially, 
you write the code to move records between tables according to your heart's 
desire. On that page there is a section called 'Data migrations' which will 
solve your problem.Good luckM



-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1bd0a2bd-8521-43a6-8fc8-aa6e92feafe2n%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/62d37861.1c69fb81.2820e.b8e0SMTPIN_ADDED_MISSING%40gmr-mx.google.com.

Reply via email to