Anonymous
I'm getting Error ( error while running python manage.py collectstatic -- noinput )
🤔 you can do by using Bower ig disable the collectstatic during a deploy heroku config:set DISABLE_COLLECTSTATIC=1 And then do the git push Then run in bower run collectstatic using bower heroku run 'bower install --config.interactive=false;grunt prep;python manage.py collectstatic --noinput' Then enable collectstatic
Anonymous
What is this bower ?
https://github.com/nvbn/django-bower
Anonymous
The error is in collectstatic na?
Crabby
Hey is it possible to build the backend half in django and half in node js? Is yes how?
Anonymous
Hey is it possible to build the backend half in django and half in node js? Is yes how?
Yes... Like Alex says, microservices... or alternatively just a bunch of discrete services that share a message queue (if you don't want to learn docker or k8s).
Sodowojnov
It's not necessary in a local dev
Okay thanks. I hoped that maybe someone knows a bug in the local environment and it was not my fault but it seems so that there is a mistake anywhere, made by me. Nevertheless thanks a lot for the help )
Anonymous
My admin not showing Css after decision deploying
Gk
Can anyone tell why data is not storing in mysql
Vorke
My admin not showing Css after decision deploying
1. Collect static 2. https://docs.djangoproject.com/en/3.1/howto/static-files/
Anonymous
Did that
Anonymous
STATIC_Root
mr.INSOMNIA
Can anyone tell why data is not storing in mysql
STATIC_URL = '/static/' STATICFILES_DIRS = [os.path.join(BASE_DIR, "folder name in which you keep your static files")] STATIC_ROOT = "full path where u want to keep your static files in production" Before you set up a nginx server, do python manage.py collectstatic If you using nginx, grant permissions to your static and media files. Go to /home/YourUser/ type in terminal sudo "chown -R :www-data" DjangoProject/" and do the same operation granting permissions to STATIC_ROOT dir and MEDIA_ROOT dir Nginx server config location /static { alias STATIC_ROOT from settings.py; } location /media { alias MEDIA_ROOT from settings.py; } Then run sudo service nginx restart, it should work
jr
Acan someone post me good video source for production hosting django app.
Vxvek
Is there any way two join two models into single view like single template in one table?? Anyone please
Anonymous
Is there any way two join two models into single view like single template in one table?? Anyone please
This way you will not get an answer. better to show code and explain what do you want.
maroong
https://twitter.com/djangoproject/status/1329429889183850497?s=20
Vxvek
There is two models "previous project " and another model called "new project" I need to combine both model data into a single table called project
Vxvek
Ooh really Woow
Arezoo
Hi ..how can i see sent notification in firebase ?
D
Anyone with a Django E-commerce project?? i need help
George
Also docker is offtopic
Doragonsureiyā
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z" Just ask about your problem directly! With ~80,000 people here, the probability that someone will help is pretty high. How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
Salisu
Hello everyone, I'm task to develop a payment gateway like paystack but have no idea how to start. I need ideas, suggestions and sample codes if any. Thanks in anticipation.
Alex
Hello everyone, I'm task to develop a payment gateway like paystack but have no idea how to start. I need ideas, suggestions and sample codes if any. Thanks in anticipation.
Honestly, this sounds like an anecdote. Payment services are sophisticated systems and creation of one requires deep knowledge of CS and many years of experience. Not like "stackoverflow development"
Salisu
OK
Salisu
OK thanks. Like which one of the payment gateways?
Salisu
thanks
Salisu
I want create something like this (paystack) not integration
Yuvraj
I want create something like this (paystack) not integration
Creating a paystack is not a simple job. You need a ton of checks. And further, knowledge of cyber security is required since if the paystack is not secure, it's worthless.
Salisu
thanks
Yuvraj
Sure.
And still if you wanna popularise your paystack, you need people's trust, which paytm, razor pay, etc. have already gained.
Yuvraj
What's different about your paystack?? That matters a lot.
Yuvraj
thanks
You're welcome
Anonymous
Hey, I am on arch linux I installed django and got this path error can anyone help me to fix this. thanks :D https://paste.pics/6e5633345d1350369cdc6609e014e1b0
cj
Hey, I am on arch linux I installed django and got this path error can anyone help me to fix this. thanks :D https://paste.pics/6e5633345d1350369cdc6609e014e1b0
how did you install it? with pacman? if yes, then don't do that, you'd better learn how to work with virtual environments
cj
Ah I installed it via pip
well... then don't install it globally using pip, learn how to work with virtual environments
cj
https://realpython.com/python-virtual-environments-a-primer/
cj
read that and be happy
Anonymous
Ok Thanks :D
Tony
Is it possible to create an email verification system in django?
Tony
How, if i may know
Doragonsureiyā
How, if i may know
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
Qwerty
I am getting please supply engine value error while connecting to mongo db using django
Qwerty
Any suggestions?
Utsho Sadhak
Hi I am joy from Khulna
Utsho Sadhak
Want to join this group
Utsho Sadhak
Thanks to all
Michael the wolf 🐺
Want to join this group
Yes you can join this group. Go ahead.
Utsho Sadhak
👍Ok
Anonymous
What is the usage of extensions in django?
Chetan
Hy everyone i was working on a project Which is already into production But now i need to add a feature which is one to one mapped to the user Model is something like Id=model.onetoonefield(User) Other fields optional After integration i tried to create a new user and add data for that user But for others things are breaking with a error not able to find *x* linked to user My question is how can we create a feature_table for all the users in the user table with only one field which is required others are set to null
𝘿𝙖𝙫𝙞𝙙
Advice to Beginer‼️ I ve started my journey to Django, I develop telegram bots, and have experience in python, postgres, linix Recommend me any effective books or courses
Anonymous
Is it really needed to learn HTML before django
cj
Is it really needed to learn HTML before django
not really, but it's nice to know it previously
Anonymous
Okay tank you sir
Learning
Is it really needed to learn HTML before django
Html is a easy language you can learn it easily
Anonymous
Okay sir