Re: How to run an already built django project with docker?

2021-03-28 Thread DJANGO DEVELOPER
I want to ask another question. please ignore my ignorance. what if I don't use docker up or run, then will it be possible to run the django project? On Mon, Mar 29, 2021 at 11:49 AM DJANGO DEVELOPER wrote: > okay, thank you for the suggestion. > > On Mon, Mar 29, 2021 at 11:45 AM Kunal Solanke

Re: How to run an already built django project with docker?

2021-03-28 Thread DJANGO DEVELOPER
okay, thank you for the suggestion. On Mon, Mar 29, 2021 at 11:45 AM Kunal Solanke wrote: > If you know how to containerize a project you should know how to run that > containarized image, that's why I said to look for articles and anaylyse > the codebase > > docker run or docker-compose up > Th

Re: How to run an already built django project with docker?

2021-03-28 Thread Kunal Solanke
If you know how to containerize a project you should know how to run that containarized image, that's why I said to look for articles and anaylyse the codebase docker run or docker-compose up These are most like going to be used On Mon, Mar 29, 2021, 12:12 DJANGO DEVELOPER wrote: > well, I alre

Re: How to run an already built django project with docker?

2021-03-28 Thread DJANGO DEVELOPER
well, I already know how to containerise a new Django project. but Idk how to run an already containerised Django project. that's what is my question for now. and I am not allowed to share the code. so this was the only way to share my question. so can you help me with this information only? On Mo

Re: How to run an already built django project with docker?

2021-03-28 Thread Kunal Solanke
Thats really very little info, we don't know what's the state or configuration present in your codebase I'd suggest you to search articles with django and docker/docker-compose On Mon, Mar 29, 2021, 12:03 DJANGO DEVELOPER wrote: > Hi, > I have a django project which is already developed by anot

How to run an already built django project with docker?

2021-03-28 Thread DJANGO DEVELOPER
Hi, I have a django project which is already developed by another developer and it is containerised. Now the developer has send the project to me and wants me to do some changes in it? can anyone guide me that how can I run the project using docker again? database is postgresql. -- You received

Re: Models not found error

2021-03-28 Thread RANGA BHARATH JINKA
Hi, In BloodBank\urls.py file, Please check the include. It should contain .urls not .url at the end. So it is not able to find the urls file. All the best On Mon, Mar 29, 2021 at 2:06 AM Kasper Laudrup wrote: > On 28/03/2021 18.57, Ritika Bokde wrote: > > Can somebody help me to resolve th

Re: Models not found error

2021-03-28 Thread Kasper Laudrup
On 28/03/2021 18.57, Ritika Bokde wrote: > Can somebody help me to resolve this error > > ModuleNotFoundError: No module named 'BloodBankDetails' > It's hard to tell for sure since you're posting pictures of code instead of posting the actual code, but it seems like you haven't defined a class/m

Re: Data from form is not being saved in DB

2021-03-28 Thread Kunal Solanke
To use name urls, you should use this format app_name:name Where name is the name your assigned to the path while defining urls On Sun, Mar 28, 2021, 21:36 Ryan Nowakowski wrote: > Please post the full error including the traceback and any additional > information. > > On March 24, 2021 2:59:27

Re: how to use reverse query data from a child model to do arithmetic's in parent model?

2021-03-28 Thread Ryan Nowakowski
On March 28, 2021 1:42:50 AM CDT, Vansh Jagyasi -IIITK wrote: >I have created a model location, and a model transaction which has a >many >to one relation with location which has the information of a >transaction >done at a particular location, say 3 dollars spent at macdonalds, now I > >wan

Re: Data from form is not being saved in DB

2021-03-28 Thread Ryan Nowakowski
Please post the full error including the traceback and any additional information. On March 24, 2021 2:59:27 AM CDT, "Герман Свердлов" wrote: >Hi all! > >I'm newbie in Django, still trying to figure out how everything works >and >this is my first back end framework, that I'm using. Currently b

Re: runserver problem

2021-03-28 Thread Admission Solution
i solved it. Thanks & Regards On Sun, 28 Mar 2021 at 20:19, pankaj palmate wrote: > It seems you have not installed django properly > > On Sun, 28 Mar, 2021, 7:34 pm Sujit Mandal, wrote: > >> i am totally new with django. I tried to print Hello World in my first >> app but i failed. Cmd showed

Re: runserver problem

2021-03-28 Thread pankaj palmate
It seems you have not installed django properly On Sun, 28 Mar, 2021, 7:34 pm Sujit Mandal, wrote: > i am totally new with django. I tried to print Hello World in my first app > but i failed. Cmd showed some error but i can't understand what i make > mistake. > > ERROR: > > C:\Users\Admission So

runserver problem

2021-03-28 Thread Sujit Mandal
i am totally new with django. I tried to print Hello World in my first app but i failed. Cmd showed some error but i can't understand what i make mistake. ERROR: C:\Users\Admission Solution\allprojects\telusko>python manage.py runserver Traceback (most recent call last): File "C:\Users\Admiss

how to use reverse query data from a child model to do arithmetic's in parent model?

2021-03-28 Thread Vansh Jagyasi -IIITK
I have created a model location, and a model transaction which has a many to one relation with location which has the information of a transaction done at a particular location, say 3 dollars spent at macdonalds, now I want to find all the transactions related to a particular location and add t

Re: hi mates trouble with ajax 500 error server

2021-03-28 Thread frank galan
Thanks a lot, you're right. I solved it. Thanks El dom, 28 mar 2021 a las 0:57, Kasper Laudrup () escribió: > On 27/03/2021 21.41, frank galan wrote: > > thanks, here is the server error response > > > > NameError: name 'JsonResponse' is not defined > > > > That error message should be fairly ob