Re: Error while running '$ python manage.py collectstatic --noinput'.

2023-12-19 Thread ram.mu...@gmail.com
Hi Ihor, Thank you for your email. We do not have any reference to heroku but Digital Oceanś App platform is using heroku. We resolved the above error by adding this environment variable: DISABLE_COLLECTSTATIC = 1 But we are planning to enable this once the main deployment is done. Best

Re: Error while running '$ python manage.py collectstatic --noinput'.

2023-12-18 Thread Ihor Dmytrenko
Why you have heroku in your log? Remove all old dependency configs in your settings first and then you need specify ```python STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static'), ] STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') STATIC_URL = '/static/' HOME_DIRECTORY_SELF_STORAGE =

Re: Error while running '$ python manage.py collectstatic --noinput'.

2023-12-16 Thread ram.mu...@gmail.com
Here is the static files setting that we have in our settings.py file: *STATIC_URL = '/static/'STATIC_ROOT = os.path.join(BASE_DIR, 'static')* On Saturday, December 16, 2023 at 7:02:46 PM UTC-7 Ram wrote: > Hi, > > Did anyone hit this error before during production server or any type of >

Re: Error while showing detailed post

2023-08-22 Thread Mvd Raghava
what issue are you facing. please send the error On Sat, Aug 19, 2023 at 9:03 PM Dhiraj Kumar wrote: > Hi new in Django, > > I want to display details post to the template but facing issue while > trying to fetch post by id on the click of Continue Reading > , > Views.py > > def show(request,

Re: Error regarding Deployment on Vercel

2023-08-07 Thread krishna soni
how? On Sunday, 6 August, 2023 at 10:09:37 pm UTC+5:30 Mithilesh Rawani wrote: > Yes it's easy > > On Sun, 6 Aug 2023, 4:36 pm krishna soni, wrote: > >> recently I have deployed a project on vercel " >> https://blogstar-web.vercel.app/; >> giving me error 404 not found can any one tell why

Re: Error regarding Deployment on Vercel

2023-08-06 Thread Mithilesh Rawani
Yes it's easy On Sun, 6 Aug 2023, 4:36 pm krishna soni, wrote: > recently I have deployed a project on vercel " > https://blogstar-web.vercel.app/; > giving me error 404 not found can any one tell why this error is coming > ??? I have searched on google regarding this but not found helpful

Re: Error: name 'include' is not defined

2023-04-02 Thread Larry Stevens
Perfect, thank you Larry Stevens (571) 289-7658 On Wed, Mar 22, 2023 at 9:49 AM Harouna Diallo wrote: > You must Import include : from django.urls import path, include > > On Wed, Mar 22, 2023 at 12:53 PM Larry Stevens > wrote: > >> Hello, >> >> I'm brand new to Django taking an online course

Re: Error installing mysqlclient in WSL2, Ubuntu 20.04.

2023-03-29 Thread Anh Nguyen
I highly recommend use docker for it On Tue, 28 Mar 2023 at 04:17 Hernan Gustavo wrote: > This is a problem with the legacy install. Try to install it with the > command pip install mysqlclient --use-pep517 > > El dom, 26 mar 2023 a la(s) 14:42, Muhammed Lawal ( > lawalmuhammed...@gmail.com)

Re: Error installing mysqlclient in WSL2, Ubuntu 20.04.

2023-03-27 Thread Hernan Gustavo
This is a problem with the legacy install. Try to install it with the command pip install mysqlclient --use-pep517 El dom, 26 mar 2023 a la(s) 14:42, Muhammed Lawal ( lawalmuhammed...@gmail.com) escribió: > Hello everyone. > I'm trying to setup MySQL server for my django project but I couldn't

Re: Error: name 'include' is not defined

2023-03-23 Thread Ikrombek
How can I use for dental clinic, For example, do I need to include 32 fields from the model to specify 32 teeth, or is there a way to do it in one? On Wednesday, March 22, 2023 at 8:24:18 PM UTC+5 Larry Stevens wrote: > Perfect, problem solved. > Thank you so much Jeman, Harouna, and Robinson.

Re: Error: name 'include' is not defined

2023-03-22 Thread Larry Stevens
Perfect, problem solved. Thank you so much Jeman, Harouna, and Robinson. Greatly appreciated. On Wednesday, March 22, 2023 at 11:16:58 AM UTC-4 Robinson wrote: > import path, include > > > On Wed, Mar 22, 2023 at 4:49 PM Harouna Diallo wrote: > >> You must Import include : from django.urls

Re: Error: name 'include' is not defined

2023-03-22 Thread Robinson
import path, include On Wed, Mar 22, 2023 at 4:49 PM Harouna Diallo wrote: > You must Import include : from django.urls import path, include > > On Wed, Mar 22, 2023 at 12:53 PM Larry Stevens > wrote: > >> Hello, >> >> I'm brand new to Django taking an online course in Python. >> I created a

Re: Error: name 'include' is not defined

2023-03-22 Thread Harouna Diallo
You must Import include : from django.urls import path, include On Wed, Mar 22, 2023 at 12:53 PM Larry Stevens wrote: > Hello, > > I'm brand new to Django taking an online course in Python. > I created a project named 'django_test' and I'm in the process of creating > a very simple app named

Re: Error: name 'include' is not defined

2023-03-22 Thread Jeman Kumar
hi, replace the line "from django.urls import path" to "from django.urls import path, include" On Wed, 22 Mar, 2023, 6:22 pm Larry Stevens, wrote: > Hello, > > I'm brand new to Django taking an online course in Python. > I created a project named 'django_test' and I'm in the process of creating

Re: Error loading static file from a NAS (CIFS mounted) Not 404...

2023-02-27 Thread Hua Liang
Okay I think I know the problem. Apache2 has a bug with CIFS, set EnableMMAP Off in config will solve this. On Monday, February 27, 2023 at 6:29:12 AM UTC-8 Hua Liang wrote: > Hello, > > I have a django site and I have two storages serving static files. > One is a hard drive attached to the

Re: error problem

2023-02-21 Thread Ronnie Preal
Thank you David I will try again. Can I contact you if the problem persists. On Mon, Feb 20, 2023, 8:39 PM David Nugent wrote: > You appear to half only half asked your question and have provided no > context. > > Do you have a route named 'register'? [ URL(, name="register") ] (I > am

RE: ERROR DURING VIEWING SITE PART OF ADMIN

2023-02-21 Thread outlaw 2paczy
kindly help me to solve this error please -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on

Re: error problem

2023-02-20 Thread David Nugent
You appear to half only half asked your question and have provided no context. Do you have a route named 'register'? [ URL(, name="register") ] (I am guessing no, else this specific error would not occur) Guessing what you forgot to mention, check out some of the great tutorials available

Re: error

2022-11-06 Thread Seam
On Sun, 6 Nov 2022 at 18:30, Balogun Awwal wrote: > Thanks > > Sent from awwal > > On 5 Nov 2022, at 6:14 PM, Balogun Awwal wrote: > > I’m using *vscode* editor I’m not sure there is any typo but I will > recheck it > > Sent from awwal > > On 5 Nov 2022, at 5:41 PM, 'Kasper Laudrup' via

Re: error

2022-11-05 Thread 'Kasper Laudrup' via Django users
On 05/11/2022 16.38, Balogun Awwal wrote: I don’t understand what you mean That you made a typo in your settings. Using an editor that can highlight such mistakes can be quite convenient. Not only would it have saved you from having to post a question here, you wouldn't even have to

Re: error

2022-11-05 Thread Muhammad Juwaini Abdul Rahman
It's literally there. Vpziew in your middleware settings. On Sat, 5 Nov 2022 at 23:07, Balogun Awwal wrote: > everything was working perfectly befor until i installed django debug > toolbar > Exception in thread django-main-thread: > Traceback (most recent call last): > File >

Re: Error: pg_config executable not found. (psycopg2 for postgres in docker not successfully installed)

2022-11-03 Thread Adeyemi Deji
Also, i tried psycopg2-binary ànd still add the same error issue but when i updated the Dokerfile, things got normal. On Mon, 31 Oct 2022, 19:51 'Kasper Laudrup' via Django users, < django-users@googlegroups.com> wrote: > On 31/10/2022 19.32, Adeyemi Deji wrote: > > > > Hello, fam! > > > > Found

Re: Error: pg_config executable not found. (psycopg2 for postgres in docker not successfully installed)

2022-11-01 Thread Adeyemi Deji
Hi, I believe the the binary package is suitable for development and I plan integrating docker in my company's upcoming project, so I needed a package best for production. Thanks kasper On Mon, 31 Oct 2022, 19:51 'Kasper Laudrup' via Django users, < django-users@googlegroups.com> wrote: > On

Re: Error: pg_config executable not found. (psycopg2 for postgres in docker not successfully installed)

2022-10-31 Thread 'Kasper Laudrup' via Django users
On 31/10/2022 19.32, Adeyemi Deji wrote: Hello, fam! Found a solution to the problem. Updated the Dockerfile. Check below Great to hear you figured it out and thanks for sharing. Out of curiosity, any reason why you chose to build the psycopg2 package from source instead of using a

Re: Error: pg_config executable not found. (psycopg2 for postgres in docker not successfully installed)

2022-10-31 Thread Adeyemi Deji
Hello, fam! Found a solution to the problem. Updated the Dockerfile. Check below Thanks, guys... *Dockerfile* FROM python:3.8.3-slim ENV PIP_DISABLE_PIP_VERSION_CHECK=1 ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 WORKDIR /code RUN apt-get update \ && apt-get -y install

Re: Error: pg_config executable not found. (psycopg2 for postgres in docker not successfully installed)

2022-10-29 Thread 'Kasper Laudrup' via Django users
On 28/10/2022 12.35, Adeyemi Deji wrote: I have tried this command in Dockerfile: RUN pip install --user psycopg2==2.9.5 I got the command on StackOverflow but still didn't resolve the issue. Seems like you need the postgresql development package or similar to build psycopg2 from source.

Re: error extending base template

2022-10-11 Thread Chukwudi Onwusa
Give space in the html template tag I mean {% extends 'base.html' %} But if the base is nested inside a directory inside the template directory pls name the '../base.html' according. Thanks Hope it will be help. On Mon, Oct 10, 2022, 16:11 Namanya Daniel wrote: > hello, someone help me out. am

Re: error extending base template

2022-10-10 Thread ASAMOAH EMMANUEL
Make sure the template directory is located in the app directory or if it is in a different directory, ensure the location is specified at the template section in the settings.py file On Mon, Oct 10, 2022 at 3:11 PM Namanya Daniel wrote: > hello, someone help me out. am new to django and i

Re: Error: duplicate key value violates unique constraint

2022-09-23 Thread Shams Ulhaq
Make an other constraints pk and your issue is solved django by default make a pk as id On Sat, 24 Sept 2022, 10:46 Salima Begum, wrote: > Hi all, > > When I am posting data in the server here we have an issue where the > primary key already exists. For example, today I posted some data . I

Re: Error django.db.utils.OperationalError: no such column:

2022-04-27 Thread RANGA BHARATH JINKA
Hi, Run python manage.py makemigrations python manage.py migrate Thanks and Regards J. Ranga Bharath Cell: 9110334114 On Tue, 26 Apr 2022, 1:07 pm Israel Lewis, wrote: > Hello guys, > > I'm having an error in my models when I add the FK to the faculty or the > student. > model.py > from

Re: Error django.db.utils.OperationalError: no such column:

2022-04-26 Thread Miracle
Did you run migrations??? You should run `python manage.py makemigrations` and then `python manage.py migrate` On Tue, Apr 26, 2022 at 8:37 AM Israel Lewis wrote: > Hello guys, > > I'm having an error in my models when I add the FK to the faculty or the > student. > model.py > from django.db

Re: Error during template rendering

2022-04-11 Thread emmanuel odor
Thanks Antonis On Sunday, April 10, 2022 at 9:54:09 AM UTC+1 Antonis Christofides wrote: > Hi! > > The error message 'relation "curriculum_standard" does not exist' has been > produced by PostgreSQL, and Django merely repeats it. In other words, > Django is telling you that while it was doing

Re: Error during template rendering

2022-04-10 Thread Antonis Christofides
Hi! The error message 'relation "curriculum_standard" does not exist' has been produced by PostgreSQL, and Django merely repeats it. In other words, Django is telling you that while it was doing what it was doing, an error occurred in the RDBMS, and it is showing you the error message that

Re: Error : Circula import

2022-03-04 Thread Kasper Laudrup
On 04/03/2022 07.58, Jet Ezra wrote: But the link tells you the details and how to solve the problem. Anyway, I think you forgot to share the said screenshots. I can't find them. Also, when you are asking please, don't try to direct us how we should solve this problem. Just detail your problem

Re: Error : Circula import

2022-03-03 Thread Jet Ezra
But the link tells you the details and how to solve the problem. Anyway, I think you forgot to share the said screenshots. I can't find them. Also, when you are asking please, don't try to direct us how we should solve this problem. Just detail your problem and wait for your answer. Simple. A

Re: Error : Circula import

2022-03-03 Thread Kasper Laudrup
On 03/03/2022 20.38, Ruzindana Kent wrote: Hello everyone, I'm new to django and also new in the group, I wanted to know how to solve circula import errors. here is a screenshot of the error from the terminal. Any reply about that will be helpful, thank you Remember that Django is a

Re: Error

2022-02-21 Thread Kasper Laudrup
On 21/02/2022 16.19, Priyanshu Garg wrote: Hi, When I run py -m pip install -e \path\to\your\local\clone\django\ to install the previously cloned copy of Django I get this error  ERROR: \path\to\your\local\clone\django\ is not a valid editable requirement. It should either be a path to a

Re: error email in django

2022-01-21 Thread Saad Olamilekan
22, 2022, 1:05 AM Richard Myers > > Get Outlook for iOS <https://aka.ms/o0ukef> > -- > *From:* django-users@googlegroups.com on > behalf of Aksh Desai > *Sent:* Friday, January 21, 2022 2:06 PM > *To:* django-users@googlegroups.com &

Re: error email in django

2022-01-21 Thread Richard Myers
Get Outlook for iOS<https://aka.ms/o0ukef> From: django-users@googlegroups.com on behalf of Aksh Desai Sent: Friday, January 21, 2022 2:06 PM To: django-users@googlegroups.com Subject: Re: error email in django ok My problem is solved in django email.

Re: error email in django

2022-01-21 Thread Aksh Desai
ok My problem is solved in django email. Thank you On Fri, 21 Jan 2022 at 18:14, Kasper Laudrup wrote: > On 21/01/2022 00.37, Saad Olamilekan wrote: > > Have you install rest frame work then, insert it to register app in > setting? > > > > No. Why would I want to do that? > > Are you sure you

Re: error email in django

2022-01-21 Thread Kasper Laudrup
On 21/01/2022 00.37, Saad Olamilekan wrote: Have you install rest frame work then, insert it to register app in setting? No. Why would I want to do that? Are you sure you meant to reply to me? Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the

Re: error email in django

2022-01-20 Thread Saad Olamilekan
Have you install rest frame work then, insert it to register app in setting? On Thu, Jan 20, 2022, 7:39 PM Kasper Laudrup On 20/01/2022 15.19, Aksh Desai wrote: > > Hi! I face one error "No module named 'django.core.mail.backend'" when i > > use django-rest-framework. Now what can i do? How i

Re: error email in django

2022-01-20 Thread Kasper Laudrup
On 20/01/2022 15.19, Aksh Desai wrote: Hi! I face one error "No module named 'django.core.mail.backend'" when i use django-rest-framework. Now what can i do? How i fix this error. Start by reading something like this: http://www.catb.org/~esr/faqs/smart-questions.html That should tell you

Re: Error on import psycopg2

2021-09-19 Thread Felix Orinda
pip install psycopg2-binary Should work for you. Give me feedback on whether it has worked or not On Sep 17, 2021 21:18, "Aashish Kumar" wrote: install this package  pip install psycopg2-binary It works perfectly On Wed, 15 Sep 2021 at 9:40 PM, 'Maryam Yousaf' via Django users <

Re: Error on import psycopg2

2021-09-17 Thread Aashish Kumar
install this package  pip install psycopg2-binary It works perfectly On Wed, 15 Sep 2021 at 9:40 PM, 'Maryam Yousaf' via Django users < django-users@googlegroups.com> wrote: > Hello, > > I need psycopg2 for postgres database in django. While installing it, I am > getting below error. I tried

Re: Error on import psycopg2

2021-09-17 Thread 'Maryam Yousaf' via Django users
Thank you all. It was resolved by making new virtual environment and installing it again On Fri, Sep 17, 2021, 6:47 PM Vinay Bagare wrote: > Try > > >> psycopg2-binary > > Best, > Vinay Bagare > > Sent from my iPhone > > > On Sep 15, 2021, at 12:15 PM, Kasper Laudrup > wrote: > > > > On

Re: Error on import psycopg2

2021-09-17 Thread Vinay Bagare
Try >> psycopg2-binary Best, Vinay Bagare Sent from my iPhone > On Sep 15, 2021, at 12:15 PM, Kasper Laudrup wrote: > > On 15/09/2021 16.40, 'Maryam Yousaf' via Django users wrote: >> Hello, >> I need psycopg2 for postgres database in django. While installing it, I am >> getting below

Re: Error on import psycopg2

2021-09-15 Thread FIRDOUS BHAT
Try installing this package, pip install psycopg2-binary On Wed, Sep 15, 2021 at 10:45 PM Kasper Laudrup wrote: > On 15/09/2021 16.40, 'Maryam Yousaf' via Django users wrote: > > Hello, > > > > I need psycopg2 for postgres database in django. While installing it, I > > am getting below error.

Re: Error on import psycopg2

2021-09-15 Thread Kasper Laudrup
On 15/09/2021 16.40, 'Maryam Yousaf' via Django users wrote: Hello, I need psycopg2 for postgres database in django. While installing it, I am getting below error. I tried everything on internet but it still there. Kindly help me out. Did you try this:

Re: Error: NoReverseMatch at

2021-08-16 Thread DJANGO DEVELOPER
show me your django app url and views as well. On Tue, Aug 17, 2021 at 1:10 AM DJANGO DEVELOPER wrote: > okay add a url. first of all import the view into urls.py file and make a > path. > > On Mon, Aug 16, 2021 at 5:32 PM 'Rahul Chauhan' via Django users < > django-users@googlegroups.com>

Re: Error: NoReverseMatch at

2021-08-16 Thread DJANGO DEVELOPER
okay add a url. first of all import the view into urls.py file and make a path. On Mon, Aug 16, 2021 at 5:32 PM 'Rahul Chauhan' via Django users < django-users@googlegroups.com> wrote: > Here is how the the project's url.py looks like. Not made any changes to > it. > > [image: dj_4.jpg] > >

Re: Error: NoReverseMatch at

2021-08-16 Thread 'Rahul Chauhan' via Django users
Here is how the the project's url.py looks like. Not made any changes to it. [image: dj_4.jpg] *change_list.html: *Copied this (https://github.com/django/django/blob/main/django/contrib/admin/templates/admin/change_list.html) to the local app folder. On Monday, August 16, 2021 at 3:36:27 PM

Re: Error - module 'django.db.models' has no attribute 'FieldDoesNotExist' when adding FK relationship object

2021-08-11 Thread David Crandell
Try adding related_name='+' to your FK definition. class ReleaseImageGallery(BaseImageGallery): release = models.ForeignKey(Release, related_name='+', on_delete =models.CASCADE) class Meta: verbose_name = "release image gallery" verbose_name_plural = "release image galleries" On Friday, August

Re: Error - module 'django.db.models' has no attribute 'FieldDoesNotExist' when adding FK relationship object

2021-08-06 Thread Lloyd Dube
Addendum: the Release model is declared as follows: from django.db import models from tinymce import models as tinymce_models from artists.models import Artist from bands.models import Band from labels.models import Label class Release(models.Model): artist = models.ForeignKey(Artist,

Re: Error when loading data to database to postgresql

2021-07-15 Thread Kasper Laudrup
On 7/15/21 11:05 AM, Wale Olajumoke wrote: Please how do I fix this error that comes up when loading data. See the error message below. Reading something like this is a good start: https://www.propublica.org/nerds/how-to-ask-programming-questions Kind regards, Kasper Laudrup -- You

Re: Error while creating an ecommerce website :PLEASE HELP!

2021-06-23 Thread Parul.
Hi, I tried to pass the id..but its not working I observed while debugging, the try catch block is not getting implemented... i tried to put some print statements there..but they are not getting printed The print statements in models.py -- new_or_get func() are working On Thu, Jun 24, 2021 at

Re: Error while creating an ecommerce website :PLEASE HELP!

2021-06-23 Thread Aadil Rashid
First pass Id as an argument along with request to that particular view function On Thu, 24 Jun, 2021, 12:06 AM Parul., wrote: > Hi , > > I am doing : product_obj=Product.objects.get(id=product_id) > in the cart_update function in views.py > > but when trying to print this object...

Re: Error while creating an ecommerce website :PLEASE HELP!

2021-06-23 Thread Parul.
Hi , I am doing : product_obj=Product.objects.get(id=product_id) in the cart_update function in views.py but when trying to print this object... i am not getting anything... is this function is not working? On Wed, Jun 23, 2021 at 11:38 PM Aadil Rashid wrote: > Pass I'd to the

Re: Error while creating an ecommerce website :PLEASE HELP!

2021-06-23 Thread Aadil Rashid
Pass I'd to the view you are you are using, And then get products thrid that I'd by simple ORM quriy Product = model name.objects.get(id=id) On Wed, 23 Jun, 2021, 11:35 PM Parul., wrote: > Hi, > I am working on an ecommerce website. I am facing an error. Can anyone > please help me solve this

Re: error save to model on a onto many relationship

2021-06-10 Thread Abdul Qoyyuum
What happens if you try and save choice#3 in question 1 only? Can you try in the Python shell? On Friday, June 11, 2021 at 8:38:37 AM UTC+8 suabiut wrote: > I am running to some issue saving to models in a one to make relationship. > The error is described Here >

Re: Error finding Upload-Folder. Maybe it does not exist?

2021-05-26 Thread Mic
I tried to create the missing `blast/db` folder in the following way but it still does not work: ``` *$ docker-compose exec web /bin/bash* *# pwd* */code* *# mkdir -p blast/db* *# mkdir -p i5k/blast/db * ``` Where do I have to create *blast/db* folder? Thank you in advance, Michal On Tuesday,

