Führer
who can help me put up a page
Führer
written in django, i have coanel hosting
Anonymous
Perfect
@𝑺𝒐𝒃𝒌𝒂
Hello! I notice that 'python' and 'python manage.y shell' both run python shell. Is there any difference between these command line? Help please
Mirco
Hello! I notice that 'python' and 'python manage.y shell' both run python shell. Is there any difference between these command line? Help please
Yup, the first one is the python REPL The second one is ipython and it loads automatically all the models for you
@𝑺𝒐𝒃𝒌𝒂
Yup, the first one is the python REPL The second one is ipython and it loads automatically all the models for you
It means if I use 'python', I have to load models manually before interacting with my database API. Is that?
@𝑺𝒐𝒃𝒌𝒂
If so, how can I do it?
Ashutosh
Hey can someone suggest good resources to learn django
Doragonsureiyā
Hey can someone suggest good resources to learn django
Check out PythonRes, a channel for Python resources - video courses, pdf books, tutorials and other info to help you learn Python.
Bhashkar
Hi Guys, During submit form I am rendering on same page when the validation error comes. But the filed data was showing {{user.name}} however I want show posted name data.
Claudia
someone who wants to help me with a problem :(
Doragonsureiyā
someone who wants to help me with a problem :(
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Dony Anggara
Hi.Can I use elementor front end builder with django ?
pranit
Is there any way to use queue process in Django for multiple user
Führer
who knows how to setup django on. cpanel
Anonymous
Guys, send me example bundles django+vue.js for the task treeselect
Mirco
If so, how can I do it?
Just import them
Champak Lal
Any utuber who teach about django hosting?
@𝑺𝒐𝒃𝒌𝒂
Just import them
Ok. Thank you!
*_*
hey guys, i want to integrate otp verification can anyone help me with the best approach
*_*
?
sheikh
Is there a way we can use debug tool bar in react frontend?
Adhil latheef
I'm currently working as django developer..... I like to learn another technology.....Which one is better for my career...As a developer. .
Anonymous
psycopg2.OperationalError: could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? django.db.utils.OperationalError: could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? I am getting this error after running heroku run python manage.py migrate
Anonymous
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'LMS', 'USER': 'postgres', 'PASSWORD': '12345678', 'HOST': 'localhost', 'PORT': '5432', } }
Anonymous
This is from settings.py file
CodeCypher
That guy totally helped me!
A
Try to learn react and node/angular too
IS
Hi! I'll send it through the translator, so I'm sorry for the mistakes ;) I have a webservice ( nginx gunicorn dhango). I connected django users and linux users using django_pam . Now I need to create a widget in the admin panel that will allow me to create new users. But the widget must also create a user in the operating system . The web service does not have a sudo. What should I do ? P.s. I can't get away from such a trick-the production of the authorities
VISHNU
If ' ' in value_list('value',flat =True)
VISHNU
Like this If not ' ' in value_list('value',flat =True)
Anonymous
How to covert base64 image to jpg how I can do this please help me here
Darta
any suggestion for this? https://stackoverflow.com/questions/68129817/change-password-form-or-link-in-abstractuser-django-custom-user-model
 
