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 31

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 prebuil

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

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

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

2022-10-28 Thread Adeyemi Deji
Hello Fam! I'm currently going through djangoforprofessional tutorial and I've been trying to resolve an error related to installing psycopg2 for postgres in a docker container. After setting up Dockerfile, requirements.txt, and docker-compose.yml which is shown below, I entered th

Re: Hello, why am I getting this error

2022-10-27 Thread Samuel Nzola
Error fixed On Thu, Oct 27, 2022, 14:59 Samuel Nzola wrote: > Thajnkyou, though i cannot fix the error still > > On Thursday, October 27, 2022 at 11:45:38 AM UTC+3 Kasper Laudrup wrote: > >> As the error message clearly states, the path: >> > 6. delete-room// [name=&

Re: Hello, why am I getting this error

2022-10-27 Thread Samuel Nzola
Thajnkyou, though i cannot fix the error still On Thursday, October 27, 2022 at 11:45:38 AM UTC+3 Kasper Laudrup wrote: > As the error message clearly states, the path: > > 6. delete-room// [name='delete-room'] > > doesn't match: > > > The current path, del

Re: Hello, why am I getting this error

2022-10-27 Thread 'Kasper Laudrup' via Django users
As the error message clearly states, the path: 6. delete-room// [name='delete-room'] doesn't match: The current path, delete-room/6/>, didn’t match any of these. Documentation: https://docs.djangoproject.com/en/4.1/topics/http/urls/ Kind regards, Kasper Laudrup --

Re: Hello, why am I getting this error

2022-10-26 Thread Samuel Nzola
Please help On Thursday, October 27, 2022 at 4:56:29 AM UTC+3 Samuel Nzola wrote: > Page not found (404) > Request Method: > GET > Request URL: > http://127.0.0.1:8000/delete-room/6/%3E > > Using the URLconf defined in studybud.urls, Django tried these URL > patterns, in this order: > >1. ad

Hello, why am I getting this error

2022-10-26 Thread Samuel Nzola
Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/delete-room/6/%3E Using the URLconf defined in studybud.urls, Django tried these URL patterns, in this order: 1. admin/ 2. [name='home'] 3. room// [name='room'] 4. create-room/ [name='create-room'] 5. upda

Re: error extending base template