Re: error

2021-04-05 Thread RANGA BHARATH JINKA
Hi, I think you have to generate an app password from Gmail and use it instead of your password. Refer to this link. https://support.google.com/mail/answer/185833?hl=en All the best On Mon, Apr 5, 2021 at 7:28 PM Kissanth D wrote: > My project description is using django to login via imap

Re: Error: Login at the Admin Page (Django)

2021-02-01 Thread Kasper Laudrup
On 01/02/2021 01.46, Kendel Ibarra wrote: Hi everybody. I am having some troubles. I am taking the free course of Prof. Charles Severance (Dr. Chuck)., on lesson 6, tutorial part 2, I've created the username and password successfully,  but at the  moment to login at

Re: Error After Heroku Deployment

2020-12-30 Thread Sumit Pande
Yes . I got the solution. Thanks On Wed, Dec 30, 2020, 8:43 PM RANGA BHARATH JINKA wrote: > Hi, > > Run > heroku run python manage.py makemigrations > heroku run python manage.py migrate > > All the best > > On Wed, Dec 30, 2020 at 8:18 PM Sumit Pande <2018bit...@sggs.ac.in> wrote: > >>

Re: Error After Heroku Deployment

2020-12-30 Thread RANGA BHARATH JINKA
Hi, Run heroku run python manage.py makemigrations heroku run python manage.py migrate All the best On Wed, Dec 30, 2020 at 8:18 PM Sumit Pande <2018bit...@sggs.ac.in> wrote: > ProgrammingError at /accounts/login/ > relation "django_site" does not exist > LINE 1: ..."django_site"."domain",

