Anonymous
?
AK
I wanted to search based on date in models data|? How do I do that?
NIDESH
Hey , i am new to django....i have been asked to do a mini project to get the inputs of IP, DBname, password and port. Where i need to do a long running process for automatic backup of the entered data base. Any helps and suggestions would be appreciated🙏
.
Hi, can you help me please. What are best resources where I can learn easily django also drf. If it''s documentation can you suggest a roadmap, how can I go ?
âshîsh
Hi, can you help me please. What are best resources where I can learn easily django also drf. If it''s documentation can you suggest a roadmap, how can I go ?
I suggest you to follow the basics from a playlist from YouTube about django. Also side by side read documents with hands on practice. Once you finish all basic about django, move to the DRF. Follow same process while working with DRF. It will give you a few benefits- 1) understanding of Django MVT architecture and DOM 2) Practice 3) Ideas to create various projects using full stack python as well APIs
.
Thank you a lot, It looks not so hard. I try to follow, and wish it can help me!!
âshîsh
Thank you a lot, It looks not so hard. I try to follow, and wish it can help me!!
I followed the same way while I started to learn django.
Nirupam
How to implement sleep() in django for periodic task
Agent Q
U can use git actions of GitHub
I don't think that's what he's asking for.
koti bayyana
Any one can help me in my Django project?
William
I have a mini project
William
books management system
Doragonsureiyā
Hey , i am new to django....i have been asked to do a mini project to get the inputs of IP, DBname, password and port. Where i need to do a long running process for automatic backup of the entered data base. Any helps and suggestions would be appreciated🙏
What have you tried to do so far to solve that issue? Show your code and explain where and why you're stuck on solving your issue. Read rule 5️⃣ to learn how to show your code
.....
File "c:\python3.7.4\Lib\json\decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) How to solve this error
koti bayyana
What kind of project?
Finance relatated bro
Anonymous
How to connect ReactJs with Django..did anyone did this?
Nisis
Are you looking for help? Or is this a challenge or something?
Nirupam
I don't think that's what he's asking for.
I know how to import..i will write sleep() in view.py file and run runserver .. will that work?
Agent Q
You need to specify how long
M
How to implement sleep() in django for periodic task
Use celery + rabbitnq or redis for periodic task, seelp() just stop the flow
killer
Hi friends, I have a problem after creating the project. css The admin page does not load. please guide me.
M
How to connect ReactJs with Django..did anyone did this?
Easy, create a react project inside ur app, then create a view to render an specific template example (reactapp.html) and on react protect render to this template too, I suggest using babel and compile the code import the js on ur template, that's all
M
Make sure to add django.contrib.staticfiles and set STATIC_ROOT
M
Or use django-admin collectstatic
M
Set debug=true on ur setting to see what happend
killer
Make sure to add django.contrib.staticfiles and set STATIC_ROOT
I tried these but unfortunately it did not work
M
u have any tutorial brother
Check this, https://www.valentinog.com/blog/drf/
M
I tried these but unfortunately it did not work
Send a screenshot or the browser inspector
killer
Send a screenshot or the browser inspector
I am not allowed to send files in this group
M
U can upload here and send the link
killer
https://imgbb.com/
https://ibb.co/q072z9J
M
https://ibb.co/q072z9J
i mean something like this https://ibb.co/02v1CzN https://ibb.co/FbqYSFC https://ibb.co/KNYWVjJ
Anki|Important texts only
so i have installed Heroku in my windows globally but in VSC PowerShell inside my virtual environment "heroku" is not getting recognized How to fix this?
Aossh#..
Hey anyone know django Who can help me in project setup of price compare of e commerce website
Aossh#..
I need just a project set-up part I have Proj Just needed help in setting up in other laptop As other friend helped me to do in first one.
Aossh#..
Please anyone help me in that
Aossh#..
Anyone ?
M
I will definitely check these items. thank you
u welcome, copy the static folder into ur base dir app is more efective to debug, cuz django search static file into their on project first
Aossh#..
Patience
... please anyone help me out it's a request🙏🙏🙏
Make requirements and install on the next machine, run it as usual.
Aossh#..
Didn't got what u said
Patience
I think you want to run on other machine.
Aossh#..
Ok
Patience
You need to list all libraries use pip and install on that machine, then run it.b
Aossh#..
... please anyone help me out it's a request🙏🙏🙏
Please help me first hVe a due date soon thts y please 🙏🙏
Random
I have a category model for article
G
.
Yes please
Random
I have a category model for article
So when i use createview , for form it displays categories present for all user in category options field in form What i want is to display only categories created by user in form field of createview
Ivan
Hi guys! Does anyone know libraries similar this one https://django-custom-query.readthedocs.io/en/latest/using.html?
Doragonsureiyā
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Valter
Hi everyone, I'm trying to send email to a groups (not user permissions), does anyone have any solution/advice please. Find things on StackOverflow but doesn't fill my needs. Thank you.
Pravin
Hi friends, I have a problem after creating the project. css The admin page does not load. please guide me.
I had this issue. In my case i put "/" before static file directory solved my problem.
Valter
You should select all the users you want to send an email Then put those emails to be sent into the queue
My Ideia is to, once someone upload a file, the system should send a email to everyone one that group.
kuzmich
My Ideia is to, once someone upload a file, the system should send a email to everyone one that group.
The first thing that comes to my mind is to check if file was uploaded then do what I sent before
kuzmich
if file users = group.users.all() for user in users send_email(user.email) via queue
Valter
if file users = group.users.all() for user in users send_email(user.email) via queue
Amazing, this is what thought, will try that. Appreciate.
Akaash
Hiii I want some help
Akaash
Anyone
Akaash
In django