Brian
Hey guys, how can I perfom operations in a serializer using fields on another serializer?
Brian
ideas?
Anonymous
Hey can any one suggest me a good django2.0 book/video or course to make social networking type websites
John
hi guys
John
I need create custom view update and create group
John
Someone have references?
Adonis
Hey can any one suggest me a good django2.0 book/video or course to make social networking type websites
check this : https://simpleisbetterthancomplex.com/2015/11/23/small-open-source-django-projects-to-get-started.html
Adonis
it is a starting point
Adonis
check also django-activity-stream
Adonis
Adonis
you want to create a view for Update and Create ? like a class based view ?
cj
Hi, I need a licensed server for PyCharm 2018.2, please send me!
Do you work with Python and make money? Do you use PyCharm as your main IDE at your paid job? If yes, so buy a license, if no, you don't need to use PyCharm professional, community edition is good for you, or any other free text editor/IDE
Adonis
Cameroonian also
yeeeeaaaahhhh 🇨🇲🇨🇲🇨🇲
Le Createur
Always connected
John
I need create custom view update and create group Someone have references?
Mirco
I need create custom view update and create group Someone have references?
https://docs.djangoproject.com/en/2.1/ref/class-based-views/generic-editing/#django.views.generic.edit.UpdateView You can extend this one and make your custom one
Adonis
yep with a Mixin
Adonis
a FormMixin i think
dhelbegor
Hi guys, i've trying to create a multiple file upload in django rest, but all tutorial that i was found in the internet is not working for me, can someone explain me please how i can work with multiple file part?
Mirco
Why aren't they working ?
dhelbegor
whaen i try to upload multiple files, just one is saved in the data
dhelbegor
i've trying to use some examples that i found in the stackoverflow
Mirco
have you already read django docs before ?
dhelbegor
Not yet
Anonymous
Not yet
I'll suggest you to do it then
Mirco
Not yet
https://docs.djangoproject.com/en/2.1/topics/http/file-uploads/#uploading-multiple-files
Mirco
Yw 😀 @Dhelbegor
Jimmies San
@iFlare3G is too much helpful. stealing our job!!!! 😂😂😂😂
Jimmies San
😂😂 "sorry" 😂
😂😂😂❤
Samuell
Hi, good afternoon
Samuell
Can someone help me with a Django question?
Jimmies San
http://sol.gfxile.net/dontask.html
Chetan
Ajay
Hi! I am unable to find what does __first__ in migrations file do. please help! 😊 Thanks
Mirco
Hi! I am unable to find what does __first__ in migrations file do. please help! 😊 Thanks
https://realpython.com/digging-deeper-into-migrations/#the-migration-file Go to migration dependencies and it explains you what first is used for
Ajay
Oh! Dang! that looks like a good blog, i'll read the entire thing! thanks! 😊
Amit
How can i customize admin panel?
Adonis
How can i customize admin panel?
you can start here : https://docs.djangoproject.com/en/2.1/intro/tutorial07/#customize-the-admin-change-list
Amit
I can replace admin panel in django name to other .this is how can do?
Adonis
yep
Anonymous
Anyone have bitcoin
Adonis
it explain all you need to know to customize it
Amit
Yah
Amit
But can i do change django name to my project name ?
Amit
In admin panel?
Anonymous
Ya u can change
Anonymous
I think we will have GitHub django repo
Anonymous
There u will find a file belongs to that
Amit
Ok
b0n3sh
Hello, I want to make a web with studying quizzes I have, is Django good for that?
b0n3sh
I'm learning currently Django, but not sure if it will suit my needs
b0n3sh
I would like to make it also compatible with android
b0n3sh
good, I'll keep studying it then
b0n3sh
I didn't know if was possible to do that haha :P
Robert
FYI, for anyone using django-axes 4 with nginx and gunicorn, to get the original IP address to show up in the log and not 127.0.0.1, you need to set AXES_BEHIND_REVERSE_PROXY=True and IPWARE_META_PRECEDENCE_ORDER=['HTTP_X_FORWARDED_FOR', 'REMOTE_ADDR']
Furkan
I'm developing a project with Django. I'm trying to get the owner of the post to delete the post, but I couldn't figure it out. This code does not work in post_detail {% if user.is_authenticated%}             {% if user.username == Post.user%}                 <a class="btn btn-dark btn-sm" href="#"> Delete </a>             {% endif%} {% endif%} I would appreciate it if you could help. https://github.com/furkanonder/convoy/blob/master/post/templates/post/post_detail.html
Maz
[https://m.youtube.com/watch?v=0yzRW8yqN4M] [YouTube] is good,have a look at it!
Anonymous
Mirco
Mukhammad Ali
Hi guys, someone used pyinstaller package?
Brian
Hi everyone, how do I add a delete method to a model serializer?
Brian
can't seem to find anything helpful in the docs
Mirco
Hi everyone, how do I add a delete method to a model serializer?
http://www.django-rest-framework.org/api-guide/generic-views/#destroyapiview U can use this one in your Delete View
Vichu
How to upload a biggest file in database in django using MVC architecture.. Please give me answer. Thanks in advance.
cj
that depends on your web server, if it admits uploading large files and if it has a proper timeout before throwing the connection
cj
and django is not MVC architecture
Eugene
MVT :)
cj
MVT :)
neither that, didn't you read what they say about it?
Mirco
How to upload a biggest file in database in django using MVC architecture.. Please give me answer. Thanks in advance.
There's a Django package called django-chunked if I don't go wrong but never tested so idk if it's stable or not