Re: Error at the return of an AJAX POST in DJANGO

2020-10-26 Thread Nikitha Bangalore Escorts
hmm On Monday, October 26, 2020 at 2:35:28 AM UTC+5:30 wwran...@gmail.com wrote: > Hi buddies, I have a POST request from ajax. At the backend some records > are updated in the django view, this is done fine but an error comes up and > the page isnt reloaded. > > ***This is the error:*** > >

Re: Error at the return of an AJAX POST in DJANGO

2020-10-25 Thread Walter Randazzo
closing brackets in >>> the ajax section. >>> >>> >>> >>> Try removing one of these from the end of the ajax section: >>> >>> }); >>> >>> >>> >>> >>> >>> *From:* django...@googlegroups.com

Re: Error at the return of an AJAX POST in DJANGO

2020-10-25 Thread leon.vaks
Sent from my Samsung Galaxy smartphone. Original message From: Walter Randazzo Date: 10/25/20 6:10 PM (GMT-05:00) To: django-users@googlegroups.com Subject: Re: Error at the return of an AJAX POST in DJANGO hi there, As far as I check its OK.Thanks for replay.El dom., 25

Re: Error at the return of an AJAX POST in DJANGO

2020-10-25 Thread leon.vaks
  t.f  Sent from my Samsung Galaxy smartphone. Original message From: Walter Randazzo Date: 10/25/20 6:10 PM (GMT-05:00) To: django-users@googlegroups.com Subject: Re: Error at the return of an AJAX POST in DJANGO hi there, As far as I check its OK.Thanks for replay.El dom

