Anonymous
inchidi
Welcome, please read the group rules before any activity:
» Only English, avoid meta-question
» Be civil, respect other people of the group
» Off-topic is not allowed in the middle of ontopic conversation (go to @pythonofftopic instead)
» Don't spam messages/stickers/commands
» Promotions for other groups/channels related to django/python allowed, just make sure you are not spamming it (sharing too much)
» Don't share NSFW content (ban)
» Use dpaste.de, pastebin or github gist when sharing code and image sharing service to share images
by joining this group, you agree with django code of conduct
here is some resource to start with django
Anonymous
Well and almost every other software made in python is FOSS
Anonymous
Hi
Django Bot
>> Jobs
- Django en télétravail
>> Blogs
- Using setup.py in Your (Django) Project
>> Links
- How to Implement Dependent/Chained Dropdown List with Django
- An ambitious authentication library
- Amazon.com: two scoops of django: Kindle Store
- Building Data Products with Python: Using Machine Learning to Provide Recom
- Understanding, setting up, accessing and serving media files and static fil
黒の戦士
黒の戦士
Ngrok is really awesome
Anonymous
How to solve this problem
R
Assigning a dict to the context parameter
Django Bot
>> Blogs
- Implemementing Manual Schema with Django REST Framework
- DRF with Marshmallow Serializers for Fun and Profit
- Creating an JWT Token Interceptor for HTTP Requests in Angular
>> Links
- 9 Django Tips for Working with Databases – Haki Benita – Medium
- 9 Django Tips for Working with Databases – Haki Benita – Medium
- 10 tips for making the Django Admin more secure | Opensource.com
- klauscfhq/moviebox: 🎥 Machine learning movie recommender
- GitHub - danidee10/chatire: Real time Chat application built with Vue, Djan
R
context={}
😼
Typical django
😼
Lel that too
😼
Well my typical names are just letters of the alphabet
mλdcodez
Hi Everyone, I'm going to start learning python and django, I've already studied python but, going to refresh it this time. I'm studying this book called python crash course.
Anyone wants to join
Lapanit ☃️
mλdcodez
Yep.
mλdcodez
R
Consider group studies. 😊 it's good to scrap things and asking questions
I may be wrong but just as my point of view, if you really want to learn you shouldnt depend on other ppl, I would suggest to fix an assequible project you would like to do and go for it by yourself, reading what you need to learn and trying to solve every problem by own research and practice and just asking in groups or stackoverflow when you really are out of options. As I said its just a point of view
mλdcodez
mλdcodez
It's not like. Depending on someone, it's just. Group studies 😊
R
mλdcodez
mλdcodez
I don't use it much, just, Started django so, refreshing
mλdcodez
I code in Java c# c++ c etc
😼
java lol
rip
😼
Oh, smell of better shit xd
Someone
Hi all.. i have 2 models like requirement and question.. one requirement can only have one question, but one question can have many requirements mapped.. i am trying to map each other.. am getting error in requirement model as Question class is below Requirement class. Is there anyway I can achieve my needs?
Someone
Class Requirement(models.Model):
question_asked = models.ForeignKey(Question, on_delete=models.CASCADE)
Class Question(models.Model):
question_for = models.ManyToManyField(Requirements)
inchidi
inchidi
for example:
q = Question.objects.get(id=1)
q.requirement_set
# this will give you resultset of all requirement that have relationship with this question
inchidi
you can also change requirement_set if you want by providing related_name to question_asked
inchidi
for example:
class Requirement(models.Model):
question_asked = models.ForeignKey(Question, on_delete=models.CASCADE, related_name=`requirements`)
then
q = Question.objects.get(id=1)
q.requirements
#will give you same result like requirement_set
Someone
Wow ... thanks bro..you are always helpful thanks a lot
inchidi
nice, your welcome
Someone
Can we use the APIs which we created on DRF on django by itself for frontend ?
Someone
I was planned to complete backend and my friend to do front end with react .. now she is not a part of the project.. so i have to do it with django itself.. i have almost completed backend APIs... i was googling for this question but could not able to find any relevant ans
inchidi
inchidi
coz your django just gonna render it, and the jobs done by javascript on client side
inchidi
so its yes but meh
Someone
Haa ... okies ...
harisai | హరి సాయి
hi, how can i bulk update records in my database using django?
Django Bot
>> Links
- django - RotatingFileHandler "Text File Busy" in Windows - Stack Overflow
- Readonly for existing items only in Django admin inline - Stack Overflow
- Effective Django Forms — Effective Django
- postgresql - How can we make Django tests faster? - Stack Overflow
- How to Render Django Form Manually
- How to Reset Migrations
- Writing your first Django app
Anonymous
harisai | హరి సాయి
use a for loop
In my project iam doing the backend part with django i get json responses from the front end. how can i get multiple json's from front end and update records in backend based on the json in the bakend
Anonymous
well you can get a big json object at a time
Anonymous
or repeatedly get small json data
harisai | హరి సాయి
i will get bulk json data in a list like example [{"key1":"value1","key2","value2"},{"key1":"value1","key2","value2"},{"key1":"value1","key2","value2"}]
harisai | హరి సాయి
in this format
Javi
Yourobject.objects.filter(query).update (key1=value)
Someone
Am looking for a bot developer. I have developed few bots with python, but this one is bit complicated and I need with tight timeline. I will pay for it. Any experienced bot developers? If interested please send DM
Django Bot
>> Blogs
- How to Use RESTful APIs with Django
Django Bot
>> Links
- How to Implement Dependent/Chained Dropdown List with Django
mλdcodez
Quick Question.
Is it a good idea to create a news/magazine website using django, keeping in mind that an Admin will be adding new articles to the site. Do I go with django or, use something else. #RelativeProject
Javi
Sure, why not? You have already few apps for that. Take a look at Django cms or mezzanine
Django Bot
>> Links
- Getting Started with Django Channels – Real Python
mλdcodez
Thanks 😊😊😊😊
Root
Getting Started with Django Channels – Real Python
via realpython.com
Root
Django Bot
>> Links
- crucialfelix/django-ajax-selects: jQuery UI-powered auto-complete fields fo
- overshard/timestrap: Time tracking you can host anywhere. Full export suppo
- Django views automated testing with selenium
Root
Yep.
inchidi
Yep.
if it send 1 link per message, the instant view button will be automatically generated by tg
inchidi
so, the bot do nothing about that
Root
inchidi
Root
Then only. There are like 50k sites that support Telegraphs.
Anonymous
Anonymous
Telegraph is Telegram's own publishing platform
Anonymous
Instant view is what creates a readable view
Anonymous
I saw that
Anonymous
🌚
Sagar
Hai guys can how to learn Django ??? in easy way ??
Anonymous
Read books
Sagar
What books ??