S
What was your first salary as django developer in India?
Banjo
why we are using {% block content %} {% endblock %}
Block content is for when you need to extend your template in another template Like copy this template and add new content in the block in another template For example, if i want to use this template, to extend it in another template file like index.html, I'll say {% extends 'base.html' %} {% block content %} <p>Hello world</p> {%endblock%} You could add any new thing within the block
Anonymous
It's free
AV
I am getting this error any idea anyone.
AV
https://del.dog/fyqillipem.txt
AV
https://del.dog/fyqillipem.txt
i am getting this error .
Creator
Hey there I have Imported .csv file through import_export in django So How can I read that imported data in .csv file in view.py
Creator
Hey there I have Imported .csv file through import_export in django So How can I read that imported data in .csv file in view.py
S
Yes
Thank you sir, appreciate that
Apurv
Hi everyone, i am trying to make a webapp with django, more like a 1to1 social app. I am confident enough that i can implement the chat feature with the notifications and all, but i am not sure about how to add 1to1 video call... Can someone please guide me???
Deleted
Hey guys, how to config LDAP login for my Django webapp?
Shubham
Hi on makemigrations im getting an error django.db.utils.OperationalError: no such table: student_management_app_courses the fact is that there exist courses model in an app
Ganesh
Hello friends I want Django Project
Ganesh
Please Help me
Ganesh
Project Name Hospital Management System Or Health Care System
Vladislav
Hi guys, I want to make a SPA application using Django and Vue or React, tell me how to connect them correctly, thanks in advance.
Asadbek
Attribute error
Asadbek
'BlogPost' object has no attribute 'blogcomment_set'
Anonymous
Hi guys, how do I know what level you are ? Junior Middle Senior ?
Ganesh
hello frients please help me
Андрей
I need help. I'm trying to make a dump. python manage.py dumpdata > mydata.json I get this error: CommandError: Unable to serialize database: 'charmap' codec can't encode character '\u2060' in position 212: character maps to <undefined> Exception ignored in: <generator object cursor_iter at 0x03E5E418> The database contains records in Russian.
***
Who is admin of this group
Sopan
Ganesh - what exactly you are looking for?
pradeep
Any one working parse xml
Doragonsureiyā
Any one working parse xml
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 ~80,000 people here, the probability that someone will help is pretty high. How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
Ganesh
Ganesh - what exactly you are looking for?
Django Project Hospital Management System or Health care System
Sopan
Sopan
Hmm.. I wish ;)
Anonymous
Hello Guys, is there anyone who have knowledge of Django Rest Framework?
Anonymous
I really need help, its been two days i am stuck at something, i will be greatful if somebody can help
Akash
I have a post request, where attacker might inject javascript code in the payload. is there a way to identify javascript code from request on backend before using it ?
😇ANGELO™️🎧
I really need help, its been two days i am stuck at something, i will be greatful if somebody can help
Let's talk outside. Meanwhile you could describe the exact problem and we'll help you
Anonymous
Should we use django admin on production ?
Anonymous
Should we use django admin on production ?
Its totally your choice Tarun, its a very good idea for using django admin on production because you don't have code from scratch, you already have a secure and reliable interface
Anonymous
but if you want to make better interface or want to give some other properties either override it or make it from scratch
Anonymous
Okay so it depends on our application user interface
😇ANGELO™️🎧
Okay so it depends on our application user interface
Probably yeah. But you could read the documentation for specifics
Anonymous
Okay so it depends on our application user interface
yes, exactly but not only on interface but also on functionalities you want to provide in admin
Anonymous
ask your exact question here, someone might know the solution
There are two models named Case and Charged Officer, they both are related with manytomany field with each other... I am using a CaseSerializer for serializing/deserializing , i have override the create method in serializer, so that when we post data, it will create a case and will also create charged officers and attach it with the case, but i don't whats wrong with the code its attaching all the charged officers which were already created before.
Anonymous
One more question
Anonymous
Can we redirect to some page with form data and errors
Anonymous
??
Anonymous
Vikas Singh
Did u install mysqlclient??
Vikas Singh
Error how I resoove
Vikas Singh
Resolve
Anonymous
Hi, I build a website in Django with some small tools, now I would like to add a search bar to search tools. How can I acheive it in Django Site: https://online-se-tools.herokuapp.com/
Vikas Singh
Please help
Anonymous
Please help
pip install pymysql
Vikas Singh
Ya I try but not resolve
Anonymous
Ya I try but not resolve
apt-get install libmysqlclient-dev
Anonymous
after it pip install mysqlclient
Anonymous
Then get the data or keyword from searchbar and You can use the contains lookup than for query
Anonymous
https://docs.djangoproject.com/en/3.1/topics/db/queries/
Anonymous
Tools.objects.filter(title__contains='search_bar_value')
Anonymous
like this...hope it helped
Anonymous
Yes, thanks
Anonymous
Could you rate my website please?
Anonymous
Could you rate my website please?
Where do i have to do the rating?
Anonymous
Just, say it to me.... 😅😅
Anonymous
Also feel free to say if need improvement
Anonymous
Oh, ok its nice, simple and straight forward website, liked the colour combination though.
Anonymous
Footer can be better, and yes search bar will do wonders😅