Re: UPLOAD STATIC FILES

2023-05-29 Thread Music Fm
Not necessary again On Tue, May 30, 2023, 5:05 AM SHUBHAM KUMAR wrote: > you should add STATIC_DIR =[ > > 'BASE'/ 'static' > > ] > to your project settings > > On Mon, 29 May, 2023, 9:21 pm Music Fm, wrote: > >> Load static >> >> Open a folder

Re: UPLOAD STATIC FILES

2023-05-29 Thread Music Fm
Load static Open a folder call it static then open another file within the static forder. Now type {load static/custom.css }on the html file it will see the static that has the css and javascript file On Mon, May 29, 2023, 4:31 PM Obiorah Callistus wrote: > please how can i display .css and

stuck in my payment gateway

2022-12-28 Thread Music Fm
hi guys, so i am building a payment gate way using django but i am stuck on how to integrate cards in the views for the form. please i need help -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: how to run django with fastcgi, but not run as user "root" on linux

2009-11-19 Thread Fm
I know how to solve it . su nobody -c cmdline -s /bin/sh Thanks On Nov 19, 11:12 am, Fm <thefm...@gmail.com> wrote: > Hi, > I'm am green-hand to linux. > When I use /usr/bin/su nobody -c /usr/local/bin/python /home/admin/cc/ > manage.py runfcgi > method=threaded host=127.0.0.

Re: how to run django with fastcgi, but not run as user "root" on linux

2009-11-18 Thread Fm
normal way of RC system provided to set the user to run? Thanks a lot Fm On Nov 18, 7:37 pm, Tom Evans <tevans...@googlemail.com> wrote: > On Wed, Nov 18, 2009 at 8:25 AM, Fm <thefm...@gmail.com> wrote: > > Hi all, > > I have write a script in /etc/rc.d/init.d so tha

how to run django with fastcgi, but not run as user "root" on linux

2009-11-18 Thread Fm
Hi all, I have write a script in /etc/rc.d/init.d so that Django can start with my server. It may look like start () { echo -n $"Starting $prog: " /usr/local/bin/python /home/admin/cc/manage.py runfcgi method=threaded host=127.0.0.1 port=12345 } Then I can see ps aux|grep manage root