Re: load static in css file

2020-08-24 Thread 'Akash Sinha' via Django users
Hi Create a folder inside ur project as static and keep ur images,css and js files into that folder then in your settings.py file define static path. U need to run python manage.py collect static command on terminal and then you have to link that css file in HTML Hint: check for Managing stati

Re: Unable to import HTML code

2020-07-05 Thread 'Akash Sinha' via Django users
In your settings.py file you have to mention your static path , please check if you have mentioned that. 2nd if everything is good . Try to access that css file on the browser .start the server with python manage.py runserver and type the full path of the file in url,("localhost:8000/static/sty

Re: Django is not working

2019-08-22 Thread 'Akash Sinha' via Django users
You are using python 2.7 with Django , I will suggest you should use python 3.6 or above. Sent from Yahoo Mail on Android On Fri, Aug 23, 2019 at 3:14 AM, Tom Gertin wrote: Hello, I have successfully install Django 1.11.22. However, I believe something is wrong because I cannot get the c

Re: reg: Django model sequense of the fields

2019-05-18 Thread 'Akash Sinha' via Django users
Position doesn't matters. On Fri, May 17, 2019 at 7:12 PM, Test Bot wrote: [Just Curious] would it matter in any way what the position of field is in the respective tables. On Fri, May 17, 2019, 5:46 PM 'Akash Sinha' via Django users wrote: Hello  This happens fo

Re: reg: Django model sequense of the fields

2019-05-17 Thread 'Akash Sinha' via Django users
Hello  This happens for 2 reasons 1st. Those fields might be Foreign key, Foreign key fields are shown at the end in DB. 2nd.  You have added those fields later in our model class, if you will add new fields in model.py file those fields will be listed at the end. On Wed, May 8, 2019 at