Rohan
Nevermind, muted 😪
Shekhar
Hi I'm trying to deploy the django app in Aws Lambda using zappa but it url start with /dev/mydjango urls how to handle this
Ak
Hello everyone. I need final year django project definition. Can anyone have good definition?
Darth✧
anyone who have deployed django channels in production ?
DD
Hello everyone. I need final year django project definition. Can anyone have good definition?
You can use a freelancing platform - A departmental ERP system - A Quality Management System ( little bit difficult ) - A stock market store
sammy
How to create GRAPHQL API using DJANGO...?
PRASANA
I have error while deploy in heroku... Procfile declares none
Anonymous
declare Procfile in main directory
Anonymous
and save web: gunicorn base.wsgi --log-file -
PRASANA
and save web: gunicorn base.wsgi --log-file -
Same code only I used...but also for me ...had same error
SkyLord
Hello I'm still new to django, so don't judge if the question is even wrong. I work properly in a virtual environment django version 3.0.8 working in pycharm did look into the list of packages from my virtual environment and saw that there is a new version 3.1 took and updated the project seems to work, in the admin panel I see the UI changes when I go to Users the question is: do I need to do some checks or in the course of everything went ok and I just need to keep working ???? advise plzzzz I just installed django 3.1 separately and noticed that there are changes in the settings.py file compared to 3.0.8
Anonymous
Same code only I used...but also for me ...had same error
follow this article :- check what you missing https://dev.to/codeperfect/deploy-your-first-django-app-with-heroku-359m
cj
✅✅✅ Group is open again
Anonymous
Finally
Rohan
🎊
Amit
I have a doubt if I make a login plugin of Google in django how will be able to get his/her email I'd in my own database once they sign in
Anonymous
I have deployed my django app on heroku but when i turn debug to false only the data which is being retrieved from heroku-postgresql was not displaying and when i inspected the file file in browser it says: the requested resource was not found on the server. Can anyone help me with this ?
Darth✧
Please throw more light on this
I recommend you to go with RASA NLU for smart bots 👍
Darth✧
I can tell you more about rasa if u interested
Yusniel
I have to implement a tab list. Each tab is only showed if the user have the right permissions. Each tab render differents views and templates. I was wondering if anyone can give me some insight about how to implement it based on inheritage templates feature. Any insight is very appreciated.
*_*
hi..can anyone help me to fix it...
*_*
I'm getting error while sending mail through outlook SMTP server
*_*
outlook
*_*
stmp.outlook365.com
*_*
working now
Anonymous
Anyone know how to store old_value ,new_value , field name and user id in django for every entry if user changed any field in model.
Stv
Hello guys.I have an app built with Django rest framework, serving api's to a vuejs frontend.The app works very fine on localhost. I deployed to Heroku and deployment was successful. I have set up app on Heroku, added Nodejs and python buildpacks & set up my config cars. However, when I open app on browser, i get "Not Found. The requested resource was not found on this server". All my Get requests lands a 404.While investigating, j found out that only the packages in my requirements.txt gets installed during deployment, while the vue.js dependencies were not installed. How do I fix this? I have it lodged on stackoverflow already here https://stackoverflow.com/questions/63630549/the-requested-resource-was-not-found-on-this-server-error-while-deploying-django
Pankaj
Hello Guys, I want to implement Email OTP based Login. any suggestions or tutorials.
Anonymous
Simple is better than complex.
Anonymous
Anonymous
I think he mean register
Anonymous
Anyone know why in Django latest version they removed os in base_dir and used path module in settings.py?
Pankaj
on successful otp verification his user is created, and he can add passworkd if he wants from my account section
Anonymous
from os import path
Anonymous
It's same
Anonymous
no that is pathlib module
Anonymous
I haven't check latest version yet
Anonymous
oh
Anonymous
from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(file).resolve(strict=True).parent.parent
Anonymous
It's used to os.path
Anonymous
May be you can find what's new on documentation
Anonymous
It's used to os.path
is n't os.path is different
Anonymous
Add Issue on Django GitHub
Anonymous
I do not think it as issue but I want to know why they removed
Anonymous
when I upgraded Django version all my old projects did not work
Pankaj
Hello Guys, I want to implement Email OTP based Login. on successful otp verification his user is created, and he can add passworkd if he wants from my account section. any suggestions or tutorials.
Vlad
Hi!! has anyone get problem with too many queries and prefetch_related doesnt work? can you help me? https://stackoverflow.com/questions/63659885/django-reverse-foreign-key-and-too-many-queries
Anonymous
because path is way better to use than os at Python level
is it possible to load static files and template files with path rather then os?
cj
is it possible to load static files and template files with path rather then os?
yes, but you shouldn't serve static files with Django
Anonymous
yes, but you shouldn't serve static files with Django
how I can use then. And why should not I serve static files ?
cj
how I can use then. And why should not I serve static files ?
read the docs to know how to do that and your should use a web server (even better a CDN) for static files
Anonymous
then how can I use my own custom css
cj
then how can I use my own custom css
again, use a web server or a CDN
Anonymous
ok
Anonymous
How to save old and new value in separate table for each save time in django
cj
How to save old and new value in separate table for each save time in django
that's called logging/auditing, there are many packages for that
Anonymous
I already tried for django sample history
Anonymous
But it's not store old and new values
cj
But it's not store old and new values
then try another package that fits your needs or make your own, it's not that hard actually
Anonymous
how can I create online file manager to upload file, delete, etc. of server. is ut good to use pathlib or os module in Django site
Anonymous
How can I pass context to template in class based view?
Anonymous
Class ListTaskView(ListView): model = task Field = "__all__"
Anonymous
In response u can add data argument data=context
Anonymous
This my view class