Ruffiano
Anonymous
👆
I am not getting username and password when i render HT L
Anonymous
HTML*
Anonymous
Hey guys I wanted to get multiple files uploaded to the media folder in django via html input tag. I read a lot about it but the request.FILES.getlist('files') returns a value that I can't iterate over can anybody help me in that
Anonymous
anyone can make a tool like this? I'm paying 30-250$ depends how speed it is. please message me if you can do it. https://youtu.be/5CyUXS0V31M
👍
getting this error when try to login with twitter using social_django. Error - HTTPError at/oauth/login/twitter/
👍
403 Client Error: Forbiddien for url: https :apo.twitter.com/oauth/request_token
syam
Isn't it api.twitter
👍
Isn't it api.twitter
yes i'm using (pip install social-auth-app-django) package https://python-social-auth.readthedocs.io/en/latest/configuration/django.html#register-the-application
Shreehari
guys i have created a .py file which scrapes a downloads link from a github repo . how can i return that to <a href> tag in html i have created
Rohan
What's even the question in that text?
Shreehari
What's even the question in that text?
i want to return python output to html
Rohan
i want to return python output to html
And what's stopping you?
Anonymous
what is the fatest language? is it Golang??
Shreehari
And what's stopping you?
i returned the url(a direct download link to file) to html, but when i press , its now downloading. copy pasting the url manually in a browser is downloading the file
Shreehari
its done , thanks for the help
Anonymous
But offtopic
Kuldeep
Can anyone suggest material to start django from basics
Anonymous
Go on the web page and click on get started
Anonymous
Also read the sticky
Kuldeep
Which web page?
Kuldeep
@sam
Anonymous
The django homepage, but just read the pinned message man
Kuldeep
Ok
Kuldeep
Thanks
Anonymous
Any reference to learn Django rest framework and unit and functional testing in Django
Anonymous
Have a look to pytest docs
Thanks😎👍
Dcruz
Got this error when trying to inspect MSSQL db [unixODBC][Driver Manager]Can't open lib '{ODBC Driver 17 for SQL Server}' : file not found (0) (SQLDriverConnect) but my driver its installed properly.... what its happening here??
Dcruz
Django.?? inspectdb????
Dcruz
offtopic? ok
Rohan
Django.?? inspectdb????
It's not django issue
Rohan
Something with your odbc driver
Rohan
https://stackoverflow.com/questions/44527452/cant-open-lib-odbc-driver-13-for-sql-server-sym-linking-issue
Anonymous
hello
Anonymous
i need some help
Александр
i need some help
So I'll help you http://www.nohello.com/2013/01/please-dont-say-just-hello-in-chat.html?m=1
👍
Can anyone suggest material to start django from basics
https://www.youtube.com/watch?v=uu98pqiUJU8&list=PLEsfXFp6DpzTD1BD1aWNxS2Ep06vIkaeW
dynamic
I'm currently on Django 1.11 and currently in the process of updating Django to 2.0, but I'm getting the error related to ForeignKey. My question is: If i'm adding the on_delete attribute to the ForeignKey fields, should I be modifying the older migrations also?
Sagar
Hi everyone. This is an app using drf for calling a stored procedure and the error is get_sp_data() missing 1 required positional arg 'request' But the method has request param. Here's the code https://pastebin.com/1Bpa6gkX
Sagar
Request parameter is there
Marlysson
Request parameter is there
Try to remove the "self".. Isn't class based view
Sagar
Try to remove the "self".. Isn't class based view
Ah thanks. its working, but no result in web page 😄
Sagar
Ok my bad. Table has been truncated. 😅
dynamic
you need to run make migrations and migrate as you are editing your models
Ok thanks, you mean the older migrations need to be updated, and then I need to run the makemigrations and after that is done the migrate command, correct?
Mirco
Ok thanks, you mean the older migrations need to be updated, and then I need to run the makemigrations and after that is done the migrate command, correct?
it's normal, if u edit something related to your models, you need to make migratiions and run them to apply your changes
dynamic
I'm a little confused, If i edit something to my models, then when I do makemigrations a new migration file is created. But right now, I'm changing the JsonBField to JSONField, and django is throwing warnings from the old migration files. My question is: do i have to edit the older already created migration files?
dynamic
what kind of warning ? give us more details about that 😊
I'll send it in sometime, I came out for lunch.
dynamic
Mirco
Thanks man.
yw 😃
Ильяс
i have this code in template <div class="item" style="background: {% url 'img/auction-slide.jpg'%} center center / cover no-repeat;"></div> but it returns me a mistake
Ильяс
Reverse for 'img/auction-slide.jpg' not found. 'img/auction-slide.jpg' is not a valid view function or pattern name.
Ильяс
What am i doing wrong?
Ильяс
Foe including images u should go for static
all other img are ok from the same path
Sagar
Not sure what other things u said
Lucian
Use static instead of url.
Lucian
What am i doing wrong?
Ильяс
Use static instead of url.
Thanks, it works)))
Anonymous
Guys help me with Django
Anonymous
I want to use radio buttons and change the value of something based on the selection of radio buttons in views.py
Ильяс
How to display a search result in a template with images?
Anonymous
No
Anonymous
I just wanted to change some variable value based on the radio buttons