2022-10-11 Thread Chukwudi Onwusa
someone help me out. am new to django and i face an issue with > templates extending base.html > > i have created a base.html template which is basically a skeleton for > other templates, they are all in templates/another directory but when i use > {%extends 'base.htm

Re: error extending base template

2022-10-10 Thread ASAMOAH EMMANUEL
d i face an issue with > templates extending base.html > > i have created a base.html template which is basically a skeleton for > other templates, they are all in templates/another directory but when i use > {%extends 'base.html'%} I get this error... thanks in advance

error extending base template

2022-10-10 Thread Namanya Daniel
hello, someone help me out. am new to django and i face an issue with templates extending base.html i have created a base.html template which is basically a skeleton for other templates, they are all in templates/another directory but when i use {%extends 'base.html'%} I get

Re: how reploy the project on heroku stack-22 because some of old modules doesn't support,error is defined here

2022-09-26 Thread Shittu Abdulrasheed
change that psycopg2 to psycopg-binary i think it will solved that i dont know if i get the correct spelling but you can search for psycopg-binary and edit it in your requirements.txt On Mon, Sep 26, 2022 at 7:23 AM Abhinandan K wrote: > > -- > You received this message because you are subscribe

Re: how reploy the project on heroku stack-22 because some of old modules doesn't support,error is defined here

2022-09-26 Thread Abhinandan K
awscli==1.16.41 boto3==1.9.31 botocore==1.12.31 colorama==0.3.9 dj-database-url==0.5.0 Django==2.1.2 django-filter==2.1.0 django-heroku==0.3.1 django-storages==1.7.1 djangorestframework==3.9.0 docutils==0.14 gunicorn==19.9.0 jmespath==0.9.3 Pillow==5.4.1 psycopg2==2.7.5 pyasn1==0.4.4 PyJWT==1.7.1 p

Re: how reploy the project on heroku stack-22 because some of old modules doesn't support,error is defined here

2022-09-26 Thread Dev Femi Badmus
let me see your requirements.txt On Mon, Sep 26, 2022 at 7:23 AM Abhinandan K wrote: > > -- > 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+unsu

how reploy the project on heroku stack-22 because some of old modules doesn't support,error is defined here

2022-09-25 Thread Abhinandan K
-- 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 the web visit https://groups.google.com/d

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 have

Error: duplicate key value violates unique constraint

2022-09-23 Thread Salima Begum
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 have the same issue. I solved the issue by deleting data from that particular table and then I am able to post data. Next day if I try to post data I a

Re: SessionStore attribute error

2022-09-21 Thread Basheer Olamilekan Balogun
model.py,. so django will throw an error saying I do not have any place to store the id. if that is the case, you do not need to specify id bro. On Tuesday, September 20, 2022 at 8:11:01 AM UTC+1 shivas...@gmail.com wrote: > hello Dear Kasper Laudrup > I am beginner > sorry for th

Re: SessionStore attribute error

2022-09-20 Thread shiva singh
hello Dear Kasper Laudrup I am beginner sorry for this but my problem is not solve yet that's why I have sent my code for better solution of error I am not familiar about this file witch you are send me On Tuesday, September 20, 2022 at 12:22:12 PM UTC+5:30 Kasper Laudrup wrote: &g

Re: SessionStore attribute error

2022-09-19 Thread 'Kasper Laudrup' via Django users
On 20/09/2022 08.21, shiva singh wrote: hello everyone please help how can solve this problem? I suggest you ignore all the replies you've already gotten and then post the exact same question a third time. Kind regards, Kasper Laudrup -- You received this message because you are subscribed

SessionStore attribute error

2022-09-19 Thread shiva singh
hello everyone please help how can solve this problem? this is session code:- if user.password==password and user.role=="Company": com=Company.objects.get(user_id=user) request.session['id']=user.id request.session['role']=user.role

Re: session id attribute error

2022-09-19 Thread Mohammad Ehsan Ansari
Hi SessionStore is a model class? if yes you can use pk instant of id On Monday, 19 September 2022 at 22:48:02 UTC+5:30 aashishk...@gmail.com wrote: > Do this > > request.session.get(‘id’) > > On Mon, 19 Sep 2022 at 1:30 PM, shiva singh wrote: > >> hello everyone please help me how can solve

Re: session id attribute error

2022-09-19 Thread Aashish Kumar
Do this request.session.get(‘id’) On Mon, 19 Sep 2022 at 1:30 PM, shiva singh wrote: > hello everyone please help me how can solve this problem:-[image: > image.jpeg] > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from

Re: session id attribute error

2022-09-19 Thread Muhammad Juwaini Abdul Rahman
That was user, so probably you need request.user.id, not session. On Mon, 19 Sept 2022 at 16:00, shiva singh wrote: > hello everyone please help me how can solve this problem:-[image: > image.jpeg] > > -- > You received this message because you are subscribed to the Google Groups > "Django users

session id attribute error

2022-09-19 Thread shiva singh
hello everyone please help me how can solve this problem:-[image: image.jpeg] -- 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...@googlegr

Re: session related error

2022-09-16 Thread subin
Kindly notify me should you need any other information. On Fri, Sep 16, 2022 at 3:40 PM shiva singh wrote: > Hi everyone > > anyone give solution for this problem: > AttributeError: 'SessionStore' object has no attribute 'id' > [16/Sep/2022 19:28:16] "POST /jobpostsubmit/ HTTP/1.1" 500 66025 > >

session related error

2022-09-16 Thread shiva singh
Hi everyone anyone give solution for this problem: AttributeError: 'SessionStore' object has no attribute 'id' [16/Sep/2022 19:28:16] "POST /jobpostsubmit/ HTTP/1.1" 500 66025 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Forbidden error- login to django admin

2022-09-02 Thread Amal Babu
I try to deploy my django project on railway. But i got this error[image: Screenshot 2022-09-02 102845.png] my prod settings --> import os from .common import * DEBUG = False SECRET_KEY = os.environ.get('SECRET_KEY') ALLOWED_HOSTS = ['web-production-b

Re: django-admin startproject --template error

2022-08-08 Thread 'Kasper Laudrup' via Django users
On 08/08/2022 10.46, xu brandy wrote: WechatIMG75.png An error was reported using the GITLab repository to specify template creation projects And you expect everyone to be able to guess which Gitlab repository you're talking about? You even made an effort trying to hide it. But wha

Re: Url mapping error.

2022-07-19 Thread Wazed Khan
*Installed apps On Tue, Jul 19, 2022, 10:05 PM Wazed Khan wrote: > Did you registered your app in instead app in project setting > > On Tue, Jul 19, 2022, 9:32 PM Abdulrahman Hayat < > elhayatusman1...@gmail.com> wrote: > >> After writing basic script and did all the necessary url mappings, i >>

Re: How to roll back related objects if any error happened.

2022-07-05 Thread Antonis Christofides
I'm not really an expert, but it strikes me that this doesn't work. If you are using MySQL or SQLite, make sure you read the Database-specific notes on Database transactions in the Django documentation. If y

Re: Timeout error in send_mail function

2022-07-05 Thread Yeboah Dominic
e of my views, I tried implementing a simple send_mail, but it gives >> me a TimeOut error. I configured the settings (Email backend as smtp, >> email host, password, ...), and also alowed my email to accept 'less >> secured apps', but it doesn't seem to work. >>

Re: How to roll back related objects if any error happened.

2022-07-05 Thread Sencer Hamarat
Hi Antonis, The code that I tried is something like below: with transaction.atomic(): parent_data = { "foo": "bar", "baz": "bar" } parent_serializer = ParentSerializer(data=parent_data) if parent_serializer.is_valid(): parent_obj = parent_serializer.save()

Re: How to roll back related objects if any error happened.

2022-07-05 Thread Antonis Christofides
Could you show the code with your attempt to use atomic? On 05/07/2022 14.45, Sencer Hamarat wrote: Hi, I tried that but, when child_serializer.save() throws an exception, the row created by parent_serializer.save() at the database is not rolled back. Kind regards, Sencer HAMARAT On Mon,

Re: How to roll back related objects if any error happened.

2022-07-05 Thread Sencer Hamarat
Hi, I tried that but, when child_serializer.save() throws an exception, the row created by parent_serializer.save() at the database is not rolled back. Kind regards, Sencer HAMARAT On Mon, Jul 4, 2022 at 7:59 PM Ryan Nowakowski wrote: > You can use transaction.atomic: > > https://docs.django

Re: Timeout error in send_mail function

2022-07-04 Thread K Wong
0 AM UTC-7 sonasiv...@gmail.com wrote: > Hi. > I'm working on a project with django and django rest framework. > In one of my views, I tried implementing a simple send_mail, but it gives > me a TimeOut error. I configured the settings (Email backend as smtp, > email host, pass

Re: How to roll back related objects if any error happened.

2022-07-04 Thread Ryan Nowakowski
You can use transaction.atomic: https://docs.djangoproject.com/en/4.0/topics/db/transactions/#controlling-transactions-explicitly On July 4, 2022 7:16:41 AM EDT, Sencer Hamarat wrote: >Hi, > >Say I have a parent and a child model. > >And also there is a view which is using DRF serializers to save

How to roll back related objects if any error happened.

2022-07-04 Thread Sencer Hamarat
Hi, Say I have a parent and a child model. And also there is a view which is using DRF serializers to save data into models. The saving operation steps are: First create parent parent object Then, create child object with parent object relation. The view code regarding the description above:

Timeout error in send_mail function

2022-06-23 Thread Sona Sivasundari
Hi. I'm working on a project with django and django rest framework. In one of my views, I tried implementing a simple send_mail, but it gives me a TimeOut error. I configured the settings (Email backend as smtp, email host, password, ...), and also alowed my email to accept 'less sec

ERROR : no such table

2022-06-23 Thread Hugh Frost
n i migrate but database not synced instead of that error page display "no such table" i don't know how to fix this, anyone know how to configure that database with new tables in django 3.2 -- You received this message because you are subscribed to the Google Groups "Django use

[django-csp] Getting CSP violation error

2022-06-15 Thread Krishna Basak
Hello all, Please help me with the following question https://stackoverflow.com/questions/72628864/django-csp-why-i-am-getting-csp-violation-error-even-if-nonce-is-set-up Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To u

CICD Pipeline(Heroku)Yml, error

2022-06-02 Thread Prashanth Patelc
I am hosting my app in Heroku using CICD Pipeline I am getting this error .Please help to solve this issue. Already up to date. 43 <https://github.com/Prashanyh/CI-CD-GitActions/runs/6708642880?check_suite_focus=true#step:10:44>Everything up-to-date 44 <https://github.com/Prasha

Re: create_question not define error. NameError.

2022-05-03 Thread Derek
What steps did you follow to get here? What does your code look like that creates this error? (Its probably better to post actual code snippets as text rather than screenshots.) On Monday, 2 May 2022 at 15:02:44 UTC+2 mdanz...@gmail.com wrote: > Anyone is here for help? > > On F

Re: create_question not define error. NameError.

2022-05-02 Thread Md Anzar
Anyone is here for help? On Friday, 29 April 2022 at 11:45:48 UTC+5:30 Md Anzar wrote: > I am following Django tutorial in part 5 when I tried to test and getting > error. I need help. > [image: Screenshot from 2022-04-28 23-50-50.png] -- You received this message because you are s

Re: SMTP Authentification error

2022-05-01 Thread Antonis Christofides
If some emails are emails are disappearing, you may get ideas on how to fix it from https://djangodeployment.com/2017/01/18/why-does-django-not-email-me-the-500-internal-server-error/ On 02/05/2022 07.33, 'Delvin Alexander' via Django users wrote: Improvements! i fixed my settings.p

Re: SMTP Authentification error

2022-05-01 Thread Mohammad Anarul
ango users < django-users@googlegroups.com> wrote: > Improvements! i fixed my settings.py file and now i do not get the error. > The only problem is that for my email, i do not get the email notification > to reset my password. Any clues to this? > > On Sunday, May 1, 2022 at

Re: SMTP Authentification error

2022-05-01 Thread 'Delvin Alexander' via Django users
Improvements! i fixed my settings.py file and now i do not get the error. The only problem is that for my email, i do not get the email notification to reset my password. Any clues to this? On Sunday, May 1, 2022 at 4:08:46 AM UTC-7 Mahendra Yadav wrote: > I Know this solution charges

Re: SMTP Authentification error

2022-05-01 Thread Mahendra
300b0050d260c0ea8sm13366402pfg.110 - gsmtp')* > > > I included the 16 character code to my environment variable and called it > in my settings.pymfile, but still the error occurs. Also here is my > settings.py file: > > - *EMAIL_BACKEND = 'django.core.

Re: SMTP Authentification error

2022-05-01 Thread Hassan Bashir
o...@googlegroups.com>) escribió: >>>> >>>>> Hello everyone, >>>>> >>>>> May you please assist in informing me on what i need to do to resolve >>>>> this issue. >>>>> >>>>> - *S

Re: SMTP Authentification error

2022-04-29 Thread 'Delvin Alexander' via Django users
or at /password-reset/* >>>> *- (535, b'5.7.8 Username and Password not accepted. Learn more >>>> at\n5.7.8 https://support.google.com/mail/?p=BadCredentials >>>> <https://support.google.com/mail/?p=BadCredentials> >>>> j64-20020a62c54300b0050d260c0

Re: SMTP Authentification error

2022-04-29 Thread Hassan Bashir
please assist in informing me on what i need to do to resolve >>> this issue. >>> >>> - *SMTPAuthenticationError at /password-reset/* >>> *- (535, b'5.7.8 Username and Password not accepted. Learn more >>> at\n5.7.8 https://support.google.com/mail/?p=Bad

Re: SMTP Authentification error

2022-04-28 Thread Gift Soko
.com/mail/?p=BadCredentials> > j64-20020a62c54300b0050d260c0ea8sm13366402pfg.110 - gsmtp')* > > > I included the 16 character code to my environment variable and called it > in my settings.pymfile, but still the error occurs. Also here is my > settings.py file: > &

Re: SMTP Authentification error

2022-04-28 Thread Antonis Christofides
code to verify that the values of EMAIL_HOST_USER and EMAIL_HOST_PASSWORD are what they should. Regards, Antonis On 28/04/2022 07.58, 'Delvin Alexander' via Django users wrote: okay i did both but now i am getting this error. Any clue on why? *SMTPSenderRefused at /password-r

Re: SMTP Authentification error

2022-04-27 Thread Vishesh Mangla
. >> >> On Thu, 28 Apr 2022, 10:29 'Delvin Alexander' via Django users, < >> django-users@googlegroups.com> wrote: >> >>> okay i did both but now i am getting this error. Any clue on why? >>> >>> *SMTPSenderRefused at /password-reset

Re: SMTP Authentification error

2022-04-27 Thread Vishesh Mangla
On Thu, 28 Apr 2022, 11:02 Vishesh Mangla, wrote: > Use Google api. > > On Thu, 28 Apr 2022, 10:29 'Delvin Alexander' via Django users, < > django-users@googlegroups.com> wrote: > >> okay i did both but now i am getting this error. Any clue on why? >&g

Re: SMTP Authentification error

2022-04-27 Thread Vishesh Mangla
Use Google api. On Thu, 28 Apr 2022, 10:29 'Delvin Alexander' via Django users, < django-users@googlegroups.com> wrote: > okay i did both but now i am getting this error. Any clue on why? > > *SMTPSenderRefused at /password-reset/* > > > *(530, b'5.7.0

RE: SMTP Authentification error

2022-04-27 Thread ngallen4
2022 07:59 To: Django users Subject: Re: SMTP Authentification error okay i did both but now i am getting this error. Any clue on why? SMTPSenderRefused at /password-reset/ (530, b'5.7.0 Authentication Required. Learn more at\n5.7.0 https://support.google.com/mail/?p=Want

Re: SMTP Authentification error

2022-04-27 Thread 'Delvin Alexander' via Django users
okay i did both but now i am getting this error. Any clue on why? *SMTPSenderRefused at /password-reset/* *(530, b'5.7.0 Authentication Required. Learn more at\n5.7.0 https://support.google.com/mail/?p=WantAuthError w137-20020a62828f00b0050d2f9c3409sm14545822pfd.199 - gsmtp',

Re: SMTP Authentification error

2022-04-27 Thread 'Delvin Alexander' via Django users
cepted. Learn more at\n5.7.8 >> https://support.google.com/mail/?p=BadCredentials >> <https://support.google.com/mail/?p=BadCredentials> >> j64-20020a62c54300b0050d260c0ea8sm13366402pfg.110 - gsmtp')* >> >> >> I included the 16 char

Re: SMTP Authentification error

2022-04-27 Thread Lakshyaraj Dash X-D 25
c0ea8sm13366402pfg.110 - gsmtp')* > > > I included the 16 character code to my environment variable and called it > in my settings.pymfile, but still the error occurs. Also here is my > settings.py file: > > - *EMAIL_BACKEND = 'django.core.mail.backends.smtp.Emai

Re: SMTP Authentification error

2022-04-26 Thread Julio Cojom
ot accepted. Learn more at\n5.7.8 > https://support.google.com/mail/?p=BadCredentials > <https://support.google.com/mail/?p=BadCredentials> > j64-20020a62c54300b0050d260c0ea8sm13366402pfg.110 - gsmtp')* > > > I included the 16 character code to my environment va

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

2022-04-26 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.

SMTP Authentification error

2022-04-26 Thread 'Delvin Alexander' via Django users
j64-20020a62c54300b0050d260c0ea8sm13366402pfg.110 - gsmtp')* I included the 16 character code to my environment variable and called it in my settings.pymfile, but still the error occurs. Also here is my settings.py file: - *EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBacken

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

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

2022-04-26 Thread Israel Lewis
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 import models # Create your models here. class Student(models.Model): first_name = models.CharField(max_length=100) last_name = models.CharField(max_length=100) r

Re: Connection timeout error with Postgres

2022-04-24 Thread Antonis Christofides
Since PostgreSQL is listening on a different machine, then it is more or less clear from the error message that the traffic is being filtered. It's strange it works sometimes and other times it isn't working. Does it have a static IP address? Is the PostgreSQL server machine running

Re: Connection timeout error with Postgres

2022-04-24 Thread Disha Patel
port, the most common explanation for > "Connection timed out" is that a firewall (typically on the PostgreSQL > server) is filtering that traffic. Is your PostgreSQL server on a different > machine than Django? > > Regards, > > Antonis > > On 17/04/2022 17

Re: Connection timeout error with Postgres

2022-04-21 Thread Antonis Christofides
ion timed out" is that a firewall (typically on the PostgreSQL server) is filtering that traffic. Is your PostgreSQL server on a different machine than Django? Regards, Antonis On 17/04/2022 17.34, Disha Patel wrote: Hi, I am facing below connection timeout error while using Postg

Connection timeout error with Postgres

2022-04-21 Thread Disha Patel
Hi, I am facing below connection timeout error while using Postgres as database for my Django application. "psycopg2.operationalerror: could not connect to server: connection timed out: Solutions tried: 1. increased timeout at server end. 2. added conn_max_age in the settings and

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

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 th

Error during template rendering

2022-04-09 Thread emmanuel odor
Hello group, I hosted this app on Heroku and i am getting this error. find the attached below. It is working well on my local host... ProgrammingError at /relation "curriculum_standard" does not exist LINE 1: "slug", "curriculum_standard"."description&qu

Re: This site can’t be reached error

2022-04-09 Thread John Dollosa
Hi, Can you make sure that you are running the runserver command successfully? What do you see in the logs if ever you run the command python manage.py runserver? You would see some useful error messages if something went wrong when running Django. On Saturday, 9 April 2022 at 05:32:11 UTC+8

This site can’t be reached error

2022-04-08 Thread Treasure Kahitu
ding in VS Code and tried to open my django page but I get the below error: This site can’t be reached *127.0.0.1* refused to connect. Try: - Checking the connection - Checking the proxy and the firewall ERR_CONNECTION_REFUSED Please help me in layman's terms. Regards Treasure -

Re: django html error

2022-04-05 Thread 'Steven Mapes' via Django users
me some project codes pics so that i can help you. > > On Sat, 2 Apr, 2022, 8:34 pm 5021-Chandra Prakash.S, > wrote: > >> i am new to django, there is no error in my project but my html page is >> not loading ,its just appearing white blank screen when i run the server.I

Re: django html error

2022-04-03 Thread Rakesh Sharma
Will you send me some project codes pics so that i can help you. On Sat, 2 Apr, 2022, 8:34 pm 5021-Chandra Prakash.S, < chan8754584...@gmail.com> wrote: > i am new to django, there is no error in my project but my html page is > not loading ,its just appearing white blank screen wh

django html error

2022-04-02 Thread 5021-Chandra Prakash.S
i am new to django, there is no error in my project but my html page is not loading ,its just appearing white blank screen when i run the server.I had checked settings.py file and edited the templates setting but then too my html file isn't loading. -- You received this message becaus

Re: Favicon.ico error!

2022-03-31 Thread Adedire Adedapo Farouq
Have you solved this problem? On Monday, 28 March 2022 at 14:06:25 UTC+1 mdanz...@gmail.com wrote: > Hi, all. I am try to include favicon file in website logo but getting > image in body of the page.[image: Screenshot from 2022-03-28 11-08-12.png] > > Please give suggestion. > -- You received

Favicon.ico error!

2022-03-28 Thread Md Anzar
Hi, all. I am try to include favicon file in website logo but getting image in body of the page.[image: Screenshot from 2022-03-28 11-08-12.png] Please give suggestion. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this g

Re: DJANGO_SETTINGS_MODULE error

2022-03-23 Thread Kasper Laudrup
On 23/03/2022 12.55, Prashanth Patelc wrote: /I am getting this error / /please solve any one thanks in advance./ / / django.core.exceptions.ImproperlyConfigured: Requested setting REST_FRAMEWORK, but settings are not configured. You must either define the environment variable

error message

2022-03-23 Thread Abhinandan K
- -- 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 the web visit https://group

DJANGO_SETTINGS_MODULE error

2022-03-23 Thread Prashanth Patelc
*I am getting this error * *please solve any one thanks in advance.* django.core.exceptions.ImproperlyConfigured: Requested setting REST_FRAMEWORK, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before

Re: Got an error creating the test database: database "" already exists

2022-03-17 Thread Salima Begum
migrations still I am seeing the new issue below >>>> ``` >>>> django.db.utils.ProgrammingError: relation "auth_user" does not exist >>>> ``` >>>> Thank you >>>> ~Salima >>>> >>>> On Wed, Mar 16, 2022 at

Re: Got an error creating the test database: database "" already exists

2022-03-17 Thread DJANGO DEVELOPER
lt; >>> abubakarbr...@gmail.com> wrote: >>> >>>> you need to run migrations first and then run the tests. if the issue >>>> still persists. let me know >>>> >>>> On Wed, Mar 16, 2022 at 2:15 PM Sebastian Jung < >&

Re: Got an error creating the test database: database "" already exists

2022-03-17 Thread Prashanth Patelc
ot; does not exist >> ``` >> Thank you >> ~Salima >> >> On Wed, Mar 16, 2022 at 9:23 PM DJANGO DEVELOPER >> wrote: >> >>> you need to run migrations first and then run the tests. if the issue >>> still persists. let me know >>> >

Re: Got an error creating the test database: database "" already exists

2022-03-16 Thread Avinash Alanjakar
> On Wed, Mar 16, 2022 at 9:23 PM DJANGO DEVELOPER > wrote: > >> you need to run migrations first and then run the tests. if the issue >> still persists. let me know >> >> On Wed, Mar 16, 2022 at 2:15 PM Sebastian Jung >> wrote: >> >>> Hey sa

Re: Got an error creating the test database: database "" already exists

2022-03-16 Thread Salima Begum
issue > still persists. let me know > > On Wed, Mar 16, 2022 at 2:15 PM Sebastian Jung > wrote: > >> Hey salima, >> >> This error is strange. Django try to use a Relation in postgresql which >> doesn't exist. >> >> I have only tip that you cam r

Re: Got an error creating the test database: database "" already exists

2022-03-16 Thread DJANGO DEVELOPER
you need to run migrations first and then run the tests. if the issue still persists. let me know On Wed, Mar 16, 2022 at 2:15 PM Sebastian Jung wrote: > Hey salima, > > This error is strange. Django try to use a Relation in postgresql which > doesn't exist. > > I hav

Re: Got an error creating the test database: database "" already exists

2022-03-16 Thread Sebastian Jung
Hey salima, This error is strange. Django try to use a Relation in postgresql which doesn't exist. I have only tip that you cam reset database. I would delete database in postgresql and create it new with psql tool. After this you must reset all migrations: https://simpleisbetterthancomple

Got an error creating the test database: database "" already exists

2022-03-15 Thread Salima Begum
Hi all, After writing test cases I run test cases I am getting an error below ``` Python manage.py behave ``` After running the above command I am getting this error. ``` Creating test database for alias 'default'... Got an error creating the test database: database "test_newDa

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
w 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 Python framework, so circular imports are > mostly a Python thing not specific

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

Error : Circula import

2022-03-03 Thread Ruzindana Kent
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 -- You received this message because you are subscribed to the Google G

Re: An error with my code

2022-02-27 Thread Dushime Mudahera Richard
hey According to your issue you can verify first if the application is registered in in settings.py then also the import you may have forgotten to import some modules in yr urls.py the better way is share your codes here so that you can get a better help while looking at your codes you can use ht

Re: An error with my code

2022-02-26 Thread Sebastian Jung
Hey, I thinn you have in your settings.py in installed app a app named polls. Django can not found such a package polls... Now you must install this package or remove it from settings.py Regards Kin Zinzombe schrieb am Sa., 26. Feb. 2022, 16:06: > ^[[23~Traceback (most recent call last): >

Re: An error with my code

2022-02-26 Thread Eugene TUYIZERE
May be polls is the name of your app and you forgot to register it in settings.py Sent from my iPhone > On 26 Feb 2022, at 15:53, Kin Zinzombe wrote: > > ^[[23~Traceback (most recent call last): > File > "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line > 31, in

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

<    1   2   3   4   5   6   7   8   9   10   >