Vivek
Can someone help?
Vivek
template: https://del.dog/crinyghuwe.txt
Rahul
template: https://del.dog/crinyghuwe.txt
you have to select distinct fields from the table...check this...it will help https://stackoverflow.com/questions/2466496/select-distinct-values-from-a-table-field
Vivek
you have to select distinct fields from the table...check this...it will help https://stackoverflow.com/questions/2466496/select-distinct-values-from-a-table-field
thanks this fixed the duplication but there is still a problem, the first drop down menu in which cities are displayed should display only their respective localities in second drop down when selected, but it lists all the localities from both cities combined
Priler
how to create admin page in django?
D
Disadvantages of sqlite anyone?
D
Google it
I havent found serious disadvantages on google. I just need someone who has applied it in real life and whatevever drawbacks they got
Ghorz
I havent found serious disadvantages on google. I just need someone who has applied it in real life and whatevever drawbacks they got
Maybe your search engine is blind. https://duckduckgo.com/?q=pros+and+cons+of+sqlite&ia=web&iai=r1-0&page=1&sexp=%7B%22biaexp%22%3A%22b%22%2C%22msvrtexp%22%3A%22b%22%7D
Ghorz
Thank you
Welcome
Ghorz
Thank you
Use sqlite in embedded devices or mobile. For Django, use for development. Mysql /Postgresql for product. I advise you start your development straight with Mysql rather than going through migration later on
Sai
Yes give a try. But I use django with postgres
Anonymous
Yes you can use djongo that provides mongodb support for Django orm Actually I didn't try it but it has 1.3k star in github https://github.com/nesdis/djongo
Zey
Anyone had used razorpay payment gateway actually I want to add cancel order feature so the user will get his money back,anyone know how to do that?
Anonymous
oh yeah, forwarded messages?
Denis
Hi everyone! Can anybody explain to me how to get access to TreeQuerySet fields? I've got an exception because of it.
d_a_n_t_e_y
I need ed assistance eith linking a node js frontend app and a django backend app on aws... Any help os appreciated
Doragonsureiyā
I need ed assistance eith linking a node js frontend app and a django backend app on aws... Any help os appreciated
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 first results
Doragonsureiyā
Yes bot.. I have tried that
Try harder until you get what you want! don't give up! 🦾
Some1🌱
I need ed assistance eith linking a node js frontend app and a django backend app on aws... Any help os appreciated
There is no easy way ... Best way (I say it ) I. Fucking don't know a shit about it. But when I do I just able to do it. __________________________________ Do what your are doing keep posteing here that u have done this And not worked. Goglogle again. Keep doing.. It is like self rewarding. Finally you will be able to do it.
𝕯aniel
hi guys how i can display products count in category via django-mptt?
W
Hi there, I am having some issues during a dictionary renderding on a template. Some values are showed outside the html table. I cant realize why, d u give a hand? Thanks in advance dudes, #This is how the dictionary is printed on the console [{'socio': 'Randazzo Walter Ariel 25', 'enero': 'P', 'febrero': 'P', 'marzo': 'P', 'abril': 'P', 'mayo': 'P', 'junio': 'P', 'julio': 'P', 'agosto': 'P', 'septiembre': 'P', 'octubre': 'P', 'noviembre': 'P', 'diciembre': 'P'}, {'socio': 'Silvi Edgardo Marcelo 31', 'enero': 'P', 'febrero': 'P', 'marzo': 'P', 'abril': 'P', 'mayo': 'P', 'junio': 'P', 'julio': '-', 'agosto': '-', 'septiembre': '-', 'octubre': '-', 'noviembre': '-', 'diciembre': '-'}] #This is how the dictionary is rendering in the template: https://tmpsee.com/v/nbkdqhnxee #Template: https://del.dog/mirfanelor
W
Show your views code
Check get override in order to check how the dictionary is created.Here is the view...https://del.dog/mavihosuna
Ghorz
You could have broken down the codes into several functions
Ghorz
And why do you return httpresponse
W
Check line 303
W
pls
Ghorz
Besides you could just return it with render function
Ghorz
Or better still return a jsonresponse, then use java scripts to build the pdf file
W
Thanks 4 the advice
Ghorz
Also rather than translate manually, you can get libraries for already translated date
W
I will debbug the code for sure
W
Also rather than translate manually, you can get libraries for already translated date
did you catch the line when the dictionary is sent to the template? its 312#
Ghorz
It stopped at 104
W
It stopped at 104
u right, the line is 91
W
I see no line 312
I Refactor a bit the get override🥺
W
its a bit clearly now, but still something wrong when de dictionary is render on template
shashikant
I am creating a chat app for my project in django.can anyone help me with that??
Rahin
hello guys how can i filter data in IntegerRangeField from from django.contrib.postgres.fields import IntegerRangeField
Rahin
i want to filter data according to range from DB
Rahin
pls help me out i am stucked here
Anonymous
Dears who could create sub menu in Django
Akash
Vivek
Guys whats the best way to get the front end done for a django web application? Writing Html/Css/Js is too time consuming. Suggest if someone can help
Gangadhar
Anyone know how to implement tracking the visitor ip address and system name in django website
Mirco
Use react js
If in his opinion HTML/CSS/JS is too consuming, why is React less consuming ? As it's JavaScript
Vivek
Thank you everyone
Vivek
Use react js
Ya I was thinking of React js, but I guess I need to convert my Django Application to a Rest Api for that right?
Anonymous
Hi all, got one problem in authenticate django
Anonymous
I saved a user but it shows none while log in
Anonymous
I saved a user but it shows none while log in
you should save then login user not just save
Anonymous
i have two classes , one for RegistrationView and another for LoginView
Anonymous
Anonymous
Why you Don't use LoginView and CreateView for handle this ? Creating a base view for the login is wrong
Anonymous
could you explain please
Anonymous
could you explain please
Please read django doc authentication section to understand this subject
sarth
hi friends i need help, i am using django export import, but i want to export and import the data related to logged in user...i have made resources.py file, in which class meta, model is stock, so when i import or export, it exports the data regarding the all user but i want this only for logged in user...
sarth
can we define the logged in user with model name inside the class meta??
Dhruv
hey ive deployed my app but when ever im accessing my database server error 500 is occuring ive set debug off and also managed allowed hosts but stilll