Re: why get_object_or_404 error is not using translation?

2024-05-19 Thread Natraj Kavander
ub.com/django/django/blob/8f205acea94e93a463109e08814f78c09307f2b9/django/shortcuts.py#L88 > My question is why it does not use translation? I searched the web but I > found nothing on why it does not use translation. > Also I like to know, how can I use a workaround to get a translated error >

why get_object_or_404 error is not using translation?

2024-05-18 Thread Hossein Mahdavipour
ion is why it does not use translation? I searched the web but I found nothing on why it does not use translation. Also I like to know, how can I use a workaround to get a translated error when getting 404 without try except in all views. Thanks in advanced. -- You received this message b

DO you know that error I been trying to fox it since 6 hours with no udaptes

2024-05-12 Thread Yann
TemplateDoesNotExist at /login/ usagers/login.html Request Method: GET Request URL: http://127.0.0.1:8000/login/ Django Version: 4.0.3 Exception Type: TemplateDoesNotExist Exception Value: usagers/login.html Exception Location:

Re: Problem to style form fields with error

2024-04-25 Thread Guido Luis Dalla Vecchia
llow the user to input his >> first name, last name and email. >> In my "forms.py" file, I've declared "clean" methods for each field, that >> add the "error" class to them if they don't pass the validation. >> In my CSS file, I declared a rule th

Problem to style form fields with error

2024-04-24 Thread Guido Luis Dalla Vecchia
ot; methods for each field, that add the "error" class to them if they don't pass the validation. In my CSS file, I declared a rule that applies the "background-color: lightcoral" to all elements with the class ".error". The problem is that, when I fill in the &qu

RESET PASSWORD ERROR IN DJNAGO

2024-02-08 Thread Benjamini Athanas
Hellow , guys how to fix this problem NoReverseMatch at /auth/reset/OTM/set-password/Reverse for 'password_reset_complete' not found. 'password_reset_complete' is not a valid view function or pattern name. -- You received this message because you are subscribed to the Google Groups "Django

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

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

2023-12-16 Thread Ram
Hi, Did anyone hit this error before during production server or any type of deployment. We tried deployment using Digital Oceanś App platform as a pre-prod deployment to check whether this App platform is feasible for our Django web site, but we are hitting this error no matter what ever

Re: Help with DRF error

2023-12-16 Thread Larry Martell
023 at 10:00 AM Larry Martell > wrote: > >> I have a DRF API. It is throwing an error that I have not been able to >> fix. >> >> Here is my view and serializer: >> >> class CreateNotations(CreateAPIView): >> permission_classes = [IsAuthenticated] >

Re: Help with DRF error

2023-12-16 Thread Reddy Tintaya
Can't you just use workitem = serializers.PrimaryKeyRelatedField( queryset=WorkItem.objects.all()) instead of workitem_id? On Sat, Dec 16, 2023 at 10:00 AM Larry Martell wrote: > I have a DRF API. It is throwing an error that I have not been able to fix. > > Here is my view and s

Help with DRF error

2023-12-16 Thread Larry Martell
I have a DRF API. It is throwing an error that I have not been able to fix. Here is my view and serializer: class CreateNotations(CreateAPIView): permission_classes = [IsAuthenticated] serializer_class = NotationListSerializer def post(self, request, *args, **kwargs): return

Re: Launching Our Django Developers' Error Resolution Group 

2023-12-07 Thread o1bigtenor
On Thu, Dec 7, 2023 at 6:41 AM Kani Sbt wrote: > > Dear Django and RestFrameWork Community Members, > > I hope this message finds you well! We're thrilled to announce the launch of > a new initiative within our community — the Django Developers' Error > Resolution Group. >

Launching Our Django Developers' Error Resolution Group 

2023-12-07 Thread Kani Sbt
Dear Django and RestFrameWork Community Members, I hope this message finds you well! We're thrilled to announce the launch of a new initiative within our community — the Django Developers' Error Resolution Group. In this group, we aim to foster collaboration and knowledge-sharing among our