hi . i enter mysql command for save a data in a table . i don't have error but data not viewed in localhost . and when i try to read data from database , database response nothing . what's wrong?
Astrit
Hello, I have a simple quesstion regarding left outer join in django. I have two models(Waiter and Manager) and they both contains same foreign key to restaurant as: Waiters(inherits x model): restaurant =model.ForeignKey(Restaurant) Managers(inherits x model): restaurant =model.ForeignKey(Restaurant) So i need something like this: select * From Waiters w Left outer join Managers m On w.restaurant_id = m.restaurant_id Note* Im able to query that with two query like: manager = Managers.objects.filter(id=request.usr.id) queryset=Waiters.objects.filter(restaurant=manager.restaurant_id) But i want to do this in one query.
Mykhailo
Hi, guys! Can you please tell me how to use django and vue? Separate front-end and back-end(use always drf) or integrate vue into django throught different libraries like django-webpack-loader? And when should you give preference to which solution? Thanks.
dexofan
Many thanks! I'll take a look!
It's like fastapi but on top of django and with async support (drf doesn't have)
Astrit
Try to use Models.objects.select_realated(fk)
I have tried it but it is not working maybe because two models are not related
Mykhailo
It's like fastapi but on top of django and with async support (drf doesn't have)
Very cool! Really thanks)) I will try to use it in the current project
Astrit
Ohk
select * From Waiters w Left outer join Managers m On w.restaurant_id = m.restaurant_id This query does the job but i dont know how to implemented it in ORM and im out of resources 😀
sheikh
Can Debugsqlshell works with postgresql!?
Fes
I keep getting an error indicating secret key cannot be empty. Any ideas on how I can solve this?
*_*
I keep getting an error indicating secret key cannot be empty. Any ideas on how I can solve this?
please check the secret in setting.py or if you set it on .env file..
Anonymous
Every time I use to use white noise to get all the static files to work on my admin panel .. otherwise my admin panel looks weird without any CSS files ..why is it ? .. using Whitehouse then I have to turn my debugging = False it causes some issues to me ..btw I'm just a beginner ..any suggestions would be appreciated ..thankyou
Doragonsureiyā
Every time I use to use white noise to get all the static files to work on my admin panel .. otherwise my admin panel looks weird without any CSS files ..why is it ? .. using Whitehouse then I have to turn my debugging = False it causes some issues to me ..btw I'm just a beginner ..any suggestions would be appreciated ..thankyou
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
Doragonsureiyā
hey guys, i want to integrate otp verification can anyone help me with the best approach
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Doragonsureiyā
any suggestion for this?
Maybe anyone is here, yes, but they are not obliged to read everyone's message here neither to reply to everyone's message, if someone wants to reply to your message, they will do that, just don't try to draw attention to your message writing "anyone?" every 5 minutes, that will lead you to be warned for SPAM/Flood, just be patient or use Google/DuckDuckGo to research about your question instead of wasting time here waiting for people to do your work. Have a nice day 😊
Elijah
Hi I need a Django developer with experience in DRF, Chat application and push notifications and One signal to complete some task. Kindly DM to with your price and questions, thanks
Hello Mr Owolabi, I am a django full stack developer with 5years industry experience and I am willing to work with you fulfil this task. My price depends on the nature of the job
Abhinesh
Hi I am developing a web application no need of any APIs for my application. For authentication can I use jwt i didn't find any tutorials Thanks for any tutorials
Abhinesh
Jerome
Hi I am developing a web application no need of any APIs for my application. For authentication can I use jwt i didn't find any tutorials Thanks for any tutorials
there's a native authentication system in django, with views & all secure, not really versatile but solid & handy
Anonymous
By using requests module right??
Here we have to receive request
Abhinesh
Thanks @jeromepacman , @imagemagickorp
Anonymous
Here we have to receive request
Request must be sending from js function placed on client side
Anonymous
Here we have to receive request
Here ajax can do this work. Its can be implemented with 2 strings
Anonymous
Thanks @jeromepacman , @imagemagickorp
If got problems, notify my.
Abhinesh
If got problems, notify my.
Okay I will try it thank's for being an active member in group
Jerome
You are saying about @loginrequired decorator right??
among indeed. But it's more than that, templates are ready, you just have to follow the doc. Native views are ready to go. Also beyond that, there are good third dependencies if needed like django allauth, & others eg for social media authentication
나다니엘
is there a library or template tag to build dynamic query parameter, for pagination, sorting & filtering?
Bwaks
am getting this error----------> Uncaught (in promise) TypeError: Cannot read property 'artist_name' of undefined..........from.......this view function ---------->class ArtistsDetail(APIView): def get_object(self,artists_slug): try: return Artist.objects.filter(artists_slug=artists_slug).get(slug=artists_slug) except Artist.DoesNotExist: raise Http404 def get(self,request,artists_slug,format=None): artist = self.get_object(artists_slug) serializer =ArtistSerializer(artist) return Response(serializer.data) ......................