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
>
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
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:
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
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
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
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
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 =
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
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
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]
>
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
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
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.
>
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
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
': '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
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
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
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
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
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
{{form.password_again|as_crispy_field}}
<
i class="fas fa-database">
Submit
Back to list
{% if form.erro
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
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
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 ==>
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
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
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
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
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'
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
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
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
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
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
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",
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
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/
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
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
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
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
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
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
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
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
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
>
>
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
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
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 <
>>
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
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.
>
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
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 -
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
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
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
'/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):
>>
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
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
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
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
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
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'.
>>
>
: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
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
('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
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
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:*
>>
>>
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
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
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
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
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
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.
>>
&
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
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
;> 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
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
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
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
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
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
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
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)
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
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
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
t; from django.contrib import admin
>>>> from django.urls import path
>>>> urlpatterns = [
>>>> path('admin/', admin.site.urls),
>>>> path('hello_world/', include('hello_world.urls'))
>>>> ]
>>>>
>>>>
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
>>>
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
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
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
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
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
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
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:
>>>
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
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 - 100 of 9342 matches
Mail list logo