Re: Postgres connection error

2023-10-10 Thread ASAMOAH EMMANUEL
stgresql_psycopg2', >> 'NAME': 'knapds', >> 'USER': 'system', >> 'PASSWORD': 'password', >> 'HOST': 'localhost', >> 'PORT': 5432, >> >> >> Install pgadmin and run with the setup with the credentials above >> Make sure the it

Re: Postgres connection error

2023-10-10 Thread Joyce Mumbi
': 'password', > 'HOST': 'localhost', > 'PORT': 5432, > > > Install pgadmin and run with the setup with the credentials above > Make sure the it running the apply the migrations > The error is from the port number > > > > > -- > You received this me

Re: Postgres connection error

2023-10-09 Thread Nana Bright Atsiatorme
the migrations The error is from the port number -- 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

Re: Postgres connection error

2023-10-08 Thread Pranav Sawant
signed mail from my phone) > > > > Original message > From: Pranav Sawant > Date: 9/10/23 01:24 (GMT+10:00) > To: Django users > Subject: Postgres connection error > > *Hey all, I am new to django* > *and i want to connect to postgresql * > > *wha

Re: Postgres connection error

2023-10-08 Thread Sebastian Jung
ATABASE knapds > TO system; \q > *in settings.py:* > > 'ENGINE': 'django.db.backends.postgresql_psycopg2', > 'NAME': 'knapds', > 'USER': 'system', > 'PASSWORD': 'password', > 'HOST': 'localhost', > 'PORT': '', > > *and I am getting this error:* > > dja

RE: Postgres connection error

2023-10-08 Thread Mike Dewhirst
Date: 9/10/23 01:24 (GMT+10:00) To: Django users Subject: Postgres connection error Hey all, I am new to djangoand i want to connect to postgresql what I have doing:At postgres plsqlCREATE DATABASE knapds; CREATE USER system WITH PASSWORD 'password'; ALTER ROLE system SET client_encoding

Postgres connection error

