Ya sure you can use the same models throughout your project. If you're i a
different app then import statement will be like
from appName.models import tableName
else if you're in the same app
from .models import tableName

Thanks and Regards
Lakshyaraj Dash

On Sun, Aug 28, 2022, 04:48 Javier L. Camacaro <javierleo...@gmail.com>
wrote:

> Do i need to repeat the models for each app?, Can I use same model for all
> the apps in my project?
>
>
> I'm a new a DJango programmer, sorry for that
>
> Thanks!
>
> --
> 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/d5d42018-14db-42dc-b682-fce739950eb0n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/d5d42018-14db-42dc-b682-fce739950eb0n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAF7qQgBhxbKtb7SOSqMom2GsBNKj8K1xKT_CYTVsdmqB8hGTHw%40mail.gmail.com.

Reply via email to