Swapnil
Ok
Swapnil
Thank u
vadim
How to make a link to another website, but not to local template?
Gourav
Just put complete url of website in href
Gourav
What url have u put
vadim
a href"******.com"
vadim
In a base template
Gourav
I said complete url
Gourav
Including https://
vadim
Including https://
I have just included "https" and it works, thanks, i'm only start learning django)
Gourav
Np
Anonymous
Hi. I am using forms and if some field is left blank I want to save empty string to db. What's the best way to do this.
Anonymous
Hey dose anyone know what STATIC_TMP means ?
Anonymous
Anonymous
Anonymous
Anonymous
Anonymous
Anonymous
No problem
It's for models ,is there something I can do in views or forms. Can't edit models .
Anonymous
True
I wish. Not allowed to mess with models ,site is live.
Gourav
Anonymous
Gourav
Anonymous
Anonymous
If you want it to be always created with a default value set default="<value>"
Anonymous
Makemigration
Migrate
Anonymous
Can't make changes to models.py . I am not allowed . Any other way ,please.
Anonymous
Is it uidb64 is making a reference to user and searching there email
Anonymous
In passwordresetdone
Anonymous
I had raised this in Stackoverflow too. Someone had recommended another library for it but I couldn't get it to work. I am not sure if that library works with Django 3.0
Anonymous
I am looking for free alternatives to hosting media files and Google Drive seems to be the only one which offers the highest free space.
Flavien
Stupid question, I want to ask it. In a django project, can I delete the empty *.py module files after I finalize my project?
Anonymous
How can i filter timestamp with AM or PM ?
Eric
How can i filter timestamp with AM or PM ?
String fields aren't idea for storing time data. If you're going to filter by timestamp, store actual datetime values. Add a DateTimeField field to your model and (iterating through all records) use something like the arrow library to convert the string to a valid datetime and store that value in the new field.
Anonymous
Anonymous
But to filter
Diary.objects.filter(timestamp__hour__icontains=query)
So how do i filter for AM or PM?
Anonymous
Hi
Who have pdf toturial for django?
Shreehari
error: https://del.dog/engigywarf.txt
code: https://del.dog/cringanuwa.txt
Shreehari
Shreehari
Bunty chhatri wala..
vadim
What is correct procedure to write URL for background-image in django template?
PV
Gourav
Anonymous
Anonymous
vadim
Gourav
Did u run collectstatic command?
Gourav
'python manage.py collectstatic' command
Gourav
And static path in setting s.py
Gourav
vadim
Will try, thanks
Gourav
And urlpattern in project level urls.py
Gourav
Ensure above mentioned three points.....
abhi
Can anyone please tell me ORM queryset for left join 6 tables and select particular fields and group by only one field. And it has multiple where condition?
abhi
Hello
abhi
?
Gourav
Couldn't understand ur problem....😔😔😔
Fil
Dhinesh
What is Jinja in Django
Dhinesh
How to i import a particular content from an HTML file to another file?
Dhinesh
Like php, <? filename.php> how to i use this technique in Django
Mirco
Dhinesh
How? Can u explain please
Gourav
Include and extend both can do the job
Mirco
Official docs is there for u 😊
Dhinesh
Ok. Its able one more operations in same html file
Dhinesh
Anonymous
abhi
Can anyone please tell me ORM query for LEFT JOIN 6 models who are connected through foreign key reference and SELECT particular fields and group by only one field?
Anonymous
Is this good to encrypt data using presave before saving so that i can't see the user data through Django admin?
Avnish
I am starting to learn django from tomorrow suggest me good websites and youtube channels
Dhinesh