Re: Static files is not loading while deploying the project to AWS ec2

2022-11-08 Thread Nishant Sagar
ication root directory. >> >> On Sun, Nov 6, 2022 at 11:03 AM led zee wrote: >> >>> As a recent Django new user I was having a lot of trouble with static >>> files as well. Basically couldn't get Admin CSS to work. >>> &

Re: Static files is not loading while deploying the project to AWS ec2

2022-11-05 Thread Nishant Sagar
Hi Ashutosh, Yeah I tried that as well, still not working. On Sat, 5 Nov 2022 at 1:10 PM, Ashutosh Mishra wrote: > Did you tried, python manage.py collectstatic? > > On Sat, 5 Nov, 2022, 1:05 pm Nishant Sagar, > wrote: > >> Hi all, >> >> I deployed the django

Static files is not loading while deploying the project to AWS ec2

2022-11-05 Thread Nishant Sagar
= os.path.join(BASE_DIR, 'staticfiles') STATICFILES_DIRS = (os.path.join(BASE_DIR, 'static'),) Project URl - http://54.242.38.208/ Github- https://github.com/Nishant-Sagar/BaskinSolar Thank you for your help, Nishant -- You received this message because you are subscribed

Re: Regarding Django forms

2022-09-23 Thread Nishant Sagar
I want to make my form save files to a database without using the django form On Fri, 23 Sep 2022 at 12:52 PM, Sebastian Jung wrote: > Do you want change only a form or do you want also change widgets in this > form? > > Nishant Sagar schrieb am Fr., 23. Sept. 2022, > 08:32: >

Re: Regarding Django forms

2022-09-22 Thread Nishant Sagar
ishant On Fri, 23 Sep 2022 at 11:36 AM, Sebastian Jung wrote: > Hello, > > I would hire on upworks a cheap developer how show you how to implement > such thing. This is relative easy when you know how it works > > Regards > > Nishant Sagar schrieb am Fr., 23. Sept. 2022,

Regarding Django forms

2022-09-22 Thread Nishant Sagar
Hey forks, I’m in little dilemma regarding Django forms. I'm working on a project as a backend guy who doesn't know much about CSS and JavaScript so a frontend guy delivered me a form template designed using CSS, however, Django documentation suggests that it's good practice to use Django forms.

Fwd: Delivery Status Notification (Failure)

2022-09-17 Thread Nishant Sagar
Hey folks, While saving the values to the data to the database I'm getting this Field 'roof_age' expected a number but got ('1',) How can I resolve this? Here is my views.py file def form(requests): if requests.method == 'POST': name=requests.POST['name'], # roof_age= requests.POST['roof_age'], ro