Muflone
Did that toooooo
post the screen then
Lelouch
Using it in venc
Lelouch
Venv
Muflone
by doing 🤷‍♂️ your issue won't get solved automatically
cj
Venv
is using any Linux distro an option for you? if yes, then use it you won't have that much problems using Linux.... of course assuming you know how to use it.... 🤔
Lelouch
Cant send pic
Shihasz
Cant send pic
Are u using older version of pip?
Lelouch
19.0.3
Lelouch
I have installed my python in D Drive This would not be the problem i think...
Muflone
here's working fine without pg_config installed 🤨 BTW install postgres to put the pg_config binary at the desired place
Muflone
are you sure you're using python 3?
ᐯᑌᏞᏦᗩᑎ📈
Hey guys i am done with sign in with google but how to do logout?
Muflone
19.0.3
or better what python version are you using?
Muflone
3.8
check the python version in the venv
Muflone
< 3.5 is not supported
Muflone
https://github.com/psycopg/psycopg2/issues/990
Muflone
need to upgrade pip to 19.3.1 at least
ziya
I would like to learn django professionly.
Udemy and pluralsight has something for you. Pluralsight is free this month
Muflone
19.0.3
https://github.com/psycopg/psycopg2/issues/990#issuecomment-555182285
ᐯᑌᏞᏦᗩᑎ📈
if i use google api for login then can i access user's google profile pic?
Gil
if i use google api for login then can i access user's google profile pic?
you must ask this to google and how to retrive profile image, of course you can do this work with DJango
Doragonsureiyā
if i use google api for login then can i access user's google profile pic?
Looks like you need a offtopic group, please continue this conversation at @pythonofftopic
Dinesh
Hey,I'm getting this error. Modulenotfounderror: No module named 'tabulate'
Dinesh
Is there any replacement for tabulate in newer version?
Amir
Any one have admin template?
Junaid Khan
Hey guys, When I'm showing images from database of a particular type then it is showing images but in different different row but i want to show 3 images per row. How can i do it?
George
What is the best approach to setting object levels permissions. While i have been reading both DRF tutorial part 4 and django-guardian documentation i don't have a clear usecase for this. I guess the most basic approach would be the DRF which is more standard and doesn't overcomplicate
Prabha
is_authendicated property always returns false
Prabha
Even I logged in
Carbon
I have acode bro for login and logout
Shreehari
FAILED SQL: SELECT "invitations_invitation"."id" getting this error when trying to send invitation link to mail using rest_invitations (https://github.com/fmarco/django-rest-invitations)
Roman
Hi guys please advice if anyone know , all columns from models are not being written to the database ?
Roman
Migration is done
Roman
But it still does not appear in database
Muflone
check if the columns are presents in the migrations files
Muflone
are they in the last migration?
Roman
are they in the last migration?
Ahaha I did all the stuff what found in stack overflow , nothing helped (((
Roman
are they in the last migration?
Wrote the question , hope anyone can help
Roman
are they in the last migration?
I think If I flush the database It will work , but don't want to loose data
Muflone
Already chechked , yes it does
unapply the last migration and apply it again
Roman
check if the columns are presents in the migrations files
I have all migrations deleted , just 0001 init
Muflone
DELETED?!
Muflone
migrations MUST NEVER be deleted until they're unapplied
Muflone
neither changed or modified
Roman
neither changed or modified
Well , I was following the stack overflow ahahaha , anyway idk what to do
Roman
neither changed or modified
Think I should drop database
Muflone
there are only to ways to avoid errors:
Muflone
1) never go back, everytime go ahead. if you made an error, create another migration which fixes
Muflone
2) if you want to go back: a) first unapply the migration (python manage.py migrate your_app migration_number). it will revert the database to the structure indicated in the <migration_number>, unapplying every following migration b) delete the migrations, following the migration_number
Muflone
of course in the case of 2 you try to unapply only the last migration
Roman
there are only to ways to avoid errors:
Okay I think , I know what is the issue after wipnig migrations I should do --fake because I have alredy database so it does ot allow me to run migrate , then I fake it and another models are being ignored, is it possible to syncs not existing models in database with models in Django or I should create manually migrations file ?
Muflone
restore the migrations instead of faking migrations
Roman
restore the migrations instead of faking migrations
Well I will just drop database ahah
Muflone
lesson learned: never delete migrations
Aditya
Hi In aggregate can add new field from aggregate value
Aditya
Can someone help on this
cj
But I can't do that
aren't you using a VCS? 🙀
Roman
aren't you using a VCS? 🙀
I do, but I have alredy deleted database
Anonymous
Can I use bounded field name in django insert query??
Syed Jafer
How can we encrypt the db in django
Aman
How can we use SQL QUERY in django
Lelouch
The secret key settings must not be empty In conf/init.py Why
Syed Jafer
How can we encrypt the db in django
I have used django-cryptography but not able to create relationships and not able to fjnd how to decrypt it
Shreehari
Has anyone used fcm-django? its implementation is confusing. I need to implement it in drf. can someone help me with it
Shreehari
Better use django-push-notifications
thank you. But i need to use fcm-django only
George
I just found this :D https://medium.com/ambient-innovation/automatic-and-reliable-handling-of-object-ownership-in-django-34d7ad9721e9
Anonymous
How can we use SQL QUERY in django
Using raw query Or connection cursor
Rajendra
If possible please tell me steps for deploying Which steps I follow
Rajendra
Guys I just deploy my django app on heroku it was running there perfectly but after 2 hours of later my all blogs images are hidden from there, I don't know what happening plzz help me
Aman
Using raw query Or connection cursor
I'm using connection cursor .