Mirco
Igor'
Mirco
Please, say me, how?
The captcha is a field of the model or you do something inside the view ?
Igor'
Mirco
no, in Form
Show the code of that view and the form via pastebin
Igor'
https://pastebin.com/vpJdD59a
Bilal
Hello someone can help me for my project in django please?
Doragonsureiyā
Hello someone can help me for my project in django please?
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
Bilal
I have just some questions
Mirco
https://pastebin.com/vpJdD59a
https://django-simple-captcha.readthedocs.io/en/latest/advanced.html#captcha-test-mode
You don't need to mock it, just activate the test mode
I'm supposing you are using this library
Igor'
Mirco
Vitaliy
How can I automatically determine which relations I have to add to my query as select_related?
Mirco
Eslam
Guys i want course django ecommerce can any one help me
عبد الله
🎩𝐃𝐄𝐋𝐎𝐍𝐄 ✹ ⃝⃙🇲🇦
Guyd
🎩𝐃𝐄𝐋𝐎𝐍𝐄 ✹ ⃝⃙🇲🇦
Guys I need any course full for learning django please
Suman
if anyone looking for course I would highly recommend watching very little of YouTube tutorials and learning more from the documentation(Django has an excellent one)... and build a project other tham one seeing in the tutorial.. u are gonna learn a bit slow but with full knowledge which will help in a long run... saying from experience ..
cheers
🎩𝐃𝐄𝐋𝐎𝐍𝐄 ✹ ⃝⃙🇲🇦
cj
Its not good
how come are you saying the OFFICIAL documentation is not good?
🎩𝐃𝐄𝐋𝐎𝐍𝐄 ✹ ⃝⃙🇲🇦
🎩𝐃𝐄𝐋𝐎𝐍𝐄 ✹ ⃝⃙🇲🇦
cj
I need any full tuto
that's the best and fullest you'd find in the internet ¯\_(ツ)_/¯
🎩𝐃𝐄𝐋𝐎𝐍𝐄 ✹ ⃝⃙🇲🇦
🎩𝐃𝐄𝐋𝐎𝐍𝐄 ✹ ⃝⃙🇲🇦
Because I have problème in sql lite its not good
🎩𝐃𝐄𝐋𝐎𝐍𝐄 ✹ ⃝⃙🇲🇦
cj
that's your work ¯\_(ツ)_/¯
cj
then read ¯\_(ツ)_/¯
cj
Ali
Depending on the scenario, design them all. Nothing too crazy.
cj
Ali
Ali
cj
and it was his 2nd warn ¯\_(ツ)_/¯
Ali
Guys, how secure a Django project can be? I'm not talking about security checklists, parameters and stuff.. Jus focusing on the performance and customizablity. Thoughts?
Ali
Like how secure a Django project can be while there is a huge template engine integrity inside? (Like all endpoints redirect to a HTML file)
Meanwhile, that would've been super nice if you keep your Django project as simple DRF and never use the template engine ever. (Brings less concerns as a backend dev)
cj
Ali
Wasim Ansari
I am using Model viewset
How to generate different url for each crud operation.
Python Guy
I wanna write view for comment create and got this this snippet
https://dpaste.org/hcqk
but I am not sure how to assign post id to comment????
Anshu
William
Gianfranco
Hi gentlemen, following you advise I got two scoops for Django vers 1.8, do you think that this version is too old ?
cj
Python Guy
class Comment(models.Model):
post = models.ForeignKey(Post,
What exactly it save, postid or something else?
Manav
I'm trying to print the result of an SQL query on a webpage ( django framework ). I've used the following function in the views.py file to run the query
def feedback_list(request):
cursor = connection.cursor()
cursor.execute("SELECT * FROM reciever_feedback")
r = cursor.fetchall()
print(r)
return render(request,'feedbackview.html',{'data', r})
And I'm calling the data tag on the webpage to print the result.
The webpage doesn't load and gives me an error stating data tag is invalid, how do I fix this?
Gianfranco
Kuth
HI , I build user account management to allow my user can access all by application.
cj
Kuth
HI , I build user account management to provide authentication system and allow my user to access resource my other applications my apps are:
- Authentication server: using Django build with Oauth Toolkit as provider.
- My Client application is Angular as front end and using Django APIRest frameworks as back-end.
I have implemented successful between Auth-server and client backend (Django Rest framworks) But I don't know how to implement for my Angular Front-end and REST framwork (back-end) authenticated work as the same time.
Please help me to do that.
Gianfranco
Mirco
Kuth
Anshu
Sloth
When we pass QuerySet as an argument to a function in django is it passed by reference or passed by value?
Kuth
Kuth
I see only authenticated on Angular and Oauth2, in my specific case have a Angular backend one more.
Shahrukh
Hello I'm new to django
Can anyone suggest me best course of django on udemy
Anshu
Shahrukh
Thank you
Kuth
Yes,
Kuth
My provider is using Oauth Toolkit to provide authentication to my other apps,
Kuth
Now I want to implement my Angular
Kuth
my Angular is DRF, It's different resource
Rushikesh
Guys, anyone have any resource to learn django unit testing and drf unit testing?
I want to learn how to unit test my code in django and drf