RE: Help me with the view please

2020-09-22 Thread fadhil alex
Thanks for your previous tips, and I have already created the get_absolute_url for my DetailView and It is working just finedef get_absolute_url(self):return reverse("student_detail", kwargs={"pk": self.pk})I think now I can learn from you how use views to generate my output Sent from M

Django channels

2020-09-22 Thread zidan....@gmail.com
Hi there . its my first time to post on this comunity and i'm very happy to to do that. I'm using djnago channels `AsyncWebsocketConsumer` consumer . pay attention to `receive` method in my code .in i cant understand why this code block `await self.channel_layer.group_send` called after this

Re: Looking to join a team in a Django Project to gain Experience

2020-09-22 Thread Hamza Mirchi
interested On Tue, Sep 22, 2020 at 5:39 AM ahmed.he...@gmail.com < ahmed.heshamel...@gmail.com> wrote: > Hi all, > > I am looking for a team of developers to join them in a project to enhance > my skills and add to my portfolio. I am available part time. > > Thanks > > -- > You received this mes

Re: Looking to join a team in a Django Project to gain Experience

2020-09-22 Thread Tessnim Zrayga
I like the idea. interested. Le mar. 22 sept. 2020 à 11:59, Hamza Mirchi a écrit : > interested > > On Tue, Sep 22, 2020 at 5:39 AM ahmed.he...@gmail.com < > ahmed.heshamel...@gmail.com> wrote: > >> Hi all, >> >> I am looking for a team of developers to join them in a project to >> enhance my sk

Re:Looking to join a team in a Django Project to gain Experience

2020-09-22 Thread Ahmed Yasin
Sent from my Huawei phone Original message From: Tessnim Zrayga Date: Tue, Sep 22, 2020, 4:28 PMTo: django-users@googlegroups.comSubject: Re: Looking to join a team in a Django Project to gain ExperienceI like the idea.interested.Le mar. 22 sept. 2020 à 11:59, Hamza Mirchi

Re: Help me with the view please

2020-09-22 Thread Let's Get Going
Hey everyone I am working on a miniChatProject. I have an error in that. Can anyone help me with that? Let me know if you can help me via email. I will share my AnyDesk unique id with you. On Tue, 22 Sep 2020 at 07:02, coolguy wrote: > I have made some changes to the model.py and now methods/fu

Django Migrations: Converting a PK field to ID + PK for Multi-table Inheritance

2020-09-22 Thread Julian Klotz
Dear Django community, in a project, I’m struggling to fix a problem with my database schema and data migrations. Here’s what I want to do: My application used to have a “Person” model. As time went by, it turned out that we would also need an model for “Organization”. Both should inherit the

Re: Looking to join a team in a Django Project to gain Experience

2020-09-22 Thread Cesar Alvarez
Hi there, At the moment I am working in a web application which I am going to offer to a company who I know need it, this web application will be used to improve internal auditors jobs from that company! It would be a pleasure to involve you in this project and becoming us partners went the client

Re: Looking to join a team in a Django Project to gain Experience

2020-09-22 Thread Kunal Solanke
Is there any place remaining on the team🙄🙄🙄 On Tue, Sep 22, 2020, 18:52 Cesar Alvarez wrote: > Hi there, > At the moment I am working in a web application which I am going to offer > to a company who I know need it, this web application will be used to > improve internal auditors jobs from that

Help in deploying my app!!!!!!!

2020-09-22 Thread Vishwajit Bhagat
Hey developers! I am a beginner .I have created an app actually two separate apps backend django api and frontend using react and the api requests for crud operations are made through axios.Now I wanna deploy it but the problem is should I deploy it separately or as single app . If single app,

Re: Help in deploying my app!!!!!!!

2020-09-22 Thread RANGA BHARATH JINKA
Hi, For deploying both as a single, you have to run npm run build. Then Link in django settings templates the build path of the dist folder. Every time you make a change run, npm run build. All the best. On Tue, Sep 22, 2020 at 7:35 PM Vishwajit Bhagat < vishwajit20bha...@gmail.co

Re: Help in deploying my app!!!!!!!

2020-09-22 Thread Vishwajit Bhagat
Thanks bro. I will reach you if I got errors. On Tue, Sep 22, 2020, 7:55 PM RANGA BHARATH JINKA wrote: > Hi, > > For deploying both as a single, you have to run npm run build. > Then Link in django settings templates the build path of the dist > folder. > Every time you make a change

Re: Help in deploying my app!!!!!!!

2020-09-22 Thread RANGA BHARATH JINKA
Sure 👍 On Tue, 22 Sep 2020, 8:06 pm Vishwajit Bhagat, wrote: > Thanks bro. I will reach you if I got errors. > > On Tue, Sep 22, 2020, 7:55 PM RANGA BHARATH JINKA < > bharathjink...@gmail.com> wrote: > >> Hi, >> >> For deploying both as a single, you have to run npm run build. >> Then Li

Re: How can I filter django many to many models?

2020-09-22 Thread coolguy
in your line below you are using field named 'vendor_details' which should be in User mode... but i don't see it there... can you please check again seller_list = *User*.objects.select_related('*vendor_details*') On Tuesday, September 22, 2020 at 2:21:13 AM UTC-4 asadliv...@gmail.com wrote:

Re: How can I filter django many to many models?

2020-09-22 Thread coolguy
in your line below you are using field named '*vendor_details*' which should be in User model... but i don't see it there... can you please check again seller_list = *User*.objects.select_related('*vendor_details*') On Tuesday, September 22, 2020 at 2:21:13 AM UTC-4 asadliv...@gmail.com wrot

Re: Looking to join a team in a Django Project to gain Experience

2020-09-22 Thread Lokesh Kumar
Looking forward to working with you. On Tue, Sep 22, 2020 at 6:09 AM ahmed.he...@gmail.com < ahmed.heshamel...@gmail.com> wrote: > Hi all, > > I am looking for a team of developers to join them in a project to enhance > my skills and add to my portfolio. I am available part time. > > Thanks > >

Re: Looking to join a team in a Django Project to gain Experience

2020-09-22 Thread Lokesh Kumar
Highly interested. On Tue, Sep 22, 2020 at 6:51 PM Cesar Alvarez wrote: > Hi there, > At the moment I am working in a web application which I am going to offer > to a company who I know need it, this web application will be used to > improve internal auditors jobs from that company! > It would b

LOCK AND UNLOCK PAGES TO SPECIFIC USERS

2020-09-22 Thread Lightning Bit
How can one lock a page "unless" the user clicks on a button on a previous page? So, for instance, the user will not be able to type in that url and get to the page unless they have clicked the button on the previous page at some point in time. Also, how can you lock someone out of a page unle

Stuck with Calculated feild

2020-09-22 Thread eankomah
Hi all am stuck at getting total_price Calculated in my model class inventory(models.Model): def __str__(self): return self.name category = models.ForeignKey(Category, null=True, on_delete = models.SET_NULL) Supplier = models.ForeignKey(Supplier, null=True, on_delete = model

Re: Stuck with Calculated feild

2020-09-22 Thread dr neyx de godlove
hi there you can create another method for that class that calculates the total as @property def get_total_price(self): total_price = self.unit_price * self.quantity return total_price On Wed, Sep 23, 2020 at 8:24 AM eankomah wrote: > Hi all am stuck at getting total_price Calculate