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!!!
Mirco
John
yes
John
I'm using django-rest-framewrok
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?
Mirco
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/
Anonymous
Syamlal
😳 Manjaro
Anonymous
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
Anonymous
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
afk
go for manjaro
afk
Manjaro is lub
Dmitry
Mint is better
Dani
Anonymous
stability is defined by how packages dependencies are build
Dmitry
Dani
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
Dani
afk
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
Anonymous
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