Himanshu
Please reply anyone on my query
𝕂𝕠𝕞𝕣𝕠𝕟𝕓𝕖𝕜
Himanshu
Thanks
Himanshu
Can we host on huruku?
Ganesh
Can we host on huruku?
You mean heroku?
Himanshu
Yes sir
Ganesh
Yes you can
Himanshu
Have you done before?
Himanshu
Actually i am trying to upload on heroku with mysql
Himanshu
Should i change database?
190031710_VATTIKUTI
Yeah i tried but getting multivalue error
Himanshu
Afteruploading on heroku it is showing 500 page error
Himanshu
Can you give any instruction for it?
ahmed
#GazaUnderAttack #Gaza_Under_Attack #Palestine🇵🇸🇵🇸🇵🇸
ahmed
#GazaUnderAttack #Gaza_Under_Attack #Palestine🇵🇸🇵🇸🇵🇸
Ghorz
Which hosting should we use for django?
If you do not imexpect heavy use. You can use shared hosting for 18$/year
Ghorz
Upto 50users
Ghorz
If your app will perform heavy computation, use vps or cloud droplets
Ghorz
From my experience. 2Gb ram server isn't always enough especially when you want to host your email server for webmail. I always opt for 6gb ram vps. But for small apps. Use shared hosting
Rahul
I was usung django allauth for social logins. It was working fine when I was developing it locally. But now I pushed my app in heroku for testing my app on a production environment. The Facebook login shows errors now. Can anybody please help me with it
Himanshu
Give a try to Heroku
giving 500 error
Anonymous
giving 500 error
the error wen i was get i try restart my server and makemigrations in heroku server
Sopan
giving 500 error
Yup - if you are making mistakes 😅
Ghorz
In horuku?
On any host. Some offer 1 cpu. That's a disaster
Rahul
the error wen i was get i try restart my server and makemigrations in heroku server
You should not make migration files in heroku. Instead you need to create migration files locally and push them to heroku. This would solve your problem i guess
Sopan
giving 500 error
Lear to read log via "heroku logs -t" or use Broswer and check logs
Amir
Use UUID in the model
that's very long i need some slug like: "w4th5y" not like that
Nurgazy
how login with 2 fields?
Nurgazy
Jenish
?
You need to google it, cause depending on your question, it is easy to solve if you can google.
Karthick
I want to learn Django , is there any free course ?
Anonymous
Go to youtube and search django tutorial by Corey Schafer
Anonymous
It's the amazing tutorial now
Nikhil
I want to learn Django , is there any free course ?
there’s a channel on youtube tech with tim you can find a tutorials over there you can check them out
Anonymous
It's the amazing tutorial now
It's a playlist watch it all and learn it It's taught in a very good way anyone can understand All the best
Anonymous
And Code with Harry too
Anonymous
You can go with anything
Nikhil
yeah
bot
For many small projects there is dannis ivy. He does django only.
Karthick
Thanks for all your suggestions 🙂
Anonymous
Hi..guys.. I'm working on the customisation of group creation in Django. I'm stuck and need help. Can someone help me please. I really need help. Thanks..
Doragonsureiyā
Hi..guys.. I'm working on the customisation of group creation in Django. I'm stuck and need help. Can someone help me please. I really need help. Thanks..
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
Anonymous
dont ask to ask
Thanks..ya .. Thanks..for..the..response..😘
Mirco
!job
Doragonsureiyā
Rule 🔟: Job-related offers are only allowed in the offtopic group. To not be considered spam, Job offers must include: • Skillset/techstack • Contact information • Brief job description • Pay figure • And can only be posted in @PythonOfftopic.
Jaime
Compass. Still a question I am in a detail template. What happens that I want q in the same template. Put a creation form and I want the id of my detail template to be placed inside my form. It should be noted that one to one is related
Zey
hey,why this is not working
Zey
{%if l.status is 'Canceled'%}
Mahdi
hey,why this is not working
{%if l.status == 'Canceled'%}
Zey
{%if l.status == 'Canceled'%}
when i used this it showed error 'could not parse'
Anonymous
Hello. How can i edit id Field in model like this: product = Products.objects.all()[0] product.id= 1 product.save() but it doesn't work
Mahdi
Hello. How can i edit id Field in model like this: product = Products.objects.all()[0] product.id= 1 product.save() but it doesn't work
I think you should over write id attribute on your model Because default id field is AutoNumberField and maybe not editable
Anonymous
I think you should over write id attribute on your model Because default id field is AutoNumberField and maybe not editable
If I convert the id field to an integer field, will the database be corrupted? Because I have information in this model
Daler
hey,why this is not working
Show ur model, template and view
Zey
thankyou all it is solved now
Zey
{%if l.status == 'Canceled'%}
thankyou ,actually i have to put space after status
Anonymous
Why you want change id?
When I delete a product, the order of the IDs is broken. 1, 2, 6, 8 I want to rebuild the IDs from 1
‎𝙼𝚞𝚑𝚊𝚖𝚖𝚎𝚍 𝙽𝚒𝚑𝚊𝚍
django.db.utils.ProgrammingError: relation "accounts_customuser" does not exist LINE 1: ..."date_joined", "accounts_customuser"."email" FROM "accounts_...
‎𝙼𝚞𝚑𝚊𝚖𝚖𝚎𝚍 𝙽𝚒𝚑𝚊𝚍
Daler
When I delete a product, the order of the IDs is broken. 1, 2, 6, 8 I want to rebuild the IDs from 1
U can add an additional integer field to ur model withour overriding your id field
‎𝙼𝚞𝚑𝚊𝚖𝚖𝚎𝚍 𝙽𝚒𝚑𝚊𝚍
Anonymous
U can add an additional integer field to ur model withour overriding your id field
I wanted to not do this but unfortunately I have to Thanks
Yaswanth
What is the use of SECRET_KEY in settings.py...?
Yaswanth
And also I'm unable to execute command django-admin runserver