Anonymous
To ask things related to django. I gave him a fine hint.
Yeah i understand they have to search In their own first, but you don't hv to be mean about it.
Rohan
Yeah i understand they have to search In their own first, but you don't hv to be mean about it.
Your NLP unit is faulty, you suck at sentimental analysis. We can talk about it in offtopic.
Anonymous
From where i can find clone project like clone of amazon or netflix in django?
YouTube it. Inefficient but you'll find stuff and idea ¯\_ (ツ) _/¯
Doragonsureiyā
What is NLP
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Anonymous
What is NLP
Oh wait let me guess 1.turn on ur device 2.open browser 3.go to Google 4.search
Peak
I need a function to be executed every day but as im on windows, i can not use Celery. any other good ways?
pythonista
How do I populate my database when the user login? I want to do something like when the user go to the django app. Django automatically populate some data to the models. So the app wont look empty. I want to do this to show the demo of my project to others.
Anonymous
https://del.dog/adorifuwug
.Gaurav
Hey guys any one here who has used AD authentication with Django
Can youvpls post the code for the same if you have ?
Arumugam
Hai mentors, can someone guide me how to integrate pdftron with django for pdf interactive search and edit functionality
Anonymous
That's what I do always
Anonymous
You welcome
:)
Hi, how can I get context value in django model admin? https://dpaste.org/ppvf
Anonymous
Hi, how I get data from model choice field in HTML without using form.
Anonymous
I got this problem if you can help I will be thankful💜 https://stackoverflow.com/questions/64293918/user-login-api-does-not-work-django-the-code-always-show-email-or-password-inv
Rohan
I will try to find some other ways.
Whatever floats your boat.
Rohan
But this is most convenient and conventional way
pythonista
Thanks I will give a try
Bobosher
raise NoReverseMatch(msg) django.urls.exceptions.NoReverseMatch: Reverse for 'updateorder' with arguments '('',)' not found. 1 pattern(s) tried: ['updateorder/(?P<pk>[^/]+)$'] [10/Oct/2020 21:00:29] "GET /customer/2/ HTTP/1.1" 500 154303
pythonista
I think your url is not same for view. You could share your code.
Bobosher
views: def Customer_view(request, pk): customer =Customer.objects.get(id=pk) email =Customer.objects.get(id=pk).email phone =Customer.objects.get(id=pk).phone orders =customer.order_set.all() order_count =orders.count() content={ 'customer': customer, 'email': email, 'phone': phone, 'orders': orders, 'order_count': order_count } return render(request, 'account/customer.html', content)
Bobosher
urls: path('customer/<str:pk>/', views.Customer_view, name='customer'),
KUMAR
I am integrating react login front end and my django login api , can anyone help me in integration of my front end and backend
Bobosher
How you called the view in html anchor tag?
href=" {% url 'customer' customer.id %} "
Bobosher
I'm a beginner
pythonista
DM me
Bobosher
I can't remember where I referred updateorder related to customer
Sai
I can't remember where I referred updateorder related to customer
You are rendering the url in customer view please keep check that update url in your urls.py and check program one more of your program logic
Anonymous
Hey all
Anonymous
Django doesn't provide a DB representation for AnonymousUser
Sai
My error?
Did u create the superuser bro
Anonymous
Yes
Suhaib
Hey guys
Suhaib
I have a big doubt
Suhaib
Hello anyone there
Ing. Mario Tamayo
I have this problem deploying a django app with ngix and gnunicorn that the admin site renders a black line at the bottom of it and all the urls lead to the index admin site but with some syles messed up
Suhaib
Does anyone knows how to create n number of database according to users wish
Suhaib
https://simpleisbetterthancomplex.com/tutorial/2016/10/14/how-to-deploy-to-digital-ocean.html
Suhaib
Just do according to the site it really works
Ing. Mario Tamayo
Dude but its just the admin site i have my project already deployed
Suhaib
Ok
Ing. Mario Tamayo
This is the weirdest thing
Suhaib
I thing you have to restart the templates
Suhaib
I am using postgres as database
jack
Hey! I have a problem - I dont know how to implement one thing. Can you advice me smth? I have models SportClub and Event. By event I mean like a training that should happen regularly. How to implement that some club for example has every week 2 events - on Monday and Tuesday at hh:mm pm. Also I need to get an upcoming events
Artyom
https://stackoverflow.com/questions/64294812/resize-images-django?noredirect=1#comment113692894_64294812 who can give advice?
Artyom
Use PIL for resize
I know about PIL, but how do it? I'm beginner and have low xp
Bunty chhatri wala..
Any django book which contains function based views only? Suggestions if anyone know about it?
Suhaib
Simply use django-versatile-imagefield
https://github.com/respondcreate/django-versatileimagefield
jack
Use crontab bro
crontab and celery are schedulers but i need to make/get/update/delete such events by api calls
Artyom
https://github.com/respondcreate/django-versatileimagefield
It doesn't quite fit. You just need to do it through the form. As I understand it, I need to set a shape with a width and height?