Re: Assignment

2022-08-27 Thread Anh Nguyen
Quite hard for a student. I guess On Thu, 25 Aug 2022 at 23:11 Scott Sawyer wrote: > long time lurker here... > > On 8/25/2022 8:24 AM, shairy wrote: > > Can anyone help me to solve this problem. > > Consider a recharge website platform for mobile prepaid recharge like Paytm > > 1. List down

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: Job -Fullstack python expert ( Django framework)

2022-08-27 Thread Anh Nguyen
Idk why this stack included java? Any additional you wanna tell me more, Just curious. On Sat, 27 Aug 2022 at 00:31 Kazuya Nomura wrote: > I am interested > > On Thursday, August 18, 2022 at 12:04:11 PM UTC-7 pcintegral@gmail.com > wrote: > >> This project is very straight to the point. We

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

get files name

2022-08-27 Thread Hind Djebbar
how can i get the file names from data base to list them into droplist in models.py : class FilesUpload(models.Model): file = models.FileField(null=True, blank=True,upload_to="media/") def filename(self): name = os.path.basename(self.file.name) return name in views.py :

Guys i have issue while loading sub module in django app

2022-08-27 Thread देव Hingu
Please check here for my problem https://stackoverflow.com/questions/73499743/cant-find-load-sub-module-inside-django-appmodule-dynamically -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving