we are dude
Anyone please help ...i have a query
Borys
Hi guys. Do you know which is the most recommended django server?
ᐯᑌᏞᏦᗩᑎ📈
PostgreSQL i use
Borys
Others?
Luis
Hi guys. Do you know which is the most recommended django server?
Most recommend django server? You are not specific...
Luis
What are you looking for? A databases server? A web server? A server or service to deploy your app?
Borys
What are you looking for? A databases server? A web server? A server or service to deploy your app?
a server where I can use and work with a database and deploy my Django app.
Luis
AWS maybe a good one... you can create some little vm instances (tiny) for free and pay per usage when you increase traffic
Sergey
What's up, ModelForm with initial data from request.POST convert every string to list. How to avoid it?
Sergey
https://pastebin.com/vKzYkYPE Here is a code example
Anonymous
Am trying to create an investment site, am done ,with the ,signup,login I wan to create a function that will direct a user to their own personal dashboard after login
Anonymous
Pls how can I do it
Mirco
Pls how can I do it
Start from the Django tutorial on official docs and start studying
Anonymous
I want to return URL of image after uploading on S3
Anonymous
I am using boto3 and django-storages
Anonymous
Any suggestions ?
Anonymous
Just using MEDIA_URL
Thanks, will try
Mirco
Thanks, will try
One of the goal of django-storages is to let you keep the usual Django media template tags
Anonymous
Any vacancy or a project for front end developer/full stack dev/backend dev as a intermediate In kenya .
Anjali
I need to make a card game using Django
Anjali
Any help?
Anonymous
Where are you from ??
Dharmendra
How to pass date as parameter from django to postgresql function
m0nte cr1st0
Hello. Help me pls https://stackoverflow.com/questions/60127144/how-to-write-unittests-for-consumers-in-django-channels
ThePresence
Which type of authentication should I use? I'm using django + angular
ThePresence
Mirco
Yes what ?
ThePresence
But tokens get expired after some times..
ThePresence
PV
You can refresh them
Or change time in settings
Mirco
Cool...
Study as better as u can what JWT is
ThePresence
Study as better as u can what JWT is
Yes.. thank you so much... I was bit confused...
Ayy
I want to display db records on a template with an option to choose edit mode, which changes the field values into editable mode with a valid form. Basically view and edit modes into single django template file. How to do this
Nurbek
How can I migrate my data from AWS Psql RDS to DynamoDB? I can't find any instructions on the web😥Amazon's documentation is not my level (awful...filled with inner links and redirects)🤯
Nurbek
Or at least how to migrate using AWS Migration Service
aj
Can anyone provide paid Django training at Pune, India.
Ramziddin
Hey, is there a way to create a "settings" page for the admin app?
Michael ジ
Hi...does anybody know, if in Django 3 is a possibility to minify the html, css etc. for deployment? remove comments e.g. so no whitespace etc. (to speedup the loading time and harder to analyse the code
Michael ジ
that's an interesting idea too. does the nginx gzip exactly do what I am looking for?
Alex
that's an interesting idea too. does the nginx gzip exactly do what I am looking for?
Hm, yes, it seems @inheritdoc is right. But combining both - compression with minifications seems to be a good practice anyway.
Yash
My 'manage.py collectstatic' command is generating a 'staticfiles' folder even though I have specified 'static' in settings. Why is it so? This is causing problem in heroku deployment
Yash
From error while heroku deployment, I can see it is searching for 'static' folder. Hence causing the error.
Fuad
If staticfiles folder is already generated
Yash
It's searching for 'static' folder, but actually 'staticfiles' get generated during collectstatic command.
Fuad
Yes
Well, it shouldn't have to show errors if the folder is already on your path...
Fuad
Can you share the error message..
Yash
Error -🔗https://pastebin.com/ZktwWZBY
Fuad
Error -🔗https://pastebin.com/ZktwWZBY
Are you running the command inside the heroku bash?
Yash
No
Fuad
In my project directory
It has to work, you may miss something ..
Fuad
Try Run the command again
Yash
It has to work, you may miss something ..
Yeah it worked. Since collectstatic was generating 'staticfile' even after specifying 'static' in my settings.py, I renamed 'static' to 'staticfiles'
Yash
Yeah thanks!
Lone
how would i save the session data in django to the database .https://dpaste.org/CTb9
Lone
You are talking about a user session right
am working on a django shopping cart...am able to save the cart details in the current session but am not sure sure how to save the details during checkout and store in the database
Omair
am working on a django shopping cart...am able to save the cart details in the current session but am not sure sure how to save the details during checkout and store in the database
Django sessions model only has three fields by default which is why you will have to either have to overwrite the default session model and add new fields to it or you can create a new model and use the session id as a foreign key in it
Omair
I did something similiar here if its any help https://github.com/OmairK/concurrent_session_handling
Lone
am passing my product details in the session as a dictionary and it works but saving the details in the database is the real issue
Omair
am passing my product details in the session as a dictionary and it works but saving the details in the database is the real issue
Yes when you pass it in the session as a dictionary its saved in the request that your browser in handling but to save it in the database you will have to overwrite the session model or use the session id as a foreign key in a model that saves the extra details of the session
Omair
any refference or example would be highly appreciated
http://gavinballard.com/associating-django-users-sessions/