Re: Common problem finding static files. Help appreciated.

2021-08-18 Thread Scott Zimmerman
Resolved by changing nginx config file from above to this: location /static { root /home/www/wcsdg/main; } On Wednesday, August 18, 2021 at 8:03:00 AM UTC-5 Scott Zimmerman wrote: > > I deployed django + nginx + gunicorn, and DEBUG = True. Nginx/error.log > shows that my problem

Python code changes are not reflecting on Django-based web server.

2021-08-18 Thread Hasan Baig
Hi, I have been hosting a django-based web server (httpd with mod_wsgi package) on Linux CentOS 7. I used to reflect the changes made in my code by restarting the web server using the following commands: sudo systemctl stop httpd sudo systemctl start httpd and it would reflect the changes

View that displays my ManyToManyField('self'...) relations in a with levels

2021-08-18 Thread M. GW
Hi, I am now trying, for days, to get a tree like view from my assembly model into my template. I think I have read everything what I have found on StackOverflow and other sites. Somehow I am not able to get it working. I am trying to not use any 3rd party extensions => I'm happy to be proven

Re: HELP me: "a beginner's questions"

2021-08-18 Thread M. GW
Hey, have you check this: https://docs.djangoproject.com/en/3.2/howto/deployment/ jt.vc...@gmail.com schrieb am Mittwoch, 18. August 2021 um 15:03:03 UTC+2: > Hi > > I am now starting to work in Django. > > I built a development environment on my laptop. I experimented there, > things work. >

Re: HELP me: "a beginner's questions"

2021-08-18 Thread Alex B
Hello, There are a few ways to deploy a Django site to a production server. Tools like Ansible and Docker help a lot. One way to transfer files is via git push and pull through a repository. There are other ways as well. Once the files are on the server, the server needs all the services set up

Re: What is the difference bulk_update() and update() in django queryset.

2021-08-18 Thread M. GW
bulk_update() is a method that updates the provided list of objects into the database with one query. and update() is just for one object ambiti...@gmail.com schrieb am Donnerstag, 12. August 2021 um 00:03:25 UTC+2: > What is the difference bulk_update() and update() in django queryset. --

HELP me: "a beginner's questions"

2021-08-18 Thread jt.vcomplex
Hi I am now starting to work in Django. I built a development environment on my laptop. I experimented there, things work. I have a web server on the net. With multiple hosted domains. I would put my attempt on one. But things don't work. - python is installed, updated - I installed

Common problem finding static files. Help appreciated.

2021-08-18 Thread Scott Zimmerman
I deployed django + nginx + gunicorn, and DEBUG = True. Nginx/error.log shows that my problem finding static files is a concatenation mistake (caps added)... "/home/www/wcsdg/main/STATIC/STATIC/main/styles.css" failed (2: No such file or directory), It should instead search for...

Re: Role And Permission

2021-08-18 Thread Premkumar Chalmeti
I was working on a similar requirement. Checkout this https://github.com/premchalmeti/company_uam Inside `Docs/` I've attached a class diagram check if its useful. Lets collaborate together. On Tuesday, August 17, 2021 at 12:00:42 PM UTC+5:30 amit.m...@gmail.com wrote: > Handling Role From

Re: scss

2021-08-18 Thread Saurabh Ranjan Singh
you can refer to django-sass-compiler library On Wed, 18 Aug, 2021, 11:52 am Amit Vaghani, wrote: > How to use scss in our django project > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop

scss

2021-08-18 Thread Amit Vaghani
How to use scss in our django project -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the