Kriti
What do you use for testing?
https://github.com/openwisp/openwisp-monitoring/pull/578/files
https://github.com/praptisharma28/Random/blob/main/monitoringerrors.txt.
Please check my code here, you will get better understanding to hlp me.
Leroy
Hello guys, I want to be able to add opening hours on profile using jaonField with predefined keys how do I achieve this
clouded
clouded
Wouldn't harm to put the code in a paste bin.
Kishan
Hello
I need to send the email with html templates. That html file use the load static and add the IMG src using the {% static 'path of img' %}.
I send the email using the send_email and also use the render_to_string. But still not load the static file image in email
Husen
Hi all. I created a user model and combined it with the said role model, making it multi-volume. when I create a superuser it creates a user but doesn't login to the admin panel?
Ange
On my website I got a directory media for users photo and documents.
When the site is alive the can add photos or document it’ll work But every Time I make a git push and I update the site
All documents or photo are not found any more.
How can I solve this please ?
Abhinand
Hai i hosted my django project on aws. After that i didnt get any styles. It displays as normal html without any css
Abdurahman
I am learning to build and run django framework web applications. Recently I am watching this video tutorial:https://www.youtube.com/watch?v=pLN-OnXjOJg&list=PL-51WBLyFTg38qZ0KHkJj-paDQAAu9HiP . I am doing everything as shown in the video, cmd shows that the server is working properly. But I can'topen the web application in localhost itself: enter image description hereenter image description here
I've tried to search for the error type, google says it's a cycled import error and youtube says there's something wrong with wrapping classes or something like that. I am a completely beginner, so please help me out very fast to not stagnate there:
`from django.urls import path
from . import views
urlpatterns = [
path('', views.home)`
Un Poco Loco
Abdurahman
advice me, my lord
Eben
What should I set ALLOWED HOST in settings.py to?
Un Poco Loco
Eben
Kishan
Eben
thanks man
Kishan
Nikita Goncharov
Good day. There are two Django services, in one the logged-in user accesses a page with an iframe that displays the page of the second Django service. After I close this page with an iframe and go to another page, the user logs out for some reason, I found out that this happens when this page is displayed. Somehow this iframe affects it. Maybe someone has encountered or knows in which direction to look?
Thank you
Gowtham
Can anyone tell me what flutter is how and where I should start learning it and pros of learning flutter
Anonymous
Hello guys, i am being turtured by the NameError that i get these three days
basically i made a class in my forms.py wich i made a context of it to use it on my views.py:
form = Login_form() # it's a class
then when i go to my login page i get the NameError for login_form
and i imported it so why do i get this error?
RRH
Hello Everyone.
I am working on a migration process from Django2.2 to Django4.2 version.
It is everything is good, but when I do the make-migrations and migrate (created the new class in models.py with Meta class ) I get the error i.e., "TypeError: 'class Meta' got invalid attribute(s): manager_inheritance_from_future", I have tried below solutions but not working any solution.
Solution 1:
add the option in Meta class is manager_inheritance_from_future = True or False
Solution 2:
comment out Meta class with options
Then I did make migrations and migration but no use same issue.
Please let me know if anyone has any idea about it.
Thank you.
Gaston
Hi there, did someone has problem with static files after disable debug ?
Ange
Gaston
Yeah
where u able to solve some how ?
Samuel
I have deployed my own django project, I noticed that every day the RAM consumption is increasing and not decreasing. All content is stored in the database and nothing is a local variable. How can I solve this problem?
Samuel
Hi there, did someone has problem with static files after disable debug ?
If I understand your question correctly, this piece of code in the main URLs.py file will probably help you
from django.conf import settings
from django.conf.urls.static import static
#at the end of the code
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
Gaston
Mahnoosh
Hi,
I worked as backend developer with php/Laravel for 2 years, Now I wanna switch to python/django.
Is it a good decision or Not??
Moni
.
Should I first learn python basics then Django or I can dive in directly to learning django
Ортонормированная
i create view in postgres
how i can select it ?
The Inspired
The Inspired
you mean seeing the entire DB ?
The Inspired
fair enough
The Inspired
oh. those are just named queries.
bruh.
😑
my bad.
thanks for the enlightenment 👍
kiplangat
Hello Djangoers, how do I map the following url scheme? /m1/users/{user_id}/data/
I am using drf and a class that extends viewsets.GenericViewSet, with other endpoints under /m1/ sharing a router with view functions mapped to url_pth using decorators.action()
shais
Whhat ?
Nani
Hiii
Nani
I am getting page not found error
Nani
Even write everything fine I didn't do any mistake 😭
Nani
Please help
Nani
Otherwise I lost the job
Vitaly
David H
Aymeen
PΛRSΛM
hey what is this error and how can i solve it?
Requested setting REST_FRAMEWORK, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
Abhi
Where I have to send the codes?
Abhi
Ohkk
D🌷
Hello guys
D🌷
A server error occurred. Please contact the administrator.
D🌷
i don't understand please help
Abhi
https://pastecode.io/s/0wqv7jf5
Abhi
I don't know why my data is not saved in admin panel
Abhi
https://pastecode.io/s/f4tyjah4
Abhi
Abhi
Abhi
Any one suggest some alternative solution
Abhi
https://pastecode.io/s/vhv2bt4g
Abhi
My admin.py file
Nikita Goncharov
Good day. There are two Django services, in one the logged-in user accesses a page with an iframe that displays the page of the second Django service. After I close this page with an iframe and go to another page, the user logs out for some reason, I found out that this happens when this page is displayed. Somehow this iframe affects it. Maybe someone has encountered or knows in which direction to look?
Thank you
SHEIKH HAFIJUL ALI
Nikita Goncharov
N.A.developer
Can we give me some advices about DRF
Tanjiro
Hi good day. I need help in my modals because my view payslip action wont display the view_payslip form, it just returned a JS pop up saying "127.0.0.1:8000: says error" Please I need your help and guidance. I am using python and django
https://dpaste.org/GqBdw
Charly
N.A.developer
Ethan
that is not an id
Rud
How to let prettier ignore some jinja code ? very ignoring
Rud
ratio|safe
keep becoming “ratio| safe” when i save, occured error
.
hi i want to learn django can some one please suggest me how to read the documentation,like where to start and go further?