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
vadim
Just put complete url of website in href
Got an error, "Template does not exist"
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 ?
Gourav
Use default=""
Best way is to set blank=True in that...
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
U have to change ur fields
Otherwise error will be thrown
Anonymous
🤔 do you want to make your fields un editable ??
No . Just pass in blank . They were created with not null set .
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
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
Bunty chhatri wala..
vadim
What is correct procedure to write URL for background-image in django template?
Anonymous
Two scoops of django
Can you send me it?
Gourav
What is correct procedure to write URL for background-image in django template?
Put the bg image into static files and use the jinja format to access it
Anonymous
I had
You can send me?
vadim
Put the bg image into static files and use the jinja format to access it
Image stored in "static" folder, and for url of background-image I write- url({% static 'images/img1.jpg' %}), but doesn't work...
vadim
Bring the css property to inline and add django
Not realy understand what it means
Gourav
Did u run collectstatic command?
vadim
Did u run collectstatic command?
I wrote {% loadstatic %} on the top of file
Gourav
'python manage.py collectstatic' command
Gourav
And static path in setting s.py
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
Hi Who have pdf toturial for django?
I use reportlab.. is good
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
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
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