Re: How to use same Models for all apps?

2022-08-29 Thread Javier L. Camacaro
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

Re: How to use same Models for all apps?

2022-08-27 Thread Samuel Alie Mansaray
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

Re: How to use same Models for all apps?

2022-08-27 Thread Lakshyaraj Dash
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.

Re: How to use same Models for all apps?

2022-08-27 Thread Ryan Nowakowski
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

How to use same Models for all apps?

2022-08-27 Thread Javier L. Camacaro
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