Kanchan
Anonymous
What's a framework?
Rahkmanuly
A set of particular libraries described with specific programming language. (Short definition)
Anonymous
Then why is xposed installer called framework? It is not a language.
Fred
Yes of course
Doragonsureiyā
What's a framework?
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Doragonsureiyā
I wanna learn Django please can anyone help
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Rahkmanuly
Artem
Hi, everyone, i link my react app to django and create api. i do some commands to set changes into django like this: npm run build, python3 manage.py collectstatic and python3 manage.py runserver. But I have some error like this react-dom.production.min.js:216 TypeError: u is not a function
Artem
Who can help me?
Anonymous
Hi everyone, I'm trying to store data in a paricular database? Not in the default db (I've defined multiple databases) nor a copy of the default db in the other ones?
Anonymous
Who can help me?
Have you used static?
Anonymous
In template
Artem
Artem
Yes of course
I can send screenshot of files structure
Artem
Ok
I send you to private
Anonymous
Guys, help me, I'm getting stuck, how to update fields of different models using generic.updateview. i wanna update username and email, from Usermodel, and picture from another model Called Profile?
Anonymous
Is it possible to update two different models' fields with generic.UpdateView?
Dev
Hi How do I get to work in the django field ?
Princu
Pls help me to learn django
Doragonsureiyā
Pls help me to learn django
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Akshay
{ "id": 7, "service_name": "Cleaning Service", "service_description": "We take of your home cleaning efficiently, while you sit back and binge", "ui_images": "http://testapi.edenhoe.com:8000/media/cleaning.png", "wide_image": "http://testapi.edenhoe.com:8000/media/cleaning_L21GyQg.jpg", "type_presence": true, "types": [ "Floor Cleaning", "Roof Cleaning" ] }
Mirco
how add a list within a json map in django_rest_framework
use a serializer for types with many equals to True
Akshay
use a serializer for types with many equals to True
Thankyou ,Will try also what is the model I have use to store a list
Mirco
Thankyou ,Will try also what is the model I have use to store a list
I don't know your implementation I don't know if you save Types
Akshay
Can you give me a simple clue
Mirco
DRF official doc have everything u need
Akshay
Thanks
Mirco
for example Types can be saved in a separate table related to your Service one
Akshay
Will check it
Mirco
and in that case you can easily serialize the relationship
Doragonsureiyā
Ok ok thanks
You're welcome! 😊
Akshay
Will try
Anonymous
Google it!
Ah, so you didn't know the definition, but you answered anyway.
Mirco
Ah, so you didn't know the definition, but you answered anyway.
continue the conversation in OT group please.
Anonymous
Mirco
I will tag you there, sir.
no there's no reason to tag me, thanks anyway.
Anonymous
Mirco
There is a reason, and python is.
I'm not part of that conversation, if you tag me I will simple not answer u 🙂
Fais
Anyone have hands on experiance with chatting in django
thenils
After social auth how to set password for user can anyone help me
Fais
I have done chatting in django using web socket and channels now i am stuck on the image video and audio sending anyone know this please give me a replau
Fais
Replay
Harsh
I am using crontab in windows I have searched over every where I can't find solution When I run command python manage.py crontab add I got error no module name 'fcntl' Can any one help I need to do scheduling I have already try crontab celery nothing is working
Harsh
Please help
Harsh
I have try install it but no module available
Андрей
Hi, guys, i want to create model instance with foreign keys, and i don't want to save it I'm trying to create something like preview page for that instances Problem is in next: I want to use all Django's ORM features, like getting set of related objects
Андрей
But if i create some child model instances and try connect them with parent model instance, Django demads save parent model instance
Андрей
parent = Parent(name='Parent') child1 = Child(name='Child1', parent=parent) child2 = Child(name='Child2', parent=parent) parent.child_set.add(child1, child2)
Андрей
ValueError: Parent instance is not saved
Anonymous
Why python called scripting language?
Андрей
Why python called scripting language?
Because you need write file with code and launch it in Python interpretator
Creator
OSError : [WinError 123] The filename, directory name, or volume label syntax is incorrect: '<frozen importlib._bootstrap>' Please tell me what can I do
Onks
Hey everyone, I am trying to create a search form that would be able to query my database. I couldn't find any beginner level resource, if anyone can link me would be a big help. Thanks :)
Tobi
Hi, I have an using with running async tasks, I don't think this is django specific but maybe someone can help. I have a model with an integer field named "tracker". I'm using django_q to run async tasks. I have to run a certain task, let's call it task A, when task A start it create 2 or 3 other mini task based on certain conditions, it then set the field tracker to number of task he created, 2 or 3, each time one of the mini task A created ends, it update the tracker value by doing a -= 1, when the tracker value is at 0 then all tasks are done, I tried it and realised that the mini tasks update the value at the same time, so the tracker never reached zero, no idea how to solve this, and I don't want to implement something complex right now
Onks
I couldn't find anything that was beginner friendly
Onks
thought i mentioned it
cj
I couldn't find anything that was beginner friendly
🤔 maybe that's not a problem of the search engine, but it's a layer-8 problem
Onks
🤔 maybe that's not a problem of the search engine, but it's a layer-8 problem
I dont get it man, look im a new to all this I have a rough idea of what I am searching for.. maybe I am not putting the right keywords.
Onks
It is not like I gave up after 5 mins
Doragonsureiyā
I dont get it man, look im a new to all this I have a rough idea of what I am searching for.. maybe I am not putting the right keywords.
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls