Re: Facing Problem

2022-09-10 Thread 'Kasper Laudrup' via Django users
On 10/09/2022 12.00, Anil Singh wrote: Dear All When i running our program then coming this type of error, what is solutions Hard to know since you haven't provided enough information for anyone to help you. Remember that no one has any idea what you are trying to achieve, what your code

Re: Facing Problem

2022-09-10 Thread pankaj palmate
Hi Anil , you might need to pass Id In your view as argument On Sat, 10 Sep, 2022, 9:51 pm Anil Singh, wrote: > Dear All > When i running our program then coming this type of error, what is > solutions > > TypeError at /errorapi/insuranceDetails/get() missing 1 required > positional argument: 'i

Facing Problem

2022-09-10 Thread Anil Singh
Dear All When i running our program then coming this type of error, what is solutions TypeError at /errorapi/insuranceDetails/get() missing 1 required positional argument: 'id' Request Method: GET Request URL: http://127.0.0.1:8000/errorapi/insuranceDetails/ Django Version: 2.1.7 Exception Type

Re: i am facing problem with my project to update data in mysql using django

2022-06-20 Thread andrew snyder
can you conform that database user has permissions to update data in all three databases using a mysql client? On Thursday, June 16, 2022 at 12:02:00 PM UTC-4 rafiurra...@gmail.com wrote: > here is my problem description link in stackoverflow > if anyone can help me, i will be gratefull > > lin

i am facing problem with my project to update data in mysql using django

2022-06-16 Thread rafiur rahman rafit
here is my problem description link in stackoverflow if anyone can help me, i will be gratefull linkproblem link -- You received this message because you are subscribed to the Google Groups "Django us

Re: Facing problem to display dynamic (name,description of places AND price)on the web page using Django

2021-06-06 Thread Bradie Poa
please use the code below: def index(request): context = {} return render(request, 'index.html' , context) On Thu, 3 Jun 2021 at 16:52, Michael Smith wrote: > You can't have three of the same name view either can you? > > On Thu, Jun 3, 2021 at 9:36 AM Nandaniya Nilesh < > nileshnandan

Re: Facing problem to display dynamic (name,description of places AND price)on the web page using Django

2021-06-03 Thread Michael Smith
You can't have three of the same name view either can you? On Thu, Jun 3, 2021 at 9:36 AM Nandaniya Nilesh < nileshnandaniya...@gmail.com> wrote: > hello, > I am nilesh, > i think every funtion should return something. > > return dests from index named function. > last line is not with any functi

Re: Facing problem to display dynamic (name,description of places AND price)on the web page using Django

2021-06-03 Thread Nandaniya Nilesh
hello, I am nilesh, i think every funtion should return something. return dests from index named function. last line is not with any function def main(): .. def index(): .. return dest1 def index(): .. return dest2 def index(): .. return dest3 dests = [...] return render(...

Facing problem to display dynamic (name,description of places AND price)on the web page using Django

2021-06-03 Thread UJJWAL AGRAWAL
Dear team I am facing a problem with error While writing this code ERROR IS: RETURN OUTSIDE FUNCTION Please help me solving this issue. from django.shortcuts import render from .models import Destination # Create your views here. def index(request): dest1 = Destination() dest1.name ='

Re: " AttributeError at /register/ " facing problem in implementing user registration

2020-05-24 Thread Kasper Laudrup
Hi Madhav, On 24/05/2020 13.08, Madhav Nandan wrote: I'm creating a register page. see the screenshot below., I'm following lectures and doing as instructed but still stuck. I don't see how the screenshots are related to the issue you are having. Please explain. here is the source code

Re: " AttributeError at /register/ " facing problem in implementing user registration

2020-05-24 Thread Kasper Laudrup
Hi Madhav, On 24/05/2020 04.54, Madhav Nandan wrote: Hi, I need help here. I did the required changes in forms.py as well as in view.py but my user registration still not working. Once again, try to make sense from the error messages. They are actually pointing to your problem quite clearl

Re: Facing problem in creating login with EMAIL and creating OTP authentication.

2020-05-09 Thread Eric Kamara
Have you tried Django Two-Factor authentication ? On Sat, 9 May 2020 at 22:10, Utkarsh Gupta wrote: > I am doing a project in which I have to create a login app which only > logins with EMAIL ID. There is permission given to certain email

Facing problem in creating login with EMAIL and creating OTP authentication.

2020-05-09 Thread Utkarsh Gupta
I am doing a project in which I have to create a login app which only logins with EMAIL ID. There is permission given to certain email ids and only those email ids could login. After the login the user will be provided with an OTP on the required email for authentication. So, know how to go abo

Re: am new to the django ,facing problem in searching the database with primary key(student id)

2012-06-26 Thread rick
thanks my friend... On Tuesday, June 26, 2012 6:29:10 PM UTC+5:30, bruno desthuilliers wrote: > > > > On Tuesday, June 26, 2012 8:47:27 AM UTC+2, rick wrote: >> >> Reverse for 'add_record.views.search' with arguments '(> Student_login object>,)' and keyword arguments '{}' not found. >> >> > Your

Re: am new to the django ,facing problem in searching the database with primary key(student id)

2012-06-26 Thread bruno desthuilliers
On Tuesday, June 26, 2012 8:47:27 AM UTC+2, rick wrote: > > Reverse for 'add_record.views.search' with arguments '( Student_login object>,)' and keyword arguments '{}' not found. > > Your problem is with reverse url resolving, not with "searching the database". -- You received this message

am new to the django ,facing problem in searching the database with primary key(student id)

2012-06-26 Thread rick
Reverse for 'add_record.views.search' with arguments '(,)' and keyword arguments '{}' not found. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/_HT0ni6iu

Re: facing problem with magnolia sync script

2008-04-14 Thread stranger
Can anyone suggest a solution to get over the problem On Apr 13, 10:58 pm, stranger <[EMAIL PROTECTED]> wrote: > Hello everybody, > >        I am writing a blog app where I am syncing mymagnolialinks to > my weblog. I am using themagnoliaAPI for this. In my link model I > have a 'add_date' field

facing problem with magnolia sync script

2008-04-13 Thread stranger
Hello everybody, I am writing a blog app where I am syncing my magnolia links to my weblog. I am using the magnolia API for this. In my link model I have a 'add_date' field to sync the created time of the magnolia link. In the syncing function I am using add_date = datetime(*(time.s