Re: Error at the return of an AJAX POST in DJANGO

2020-10-25 Thread Malcolm MacKinnon
;> >> >> Try removing one of these from the end of the ajax section: >> >> }); >> >> >> >> >> >> *From:* django...@googlegroups.com *On >> Behalf Of *Walter Randazzo >> *Sent:* Monday, 26 October 2020 9:09 AM >> *To:* djan

Re: Error at the return of an AJAX POST in DJANGO

2020-10-25 Thread Walter Randazzo
Try removing one of these from the end of the ajax section: > > }); > > > > > > *From:* django...@googlegroups.com *On > Behalf Of *Walter Randazzo > *Sent:* Monday, 26 October 2020 9:09 AM > *To:* django...@googlegroups.com > *Subject:* Re: Error at the

RE: Error at the return of an AJAX POST in DJANGO

2020-10-25 Thread 'Trevor Woolley' via Django users
@googlegroups.com Subject: Re: Error at the return of an AJAX POST in DJANGO [External email] Please be cautious when clicking on any links or attachments. --- hi there, As far as I check its OK. Thanks for replay. [https://docs.google.com/uc?export=download=0B2naFBGBGbW3cUwtdVJYYUo4bkU

Re: Error at the return of an AJAX POST in DJANGO

2020-10-25 Thread Walter Randazzo
hi there, As far as I check its OK. Thanks for replay. El dom., 25 oct. 2020 a las 18:43, rbar...@xcaretresearch.com (< rbarh...@xcaretresearch.com>) escribió: > Not sure, but looks like an extra closing bracket in line 9 of the ajax > code > > On Sunday, October 25, 2020 at 2:05:28 PM UTC-7

Re: Error at the return of an AJAX POST in DJANGO

2020-10-25 Thread Walter Randazzo
HI Macolm, I am checking out the response value in the and it shows OK in the browser dev tool . So i guess the function is not defined properly [image: image.png] El dom., 25 oct. 2020 a las 18:46, Malcolm MacKinnon () escribió: > I'm not a JS expert, but is your success function

Re: Error at the return of an AJAX POST in DJANGO

2020-10-25 Thread Malcolm MacKinnon
I'm not a JS expert, but is your success function defined properly? if(e="OK") vs. if(e=="OK") On Sun, Oct 25, 2020 at 2:06 PM Walter Randazzo wrote: > > Hi buddies, I have a POST request from ajax. At the backend some records are > updated in the django view, this is done fine but an error

Re: Error at the return of an AJAX POST in DJANGO

2020-10-25 Thread rbar...@xcaretresearch.com
Not sure, but looks like an extra closing bracket in line 9 of the ajax code On Sunday, October 25, 2020 at 2:05:28 PM UTC-7 wwran...@gmail.com wrote: > Hi buddies, I have a POST request from ajax. At the backend some records > are updated in the django view, this is done fine but an error

Re: error

2020-09-10 Thread GUMMALLA DURGA PRASAD
You can refer below links. it helps you * https://github.com/pennersr/django-allauth/issues/2274 * https://github.com/django/django/blob/ba2057910644d3255a6283a16ceefbd0fceedafc/docs/releases/2.0.txt#L341-L359 On Tuesday, September 8, 2020 at 2:26:25 PM UTC+5:30 punde...@gmail.com wrote: >

Re: Error configuring URLs for a beginner

2020-08-31 Thread Arpana Mehta
Do you have a *urls.py* in your 'app' folder? (And app is a reserved keyword, it would be better if you use some other name to avoid confusion even later ) On Tue, 1 Sep 2020 at 04:29, Manal Helal wrote: > Hi > > I am using Django to the first time and followed the tutorial in: >

Re: error at deployment

2020-08-23 Thread Kasper Laudrup
Hi Sayur, On 22/08/2020 22.53, Sayur Patel wrote: hello i am beginner and this is my first project. Welcome to developing websites using Django. Hope you'll enjoy it. anything am i missing? You should probably let us know a bit about what Phusion Passenger is and how you have deployed

Re: error at deployment

2020-08-23 Thread MUGOYA DIHFAHSIH
Also that error comes about if you didn't create well the python application like maybe you missed the application root, or you didn't replace the code in your wsgi.py with this line. from myproject import application On Sun, Aug 23, 2020, 22:49 MUGOYA DIHFAHSIH wrote: > You are missing

Re: error at deployment

2020-08-23 Thread MUGOYA DIHFAHSIH
You are missing python manage.py collectstatic, this is used to copy your static files to public fold so that they can be served by the server . On Sun, Aug 23, 2020, 02:14 Amresh Giri wrote: > Check logs bro. You'll know what went wrong and where. > > On Sun, Aug 23, 2020, 3:45 AM Sayur Patel

Re: error at deployment

2020-08-22 Thread Amresh Giri
Check logs bro. You'll know what went wrong and where. On Sun, Aug 23, 2020, 3:45 AM Sayur Patel wrote: > hello i am beginner and this is my first project. > > i have error on my home page. > > i do > >1. installing dependency >2. makemigrations >3. migrate >4. createsuperuser

Re: ERROR

2020-08-19 Thread traore arouna
the github link https://github.com/TRAOREAROUNA/projetEcom.git Le vendredi 14 août 2020 à 09:50:17 UTC, akinfolar...@gmail.com a écrit : > can you send the code on github so i can help you debug properly > > On Fri, Aug 14, 2020 at 11:42 PM Kasper Laudrup > wrote: > >> On 14/08/2020 00.29,

Re: ERROR

2020-08-19 Thread traore arouna
ok no problem i will do it I had some problems with my computer, so it is ok now Le ven. 14 août 2020 à 09:49, Akinfolarin Stephen < akinfolarinsteph...@gmail.com> a écrit : > can you send the code on github so i can help you debug properly > > On Fri, Aug 14, 2020 at 11:42 PM Kasper Laudrup

Re: ERROR

2020-08-14 Thread Akinfolarin Stephen
can you send the code on github so i can help you debug properly On Fri, Aug 14, 2020 at 11:42 PM Kasper Laudrup wrote: > On 14/08/2020 00.29, traore arouna wrote: > > how define it > > > > https://www.wikihow.com/Declare-a-Variable-in-Javascript > > -- > You received this message because you

Re: ERROR

2020-08-14 Thread Kasper Laudrup
On 14/08/2020 00.29, traore arouna wrote: how define it https://www.wikihow.com/Declare-a-Variable-in-Javascript -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: ERROR

2020-08-13 Thread traore arouna
how define it Le jeu. 13 août 2020 à 21:23, Akinfolarin Stephen < akinfolarinsteph...@gmail.com> a écrit : > your user variable is not define try to define it like is not referencing > anything > > On Fri, Aug 14, 2020 at 11:07 AM traore arouna > wrote: > >> ok my js file is >> >> >> var

Re: ERROR

2020-08-13 Thread traore arouna
where can define it Le jeudi 13 août 2020 à 21:24:37 UTC, akinfolar...@gmail.com a écrit : > your user variable is not define try to define it like is not referencing > anything > > On Fri, Aug 14, 2020 at 11:07 AM traore arouna wrote: > >> ok my js file is >> >> >> var updateBtns =

Re: ERROR

2020-08-13 Thread Akinfolarin Stephen
your user variable is not define try to define it like is not referencing anything On Fri, Aug 14, 2020 at 11:07 AM traore arouna wrote: > ok my js file is > > > var updateBtns = document.getElementsByClassName('update-cart') > > for(var i = 0; i < updateBtns.length; i++) > { >

Re: ERROR

2020-08-13 Thread traore arouna
ok my js file is var updateBtns = document.getElementsByClassName('update-cart') for(var i = 0; i < updateBtns.length; i++) { updateBtns[i].addEventListener('click',function(){ var productId = this.dataset.product var action = this.dataset.action console.log('productId:',productId,

Re: ERROR

2020-08-13 Thread traore arouna
no I not switch to my web site I alway in my local project directory Le dimanche 9 août 2020 à 02:30:36 UTC, kovy@gmail.com a écrit : > Are you switching into your projects directory and then using 'python > manage.py runserver' from command prompt/terminal to run your website? > > On Sat,

Re: ERROR

2020-08-13 Thread traore arouna
and my view content from django.shortcuts import render from django.http import JsonResponse import json from .models import * def store(request): if request.user.is_authenticated: customer = request.user.customer order, created =

Re: ERROR

2020-08-09 Thread Julio Cojom
It is js error, show the script part. It seems like you referenced a variable before declare it. On Sun, Aug 9, 2020, 8:50 AM Yemin Sajid wrote: > I think the error is from the frontend javascript code. Can u share > snippets of that code? > > On Sun, Aug 9, 2020 at 8:30 AM Kovy Jacob wrote: >

Re: ERROR

2020-08-09 Thread Yemin Sajid
I think the error is from the frontend javascript code. Can u share snippets of that code? On Sun, Aug 9, 2020 at 8:30 AM Kovy Jacob wrote: > Are you switching into your projects directory and then using 'python > manage.py runserver' from command prompt/terminal to run your website? > > On

Re: ERROR

2020-08-08 Thread Kovy Jacob
Are you switching into your projects directory and then using 'python manage.py runserver' from command prompt/terminal to run your website? On Sat, Aug 8, 2020 at 4:25 PM Agoua David wrote: > Can you send a screenshot of the view file > > Le sam. 8 août 2020 à 20:21, traore arouna a écrit : >

Re: ERROR

2020-08-08 Thread Agoua David
Can you send a screenshot of the view file Le sam. 8 août 2020 à 20:21, traore arouna a écrit : > Hello > I am here because I am developing an e-commerce application. > But at a certain level of my code when I run my server with the command > python manage runserver > I have an error message >

Re: Error in sending mail

2020-07-25 Thread MUGOYA DIHFAHSIH
i think it is repeating it cos the email you put in the settings.py is the same email you used for clients to send to contact you through. What i mean is a person contacting you sends the email to rubymoti...@gmail.com and it is the same email you used i the settings.py to permit django app send

Re: Error in manage.py when I do python manage.py runserver

2020-07-22 Thread Jagtar Singh Lakhyan
Use python3 & install if Not installed then run python3 manage.py runserver On Wed, Jul 22, 2020 at 8:08 PM Kovy Jacob wrote: > It gives me a syntax error > > Jacob-Mac-mini:TachlisGeredt kovyjacob$ python manage.py runserver > 0.0.0.0:8000 > File "manage.py", line 16 > ) from exc: > ^ >

Re: Error running Django tutorial

2020-07-20 Thread Lithium
In in mysite/urls.py check the "/" after "polls" in this line: path('polls/', include('polls.urls')) On Friday, June 12, 2020 at 4:52:52 PM UTC+4:30 temitope iyanoye wrote: > I’m using Django 3.0 and I have this same issue following the official > Django tutorial, has anyone been able to fix

Re: Error on unauthorized access problem in django

2020-07-18 Thread talk fun
I do not know I am beginner too On Wed, Jul 15, 2020, 12:25 AM Jorge Gimeno wrote: > django.contrib.staticfiles by design will serve static files only when > debug is set to False. It's not designed to serve static files in a > production environment. See here: >

  1   2   3   4   5   6   7   8   9   10   >