Anonymous
Anonymous
Send me a scrn
Anonymous
Shot.
Anonymous
Or paste the change here please😄
Shubham
Hello I have a quey in https://github.com/erdem/DRF-TDD-example
when I try to login I get Bad Request: /api/users/login/, when I debugged got at DRF-TDD-example/todoapp/users/views.py UserLoginAPIView at if serializer.is_valid() isnt satisfying, although everything is correct, what might bbe the reason
Shubham
?
Sagar
Hi guys. I m using drf to get data from stored procedure. It works fine. So i want a message to be displayed in case there is no data.
The data are displayed as a list. So in the case of data found, i want it to show Found and then the list. I tried converting that data to str and then contacting with the message, but that throws error.
The views
https://pastebin.com/yKP4sCny
Alik
Hi guys,I work on the Django project,it's online shop and I write authorization part of the project. How is can help me? I want review example projects or source code which you write. thanks
Anonymous
Hello everyone
Anonymous
Why we use .po files for django internalisations ?
why don't we use just python dictionaries?
Muflone
.po is the standard way to internationalize any program. Django just uses the most common translation tool used in the open source world
Anonymous
Please help getting relation not found error
https://hastebin.com/zabaxuxiya.rb
Anonymous
ʚɞÇherry Łoveʚɞ
Any help
have you makemigrations/migrate yet ?
Anonymous
yes i did, actually i followed this https://github.com/codingforentrepreneurs/ChatXChannels to add chat app to existing django project(which has user registration profile update and blog forms)
Anders (izzno / gooood) 🇳🇴
Automate the booring stuff - Free this week.
Anders (izzno / gooood) 🇳🇴
https://t.co/KBrmolnCbk
Anonymous
Kaz 사자
Hello peeps
Lluís
Hi i m new to this group.
Anonymous
Hello
Aboh🍻
Hi, am new
Anonymous
hey i want to know how to implement list indexing in django templates, i wanna iterate 3 sequence_variables and pass thier values in a table
👍
hey i want to know how to implement list indexing in django templates, i wanna iterate 3 sequence_variables and pass thier values in a table
yes you can like : view.py - single_product_details = zip(product_discription, product_quantity, unit_price, sgst, sgst_amount,\
cgst, cgst_amount, gst, gst_amount, product_amount) context = { 'single_product_details':single_product_details}
👍
in template you can do like :{% for pd,pq,up,sg,sga,cg,cga,gs,gsa,pa in single_product_details %}
<tr>
<td>{{pd}}</td>
<td>{{pq}}</td>
<td>{{up}}</td>
<td>{{sga}}<br>{{sg}}%</td>
<td>{{cga}}<br>{{cg}}%</td>
<td>{{gsa}}<br>{{gs}}%</td>
<td>{{pa}}</td>
</tr>
{% endfor %}
Anonymous
Please help with this
File "/home/neo/PycharmProjects/myproject/chat/views.py", line 30, in get_object
obj, created = Thread.objects.get_or_new(self.request.user, other_username)
TypeError: cannot unpack non-iterable NoneType object
[2019/06/14 12:42:57] HTTP GET /messages/test/ 500 [0.05, 127.0.0.1:38796]
Félix
Hello!, do you know a 'engine' for SQLServer?
Félix
from ubuntu
Anonymous
Ubuntu is crap
Anonymous
Félix
sorry, django.db.backends.? for SQL Server
Félix
https://docs.djangoproject.com/es/2.1/ref/settings/#engine
Шукур
Who knows how can i add Yandex Maps API
Шукур
??
Muflone
Grigoriy
Anonymous
Install mint
Шукур
Félix
Anonymous
Anonymous
Hello sir
Anonymous
I am fresher
Rohan
Rohan
Cucumber?
Anonymous
I needed help
Anonymous
Basic framework of django
Rohan
It's anything but basic.
Sendi
Hello Everbody, I am from Uzbekistan✌️
Anonymous
Which best website to study Django
Leo
Anonymous
Which website
Anonymous
Can be explain it
Leo
1.Take Google
2.search Django documentation
3.first link
3.TADA😂😂.
Google is your God dude😂
Anonymous
😊😊😊 Thanks bro
George
Doragonsureiyā
Sendi
Rohan
Rohan
@pythonres
Anonymous
😊👍👍
Sendi
India?
Rohan
Rohan
Something I can help you with?
Sendi
No
ʚɞÇherry Łoveʚɞ
Anonymous
Hello
Anonymous
Pls help me
George
Doragonsureiyā
Pls help me
Please don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello I need help on $z"
Just ask about your problem directly! With 30k+ people the probability that someone will help is pretty high.
Anonymous
bad_value, referenced_table_name, referenced_column_name
django.db.utils.IntegrityError: The row in table 'todolist_todolist' with primary key '1' has an invalid foreign key: todolist_todolist.human_id contains a value 'human_id' that does not have a corresponding value in to
dolist_human.id.
Anonymous
How to fix the error
Amaro
Amaro
Or in case it's not nullable, remove it.
Todolist.objects.filter(pk=1).delete()
Anonymous
Hey I created a module Schedule for booking which contains date and day field . And I want to remove all module objects which contains dates before today automatically.