Clearly Possible,
-- Simply import the model first using appname.models. Hope it helps:)
You can use this as
from appA import model1
in app2
On Thursday, 27 February 2020 22:04:12 UTC+5:30, Ol P wrote:
On Thursday, 27 February 2020 22:04:12 UTC+5:30, Ol P wrote:
Imagen we have app-A and app-B with model-A and model-B accordingly.And we want to extend model-A in app-B.What should be written in model-B to implement it?In other words, is it possible to implement the same-table extension?
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/42c4791e-ea38-4e4b-947f-07eaf4c740bc%40googlegroups.com.
No comments:
Post a Comment