Lelouch
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
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?
Lelouch
Muflone
3.8
check the python version in the venv
Muflone
< 3.5 is not supported
Lelouch
Muflone
https://github.com/psycopg/psycopg2/issues/990
Muflone
need to upgrade pip to 19.3.1 at least
Muflone
19.0.3
https://github.com/psycopg/psycopg2/issues/990#issuecomment-555182285
Lelouch
ᐯᑌᏞᏦᗩᑎ📈
if i use google api for login then can i access user's google profile pic?
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
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
Mohamed
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
Roman
Muflone
are they in the last migration?
Roman
Muflone
DELETED?!
Muflone
migrations MUST NEVER be deleted until they're unapplied
Muflone
neither changed or modified
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
Roman
Muflone
lesson learned: never delete migrations
Aditya
Hi
In aggregate can add new field from aggregate value
Aditya
Can someone help on this
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
Shreehari
Has anyone used fcm-django?
its implementation is confusing. I need to implement it in drf. can someone help me with it
Muslim
Muslim
George
I just found this :D
https://medium.com/ambient-innovation/automatic-and-reliable-handling-of-object-ownership-in-django-34d7ad9721e9
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