Re: 404 error

2020-09-12 Thread Kunal Solanke
I think he have created the music url, But the {{album_id}} is not properly passed as context from view. On Sat, Sep 12, 2020, 12:52 'Amitesh Sahay' via Django users < django-users@googlegroups.com> wrote: > At the first glance, I think you havn't created URL pattern for "music". > May bejus

Re: 404 error

2020-09-12 Thread Kunal Solanke
In your template it should be {{album.id}} or {{album.album_id}} depending how your models are.I am talling about href in anchor tag. On Sat, Sep 12, 2020, 12:54 Kunal Solanke wrote: > I think he have created the music url, > But the {{album_id}} is not properly passed as context fro

Re: 404 error

2020-09-12 Thread Kunal Solanke
< > django-users@googlegroups.com> wrote: > >> You are trying "http://127.0.0.1:8000/music//"; >> <http://127.0.0.1:8000/music//> >> >> try something like >> >> http://127.0.0.1:8000// >> >> Regards, >> Amitesh >>

Re: Volunteer wanted: convert Mathics Django from 1.x to 2.x or 3.x

2020-09-15 Thread Kunal Solanke
I would like to do this too. On Wed, Sep 16, 2020, 11:16 Ogunsanya Opeyemi wrote: > Hi i would like to . > > On Tuesday, September 15, 2020, rocky.bernst...@gmail.com < > rocky.bernst...@gmail.com> wrote: > >> Mathics is a general-purpose computer algebra system (CAS). It is an >> open-source al

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

Re: job portal using django

2020-09-25 Thread Kunal Solanke
Anson developer ,not a big youtuber but ,he has been doing same project with react .You can just take an idea or if you want to make your project little bit intersting ,do it with react and django.πŸ‘ŒπŸ‘Œ On Fri, Sep 25, 2020, 09:14 Lane Campbell wrote: > There are a lot of tutorials for creating app

Re: Django Due control in Django

2020-10-01 Thread Kunal Solanke
You can add a field in custom user model or profile model if the user is authorized (boolean)or not ,and stop the navigation for user until this authorize field is set to true. You can either create a decorator for that or just check in every view fn. The authorize field can be changed from the

Re: Ajax, jQuery and Django

