FORTUNATE
Can you show them?
I'm allow to share images???
Charly
FORTUNATE
Failed to load resources: the server responded with a payment.jpeg: 1 status of 404(not found)
FORTUNATE
That is the error
Charly
if you open the CSS do you see the right path? because by default you can't use templating on CSS
FORTUNATE
Failed to load resources: the server responded with a payment.jpeg: 1 status of 404(not found)
This error: is just reminding me that I have add an image payment.jpeg to my images folder so the the server can process and display it. I purposely hold on with that.
Charly
Yes
The it might be working, if not error could come up
King
Can anyone explain how I can pass parameters to my consumers.py when using web-socket so I can filter the data sent to me instead of send all data from the database
Software
How are you everybody? As a seasoned Django + Python + AI developer I expect a lot of assist from you
liya'
Hello, do you know how to use them? generics, APIView ...), OTP, SMTP
liya'
Do you have this documentation?
Maxim
Do you have this documentation?
https://www.google.com/search?q=django+documentation
liya'
thanks)
Asareh
Hello everyone 🌹 I started custome user management in django .I've errors in OTP login views . I need help to debug it 😐🤦‍♀🌹🙏
Behruz
Hello everyone. I Need An Understandable Guide On Django
Doragonsureiyā
Hello everyone. I Need An Understandable Guide On Django
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Hmmmm
Please who knows how to use the in built authentication system
cj
Please who knows how to use the in built authentication system
probably many many people, just ask you questions
Nikita Goncharov
Please who knows how to use the in built authentication system
Django has built-in login, logout functions, but there are no views for them, you should create them
Hmmmm
Okay, how do I stop logout from giving me error 405 method not allowed
Nikita Goncharov
I don't understand your problem
Nikita Goncharov
Okay, how do I stop logout from giving me error 405 method not allowed
Do you have view for logout ? If yes, then look at method with which you are doing your request to this view
Hmmmm
I just used the in built function for the login and sign up
Hmmmm
But trying to use the logout like that isn’t working
Nikita Goncharov
Look in the docs, maybe you are giving wrong params
Nikita Goncharov
There should be an example of creation view for authorization in the docs
Nikita Goncharov
If not, try to look articles about it
Doragonsureiyā
But trying to use the logout like that isn’t working
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Hmmmm
Thank you
Xiao
I'm trying to connect to a Postgres database on a Windows server using the psycopg2 library, but I'm getting this error: django.db.utils.OperationalError: connection to server at "x.100.50.x", port 5432 failed: Connection timed out (0x0000274C/10060) Is the server running on that host and accepting TCP/IP connections? and my database settings is: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': '', 'USER': 'postgres', 'PASSWORD': '', 'HOST': 'x.100.50.x', 'PORT': '5432', } }
Maxim
no:(
make sure you know the answer to that question and that the answer is yes
🍭HotDrify
Hi! I have a problem with static files with debug disabled, can't see static files. What to do?
🍭HotDrify
I tried everything. settings.py: STATIC_URL = '/myapp/static/' if DEBUG: STATICFILES_DIRS = [os.path.join('myapp', 'static')] else: STATIC_ROOT = os.path.join('myapp', 'static') urls.py: urlpatterns = [ path(r'^static/(?P<path>.*)$', serve, {'document_root': settings.STATIC_ROOT}), ... ]
🍭HotDrify
When running manage.py with the collectstatic parameter, it throws an error: OSError: [Errno 38] Function not implemented
Вячеслав
Does anyone know how to disable it? in the URL model field, check for compliance with the generated https link:// In this way, another link could be made, for example to the server file. Now "validators" is triggered and writes an exception that the link is not a URL address.
DaNi
try to logging in but its not let me loggin in
DaNi
i have tried all methods but still its not working login functionality not working
Doragonsureiyā
i have tried all methods but still its not working login functionality not working
If you need help, don't just say "not working", explain in detail what's not working the way you expect it to.
محمد
Hello friends, i want someone to help me in Django project for college Im from palistine in gaza and we in the war now i hope you will help me
Maxim
Hello friends, i want someone to help me in Django project for college Im from palistine in gaza and we in the war now i hope you will help me
we do not provide personalized help outside of the group state your issue here and you may be able to get help here
محمد
Ok ,i have aproplem when i make migrate the tables doesn't update to data base
Doragonsureiyā
Ok ,i have aproplem when i make migrate the tables doesn't update to data base
Impossible to help without details. Read this please: http://www.catb.org/~esr/faqs/smart-questions.html
Vaibhav
Ok ,i have aproplem when i make migrate the tables doesn't update to data base
make migrate and the migrate, make sure u r saving the file as wel
Saidnabixon
from django.contrib import admin from django.urls import path from . import views from first_app import views urlpatterns = [ path('', views.index, name = 'index'), path('admin/', admin.site.urls), path('',views.index1), ] hello 👋. this is "url.py" file and the 4th line is showing error.
Nikita Goncharov
You should rename one of views
Nikita Goncharov
In import i mean
Didar
You can just change your code in one view, not need to create another one
Saidnabixon
Like: from . import views as views_inner
The first views.py file is located in the "MYproject" folder, while the second views.py is in a different folder. Is it possible to use both files? For instance, if I write "from . import views as views_inner", would this allow me to distinguish which views.py file I'm referencing?
Saidnabixon
🍭HotDrify
hi everyone! when i run the command: python3 manage.py collectstatic error: OSError: [Errno 38] Function not implemented what can this mean?
Ivan
U need to provide more information about ur environment
Tech
Hey guys
Tech
Quick question please can anyone help me with a guidelines of creating a professional login system like should I just use Django session alone or Django + jwt
Nikita Goncharov
Nikita Goncharov
All depend on your service
Tech
Which one do you use for production
Nikita Goncharov
If you want create API, then jwt, drf tokens better
Nikita Goncharov
If simple site, then you will happy with django basic auth system
Tech
I also want to ask something... Do I need to store registration confirmation code in user record??