thanks mansar.. I did it, but I can see the data, I need to recreate data
in home page, with a model freate in "Tienda" app, but I cant.
Thanks
El sábado, 27 de agosto de 2022 a la(s) 21:03:21 UTC-4, mansar...@gmail.com
escribió:
> Am new in django framework, am get problem with the new v
Am new in django framework, am get problem with the new version of django
by adding apps and import modules.
On Sat, 27 Aug 2022, 23:55 Lakshyaraj Dash,
wrote:
> 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 a
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. Ca
You can use a model from one app in other apps. Simply import it in the apps
where you need it.
On August 27, 2022 5:43:40 PM CDT, "Javier L. Camacaro"
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 programme
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
5 matches
Mail list logo