Deepak
?
Deepak
request.FILES is use for image ?
Nikolay
request.FILES is use for image ?
not only images, other files as well
Anonymous
How can ee write url to return from a inherited page to parent page
Nikolay
Ghorz
what is the use of request.Files ?
it helps upload media files, documents, anything that has to do with uploading content to the form
Ghorz
why is it use during updating of information through the form
if you do not use it, your files will not be uploaded
Deepak
Ok thanks. M newbie here. Pardon me for my silly questions
Ghorz
Reverse of "home" not found."home" is not a valid view function or pattern name
did you give the home path a name? or do your app have app_name lable?
Ghorz
request.POST, request.FILES
POST is for the text in the input form, Files is for upload content
Ghorz
Ok thanks. M newbie here. Pardon me for my silly questions
try googling sometimes for better understanding
Random
Is using mongo on django good option
Random
?
Nikolay
Is using mongo on django good option
if you need nosql - i think yes
Random
Ya
Random
But like it doesn't officially support
Random
Will it support officially in future
Random
?
Dakshesh
Can anyone guide me, I want to build a Blog cum Portfolio using Django, so any video or book that might help ?
Dakshesh
Can I contact you on personal ?
Random
Can anyone guide me, I want to build a Blog cum Portfolio using Django, so any video or book that might help ?
https://www.youtube.com/playlist?list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p This guy is like guru in explaining python stuff , also his playlist for django blog base app is good can check it
Nikolay
But like it doesn't officially support
a lot of things are not supported out of the box, that doesn't mean you should not use them =)
Random
a lot of things are not supported out of the box, that doesn't mean you should not use them =)
I saw there is pypy module for supporting mongo for django but haven't tried
Ghorz
a lot of things are not supported out of the box, that doesn't mean you should not use them =)
he could build a plugin support for the community. Its a brick at a time, he can try nonrel pymongo....
Random
Corey Schafer is surely the best
Ya man , he can explain stuff in detail and the best way 😀
Ghorz
If you want to use mongodb try
Ghorz
https://django-mongodb-engine.readthedocs.io/en/latest/
Muslim
Ok ty
Use djongo for mongodb with django
Preeti
Hello Everyone I am working on a project of scheduling appointments and sending sms to reminder the user a day before their appointment date . I am using celery with django but showing lot of errors Can anybody help me with this ? Or provide any other solution or idea ?
🅜🅞🅗🅘🅣
Hello guys... need help. How can I add a custom phone number field in django allauth signup form?
Nikolay
Doragonsureiyā
Pastebin ??
To share code or error tracebacks please use an online pasting service, here is a list of suggested sites: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev
Nikolay
Hello guys... need help. How can I add a custom phone number field in django allauth signup form?
https://stackoverflow.com/questions/58012239/add-more-field-in-signupform-using-django-allauth
Preeti
!paste
The whole project code or just the error part
Random
U should share ur logs and code using pastebin
One question , can i save logs generated on running " mange.py runserver " to some file ?
Nikolay
The whole project code or just the error part
not whole project, error log and code from functions/classes where errors happends
अतुल
How to transform python desktop aplication to web application
Random
Muslim
Where i have to conf it
Just google for: “Django rainbow logger to file”
Random
Ok ty
Andrej
I have some experience in Django and a bit time left in the next weeks. I would like to contribute a new open source Django plugin or a free video tutorial. Is there something what you would like to have, but you can't find?
Andrej
One question , can i save logs generated on running " mange.py runserver " to some file ?
Just configure the LOGGING variable and add a file handler. https://docs.djangoproject.com/en/3.0/topics/logging/
Holla
only when i try to create access post author profile
Holla
FieldError at /user/test Cannot resolve keyword 'data_posted' into field. Choices are: author, author_id, content, date_posted, id, title
Andrej
I'm also a mobile developer and using Django as a backend. Learn the basics and learn Django Rest Framework (DRF)
Anonymous
what do you mean by inherited/parent pages?
If i go to one of the page in navbar.....how can i return to home by a home button in that page
~
If i go to one of the page in navbar.....how can i return to home by a home button in that page
Give the path in the html part or you can give in form action also
Andrej
Hi, is it for Rest API ?
Yes, it is. You define your Django Model, then your serializer and a (Rest)-View. https://www.django-rest-framework.org/tutorial/quickstart/
Raju
can anyone suggest a free pdf of django rest api ???
Mirco
can anyone suggest a free pdf of django rest api ???
Official Documentation of Django Rest Framework
Mirco
Or buy Django for APIs book
Raju
Or buy Django for APIs book
thanks for you suggestions.
Lelouch
How to create Public , private access pages in Django
Lelouch
Like : show a playlist publically , private , and to follower like Spotify
Mirco
How to create Public , private access pages in Django
Read topic about permissions on official docs
highnes
Can someone suggest some best hosting solutions for django
Anonymous
How much now digital ocean ?
Anonymous
pythonanwhywhere start 5 dolar its so much expensive
Anonymous
for just one application
Andrej
Can someone suggest some best hosting solutions for django
I prefer to host it by myself inside a Docker container and I install the infrastructure with Ansible.
Raju
but i will
Andrej
never tried this way.
I'm using GitLab and GitLab CI for my deployment pipeline. I configured a pipeline which creates a Docker container of my Django application and rolls it out on my application server. Once it was configured, it works really nice.
Andrej
And the application layer is easy scalable. I have just to add new ip addresses of the application server to a hosts file and Ansible installs the environment by itself.
Raju
seems interesting. i will definitely try this