Xavier
how to implement mongo db with django tries and failures: i tried djongo and also django engine mongo but those gave errors (cant find backend for djongo and dependency issues with the mongo engine) question: is there actually a way to implement mongodb with django or i am better with postgres?
Rohan
Also, heard of dockers and docker compose?
Xavier
The latter
postgres
Rohan
I'm pretty sure you can resolve that issue of missing deps and stuff
Rohan
But in a long run
Rohan
I'd suggest using postgres
Rohan
Better compatibility and more perks
Rohan
Also if you are looking at unstructured data, you can have a look at JSONFields
Xavier
i read up the advantages and disadvantages of mongodb over postgres so yea i thinking going with postgres is better
Rohan
MySQL is okay too
Xavier
MySQL is okay too
yea but i am not yet familiar with it will learn it later for now i am going postgres thanks for the advice tho
Rohan
reading up on docker too
Will you tag me when you go out for dinner too?
ᐯᑌᏞᏦᗩᑎ📈
i deployed my project to heroku but my staticfiles isn't working
ᐯᑌᏞᏦᗩᑎ📈
how to fix that
Mirco
i deployed my project to heroku but my staticfiles isn't working
https://docs.djangoproject.com/en/3.0/howto/static-files/deployment/
LORD
How can i get value from the input tag in html to my views.py app?
Erik
Hey👋🏻 Could anyone help me with this?! So I need my a.href="" be automatically with https://Wa.me/and-user-phone-here. Same with other messengers and social links. How I do it right? Anyone?
Erik
Thats html and not the topic of this group
No man. It's Django. I must get me wrong
LORD
I hope i can help u
LORD
Just explain me more in good pattern
Doragonsureiyā
No man. It's Django. I must get me wrong
Adding the word Django to your Off-Topic question doesn't magically turn it to a Django related question, so move to @PythonOfftopic group and ask there.
Erik
Just explain me more in good pattern
Well. I'm trying to do something like "smarturl app". So, when user choose which links he wants to show (for example: WhatsApp, instagram, phone). The href attribute must contain not just {{ user.phone }} but "Wa.me/" before that for WhatsApp link and so on
Lelouch
Helppp How to create real time chat For site........
Lelouch
Django channels
Any source?
George
Doragonsureiyā
Any source?
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box write down the same words you asked here Step 4: Read the firsts results
maroong
How is fragmentation done with Django? I mean rendering multiple pages on one page.
Erik
Try <a href='http://wa.me/{{ user.phone}}>{{user.phone}}</a>
Yeah but if I'm trying to do it in "for loop". I'm taking all field from model. Don't know how to do it right.
Doragonsureiyā
Yeah but if I'm trying to do it in "for loop". I'm taking all field from model. Don't know how to do it right.
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Anonymous
someone to help me with signals? i'm using instance.save into a signal and this is calling the same signal again and raising a error: https://stackoverflow.com/questions/61033206/how-to-use-post-save-and-use-instance-save-inside-post-save-without-call-post-sa
Aito
Hi everyone
K.
How can I apply hexagonal architecture to a Django server-side-rendered-view application?
K.
😀
K.
Hexagonal, clean, onion architecture. It has different names.
Hari
From Using django.utils.translation import ugettext_lazy as l_ Using this Back Office is not properly translated in Russia
Sheshadri
Hexagonal, clean, onion architecture. It has different names.
Django has one Architecture .. MVT .. how you use it, is left you.
Sheshadri
left to you.*
Kushal
pastebin.com/bEBtEVAt
Kushal
pastebin.com/bEBtEVAt
How to solvr this error
sm
How to filter _set in templates
K.
Django has one Architecture .. MVT .. how you use it, is left you.
Thank you. I know. But I am looking for examples of applying an hexagonal architecture in a Django application.
Anonymous
xiongmao
Sweetie
I have a model called item as below. class Item(model.Model): title = CharField(max_length=254) updated_at = DateTimeField(auto_now=True) class Meta: orderering = ('-updated_at', ) It's default ordering is recently updated. Now I want to call all items but order it this way: 1) if item title contains word some specific words like "2020" "breaking" "must" "live" then order them first. And rest follow same ordering of updated_at How can I do this?
Александр
Hello everyone. I have some django page, and what use my custom function. For example i have func: def example(): return "test" What i need to write "return" on webpage with function?
Sencer
I have a request from friends who using PyCharm. In your spare time, would you please vote on the issue in the link below. https://youtrack.jetbrains.com/issue/py-12988 For some reason they did not support for hooks that should work in the environment. I guess they won't care until they get enough attention. For the django tests or the pep8 control to work before the commit, git hooks must work in the project environment. It's ridiculous that they both encouraged us to use the IDE interface for VCS and didn't support it.
Anonymous
There is any tutorials on Django 3 for beginners
Anonymous
Official Django docs
I am asking tutorials
Muslim
I am asking tutorials
There’s tutorial for beginners, if u just start reading first page of Django
Doragonsureiyā
I am asking tutorials
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
maroong
use blocks eg block content and includes
👀 my custom profile picture.