2020-10-05 Thread Kunal Solanke
Rather than sending ajax every time handle it on frontend in javascript On Mon, Oct 5, 2020, 13:35 Salima Begum wrote: > Hi all, > I have database of zip code for example, > INSERT INTO pages_zip_code (id, zip, city, st) VALUES > (1, '00501', 'Holtsville', 'NY'), > (2, '00544', 'Holtsville', 'NY

Re: need assistant

2020-10-19 Thread Kunal Solanke
Can you tell more about projects ? On Thu, Oct 15, 2020, 23:13 John Rajesh wrote: > Share about the Django projects > On 15 Oct 2020 20:31, "ericki...@gmail.com" > wrote: > >> hello guys am new at Django , i have couple of projects for Django and >> pyside2 if anyone is willing to assist me in

Re: Video calling app

2020-12-03 Thread Kunal Solanke
WEBRTC is what you want to do. You can easily do with a cloud based solutions like peerjs. On Thu, Dec 3, 2020, 22:56 sakshi jain wrote: > I want partnership > > On Thu, Dec 3, 2020, 22:54 Ronak Mistry wrote: > >> Hello there, >> I wanted to create a Django project on the video calling app. Can

Re: how to install pyenv-virtualenv on windows

2021-01-10 Thread Kunal Solanke
I recently started using pipenv, but still I can say its best thing so far I have used for storing env variables,creating venv and etc,with one simple command your virtualenv will be activated,without having to worry about where your venv files are ,path and etc . Have a look at it. What do you thi

Re: DJANGO AWS: Failed to load resource: the server resp....403 (Forbidden)

2021-02-04 Thread Kunal Solanke
Well, still its first time I read him being sarcastic or kind of fed up.Its hilarious 🀣. On Fri, Feb 5, 2021, 11:36 Benny M wrote: > Lightning, > I think what Kasper means to say is that there are a few reasons why AWS > isn’t authorizing your request, and the likelihood that Django is somehow >

Re: Filtering serializermethodfield in DRF

2021-02-23 Thread Kunal Solanke
I don't the exact use case here, but you can pass context while passing data to specializer.And then use it inside creializer clas by self.context. In this case you can pass query params to context On Wed, Feb 24, 2021, 10:15 shreeh...@gmail.com wrote: > I have to filter my queryset based on a q

Re: Chat Application in Django

2021-03-10 Thread Kunal Solanke
πŸ˜‚πŸ˜‚ On Thu, Mar 11, 2021, 00:07 sakshi jain wrote: > ur chat appilication in django > > On Thu, Mar 11, 2021, 00:05 Kasper Laudrup wrote: > >> On 10/03/2021 19.25, sakshi jain wrote: >> > in ur project >> > >> >> Which project? >> >> -- >> You received this message because you are subscribed to

Re: Chat Application in Django

2021-03-10 Thread Kunal Solanke
Ig there is some confusion here,So op asked que about chat ,kasper and one other guy answered it.There was no mentions of project or someone looking for team members. On Thu, Mar 11, 2021, 00:07 Kunal Solanke wrote: > πŸ˜‚πŸ˜‚ > > > On Thu, Mar 11, 2021, 00:07 sakshi jain wrote:

Re: How to disable django views in the browser

2021-03-10 Thread Kunal Solanke
Idk the overall use case here , But if the prject is reasonably bigger and you want to use class based views, I'd suggest you to use drf. But you if you don't want to use that,you will have to overide most to the CBV given by djnango as most of them expect a success url or a template that they rend

Re: How to disable django views in the browser

2021-03-10 Thread Kunal Solanke
Please ignore typos. On Thu, Mar 11, 2021, 01:30 Kunal Solanke wrote: > Idk the overall use case here , > But if the prject is reasonably bigger and you want to use class based > views, I'd suggest you to use drf. > But you if you don't want to use that,you will have

Re: How to disable django views in the browser

2021-03-10 Thread Kunal Solanke
Ok in that case, drf by default sets a browsableapi render on all of the views and viewsets, either overide that in settings, or use renderer_classes=(JSONRendere,) in views in which yiu want to stop it. Search for BrowsableAPIRenderer. Ig you should have mentioned drf sooner. On Thu, Mar 11,

Re: How to disable django views in the browser

2021-03-10 Thread Kunal Solanke
By doing this you won't be able to stop the get requests from browser, but post requests can be stopped. On Thu, Mar 11, 2021, 01:42 Kunal Solanke wrote: > Ok in that case, drf by default sets a browsableapi render on all of the > views and viewsets, either overide that in setti

Re: How to disable django views in the browser

2021-03-10 Thread Kunal Solanke
Also you will need to add allowed hosts in djnago settung to stop requests from untrusted origins On Thu, Mar 11, 2021, 01:43 Kunal Solanke wrote: > By doing this you won't be able to stop the get requests from browser, but > post requests can be stopped. > > On Thu, Mar 11,

Re: django social login with github issue

2021-03-10 Thread Kunal Solanke
I'd have answered on stack itself but it seems kind of pointless to ask question to another queations there.ps I don't have rep to comment. Anyways, ques I have here is are you opening admin panel in same window? If so open in incognito mode. Another are the user objects getting created in admin

Re: How to disable django views in the browser

2021-03-10 Thread Kunal Solanke
Won't you end up stopping multipart requests in that case? On Thu, Mar 11, 2021, 02:36 Ryan Nowakowski wrote: > On Wed, Mar 10, 2021 at 07:43:55AM -0800, Mostapha Bouderka wrote: > > I'm working on a project with react and django; and want to use django > > views to be used as information sour

Re: Model inheritance with optional self reference

2021-03-11 Thread Kunal Solanke
That's too hard of a problem statement for me,ig more experienced people will be able to answer it more properly. But if its 99.99% I'd go with whatever you have right now, rather than creating bunch or proxy models. On Thu, Mar 11, 2021, 16:06 Mateusz Wroblewski wrote: > Hi All, > > does anybod

Re: Model inheritance with optional self reference

2021-03-11 Thread Kunal Solanke
Btw parts should be a m2m field ig. On Thu, Mar 11, 2021, 16:14 Kunal Solanke wrote: > That's too hard of a problem statement for me,ig more experienced people > will be able to answer it more properly. But if its 99.99% I'd go with > whatever you have right now, rather tha

Re: Push notification as like Udemy.

2021-03-13 Thread Kunal Solanke
Easiest way you can see libraries like fcm_djnago or pyfcm. Those use cloud messaging by firebase and other providers. On Sun, Mar 14, 2021, 09:20 Azharul Islam Somon < azharul.techfor...@gmail.com> wrote: > > Good day! > I am working on real-time push notification using Django. > Now, i have se

Re: Required Django & React Full Stack Developer.

2021-03-14 Thread Kunal Solanke
Did you forget to mention stipend or what πŸ˜‚πŸ˜‚πŸ˜‚ !! Work from home is a perk? ps:Not interested coz i don't match the criterion.πŸ˜‚πŸ˜‚. On Sun, Mar 14, 2021, 15:08 Sujayeendra G wrote: > Dear Friends. > > I'm in the requirement of a full time developer for an ongoing E-commerce > project. who is able

Re: Don't allow concurrent login from a user

2021-03-14 Thread Kunal Solanke
I am intrigued by the need to keep users logged in only one session.No one keeps track of when I logged into an app and from which tab and all, this will probably result in bad ux, but anyways, user.is_authenticated() won't work, it keeps track of session of users. What you can do is either imple

Re: Don't allow concurrent login from a user

2021-03-14 Thread Kunal Solanke
multiple sessions. On Mon, Mar 15, 2021, 01:42 Kunal Solanke wrote: > I am intrigued by the need to keep users logged in only one session.No one > keeps track of when I logged into an app and from which tab and all, this > will probably result in bad ux, but anyways, > > user.is_authen

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 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

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

2021-03-28 Thread Kunal Solanke
his information only? > > On Mon, Mar 29, 2021 at 11:39 AM Kunal Solanke > wrote: > >> 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 do

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

2021-03-29 Thread Kunal Solanke
nce. > 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-29 Thread Kunal Solanke
On Mon, Mar 29, 2021 at 12:07 PM DJANGO DEVELOPER > wrote: > >> oh great. so it will not affect the containerised project. right? >> >> On Mon, Mar 29, 2021 at 12:03 PM Kunal Solanke < >> kunalsolanke1...@gmail.com> wrote: >> >>> Yeah its possible to ru

Re: override save() twice in django model!

2021-05-01 Thread Kunal Solanke
I don't think so, why not do in one function or you can use pre save and pist save signals On Sat, May 1, 2021, 19:11 RITIK SONI wrote: > am i able to override save() method of a django model twice? > > -- > You received this message because you are subscribed to the Google Groups > "Django user

Re: Project available

2020-05-11 Thread Kunal Solanke
Info plz On Mon, May 11, 2020, 11:35 maninder singh Kumar wrote: > Dear group members, > > I have a django project available the flowcharts of which will be up in 1 > week. Write or call if interested ? > > Willy > +91 9910669700 > wi...@kawapeople.com > > Sent from my iPad > > -- > You receive

Re: Please help me out!

2020-06-19 Thread Kunal Solanke
Django channels On Fri, Jun 19, 2020, 12:01 meera gangani wrote: > Hello , > > I want to implement a Notification module in my Project > could you please help me out! > > > Thank you > -Meera Gangani > > -- > You received this message because you are subscribed to the Google Groups > "Dj

Re: Project Collaboration Team

2020-06-23 Thread Kunal Solanke
Yup.I am intrested. On Tue, Jun 23, 2020, 09:44 Shubhanshu Arya wrote: > Hello Everyone, > I want to make a team in which we will make some very good level projects > together. These projects will be very helpful in our interview as well. > Must have prior knowledge about Django/Python. We will

Re: Collaborators

2020-06-26 Thread Kunal Solanke
Hi I am kunal solanke. This is my portfolio It has my resume and work. https://voldemort-acer.github.io/Portfolio/ Even though I might be underqualified for your requirements .I will be happy If you consider me as learning associate/small contibutor. Please do reply!! On Fri, Jun 19, 2020

Re: note sharing

2020-07-10 Thread Kunal Solanke
If you don't want to do complicated things just add manytomany field for sharewith in note model And while user requests the notes page just make a query to database Notes.objects.filter(Q(sharedwith=current_user ) l Q(author=currentuser)) And send this back to user Imp-while creating a note u

Re: Django channels handshake failed

2020-08-06 Thread Kunal Solanke
Make sure ur cache db is running redis if you are using thay On Thu, Aug 6, 2020, 22:57 shreeh...@gmail.com wrote: > When i try to connect to the socket with js(from chrome console), > handshake fails. when i try to connect the same port using > websocket-client(python), it connects without any

Re: How to pass a set of objects in between two views?

2020-08-24 Thread Kunal Solanke
Two things come to my mind 1.Either create a questionlist model with for each user. 2.Bind questionlist to session. On Mon, Aug 24, 2020, 20:01 vipul shinde wrote: > from django.shortcuts import render, redirect > from .models import * > from .forms import UserForm > from django.contrib.auth.for

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread Kunal Solanke
500 is actually a internal server error ,it can easily resolved by just looking at the logger ,it dosen't only mean syntax error and definately not syntax errors of html file .Html file syntax errors are simply ignored I think you meant jinja code.Basic way to go around these is simply check the lo

Re: Page 3

2020-08-29 Thread Kunal Solanke
he is saying about the ")" read what you wrote slowly... On Sun, Aug 30, 2020, 03:06 rbarh...@gmail.com wrote: > In the above problem example, this statement does not seem to work: > ``` > from django.urls import path > ``` > why not > > On Saturday, August 29, 2020 at 2:29:51 PM UTC-7 r

Re: Page 3

2020-08-29 Thread Kunal Solanke
And yes plz don't ever paste code like this .Either use pastebin or take screen shots of pc not by phone. On Sun, Aug 30, 2020, 08:32 Kunal Solanke wrote: > he is saying about the ")" read what you wrote slowly... > > On Sun, Aug 30, 2020, 03:06 rbarh...@gmail.c

Re: MultiValueDictKeyError

2020-08-29 Thread Kunal Solanke
If you are using fetch try printing out request.body You may have to json parse this body if it exists . On Sun, Aug 30, 2020, 01:14 Varun Kumar wrote: > > https://stackoverflow.com/questions/5895588/django-multivaluedictkeyerror-error-how-do-i-deal-with-it > > > Refer to the above webpage. I

Re: help on my quizz app

2020-08-30 Thread Kunal Solanke
Check out pagination under Listview in django ,or handle dom with js. On Sun, Aug 30, 2020, 14:45 ola neat wrote: > hey guys, I need help, I'm working a a simple quizz app, but now i nid > help on how to make the users navigate from 1 question to the other( using > next button after answering th

Re: wrong time in query

2020-08-30 Thread Kunal Solanke
Are you using timezone for saving time which is exported from django.utils or the python datetime module? On Sun, Aug 30, 2020, 23:34 Soumen Khatua wrote: > Hi Folks, > In my model one *column *is their called *start *which is *datetime field* > and start is storing *datetime *by using *django s

Re: Job Request As A Software Developer

2022-09-01 Thread Kunal Solanke
I don't have any job openings in mind, but I'd suggest you make your CV again. 1. Keep it 2 pages tops(this is important) 2. No need for about keep it in your linkdein 3. Create Education, Experience and projects and Achievements. 4. Include top 2-3 experiences and projects to make it shorters 5.