Doragonsureiyā
Hello, Who knows source for learning Django Graphql api?
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
Mirco
Hello, Who knows source for learning Django Graphql api?
Start from documentations, especially Graphene afaik it's currently the best one
Doragonsureiyā
thank you!
You're welcome! 😊
Kodirbek
Hello all. One question. Which is better? Build relations in new table or in JSON field?
Aditya
Aditya
Hello, Who knows source for learning Django Graphql api?
lookup youtube plenty of people teaching and they all seem great
Aditya
Try python -m pip install requirements.txt
pip3 install -r requirements.txt
شاهین
Arcpy
Doragonsureiyā
Arcpy
What are you talking about?
Elvis
Hi guys someone have any experience with jet-admin ?
Mohsen
Hey guys. I used validationerror and it worked, but error not show in form. Whats the problem?
Doragonsureiyā
Hi guys someone have any experience with jet-admin ?
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
Doragonsureiyā
Hey guys. I used validationerror and it worked, but error not show in form. Whats the problem?
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain: - what you're doing - what you're expecting - what you're using - where you're running the script - what Python version you're using - what packages and their versions you're using - and the most important thing: show the code YOU wrote (read rule 5️⃣ for that) and more details, that way your chances to get help will increase
Werner
i don't expect that many plugins
꧁𓊈𒆜🅺🅰️🆁🅰️🅽𒆜𓊉꧂
Hi all, Please let me know how can we make Django admin superusers with only access to users of specific groups
Yuvi
How to reduce camera size in Django
Doragonsureiyā
How to reduce camera size in Django
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
Anonymous
Hi , guys, I want to create a dynamic filter form for price, Color, size… Who can help me?
Saksham Mittal
Hi , guys, I want to create a dynamic filter form for price, Color, size… Who can help me?
Sure will help you out, please describe what you want in detail
Anonymous
Why I can't send picture here
Saksham Mittal
You can send it in inbox
Anonymous
You can send it in inbox
can i send message you in private?
Saksham Mittal
Yes sure
Doragonsureiyā
Why I can't send picture here
Read the rules before any activity: @PythonRules
Omair
Start from documentations, especially Graphene afaik it's currently the best one
I remember that django put up a GSOC project on improving django and graphql's integration. Let's see if someone took it up or not.
Omair
Graphene is the best one afaik, Ariadne as well and Strawberry is adding integration
Yup they were actually thinking of rolling out an official graph-ql to ORM mapper https://code.djangoproject.com/wiki/SummerOfCode2020#GraphQL. Sadly this wasnt selected so graphene it is for now.
Anonymous
Hi guys, which Linux OS is better to use Django? Now I use Windows.
Украинский
jay
Hi guys, which Linux OS is better to use Django? Now I use Windows.
For starters you can use ubuntu or mint, but ubuntu is preferable then once you are confident yoy can switch to arch Linux and so on
Jon snow
class Todo(models.Model):     content= models.TextField()     date_posted = models.DateTimeField(default=timezone.now) this is my model,but the time i am obtaining is not correct, what can i do to correct it
Jon snow
Use python datetime module
how,can you elaborate it,how i add that to database everytime
Root
Well I use datetime.datetimenow()
Root
To get current date time
Root
Read docs of datetime module if you want to know more
Jon snow
Well I use datetime.datetimenow()
like dateposted=datetime.datetimenow?
Michael the wolf 🐺
Dont call the function tho..dont use now()
Root
datetime — Basic date and time types — Python 3.9.0 documentation https://docs.python.org/3/library/datetime.html
Jon snow
thanks mates
Arezoo
Can i upload pdf and image in filefield in model ?
Arezoo
Thanks
RIJ
Hello i guys i have question I have a 2 model and In model 1 i have a certain type of object for example a and b In model 2 i have a foreign key in model 1 I just want to display an objects with type a in my model 2 admin panel Do u guys have any suggestions
Mirco
Model2.pbjects.filter(model1__foo_type="a")
Mirco
something like this
RIJ
Model2.pbjects.filter(model1__foo_type="a")
I want to do this filter on admin panel not views in views iam ok with it Look thers is 3 obj of model 1 : Model 1 with type a Model 1 with type b Model 1 with type c And i have foreign key to model 1 so include all 3 obj And when i want to choose obj shows me all 3 but i want just obj with type a
Anonymous
if it is what i think you're trying to do
Jun
Can any body tell me how to store email credential in seperate json file insted of settings.py file!!!!
RIJ
you could override get_queryset
How can u tell me specific subject to search about
Mirco
Mirco
Doragonsureiyā
thank u
You're welcome! 😊
Stephen
I am interested in a video or post explaining in details custom user creation, different user levels with different permissions.
Alex
I am interested in a video or post explaining in details custom user creation, different user levels with different permissions.
> explaining in details custom user creation https://docs.djangoproject.com/en/3.1/topics/auth/customizing/#specifying-a-custom-user-model > different user levels with different permissions https://docs.djangoproject.com/en/3.1/topics/auth/default/#permissions-and-authorization
Stephen
@alkalit thanks,
Fazil
Hey everyone, My app needs to extensive web crawling to give response to a user request. How do we handle the long processes in Django? Is there some better way?
Fazil
Try using threading
Yes, I used that but right now I am calling response within the view
AK
https://instagram.com/username/?__a=1 Gives the userdtails in json format.It works fine locally when I use requests.get(url). But it gives different response when it gets called from heroku deployed server http://websterapp.herokuapp.com/client/testview/ Any solution? Urgent
Ton618
I am getting page not found error for products.html