John
someone can help-me?
John
someone woring django rest framework?
John
my model dont-update
John
someone helpe-me
John
https://pastebin.com/BA36W3Eg
John
this is my link
John
in my view i m used serialize.save()
Django Bot
>> Links - Coding style | Django documentation | Django
Anonymous
can anyone help me in creating a CRUD system on Django?
John
I 'm using django rest framework
M
Django unleashed pdf please!!!
John
yes
John
I'm using django-rest-framewrok
Mirco
I'm using django-rest-framewrok
Try to write instance.save() before returning instance
John
@mirc
John
Look for field, value in validated_data.items(): setattr(instance, field, value) instance.save()
John
for field, value in validated_data.items(): setattr(instance, field, value) instance.save()
John
this working
Anonymous
did someone tried to use typing module in Django?
Django Bot
>> Links - Update squashmigration docs to also mention circ dep errs (refs #23337) · d
Django Bot
>> Links - Cleaning up Django migrations - TykBlog
Django Bot
>> Links - django-unslashed
cj
Because the module models is being imported, and the class Models is being used on the definition of the class
cj
Module models is being imported to use all their classes, like models.CharFleld and others, because otherwise you will have to import them one by one and your import line will be big and ugly
Vaibhav
Okk...thanks
Anonymous
someone used typing module in Django?
Vaibhav
That Class meta
Anonymous
I think I'll try to create a basic app with Django-graphql and typing module that comes with python 3.7 + mypy
Anonymous
https://blog.ionelmc.ro/2015/02/09/understanding-python-metaclasses/ Understanding Python metaclasses | ionel's codelog
Anonymous
https://stackoverflow.com/questions/10344197/how-does-djangos-meta-class-work python - How does Django's Meta class work? - Stack Overflow
Syamlal
https://www.techomoro.com/how-to-install-and-setup-django-on-ubuntu-18-04-1-lts-bionic-beaver/
Syamlal
😳 Manjaro
Anonymous
it's off topic but... nobody heard about Manjaro?
Anonymous
We did
Anonymous
But that's not the problem
Syamlal
I think Ubuntu is better than Manjaro
Syamlal
😳
Anonymous
Arch is first distro that gets the newest packages version
Anonymous
then there's Manjaro, it gets the updates after 2-3 weeks after Arch
Anonymous
and most of the packages are already tested
Anonymous
on Ubuntu you may get that update in ... 6-9 months if not more
Dani
wrong
Ubuntu is more stable
Dani
Arch has too many bugs
Dani
For a newbie, ubuntu is better
Anonymous
Ubuntu is more stable
ppa are not most secure way to install packages
afk
go for manjaro
afk
Manjaro is lub
Dmitry
Mint is better
Dani
ppa are not most secure way to install packages
That is not the issue. Stability is
Dani
Mint is better
Ubuntu derivative
Anonymous
stability is defined by how packages dependencies are build
afk
many packages in ubuntu are out of date in
afk
in ubuntu ppa
Anonymous
and ppa's are the most dangerous because apt can't guarantee that you have all dependencies
Anonymous
on Arch you have AUR
afk
i am using manjaro
Anonymous
pacman is 100 times better than apt
afk
Aur is far better than ppa
Anonymous
+ you can use yay for AUR packages
afk
yaourt too
afk
need to install yay for using it
Anonymous
sudo pacman -S yay
afk
yep
afk
i will have to install. cause i always mispell yaourt
Anonymous
+ Manjaro also let's you choose your kernel updates
Anonymous
Ubuntu ... doesn't have something near this
afk
you will always have the latest kernel
afk
as soon as it releases
Anonymous
on Ubuntu you get the newest setup only when it's released
afk
right