Human
In raspberry pi
Human
Where to use the control code (in views or somewhere)
Cesar
What?
Cesar
using the gpiozero library
Human
Into the views.py am I right
Cesar
Sure (?) i just dont see why you would do a RPi website to control GPIO, its like using a tank to tow a bicycle
cj
pay your own subscription
Nisha
Plzz suggest me any project for final year on the python and Django framework
AJ
How about a blog?
Владислав
Hi, guys. Help me please. I dont know how add two parammeters in include template whith widget_tweaks
cj
Nayan
Hi guys can someone help me how to connect to sql server in django
Can we migrate it also ?? I am new for django so i am getting confused please help me
Nayan
I have table which i have to use it and to create a page ... Also i can still able to see all that things in admin panel aslo ?
Cesar
Sb admin2
Mirco
?
cj
cj
try grappelli
Mirco
Mirco
Permission error on what ?
and why u have a project on Google drive 😅
xarala221
Ok I understand
Aswath
dude...
Aswath
what payment gateway is easy to use with django other than stripe
Aswath
im not understanding how do i bring in razorpay
Михаил
Hello. Can you recommend an article about dividing user content into groups in django?
Aswath
cj
Aswath
Aswath
Stanislav
Hello, can someone explain why iteration is didn't work
{% for name in names %}
<p>
{{ name }}
</p>
{% empty %}
<tr><td>No results to show.</td></tr>
{% endfor %}
def posts_list(request):
n = ['yoda, 'Obi', 'Luc']
return render(request, 'blog/index.html', context={'name': n})
returned No results to show.
cj
Stanislav
Sry
Stanislav
thank you
Nikhil
Is purchasing a course from udemy worth purchasing....i want to learn how to structure a django websites in different apps and a mentor too
Cesar
Cesar
Well documented
Suresh
Django is easy or flask?
Cesar
If I would like to run an app in no time I would go with Django, but if I want simplicity and "do-it-myself" I pick flask
Anonymous
Is there any way to append table column in django? table name is 'TestTable'. and How can add a new coloumn in table which is hold in markAtrr veriable. def createTest(request):
markAttr=request.POST.get('Attr')
obj=TestTable()
Martín
hello, I have a cookiecutter-django project
When trying to use https in local, Django answers with a:
You're accessing the development server over HTTPS, but it only supports HTTP
I have already googled and tried changing values in these variables:
https://hastebin.com/uyisinetun.shell
Mirco
Martín
I know, I don't want to work in development locally using https
but I want to be able to test that https will work when coming to production
Martín
and now it seems like it won't work
Martín
you understand me, @pyflare
Pixelated
Guys a quick question. I'm try to build a page that acts a web file manger for a private cloud storage. I get the containers and list them in a page, but how do I display the files in the container when clicked on it dynamically
Cesar
Cesar
What are you using as web server ?
Martín
I'm with django default
Cesar
That's the problem...
Martín
I insist, it's not like I want to develop locally with https, but I want to test it will work in production
Martín
I'm starting to think that I'm missing something from your words
Cesar
It doesn't matter if it works on dev because you need to configure your webserver
Cesar
The webserver you are using in production
Martín
aham, so it doesn't make sense to setup the development server because the production server will not be the django development server
and configuration will be totally different
Martín
is that what you are trying to tell me?
Cesar
Martín
ok, so being a project from a cookiecutter-django template I suppose that's being taken care automatically in production settings, I'm not worried anymore
thanks, @ceterre , @pyflare
Martín
Maybe I will add a staging environment
tfhx8
Hi. I using Django Rest. I making custom APIException and status_code = 200. I open page and see "200 Ok"
tfhx8
Why '200 Ok' ? Me need change this label, how it make?
Mirco
Show the code
Diego
Hi, does anyone how if there's any restriction about view types and Axios get and post method? i'm using ListCreateAPIView, but i can't get data from the api and display on the frontend
cj
cj
cj
Omair
Anonymous
Hello) I am coding a website for an open online course) How do I add testing for this lecture? So that you can add tests to each lecture from the admin panel? any ideas?
Anshul
I am a beginner can anyone suggest me a good Django project to work upon??
Cesar
AJ