4Scholars
you can use AWS s3
4Scholars
or heroku
Supra
Or PythonAnywhere too
Jacob
Can we use python anywhere for django and frontend react
Aditya
Thankyou guys, will work on your suggestions.
Nerd
But there are limitations including Django channels, if am not mistaken
Shahzodbek
azure or aws. aws better
What about digital Ocean droplets ?
Jahongir
Viktor
Hi all. Tell me how to do pagination. If I have six products are not standard. Link to site template. I need the products to be scrolled by 6 pieces. Thanks for the help! https://demo.angelostudio.net/stellashop/1.1/index.html
Bhargav
During deploying django project on any cloud can I minimise the code by any method?
Maxim
During deploying django project on any cloud can I minimise the code by any method?
long answer: what does codebase reduction have to do with the deployment process?
Katerina
Hi guys ✋ How can I make the slug field be written in the same way as the title in Django... that is, if we write the title in any language, the slug will be automatically registered in the same language?
to generate slug from your self.title field, use this in overriden save() method for your class from django.template.defaultfilters import slugify def save(self, *args, **kwargs): if not self.slug: self.slug = slugify(unidecode.unidecode(self.title)) super(YourClass, self).save(*args,**kwargs) something like that
Katerina
Because of big queue of tasks I think? I understand that code needs some time to run and it become considerable when there are a lot of such tasks. Actually very general question. I think that it has to do with architecture of our app, but maybe there are some tricks to deal with such troubles
What do you use? Celery? The answer to such a problem for me was creating an external cron+mongodb (opposed to celery+postgres) based service and executing tasks via REST. Celery was not scaling well to me. It is a powerful tool but I failed to make it do what I want.
Вячеслав
Yeah, celery. Thanks for the lead
sakhr
how to slugify category page url arabic Can you help me please
Katerina
how to slugify category page url arabic Can you help me please
It must be a common problem, try something like this https://stackoverflow.com/a/73234747
sakhr
I do that but there is problem
sakhr
Error
Charly
Error
And why don't you share it?
Rohan
How to add payments in django help
ʜɪᴍᴀɴsʜᴜ sɪɴɢʜ sʜᴇᴋʜᴀᴡᴀᴛ
Rohan
Paytm
Rohan
Upi
Rohan
Yes
ʜɪᴍᴀɴsʜᴜ sɪɴɢʜ sʜᴇᴋʜᴀᴡᴀᴛ
Yes
Zerat
What ways do you use to improve performance of a django app? Im looking to reduce load on server and speed up loading times, I have looked into catching with redis or memcache, are there any other things i should look into?
Zerat
Improve your queries, and do some profiling
I used django-debug-toolbar, to spy on my queries. Reduced quite alot, how do you do your profiling?
M. Hossein
How to change file name when uploading image?
Tamerlan
https://pastebin.com/AdUkBUpy
Tamerlan
i get 156 querys in django admin
Tamerlan
how can i reduce it
Tamerlan
i get 147 similar query in here C:\Users\Tamerlan\Desktop\QSS Projects\TalentScoringBackend\app\models.py in __str__(33) return "answer={}; question={}".format(self.answer_title, self.questionIdd)
Kumar Shreyansh
is there any way to learn django ORM?
Hi, look for a youtube playlist called Django ORM Complete mastery
Doragonsureiyā
Can you dm
Can i send you a private message? No. We do not provide one-on-one tutoring, hire someone if you need it. Questions are better answered in public so that everyone can learn.
Kumar Shreyansh
Can you dm
I am sorry, but you are going to have to go on youtube and search
Kumar Shreyansh
Wait
Kumar Shreyansh
https://youtube.com/playlist?list=PLOLrQ9Pn6cazjoDEnwzcdWWf4SNS0QZml
Anonymous
THANK YOU GUYS
Victor
Other tool for queries is Django Silk: https://github.com/jazzband/django-silk
Rimka
Hello everyone I need help. I am currently working on django. everything was fine until i edited a static 'css/about.css' file. I realize that no modification of this file is taken into account. I stopped the server and restarted but it persists. how can i solve the problem??
Dark
Anyone plz suggest some good GitHub repository for project ?
Maxim
M R. WICK
https://dpaste.org/mWx14 here my file path is correct but when i am run application then no css is showing
M R. WICK
anyone please????
<\Hany>
Hello friends, have a good timeThis field is still asking me for the country code with exactly the same parameters, please help me solve it, it&#39;s causing me a lot of trouble. from phonenumber_field.modelfields import PhoneNumberFieldmobile = PhoneNumberField(unique=False, region=None)
Ammar
a quick question can i host my django app that i use channels and redis in it for free at python any where ? if not is there is other way to host them for free ? and can i put my html css js files in the same host ? another sub question is it true that php paid hosts usually Cheaper than python and django host services ?
Reza .
Hello friends, good time I have a project where I want to do the password forget part with both email and phone number and do it by changing allauth How long have I been involved In confirming the user&#39;s identity, either with the same link or with otp, but preferably with a link Does anyone know about this? And can you guide me?
Kumar Shreyansh
https://dpaste.org/mWx14 here my file path is correct but when i am run application then no css is showing
Hi, can you tell the exact location of the css file inside the project?
Kumar Shreyansh
Hi to all, when you put css files link through static tag, make sure you use load static tag at the beginning of the template, and that you do not use absolute file paths
<\Hany>
Katerina
https://dpaste.org/mWx14 here my file path is correct but when i am run application then no css is showing
try removing the ../../ from inside {% static %} tags, it is not needed. this way I believe you would be leaving the staticfiles dir, and it would be out of reach
Katerina
Doragonsureiyā
Try MongoDB for precomputed data. Saved my life a lot of times. It is also good if you need to use the same db with different isolated services.
Do you want to use Django with MongoDB? Then you shouldn&#39;t Please read this article: https://daniel.feldroy.com/when-to-use-mongodb-with-django.html
Katerina
aw shucks
Katerina
well not that’s not the case I am referring to but thanks bot. I suggest using it as a side thing, the main db is still Postgresql of course
eng.Ahmed
Please someone has an online store django 🙏🙏😭
Doragonsureiyā
Please someone has an online store django 🙏🙏😭
Adding the word Django to your Off-Topic question doesn&#39;t magically turn it to a Django related question, so move to @PythonOfftopic group and ask there.
Rudraksh
Is it necessary to learn class based views in django.
Rudraksh
When I implement login &amp; logout functionality without using Class based views. Then Is is essential to learn them
Rudraksh
Is there some extra benefit to learn class based views? Or Can I skip them because my work can be done by simple views.
Dexter
Is there some extra benefit to learn class based views? Or Can I skip them because my work can be done by simple views.
It works for small projects but when it comes to scaling the project you will find hiccups and doing repeat work which is not desirable in real life projects
Tuan
hi, do you have any idea that this code does not work?