Dave
Михаил
What should I edit?
Михаил
Which attributes|properties?
Михаил
The user already has set of permissions
Михаил
Isn't it enough?
Dave
User permissions
Dave
ah okay
Dave
yea it should be enough
Dave
if you have set the right one
Михаил
I'd like to edit groups with this user. The user has all the perms available for Group
Михаил
Emm
Михаил
Not
Михаил
I didn't set view_group
Михаил
I'm using django-guardian
Михаил
Didn't work
Михаил
Maybe I should override queryset
Maksim
Leonardo
Leonardo
guys, i have this object {
"article_id": 1,
"quantity": 6
}
Leonardo
i need to do a get article by id, take the price, and multiply by qty
Leonardo
and then return total amount
Leonardo
i do this get and sum at serializers?
Leonardo
whats the best practice?
Leonardo
lol
Anonymous
hi, can anyone tell me why i am getting ' error : command : 'x86_64-linux-gnc-gcc' failed with exit status 1 '
while trying pip install mysqlclient in aws ubuntu..
Jimmies San
Anonymous
Naruto
https://codingninjas.in/events/winter-of-codes?campaign=winterofcodes&source=ca590
Anonymous
How to build the project structure correctly
Anonymous
hi
how to use with local database?(already created and have any tables with some records)
do i have writing something in models.py ?
is it possiable without above text?
Денис
Anonymous
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?
Anonymous
Mihail
Do you have Django installed? or maybe activate the enviroment where you have the Django installed
Anonymous
Django is set. did activation
Anonymous
I am trying to save changes to the database
Anonymous
I use the command makemigrations
Mihail
then check you PYTHONPATH maybe it try to serach the module in the wrong dir
Anonymous
without using virtualenv everything turns out without errors, but with virtualenv the error crashes. why is that so?
Anonymous
probably a mistake in virtualenv
Ravid
is there books for djano ?
Anonymous
Why do you need books for django? The documentation and like 5 gazillion youtube videos not good enough?
Jimmies San
Jimmies San
it's a book, very good book
es.py
What should happend when :
- am logged in but not the owner
- am logged in but owner?
Anonymous
ı need a web translate tutorial anyone share wtih me ?
Leonardo
Egor
Hello. Please tell me, what is the best way to load source data (via Django desializer) using migrations that take into account the historical model?
Is there any other way besides this https://stackoverflow.com/questions/25960850/loading-initial-data-with-django-1-7-and-data-migrations
Marco
Marco
https://www.stavros.io/posts/how-replace-django-model-field-property/
Leonardo
look at the total_amount function
Денис
Harsh
Hi guys can I use pycharm to migrate tables without instead of the console
cj
Harsh
Can you tell me how
cj
Harsh
Is there option
cj
Is there option
you have to configure it...
do you know how to use PyCharm? or are you using it just and only to write code (as a simple text editor)?
cj
an also, your question is not about Django itself, it's about how to use an IDE, so please move to @PythonOfftopic
Harsh
I am currently using it just for code. But want to go more in deep and use interactive functions of pycharm
cj
Anonymous
Anyone tried mongodb in Django?
Modou-dev
Modou-dev
Modou-dev
Or you can use djongo also 😊
Anonymous
Modou-dev
Do you have a result ?
Anonymous
No
Anonymous
Migration error in case of I’d
Anonymous
id*
Anonymous
why can't I post pictures in a group? it's a pity :(
cj
Ghorz