Tapdiq
hi everyone. i have question. how can i django admin redirect after login to another html ?
Manuel
What do you suggest me the most for an API viewsets or something else
Manuel
Is it better to use viewsets or apiview
Manuel
What do y'all suggest me most
Agent Q
Agent Q
I guess depends on what you're trying to build.
Manuel
Ahh ok
Riswandi
https://del.dog/supaisosat.txt
Cat
I want to pool snowflake database connection. (in python, django) Has anyone done this?
Anonymous
Hey, i want to store dynamically created image of matplotlib to get stored in my django project, where do you suggest me to store it and how can i send url or path of it in api
Tukhtamurod
how can i insert data into different tables based on request data from single endpoint in Django and DRF? Thanks in advance
Just take out the data, and create the models and save them. Do it manually not using serializers
꧁❦ I'm Farooq ❦꧂
Is it possible to connect two database for django application..?q
Zinu
How and where to sync my project to another project environment. Has anyone know this?
Firdaus
Is it possible to connect two database for django application..?q
https://docs.djangoproject.com/en/3.1/topics/db/multi-db/
Harish
https://docs.djangoproject.com/en/3.1/topics/db/multi-db/
While using multi-db why do migrations cause it to replicate creation of tables across each database Like if I create a my_custom_model_1 and model_2 Both database connections will have created both models Even though it was specified that model_1 goes to first db and model_2 goes to second
Harish
Yes I'm using database routers
Harish
And have configured the same
Owolabi
Please guys 🙏🙏🙏 i need a Django and DRF dev to mentor me on a simple assessment task
Tenebris
Hello everyone, I ran into a problem, I'm trying to deploy a site on django to hosting, but error 500 appears, looked at the logs, and it seems like an error with the wisg file, I use python 3.7, django 3.0.9, if someone encountered such an error and knows how to write the wisg file correctly, please tell me
Tenebris
Timeweb
Tapdiq
hi everyone. i have question. how can i django admin redirect after login to another html ?
Owolabi
Timeweb
Can you share what's on the logs
Anonymous
When we call obj.image, how does it return the url, does it happens for every filefield object?
Remsha'`
Hi! is there a data type in django for storing a time interval for example from 09: 00 to 12: 00 to call a client or do you need to create your own table with stat_time : DurationField end_time : DurationField
Azat
Or DateTime field if you need to store datetime objects :)
Rajni
Hey guys, I'm stuck in one problem. Anybody, please help me. I have two fields in django model. I registered that model in admin. Now I want to get values in second field(many to many field) based on selection of first field while creating new or adding new entry. I tried lot of ways. But didn't get anything bright.
Rajni
But save method will work after click on save button on django admin form. But I want on selecting field and before clicking on save
🏁 🏁 🏁
how to make sure that due to one error in a file, only the file in which the error is not started, and not the entire site?
M
do django supports any type field in model.py so that it can be datetype kind of selection. i see many topic on internet about date range picker with external JS .. wondering if django don't have an in built one
M
do django supports any type field in model.py so that it can be datetype kind of selection. i see many topic on internet about date range picker with external JS .. wondering if django don't have an in built one
whatever DateTimeField is there it looks more like a text field but internally validating the data as date from the forms.. can anyone guide me please on this
Camille
Does django use MVT or MVC architecture?
cj
Does django use MVT or MVC architecture?
Django uses Django Architecture
Camille
Model View Template or Model View Controller?
Camille
🤦‍♀Bro
cj
🤦‍♀Bro
listen guy... django doesn't use/follow neither MVC neither MVT
Camille
Anyone else with a different opinion?
cj
Anyone else with a different opinion?
why don't you read Django documentation? they said there, Django doesn't follow MVC (neither MVT)... are you gonna argue against Django's core developers?
cj
MVC=MVT
of course not
cj
https://docs.djangoproject.com/en/3.1/faq/general/#django-appears-to-be-a-mvc-framework-but-you-call-the-controller-the-view-and-the-view-the-template-how-come-you-don-t-use-the-standard-names
Ghorz
The argument isn't necessary, as long as one understands and use the framework to achieve a result
cj
The argument isn't necessary, as long as one understands and use the framework to achieve a result
that's exactly what they said: "At the end of the day, it comes down to getting stuff done. And, regardless of how things are named, Django gets stuff done in a way that’s most logical to us." but it doesn't mean django uses/follows MVC/MVT nor whatever you want to call it, django uses Django Architecture
cj
MVT
read the previous messages please
Uday
so im being provided with image url instead of image on post request, how can i get the image from the url and save it in the serializer?
矢田
hey guys, i am having problems with the pinax project
矢田
is anybody having problems with old dependancies?
Anonymous
How can I search from two models and return the results in django rest framework
Anonymous
Using listapiview
Anonymous
Is it good to join to override get_queryset method of view and join two querysets using itertools.chain
Anonymous
Is it a good approach?
Sai
Hey any good tutorial to integrate azure.
Sai
Is it a good approach?
https://youtu.be/1wi0AHxjcn8
Sai
I googled for yourself and I swa this quick video. Thanks I also learner something new. Cheers!!
Navya
When I'm doing Django-admin startproject newchat It is showing error please help me
Navya
Can you tell me how to download django files
Doragonsureiyā
Can you tell me how to download django files
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
^C^C^C^C^C^C^C^C
Hi friends:) how can i get all pull requests? f'https://api.github.com/search/issues?q=type:pr+is:public+author:{}&per_page=300' it is right?
Doragonsureiyā
Okay
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Doragonsureiyā
Navya
*Django-admin startproject newchat*
Navya
After this there is file downloaded called manage.py
cj
django-admin startproject <foobar> doesn't download files from anywhere
Navya
What they do then?