Charly
Yes I do
So what's the issue then?
Anonymous
So what's the issue then?
Thanks alot I have an app that I want to pull endpoint with pending appointments
.
Yo I’m happy to join here. Thanks for the invite
.
Btw i was wondering if anyone can help me know where I can find any hacker groups to join?
Dev
Hello, what are some libraries you use on django to convert html to pdf? I’ve tried wkhtmltopdf but it doesn’t seem to be working as intended. I want a converter that can capture all css also.
Charly
Btw i was wondering if anyone can help me know where I can find any hacker groups to join?
No that's a forbidden topic and you should ask for groups here. So please, before anything else, read the rules.
Dev
Exactly the one you tried can do the css handling.
Unfortunately, when trying to download the pdf, it was blank, so it is not working as intended, that’s why I am asking if y’all know any alternatives.
Dev
Tried numerous times, shared the code on numerous forums, but nobody is seeing an issue with the code, hence I came to the conclusion that the library might be the problem, and maybe it’s time to explore alternatives.
Charly
And I say that because many solutions work the same and you may face the same issues
Ganesh
Provide me python with IoT books
Doragonsureiyā
Provide me python with IoT books
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Mahan
Sir, I created a category for the blog, it appears in the admin, it's ok, it's in my database, but it doesn't show on the page.
Hameed
I am working on a web app that uses Django REST Framework for the backend and Vue.js for the frontend. I want to implement a secure and user-friendly authentication system for my app, but I am not sure which method and library to use. Can anyone recommend me a good tutorial or example project that covers these topics?
Hameed
Karunakar
Does it support token refresh?
Go through simple jwt docs for that
M. Hossein
what's the difference between django.core.cache.backends.redis.RedisCache and django_redis.client.DefaultClient?
Doragonsureiyā
what's the difference between django.core.cache.backends.redis.RedisCache and django_redis.client.DefaultClient?
These single steps will help you a lot: 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
Александр
Hi may I dm you
sry, I do not speak
Александр
And I found the answer
Александр
I spent the whole day with ajax, and then they told me to do it with js fetch, and I followed the example in half an hour
i
Oh ok.actially I like to try ur. Could you pls say what you are making.about project.i try .please.
Александр
Oh ok.actially I like to try ur. Could you pls say what you are making.about project.i try .please.
I just tried to make the buttons to press the cart without reloading the page)
i
I just tried to make the buttons to press the cart without reloading the page)
Ok I meant I asked your whole project idea. Just outline please
Александр
Ok I meant I asked your whole project idea. Just outline please
But everything turned out to be not so difficult. At first I did everything in django, and then I fiddled with ajax and jquery for a long time and realized that this can be done using js fetch. If you come across it, you'll know)
i
pet online store project(
Wow, cool.what are the main features to be implanted.coukd you pls list out 5 or 6 ?
i
I have to do this.
Александр
i
I meant assume you are asking someone to do this project.Now pls brief me the project description like what are the features to be added? I guess it should hv user admin authentication, displaying pets with owner details then if user prefer to buy he should be redirected to a cart checkout page. Could you provide me the details. I
Александр
I meant assume you are asking someone to do this project.Now pls brief me the project description like what are the features to be added? I guess it should hv user admin authentication, displaying pets with owner details then if user prefer to buy he should be redirected to a cart checkout page. Could you provide me the details. I
I simply created a table with product data in model, and displayed it in a template, and now I’ve figured out how to make queries in the database without reloading the pages (like on modern sites), then I’ll look at what to do after the user has collected a cart and wants to pay for it . I'm just learning how django works😁
Ivan
Can you tell me if I do jwt authentication and store the refresh token in http cookies, the access token in the client memory, then I need django.contrib.sessions.middleware.SessionMiddleware? Doesn't it kill the whole point of jwt?
Pablo
Good evening guys
Pablo
I have tried to setup a CI/CD pipeline on aws, because i hosted my django project on an ec2 instance
Pablo
My code is on github and anytime i make a commit, it automatically deploys to my ec2 instance
Pablo
The issue is that when i try to view the url for the ec2 instance, it does not load. note that the url is just the ipv4 address of the instance
Pablo
And i am pretty sure i have right configurations. Does anyone have any idea on how to solve this issue?
Pablo
And yes, i have searched for hours on google but i have found no solution
Enlighting-man
hi, when I execute Gunicorn I get this error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "admin" does not exist, can you help me!, thank you.
Enlighting-man
These are the scripts I made: https://dpaste.org/FMiFA
Muflone
404
Enlighting-man
Server Error (500)
Enlighting-man
https://dpaste.org/3R51L ,this
Utam goel
Provide the crispy form
Utam goel
Documentation
Charly
Provide the crispy form
Your google broke or why don't you get it yourself?
Utam goel
My crispy form
Charly
Template not exit error
No code, no help.
Enlighting-man
404
There is a new URL
Enlighting-man
https://dpaste.org/3R51L
Charly
Charly
Ok
So you won't share it?
Enlighting-man
Same issue
oh let me chck
Enlighting-man
CREATE DATABASE caelsto_prod; CREATE USER caelsto WITH PASSWORD 'abcdc'; ALTER ROLE caelsto SET client_encoding TO 'utf8'; ALTER ROLE caelsto SET default_transaction_isolation TO 'read committed'; ALTER ROLE caelsto SET timezone TO 'UTC'; GRANT ALL PRIVILEGES ON DATABASE caelsto_prod TO caelsto; ALTER DATABASE caelsto_prod OWNER TO caelsto;
Enlighting-man
# database prod in .env DATABASE_NAME_PROD=caelsto_prod USER_DATABASE_PROD=caelsto PASSWORD_DATABASE_PROD=yguygy%$#F HOST_DATABASE_PROD=localhost PORT_DATABASE_PROD=5432
Nishanth Siraj
Django 5 officially released
Charly
Django 5 officially released
No, it's still alpha
阿德
Hello guys, I need to deploy my django project to the internet, so what is your recommendation, is there any explanation for that someone tried
Nat
Hi guys, I've an issue with data migration. I've a field called name which is required and translatable, with the actual model not all the translatable field must be filled to save the model but, in the migration the historical model is raising a validation error saying all the translatable fields are required. please guys, if you have any solution without using the actual model, share me.
ashu
How to create a newspaper subscription in django and the data stored in database ?