2023-10-08 Thread Pranav Sawant
getting this error:* django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table (permission denied for schema public LINE 1: CREATE TABLE "django_migrations" ("id" bigint NOT NULL PRIMA... Please help -- You received this message becaus

django form validation error massage not showing. please help me out

2023-09-15 Thread Mohammad Shahidullah
{{form.password_again|as_crispy_field}} < i class="fas fa-database"> Submit Back to list {% if form.erro

Error when trying to implement google Oauth sign in using react and django

2023-09-03 Thread david ekechukwu
I am using React and Django to implement an OAuth Google login, however whenever I send the request, I receive the access denied error. I am handling the request in the backend using the drf-Social-Oauth2 library. {"error":"access_denied","error_description":&qu

Re: Help on Error while deploying a django app on render.

2023-08-25 Thread Peter Benjamin Ani
Where are you hosting? On Thu, 24 Aug 2023 at 22:37, ALINDA Fortunate wrote: > Hello family some help i have this error > > Aug 25 12:28:30 AM ImportError: Couldn't import Django. Are you sure it's > installed and available on your PYTHONPATH environment variable? Did you > for

Re: Help on Error while deploying a django app on render.

2023-08-25 Thread ivan harold
mily some help i have this error >> >> Aug 25 12:28:30 AM ImportError: Couldn't import Django. Are you sure >> it's installed and available on your PYTHONPATH environment variable? Did >> you forget to activate a virtual environment? >> Aug 25 12:28:30 AM ==>

Re: Help on Error while deploying a django app on render.

2023-08-25 Thread ivan harold
https://www.freecodecamp.org/news/deploying-a-django-app-to-render/ On Friday, August 25, 2023 at 9:00:08 PM UTC+8 Abdulrahman Abbas wrote: > Are you using virtual environment? > > On Thu, Aug 24, 2023, 22:37 ALINDA Fortunate > wrote: > >> Hello family some help i have th

Re: Help on Error while deploying a django app on render.

2023-08-25 Thread Abdulrahman Abbas
Are you using virtual environment? On Thu, Aug 24, 2023, 22:37 ALINDA Fortunate wrote: > Hello family some help i have this error > > Aug 25 12:28:30 AM ImportError: Couldn't import Django. Are you sure it's > installed and available on your PYTHONPATH environment variable? Did

Help on Error while deploying a django app on render.

2023-08-24 Thread ALINDA Fortunate
Hello family some help i have this error Aug 25 12:28:30 AM ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment? Aug 25 12:28:30 AM ==> Build failed  Yet this is

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

Error while showing detailed post

2023-08-19 Thread Dhiraj Kumar
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, id): print(id) try: showPost = post.objects.get(id=id) # Assuming your model is named 'post'

Re: any any help me to solve below error in my django project

2023-08-07 Thread Brian Gitau
t 2:40 PM AKHIL KORE wrote: > I got the error in my below existings django files. Please solve this > error and check all below files code. > > File "C:\django2pm\myvenv\lib\site-packages\django\urls\resolvers.py", > line 725, in url_patterns > raise ImproperlyConfi

any any help me to solve below error in my django project

2023-08-07 Thread AKHIL KORE
I got the error in my below existings django files. Please solve this error and check all below files code. File "C:\django2pm\myvenv\lib\site-packages\django\urls\resolvers.py", line 725, in url_patterns raise ImproperlyConfigured(msg.format(name=self.urlconf_nam

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

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

Error regarding Deployment on Vercel

2023-08-06 Thread krishna soni
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 -- You received this message because you are subscribed to the G

When i Host i ger=t this error ,i couldn't solve it help me please

2023-08-01 Thread Kani Sbt
File "/home/sbthrmodule/public_html/venv/lib/python3.11/site-packages/MySQLdb/__init__.py", line 121, in Connect return Connection(*args, **kwargs) ^^^ File "/home/sbthrmodule/public_html/venv/lib/python3.11/site-packages/MySQLdb/connections.py",

Re: I need your helf, I got this below error, after post the django server 8000 on google browser. Please correct my django project code?

2023-07-24 Thread Fikayo Soetan
Good day, In the project urlpatterns it's meant to be ""(two quotation marks) instead of "(one). Also, in the app you have not configured any path to handle the http://127.0.0.1:8000/. What you have is for the other views like signup and all. You need a base one like path("", ... Adjust that

I need your helf, I got this below error, after post the django server 8000 on google browser. Please correct my django project code?

2023-07-23 Thread AKHIL KORE
Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/ Using the URLconf defined in question_post.urls, Django tried these URL patterns, in this order: 1.admin/ 2.signup/ [name='signup'] 3.login/ [name='login'] 4.logout/ [name='logout'] 5.post_question/

Re: got url error in app/urls.py file

2023-06-06 Thread Paul Haguet
It's extremely basic error... File urls.py line 3 the import is invalid as it say into the trace. cretae??? Where is this function? I think "create" is the good function name: canno't import name crétin from 'audio_api.views... Le mardi 6 juin 2023 à 14:15:25 UTC+2, AKHIL KORE a écri

RE: Please help me solving this error

2023-05-24 Thread prdpchowdhary
My code is import re iine = “My name is Bahtta. I want to learn”print(re.findall('[aeiou]+', line))And is it is running okSent from Mail for Windows From: Ramesh BhattaSent: Wednesday, May 24, 2023 6:41 AMTo: django-users@googlegroups.comSubject: Please help me solving this error Traceback (most

Please help me solving this error

2023-05-23 Thread Ramesh Bhatta
Traceback (most recent call last): File "C:\users\rudra\desktop\python\client2.py", line 1, in import urllib.request File "C:\Users\Rudra\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 84, in import base64 File

Re: i am getting this error when i try to search in admin panel

2023-05-18 Thread Brian Gitau
The issue lies in specifying ForeignKey fields (state, district, and taluka) within the search_fields. ForeignKey fields cannot be searched using 'icontains' because it requires a direct string comparison. Instead, you can search based on the related field's attributes. To resolve the error, you

i am getting this error when i try to search in admin panel

2023-05-18 Thread Ravindra Magar
i am getting this error when i try to search in admin panel FieldError at /admin/school/center/ Unsupported lookup 'icontains' for ForeignKey or join on the field not permitted. admin.py @admin.register(Center) class CenterAdmin(ImportExportModelAdmin, admin.ModelAdmin): list_display = ('id

Re: django smtp.gmail error

2023-05-17 Thread Chelsea Fan
thank you )) On Thu, May 18, 2023 at 9:52 AM Vishesh Mangla wrote: > > https://medium.com/@manglavishesh64/using-gmail-smtp-with-3rd-party-apps-be3e15f4a7fc > > On Wed, 17 May, 2023, 19:50 Chelsea Fan, > wrote: > >> how can I find your medium stories? >> >> On Wed, May 17, 2023 at 7:09 PM

Re: django smtp.gmail error

2023-05-17 Thread Vishesh Mangla
https://medium.com/@manglavishesh64/using-gmail-smtp-with-3rd-party-apps-be3e15f4a7fc On Wed, 17 May, 2023, 19:50 Chelsea Fan, wrote: > how can I find your medium stories? > > On Wed, May 17, 2023 at 7:09 PM Vishesh Mangla > wrote: > >> You can't use SMTP with Google. >> You need to use oauth

Re: django smtp.gmail error

2023-05-17 Thread Lakshyaraj Dash
Dear Vishesh, You can use SMTP login with 2FA. I've also built many applications using SMTP On Wed, May 17, 2023, 19:39 Vishesh Mangla wrote: > You can't use SMTP with Google. > You need to use oauth through Google cloud platform. Actually there is one > way to use SMTP with Google to login

Re: django smtp.gmail error

2023-05-17 Thread Lakshyaraj Dash
Bro if so then check the email address with which you created your app password and the email address used by your application. Thanks and regards Lakshyaraj Dash On Wed, May 17, 2023, 19:35 Chelsea Fan wrote: > I deleted all passwords and thhen created new password but nothig was > happen > >

Re: django smtp.gmail error

2023-05-17 Thread Chelsea Fan
how can I find your medium stories? On Wed, May 17, 2023 at 7:09 PM Vishesh Mangla wrote: > You can't use SMTP with Google. > You need to use oauth through Google cloud platform. Actually there is one > way to use SMTP with Google to login through third party apps. Check out my > stories on

Re: django smtp.gmail error

2023-05-17 Thread Vishesh Mangla
You can't use SMTP with Google. You need to use oauth through Google cloud platform. Actually there is one way to use SMTP with Google to login through third party apps. Check out my stories on medium. I had written one for a solution. On Wed, 17 May, 2023, 19:36 Vishesh Mangla, wrote: > Are

Re: django smtp.gmail error

2023-05-17 Thread Chelsea Fan
yeah On Wed, May 17, 2023 at 7:07 PM Vishesh Mangla wrote: > Are you logging through Gmail? > > On Wed, 17 May, 2023, 19:35 Chelsea Fan, > wrote: > >> I deleted all passwords and thhen created new password but nothig was >> happen >> >> On Wed, May 17, 2023 at 6:54 PM Lakshyaraj Dash < >>

Re: django smtp.gmail error

2023-05-17 Thread Vishesh Mangla
Are you logging through Gmail? On Wed, 17 May, 2023, 19:35 Chelsea Fan, wrote: > I deleted all passwords and thhen created new password but nothig was > happen > > On Wed, May 17, 2023 at 6:54 PM Lakshyaraj Dash < > dashlakshyaraj2...@gmail.com> wrote: > >> First verify if the email through

Re: django smtp.gmail error

2023-05-17 Thread Chelsea Fan
I deleted all passwords and thhen created new password but nothig was happen On Wed, May 17, 2023 at 6:54 PM Lakshyaraj Dash < dashlakshyaraj2...@gmail.com> wrote: > First verify if the email through which the app password was created is > same or different. If different then it will not work. >

Re: django smtp.gmail error

2023-05-17 Thread Lakshyaraj Dash
First verify if the email through which the app password was created is same or different. If different then it will not work. OR Please recreate a new app and copy the password again and enter. Thanks and Regards Lakshyaraj Dash On Wed, May 17, 2023, 19:17 Chelsea Fan wrote: > how can I solve

django smtp.gmail error

2023-05-17 Thread Chelsea Fan
how can I solve this? I enabled 2fa then created app password but it does not work. smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials ev21-20020a17090729d500b00965b416585bsm12337451ejc.118 -

Re: NoReverseMatch at /home/ error

2023-04-23 Thread Parfait TOLEFO
eb am So., 23. Apr. 2023, > 18:21: > >> [image: error.png]Hello everyone, please, I have this error *NoReverseMatch >> at /home/ *when I want to put link to home page from other page. >> >> [image: VEW.png] >> This is my views.py content >> >> [image: U

Re: Django urls error

2023-04-23 Thread Nitesh Solanki
ini Abdul Rahman, < >> juw...@gmail.com> wrote: >> >>> In your urls.py you use '/hello' but in your browser you type '/home'. >>> >>> On Sat, 15 Apr 2023 at 06:07, lalit upadhyay >>> wrote: >>> >>>> *I have copied my code here. Plz

Re: Django urls error

2023-04-22 Thread ritik sahoo
ail.com> wrote: > >> In your urls.py you use '/hello' but in your browser you type '/home'. >> >> On Sat, 15 Apr 2023 at 06:07, lalit upadhyay >> wrote: >> >>> *I have copied my code here. Plz fix this error:* >>> >>> >>> view.p

Re: Django urls error

2023-04-17 Thread Tarun Miri
'/home'. > > On Sat, 15 Apr 2023 at 06:07, lalit upadhyay > wrote: > >> *I have copied my code here. Plz fix this error:* >> >> >> view.py >> from django.http import HttpResponse >> >> >> def hello_delhi_capitals(request): >>

Re: Django urls error

2023-04-17 Thread Tahir Munir Faraz
home', that > path does not exist > > On Fri, 14 Apr 2023 at 23:07, lalit upadhyay > wrote: > >> *I have copied my code here. Plz fix this error:* >> >> >> view.py >> from django.http import HttpResponse >> >> >> def hello_delhi_capital

Re: Django urls error

2023-04-16 Thread oluwafemi damilola
Your path is 'hello/', but in your browser you are going to 'home', that path does not exist On Fri, 14 Apr 2023 at 23:07, lalit upadhyay wrote: > *I have copied my code here. Plz fix this error:* > > > view.py > from django.http import HttpResponse > > > def hell

Re: Django urls error

2023-04-16 Thread oluwafemi damilola
If you are still getting the error if you visit the 'hello' path, then you should visit 'hello/hello/' On Sun, 16 Apr 2023 at 11:19, oluwafemi damilola wrote: > Your path is 'hello/', but in your browser you are going to 'home', that > path does not exist > > On Fri, 14 Apr 2

Re: Django urls error

2023-04-15 Thread 'Kasper Laudrup' via Django users
On 14/04/2023 21.48, lalit upadhyay wrote: * I have copied my code here. The code is from a project called "myproject" Plz fix this error: The error is from a project called "Tesing". You can ignore all other answers you've been given so far until you figur

Re: Django urls error

2023-04-15 Thread Karthik V A
yay wrote: > >> *I have copied my code here. Plz fix this error:* >> >> >> view.py >> from django.http import HttpResponse >> >> >> def hello_delhi_capitals(request): >> return HttpResponse('Hello Delhi Capitals!') >> >> >> &g

Re: Django urls error

2023-04-15 Thread Lawal Tobiloba Samuel
lalit upadhyay wrote: > > *I have replaced URL ‘home/’ to ‘hello/’ but still i got same error* > On Saturday, April 15, 2023 at 7:29:15 AM UTC+5:30 Muhammad Juwaini Abdul > Rahman wrote: > >> In your urls.py you use '/hello' but in your browser you type '/home'. >> >

Re: Django urls error

2023-04-15 Thread b1t
:57:36 UTC+5:30 lalit upadhyay wrote: > > *I have replaced URL ‘home/’ to ‘hello/’ but still i got same error* > On Saturday, April 15, 2023 at 7:29:15 AM UTC+5:30 Muhammad Juwaini Abdul > Rahman wrote: > >> In your urls.py you use '/hello' but in your browser you type '/h

Re: Django urls error

2023-04-15 Thread አብርሃም መስፍን
path('', views.index, name="index"), > ] > > On Saturday, April 15, 2023 at 2:01:53 PM UTC+5:30 Karthik V A wrote: > >> Remove admin/ url pattern at urls.py in myapp >> >> On Sat, 15 Apr, 2023, 1:58 pm lalit upadhyay, >> wrote: >> &g

Re: Django urls error

2023-04-15 Thread Shaikh Mudassir
('myapp.urls'))* On Saturday, April 15, 2023 at 2:01:53 PM UTC+5:30 Karthik V A wrote: > Remove admin/ url pattern at urls.py in myapp > > On Sat, 15 Apr, 2023, 1:58 pm lalit upadhyay, > wrote: > >> >> *I have replaced URL ‘home/’ to ‘hello/’ but still i got same erro

Re: Django urls error

2023-04-15 Thread Lawal Tobiloba Samuel
te a route for "home" On Fri, Apr 14, 2023, 11:07 PM lalit upadhyay wrote: > *I have copied my code here. Plz fix this error:* > > > view.py > from django.http import HttpResponse > > > def hello_delhi_capitals(request): > return HttpResponse('Hello Delhi

Re: Django urls error

2023-04-15 Thread Lawal Tobiloba Samuel
wser, you are suppose to use > localhost:8000/hello, not localhost:home. > > > > Remember: you did not create a route for "home" > > On Fri, Apr 14, 2023, 11:07 PM lalit upadhyay > wrote: > >> *I have copied my code here. Plz fix this error:* >> >>

Re: Django urls error

2023-04-15 Thread b1t
ou haven't defined the home url that you are trying to access On Saturday, 15 April 2023 at 03:37:38 UTC+5:30 lalit upadhyay wrote: > *I have copied my code here. Plz fix this error:* > > > view.py > from django.http import HttpResponse > > > def hello_delhi_cap

Re: Django urls error

2023-04-15 Thread b1t
You are trying to access the home/ URL which u haven't defined yet On Saturday, 15 April 2023 at 03:37:38 UTC+5:30 lalit upadhyay wrote: > *I have copied my code here. Plz fix this error:* > > > view.py > from django.http import HttpResponse > > > def hello_delhi_cap

Re: Django urls error

2023-04-15 Thread lalit upadhyay
n Sat, 15 Apr, 2023, 1:58 pm lalit upadhyay, > wrote: > >> >> *I have replaced URL ‘home/’ to ‘hello/’ but still i got same error* >> On Saturday, April 15, 2023 at 7:29:15 AM UTC+5:30 Muhammad Juwaini Abdul >> Rahman wrote: >> >>> In y

Re: Django urls error

2023-04-15 Thread Karthik V A
Remove admin/ url pattern at urls.py in myapp On Sat, 15 Apr, 2023, 1:58 pm lalit upadhyay, wrote: > > *I have replaced URL ‘home/’ to ‘hello/’ but still i got same error* > On Saturday, April 15, 2023 at 7:29:15 AM UTC+5:30 Muhammad Juwaini Abdul > Rahman wrote: > >> In

Re: Django urls error

2023-04-14 Thread Muhammad Juwaini Abdul Rahman
In your urls.py you use '/hello' but in your browser you type '/home'. On Sat, 15 Apr 2023 at 06:07, lalit upadhyay wrote: > *I have copied my code here. Plz fix this error:* > > > view.py > from django.http import HttpResponse > > > def hello_delhi_capitals(request

Re: Django audio recording issue: receiving Bad Request error

2023-04-04 Thread Ahmed omar miladi
will >> save a audio file (wav). However, I have receive a bad request error and >> the audio file is not created. >> >> I have posted the code at stack overflow: >> https://stackoverflow.com/q/75853749/21499403 >> >> Can anyone help me please. >> &

Re: Django error while running

2023-04-04 Thread 'JOSE GONZALEZ SANCHEZ' via Django users
t;> Is almost always is due to a problem with your settings INSTALLED_APPS, >>> particularly if django\apps\registry.py Is further up the trace. >>> >>> A missing comma between items, perhaps? >>> >>> It would indeed be nice if Django would output a more se

Re: Django audio recording issue: receiving Bad Request error

2023-04-04 Thread ritik sahoo
When user press the recorder button, > it will direct to record.html with four buttons, Start, Pause, Resume and > Stop. When the user finished recording and hit the Stop button, it will > save a audio file (wav). However, I have receive a bad request error and > the audio file is not

Re: Error: name 'include' is not defined

2023-04-02 Thread Larry Stevens
;> My code in urls.py follows: >> from django.contrib import admin >> from django.urls import path >> urlpatterns = [ >> path('admin/', admin.site.urls), >> path('hello_world/', include('hello_world.urls')) >> ] >> >> The return error is

Re: Debug error when c

2023-04-01 Thread Alen Zuvic
pet, 31. ožu 2023. 07:23 Usra Saeed je napisao: > Hi, are you installing django on Visual Studio and during this > installation you got this error? > > On Thu, 30 Mar 2023, 10:48 pm Ricky Abura, wrote: > >> Hi, >> I am learning django, in the process of devel

Re: Debug error when c

2023-04-01 Thread Prosper Lekia
outube clone, I meet > the attached error when installing django debug toolbar. I don't know where > I am not getting right but I strictly follow some tutorial. Any assistance > please? > -- You received this message because you are subscribed to the Google Groups &q

Re: Debug error when c

2023-03-30 Thread Usra Saeed
In urls.py file your mentioned url is not existed On Thu, 30 Mar 2023, 10:48 pm Ricky Abura, wrote: > Hi, > I am learning django, in the process of developing youtube clone, I meet > the attached error when installing django debug toolbar. I don't know where > I am not getting

Re: Debug error when c

2023-03-30 Thread Usra Saeed
Hi, are you installing django on Visual Studio and during this installation you got this error? On Thu, 30 Mar 2023, 10:48 pm Ricky Abura, wrote: > Hi, > I am learning django, in the process of developing youtube clone, I meet > the attached error when installing django debug toolbar

Re: Debug error when c

2023-03-30 Thread Chetan Ganji
django, in the process of developing youtube clone, I meet > the attached error when installing django debug toolbar. I don't know where > I am not getting right but I strictly follow some tutorial. Any assistance > please? > > -- > You received this message because you are subscribed to the

Debug error when c

2023-03-30 Thread Ricky Abura
Hi, I am learning django, in the process of developing youtube clone, I meet the attached error when installing django debug toolbar. I don't know where I am not getting right but I strictly follow some tutorial. Any assistance please? -- You received this message because you are subscribed

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: Django error while running

2023-03-27 Thread Makan Dianka
issing comma between items, perhaps? >> >> It would indeed be nice if Django would output a more sensible error >> message for issues like this  >> Hmm, an idea for a useful PR right there. Seems to be common issue (since >> the very next message I read in thi

Django audio recording issue: receiving Bad Request error

2023-03-27 Thread Yong Zu Yi
finished recording and hit the Stop button, it will save a audio file (wav). However, I have receive a bad request error and the audio file is not created. I have posted the code at stack overflow: https://stackoverflow.com/q/75853749/21499403 Can anyone help me please. -- You received

Re: Error: name 'include' is not defined

2023-03-23 Thread Ikrombek
t; from django.contrib import admin >>>> from django.urls import path >>>> urlpatterns = [ >>>> path('admin/', admin.site.urls), >>>> path('hello_world/', include('hello_world.urls')) >>>> ] >>>> >>>>

Re: Error: name 'include' is not defined

2023-03-22 Thread Larry Stevens
dmin >>> from django.urls import path >>> urlpatterns = [ >>> path('admin/', admin.site.urls), >>> path('hello_world/', include('hello_world.urls')) >>> ] >>> >>> The return error is name 'include' is not defined >>>

Re: Error: name 'include' is not defined

2023-03-22 Thread Robinson
llows: >> from django.contrib import admin >> from django.urls import path >> urlpatterns = [ >> path('admin/', admin.site.urls), >> path('hello_world/', include('hello_world.urls')) >> ] >> >> The return error is name 'include' is not

Re: Error: name 'include' is not defined

2023-03-22 Thread Harouna Diallo
ls), > path('hello_world/', include('hello_world.urls')) > ] > > The return error is name 'include' is not defined > > I tried to import include with the statement from django.conf.urls > import include > which also failed. > > Thank you for reading my p

Re: Error: name 'include' is not defined

2023-03-22 Thread Jeman Kumar
gt; urlpatterns = [ > path('admin/', admin.site.urls), > path('hello_world/', include('hello_world.urls')) > ] > > The return error is name 'include' is not defined > > I tried to import include with the statement from django.conf.urls > import include > which also

Re: Django error while running

2023-03-22 Thread James Kalu
oblem with your settings INSTALLED_APPS, > particularly if django\apps\registry.py Is further up the trace. > > A missing comma between items, perhaps? > > It would indeed be nice if Django would output a more sensible error > message for issues like this  > Hmm, an ide

Error: name 'include' is not defined

2023-03-22 Thread Larry Stevens
follows: from django.contrib import admin from django.urls import path urlpatterns = [ path('admin/', admin.site.urls), path('hello_world/', include('hello_world.urls')) ] The return error is name 'include' is not defined I tried to import include with the statement from

Re: Django Channels 2 Group_send to channel layer causes runtime error: "got Future attached to a different loop"

2023-03-22 Thread raed
how did you test it ? did you use a specific cmd to excute ? Le vendredi 16 février 2018 à 22:08:55 UTC+1, Luke Hebert a écrit : > Trying to call the "alert_receive" consumer method > > import json > from channels.consumer import SyncConsumer > from channels.exceptions import StopConsumer > from

Re: Django error while running

2023-03-22 Thread Chandresh . T
hat it said "already installed >> rest_framework" but while running it shows an error that no module called >> rest_framework is installed. >> >> On Wed, 22 Mar 2023 at 07:20, David Nugent wrote: >> >>> Any traceback with this at the end: >>>

Re: Django error while running

2023-03-22 Thread Ahmad Abdulnasir Shuaib
ing file of the project and I actually > installed requirement.txt already. In that it said "already installed > rest_framework" but while running it shows an error that no module called > rest_framework is installed. > > On Wed, 22 Mar 2023 at 07:20, David Nugen

Re: Django error while running

2023-03-22 Thread Chandresh . T
Hello all! This is the setting file of the project and I actually installed requirement.txt already. In that it said "already installed rest_framework" but while running it shows an error that no module called rest_framework is installed. On Wed, 22 Mar 2023 at 07:20, David Nugent wro

  1   2   3   4   5   6   7   8   9   10   >